https://bugzilla.redhat.com/show_bug.cgi?id=1308117
Bug ID: 1308117 Summary: scim-thai: FTBFS in rawhide Product: Fedora Version: rawhide Component: scim-thai Assignee: petersen@redhat.com Reporter: releng@fedoraproject.org QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, petersen@redhat.com Blocks: 1305208
Your package scim-thai failed to build from source in current rawhide.
http://koji.fedoraproject.org/koji/taskinfo?taskID=12868476
For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1305208 [Bug 1305208] Fedora 24 Mass rebuild FTBFS tracker bug
https://bugzilla.redhat.com/show_bug.cgi?id=1308117
--- Comment #1 from Fedora Release Engineering releng@fedoraproject.org --- Created attachment 1126412 --> https://bugzilla.redhat.com/attachment.cgi?id=1126412&action=edit build.log
https://bugzilla.redhat.com/show_bug.cgi?id=1308117
--- Comment #2 from Fedora Release Engineering releng@fedoraproject.org --- Created attachment 1126413 --> https://bugzilla.redhat.com/attachment.cgi?id=1126413&action=edit root.log
https://bugzilla.redhat.com/show_bug.cgi?id=1308117
--- Comment #3 from Fedora Release Engineering releng@fedoraproject.org --- Created attachment 1126414 --> https://bugzilla.redhat.com/attachment.cgi?id=1126414&action=edit state.log
https://bugzilla.redhat.com/show_bug.cgi?id=1308117
--- Comment #4 from Jens Petersen petersen@redhat.com --- g++ -DHAVE_CONFIG_H -I. -I.. -DSCIM_THAI_LOCALEDIR="/usr/share/locale" -DSCIM_ICONDIR="/usr/share/scim/icons" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c scim_thai_imengine.cpp -fPIC -DPIC -o .libs/thai_la-scim_thai_imengine.o In file included from /usr/include/thai/thwctype.h:69:0, from scim_thai_imengine.cpp:30: /usr/include/thai/thctype.h:372:19: error: left operand of shift expression '(-1 << 3)' is negative [-fpermissive] _th_CClassMsk = _th_bitmsk(1, 3), /* Thai consonant shape masks */ ^ /usr/include/thai/thctype.h:372:19: error: enumerator value for '_th_CClassMsk' is not an integer constant _th_CClassMsk = _th_bitmsk(1, 3), /* Thai consonant shape masks */ ^ /usr/include/thai/thctype.h:378:19: error: left operand of shift expression '(-1 << 3)' is negative [-fpermissive] _th_VClassMsk = _th_bitmsk(4, 3), /* Thai vowel class masks */ ^ /usr/include/thai/thctype.h:378:19: error: enumerator value for '_th_VClassMsk' is not an integer constant _th_VClassMsk = _th_bitmsk(4, 3), /* Thai vowel class masks */ ^ Makefile:426: recipe for target 'thai_la-scim_thai_imengine.lo' failed make[2]: *** [thai_la-scim_thai_imengine.lo] Error 1
https://bugzilla.redhat.com/show_bug.cgi?id=1308117
--- Comment #5 from Jens Petersen petersen@redhat.com --- I updated pkg git master to 0.1.3 finally but also run into:
http://koji.fedoraproject.org/koji/taskinfo?taskID=13002947
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DSCIM_THAI_LOCALEDIR="/usr/share/locale" -DSCIM_ICONDIR="/usr/share/scim/icons" -I/usr/include/scim-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c scim_thai_keymap.cpp -fPIC -DPIC -o .libs/thai_la-scim_thai_keymap.o In file included from /usr/include/thai/thwctype.h:69:0, from scim_thai_imengine.cpp:30: /usr/include/thai/thctype.h:372:19: error: left operand of shift expression '(-1 << 3)' is negative [-fpermissive] _th_CClassMsk = _th_bitmsk(1, 3), /* Thai consonant shape masks */ ^ /usr/include/thai/thctype.h:372:19: error: enumerator value for '_th_CClassMsk' is not an integer constant _th_CClassMsk = _th_bitmsk(1, 3), /* Thai consonant shape masks */ ^ /usr/include/thai/thctype.h:378:19: error: left operand of shift expression '(-1 << 3)' is negative [-fpermissive] _th_VClassMsk = _th_bitmsk(4, 3), /* Thai vowel class masks */ ^ /usr/include/thai/thctype.h:378:19: error: enumerator value for '_th_VClassMsk' is not an integer constant _th_VClassMsk = _th_bitmsk(4, 3), /* Thai vowel class masks */ ^ Makefile:505: recipe for target 'thai_la-scim_thai_imengine.lo' failed make[2]: *** [thai_la-scim_thai_imengine.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... scim_thai_imengine_setup.cpp: In function 'GtkWidget* create_setup_window()': scim_thai_imengine_setup.cpp:171:58: error: 'gtk_box_new' was not declared in this scope window = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); ^ scim_thai_imengine_setup.cpp: In function 'void setup_widget_value()': scim_thai_imengine_setup.cpp:326:12: warning: enumeration value 'THAI_KEYBOARD_NUM_LAYOUTS' not handled in switch [-Wswitch] switch (__config_kb_layout) ^ scim_thai_imengine_setup.cpp: In function 'void load_config(const ConfigPointer&)': scim_thai_imengine_setup.cpp:379:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i < sizeof (__layout_config_string)/sizeof (*__layout_config_string); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scim_thai_imengine_setup.cpp:392:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i < sizeof (__isc_config_string)/sizeof (*__isc_config_string); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Makefile:484: recipe for target 'thai_imengine_setup_la-scim_thai_imengine_setup.lo' failed
https://bugzilla.redhat.com/show_bug.cgi?id=1308117
Peng Wu pwu@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pwu@redhat.com Assignee|petersen@redhat.com |pwu@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1308117
Daiki Ueno dueno@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dueno@redhat.com Depends On| |1307739
--- Comment #6 from Daiki Ueno dueno@redhat.com --- I have updated libthai with the upstream fix for this. Try rebuilding with it.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1307739 [Bug 1307739] libthai: FTBFS in rawhide
https://bugzilla.redhat.com/show_bug.cgi?id=1308117
--- Comment #7 from Jens Petersen petersen@redhat.com --- With newer libthai-0.1.24-1.fc24 I still get:
http://koji.fedoraproject.org/koji/taskinfo?taskID=13004133
https://bugzilla.redhat.com/show_bug.cgi?id=1308117
--- Comment #8 from Daiki Ueno dueno@redhat.com --- The remaining errors have nothing to do with libthai. You updated scim-thai to the latest upstream, which seems only be compiled with gtk3. To solve this, maybe you could wait for the scim package being compiled with --with-gtk-version=3, or forward port the gtk2 code from the older version of scim-thai.
https://bugzilla.redhat.com/show_bug.cgi?id=1308117
Peng Wu pwu@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |RAWHIDE Last Closed| |2016-02-16 03:42:41
--- Comment #9 from Peng Wu pwu@redhat.com --- Use gtk2 for setup dialog, built for rawhide.
URL: http://koji.fedoraproject.org/koji/buildinfo?buildID=736251
i18n-bugs@lists.fedoraproject.org