I have recently upgraded scim to 1.4.4 and skim to 1.4.5 after upgrading my compiler. Older version of skim won't compile under GCC, so I have to upgrade it. However, neither the stable version nor the unstable version scim-table will compile. Here's my emerge --info: Portage 2.1.1_pre1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.15 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -mtune=athlon -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -mtune=athlon -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="zh_TW" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-xgl /usr/local/got /usr/local/proaudio" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X acpi alsa apache2 apm avi berkdb bitmap-fonts cairo cjk cli crypt cups dga divx4linux dri dvd dvdr emboss encode esd fastcgi flac font-server foomaticdb fortran gif gimp gimpprint glitz gphoto2 gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog jack java jpeg kde kdehiddenvisibility kipi ladcca lash latex lcms libg++ libwww lm_sensors mad mikmod mmap mmx motif mozilla mp3 mpeg ncurses nls nptl ogg opengl pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sqlite3 sse ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf xcomposite xml xmms xorg xscreensaver xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux linguas_zh_TW userland_GNU video_cards_ati" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
You didn't post any errors, we can't guess.
Here's the compilation error: make[2]: Entering directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/additional' ../src/scim-make-table Amharic.txt -b -o Amharic.bin Loading table file Amharic.txt ... Saving table file Amharic.bin ... ../src/scim-make-table Arabic.txt -b -o Arabic.bin Loading table file Arabic.txt ... Saving table file Arabic.bin ... ../src/scim-make-table LaTeX.txt -b -o LaTeX.bin Loading table file LaTeX.txt ... Saving table file LaTeX.bin ... ../src/scim-make-table Viqr.txt -b -o Viqr.bin Loading table file Viqr.txt ... Saving table file Viqr.bin ... ../src/scim-make-table Yawerty.txt -b -o Yawerty.bin Loading table file Yawerty.txt ... Saving table file Yawerty.bin ... ../src/scim-make-table IPA-X-SAMPA.txt -b -o IPA-X-SAMPA.bin Loading table file IPA-X-SAMPA.txt ... Saving table file IPA-X-SAMPA.bin ... make[2]: Leaving directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/additional' Making all in icons make[2]: Entering directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/icons' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/icons' Making all in po make[2]: Entering directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/po' Making all in skim make[2]: Entering directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/skim' cd . && make -f admin/Makefile.common configure.in ; make all-recursive make[3]: Entering directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/skim' cd . && make -f admin/Makefile.common configure.in ; Making all in setupui make[4]: Entering directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/skim/setupui' /usr/kde/3.4/bin/kconfig_compiler ./generictable.kcfg ./generictable.kcfgc; ret=$?; \ if test "$ret" != 0; then rm -f generictable.h ; exit $ret ; fi /usr/qt/3/bin/moc ./scimtablesettingplugin.h -o scimtablesettingplugin.moc if /bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -I/usr/include/skim -I/usr/include/scim-1.0 -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -march=i686 -mtune=athlon -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT scimtablesettingplugin.lo -MD -MP -MF ".deps/scimtablesettingplugin.Tpo" -c -o scimtablesettingplugin.lo scimtablesettingplugin.cpp; \ then mv -f ".deps/scimtablesettingplugin.Tpo" ".deps/scimtablesettingplugin.Plo"; else rm -f ".deps/scimtablesettingplugin.Tpo"; exit 1; fi /usr/qt/3/bin/moc generictableui.h -o generictableui.moc rm -f generictableui.cpp echo '#include <kdialog.h>' > generictableui.cpp echo '#include <klocale.h>' >> generictableui.cpp /usr/qt/3/bin/uic -L /usr/kde/3.4/lib/kde3/plugins/designer -nounload -tr tr2i18n -i generictableui.h ./generictableui.ui > generictableui.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" generictableui.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_generictableui,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> generictableui.cpp ;\ rm -f generictableui.cpp.temp ;\ if test "$ret" = 0; then echo '#include "generictableui.moc"' >> generictableui.cpp; else rm -f generictableui.cpp ; exit $ret ; fi if /bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I/usr/kde/3.4/include -I/usr/qt/3/include -I. -I/usr/include/skim -I/usr/include/scim-1.0 -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -march=i686 -mtune=athlon -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT generictableui.lo -MD -MP -MF ".deps/generictableui.Tpo" -c -o generictableui.lo generictableui.cpp; \ then mv -f ".deps/generictableui.Tpo" ".deps/generictableui.Plo"; else rm -f ".deps/generictableui.Tpo"; exit 1; fi generictableui.cpp:23:36: error: skimeditshortcutbutton.h: No such file or directory make[4]: *** [generictableui.lo] Error 1 make[4]: Leaving directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/skim/setupui' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/skim' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3/skim' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/portage/portage/scim-tables-0.5.3/work/scim-tables-0.5.3' make: *** [all] Error 2 !!! ERROR: app-i18n/scim-tables-0.5.3 failed. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile scim-tables-0.5.3.ebuild, line 21: Called die !!! make failed !!! If you need support, post the topmost build error, and the call stack if relevant.
I was going to post the error message: Please refer to the comment above.
*** Bug 139044 has been marked as a duplicate of this bug. ***
I'll take care.
I found a workaround, but I don't think this is how problem should be solved. If I created an empty skimeditshortcutbutton.h during the compilation to /var/portage/portage/scim-tables-*/work/scim-tables-0.5.6/skim/setupui (using touch), the program will compile fine. It seems like the generated generictableui wanted that header from some reasons.
It's a bug of the .ui file, Qt 3.3.5 respect the includehints directive and thus require the file there listed, but they usually don't exist at all. I know how to fix it, I have the patch ready, but I'm hitting another problem now, and that is worse :/
> It's a bug of the .ui file, Qt 3.3.5 respect the includehints directive and > thus require the file there listed, but they usually don't exist at all. I know > how to fix it, I have the patch ready, but I'm hitting another problem now, and > that is worse :/ > It seems like many the other scim-plugins are affected as well, including scim-pinyin. I have created an empty skimeditshortcutbutton.h under /usr/include/skim as workaround for now. Maybe it is a skim bug?
Nop it is not. Please submit a bug for every package that fail in this way, so that I can know which one has to be fixed.
I've fixed scim-tables, I'll fix scim-pinyin too, now, as it has the same bugs as -tables (even the other one I found).