Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1308117
Summary: | scim-thai: FTBFS in rawhide | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
Component: | scim-thai | Assignee: | Peng Wu <pwu> | ||||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | rawhide | CC: | dueno, i18n-bugs, mfabian, petersen, pwu | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2016-02-16 08:42:41 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | 1307739 | ||||||||||
Bug Blocks: | 1305208 | ||||||||||
Attachments: |
|
Description
Fedora Release Engineering
2016-02-13 22:28:01 UTC
Created attachment 1126412 [details]
build.log
Created attachment 1126413 [details]
root.log
Created attachment 1126414 [details]
state.log
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 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 I have updated libthai with the upstream fix for this. Try rebuilding with it. With newer libthai-0.1.24-1.fc24 I still get: http://koji.fedoraproject.org/koji/taskinfo?taskID=13004133 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. Use gtk2 for setup dialog, built for rawhide. URL: http://koji.fedoraproject.org/koji/buildinfo?buildID=736251 |