* Package: dev-qt/qthelp-4.8.6-r1 * Repository: gentoo * Maintainer: qt@gentoo.org * Upstream: https://bugreports.qt-project.org/ * USE: abi_x86_32 abi_x86_64 amd64 compat elibc_glibc exceptions kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Running emake in tools/assistant/compat/lib make -j5 -l4 x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -fPIC -Wall -W -D_REENTRANT -fPIC -DQT_ASSISTANT_CLIENT_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include -I.moc/release-shared -I. -o .obj/release-shared/qassistantclient.o /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient.cpp /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/bin/moc -DQT_ASSISTANT_CLIENT_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include -I.moc/release-shared -I. /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient.h -o .moc/release-shared/moc_qassistantclient.cpp x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -fPIC -Wall -W -D_REENTRANT -fPIC -DQT_ASSISTANT_CLIENT_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include -I.moc/release-shared -I. -o .obj/release-shared/moc_qassistantclient.o .moc/release-shared/moc_qassistantclient.cpp In file included from /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient.cpp:42:0: /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient.h:49:49: fatal error: QtAssistant/qassistantclient_global.h: No such file or directory #include <QtAssistant/qassistantclient_global.h> ^ compilation terminated. Makefile:523: recipe for target '.obj/release-shared/qassistantclient.o' failed make: *** [.obj/release-shared/qassistantclient.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from .moc/release-shared/moc_qassistantclient.cpp:9:0: .moc/release-shared/../../../../../../../qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient.h:49:49: fatal error: QtAssistant/qassistantclient_global.h: No such file or directory #include <QtAssistant/qassistantclient_global.h> ^ compilation terminated. Makefile:526: recipe for target '.obj/release-shared/moc_qassistantclient.o' failed make: *** [.obj/release-shared/moc_qassistantclient.o] Error 1 * ERROR: dev-qt/qthelp-4.8.6-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-qt/qthelp-4.8.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-qt/qthelp-4.8.6-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/tools/assistant/compat/lib' * S: '/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6' emerge --info Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.17.3-gentoo x86_64) ================================================================= System uname: Linux-3.17.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3517U_CPU_@_1.90GHz-with-gentoo-2.2 KiB Mem: 10187152 total, 3621132 free KiB Swap: 0 total, 0 free Timestamp of tree: Sat, 15 Nov 2014 22:15:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.2_p53 dev-java/java-config: 2.2.0 dev-lang/perl: 5.18.2-r2 dev-lang/python: 2.7.8, 3.3.5-r1, 3.4.1 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6-r1, 1.12.6, 1.13.4 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.7.3-r1, 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.3-r2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo local-overlay kde steam-overlay mrueg ruby ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/lib/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --jobs=4 --load-average=4" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5 -l4" PKGDIR="/var/lib/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="-4" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/lib/portage/tree" PORTDIR_OVERLAY="/var/lib/portage/local-tree /var/lib/layman/kde /var/lib/layman/steam /var/lib/layman/mrueg /var/lib/layman/ruby" USE="X a52 aac acl acpi alsa amd64 avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr clang cli connection-sharing consolekit cracklib crypt cryptsetup css ctype cups curl cxx dbus declarative djvu dpi dri dts dv dvb dvd dvdr ebook emboss encode epub exif extra fam ffmpeg firefox flac fontconfig fortran ftp g3dvl gdbm gif gimp glamor gnuplot gphoto2 gpm graphviz gtk gui gzip hddtemp iconv imagemagick ipv6 java jpeg kde kipi lastfm latex lcms ldap libass libnotify logrotate lzma lzo mad matroska mime mmx mng modules mp3 mp4 mpeg mpi mplayer multilib ncurses nepomuk networkmanager nfs nfsv41 nls nptl nsplugin ntfs ntp ogg opengl openmp openvpn pam pango pcre pdf perl phonon plasma plotutils png policykit ppds prediction pstricks pulseaudio python qt3support qt4 quicktime raw rdesktop readline rss ruby samba scanner science sdl semantic-desktop session sound spell sqlite sse sse2 sse3 sse4 sse4_1 sse4a ssl ssse3 startup-notification subversion svg symlink syslog taglib tcpd tex4ht theora threads tiff truetype udev udisks unicode upower usb uxa vaapi vcd vim-syntax vlc vnc vorbis wavpack webkit wifi wxwidgets x264 x265 xattr xcb xcomposite xine xinerama xml xscreensaver xv xvid xvmc zip zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC, USE_PYTHON
syncqt doesn't know anything about the QtAssistant compat headers, thus it doesn't copy them from ${S} to ${BUILD_DIR} where the build system expects to find them.
16 Nov 2014; Davide Pesavento <pesa@gentoo.org> qthelp-4.8.6-r1.ebuild: Fix build of QtAssistantClient compat library (bug 529398). Fix assistant.prf installation. Fix docompress on prefix.
I have the same issue.
(In reply to Davide Pesavento from comment #2) > 16 Nov 2014; Davide Pesavento <pesa@gentoo.org> qthelp-4.8.6-r1.ebuild: > Fix build of QtAssistantClient compat library (bug 529398). Fix > assistant.prf > installation. Fix docompress on prefix. Where is the fix?
qthelp-4.8.6-r1 works for me. Did you sync?
(In reply to Davide Pesavento from comment #5) > qthelp-4.8.6-r1 works for me. Did you sync? I sync every day. root@lynx2:/root(8)# MAKEOPTS=-j1 emerge -uvDN world ... #include "../../tools/assistant/compat/lib/qassistantclient_global.h" ^ compilation terminated. Makefile:519: recipe for target '.obj/release-shared/qassistantclient.o' failed make: *** [.obj/release-shared/qassistantclient.o] Error 1 * ERROR: dev-qt/qthelp-4.8.6-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-qt/qthelp-4.8.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-qt/qthelp-4.8.6-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/tools/assistant/compat/lib' * S: '/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6' >>> Failed to emerge dev-qt/qthelp-4.8.6-r1, Log file: >>> '/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/temp/build.log' root@lynx2:/root(9)# emerge -pvD qthelp These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-qt/qthelp-4.8.6-r1:4 USE="compat doc exceptions (-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-qt/designer:4 (dev-qt/designer-4.8.6-r1:4/4::gentoo, ebuild scheduled for merge) conflicts with ~dev-qt/designer-4.8.5[-aqua,-debug] required by (dev-qt/qtdemo-4.8.5-r1:4/4::gentoo, installed) ^ ^^^^^ root@lynx2:/root(10)# ll /usr/portage/dev-qt/qthelp/qthelp-4.8.6-r1.ebuild -rw-r--r-- 1 root root 3262 Nov 16 05:31 /usr/portage/dev-qt/qthelp/qthelp-4.8.6-r1.ebuild
BTW, I suppose, that I have the fixed ebuild: root@lynx2:/root(15)# grep -U2 cp /usr/portage/dev-qt/qthelp/qthelp-4.8.6-r1.ebuild if use compat; then # syncqt knows nothing about these headers (bug 529398) cp -pr "${WORKDIR}"/QtAssistant "${BUILD_DIR}"/include || die fi } And I find qassistantclient_global.h three times under /var/tmp/portage/dev-qt/qthelp-4.8.6-r1: root@lynx2:/root(13)# find /var/tmp/portage/dev-qt/qthelp-4.8.6-r1 -name qassistantclient_global.h -ls 401755 4 -rwxr-xr-x 1 portage portage 2399 Jun 18 2010 /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient_global.h 540382 4 -rw-r--r-- 1 portage portage 70 Jun 2 2010 /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/QtAssistant/qassistantclient_global.h 803076 4 -rw-r--r-- 1 portage portage 70 Jun 2 2010 /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/include/QtAssistant/qassistantclient_global.h root@lynx2:/root(14)# grep -U3 cp /usr/portage/dev-qt/qthelp/qthelp-4.8.6-r1.ebuild But there is not any /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/.../tools/assistant/compat/lib/qassistantclient_global.h . Maybe a line qt-everywhere-opensource-src-4.8.6/tools cp -pr "${WORKDIR}"/qt-everywhere-opensource-src-4.8.6/tools "${BUILD_DIR}"/include should be added to qthelp-4.8.6-r1.ebuild?
Reopening.
*** Bug 530048 has been marked as a duplicate of this bug. ***
I had deleted a line from src_unpack while debugging the original issue, and then forgot to put it back when I committed the fix. Let me know if it works now, as I still cannot reproduce it (no idea why).
Unfortunately the problem is still there.
I need a full build.log of the failure with the *current* qthelp-4.8.6-r1
Created attachment 390372 [details] Latest build.log as requested
I can emerge dev-qt/qthelp-4.8.6-r1, if the compat USE flag is not set and it fails, if it is set. On the other hand 'emerge -uvDN world' fails, if the compat USE flag is not set: root@lynx2:/usr/local/portage/dev-qt(77)# emerge --update --newuse --deep --with-bdeps=y @world Calculating dependencies... done! [ebuild R ] dev-qt/qthelp-4.8.6-r1 USE="compat*" [ebuild U ] dev-qt/assistant-4.8.6-r1 [4.8.5] ABI_X86="(64%*) -32% (-x32)" ... [ebuild U ] dev-util/devhelp-3.12.1-r1 [3.12.1] PYTHON_SINGLE_TARGET="-python3_4%" PYTHON_TARGETS="-python3_4%" WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: ... The following USE changes are necessary to proceed: (see "package.use" in the portage(5) man page for more details) # required by sci-visualization/qtiplot-0.9.8.9-r2 # required by @selected # required by @world (argument) >=dev-qt/qthelp-4.8.6-r1:4 compat
(In reply to Juergen Rose from comment #14) > I can emerge dev-qt/qthelp-4.8.6-r1, if the compat USE flag is not set and > it fails, if it is set. On the other hand 'emerge -uvDN world' fails, if the > compat USE flag is not set: > > root@lynx2:/usr/local/portage/dev-qt(77)# emerge --update --newuse --deep > --with-bdeps=y @world > Calculating dependencies... done! > [ebuild R ] dev-qt/qthelp-4.8.6-r1 USE="compat*" > [ebuild U ] dev-qt/assistant-4.8.6-r1 [4.8.5] ABI_X86="(64%*) -32% > (-x32)" > ... > [ebuild U ] dev-util/devhelp-3.12.1-r1 [3.12.1] > PYTHON_SINGLE_TARGET="-python3_4%" PYTHON_TARGETS="-python3_4%" > > WARNING: One or more updates/rebuilds have been skipped due to a dependency > conflict: > ... > The following USE changes are necessary to proceed: > (see "package.use" in the portage(5) man page for more details) > # required by sci-visualization/qtiplot-0.9.8.9-r2 > # required by @selected > # required by @world (argument) > >=dev-qt/qthelp-4.8.6-r1:4 compat Uninstalling qtiplot enables me to run 'emerge -uvDN world'.
On some systems I can qthelp-4.8.6-r1, even if the compat USE flag is set: root@caiman:/root(5)# emerge -pv1 qthelp These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-qt/qthelp-4.8.6-r1:4 USE="compat doc exceptions (-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" 0 KiB root@caiman:/root(8)# genlop -t qthelp | tail Mon Oct 21 04:53:14 2013 >>> dev-qt/qthelp-4.8.5-r2 merge time: 3 minutes and 56 seconds. Thu Nov 20 05:52:45 2014 >>> dev-qt/qthelp-4.8.6-r1 merge time: 3 minutes and 11 seconds. Wed Dec 10 12:34:38 2014 >>> dev-qt/qthelp-4.8.6-r1 merge time: 3 minutes and 6 seconds. At lynx2 it is still failing with compat USE flag: ... In file included from .moc/release-shared/../../../../../../../qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient.h:49:0, from .moc/release-shared/moc_qassistantclient.cpp:9: ../../../../include/QtAssistant/qassistantclient_global.h:1:70: fatal error: ../../tools/assistant/compat/lib/qassistantclient_global.h: No such file or directory #include "../../tools/assistant/compat/lib/qassistantclient_global.h" ^ compilation terminated. Makefile:526: recipe for target '.obj/release-shared/moc_qassistantclient.o' failed ... root@lynx2:/usr/local/portage/dev-qt(109)# emerge -pv1 qthelp These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-qt/qthelp-4.8.6-r1:4 USE="compat* doc exceptions (-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Any hint is appreciated.
The differences I found at lynx2 and caiman are: At caiman the kde USE flag is not set and qt-5 packages are not installed. At lynx2 the kde USE flag is set and qt-5 packages are installed. The kde USE flag is relevant for qtdemo and PyQt4.
Created attachment 391698 [details] build.log It still fails on lynx2. root@lynx2:/root(47)# emerge --info '=dev-qt/qthelp-4.8.6-r1::gentoo' Portage 2.2.15 (python 2.7.8-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.3, glibc-2.20, 3.18.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.18.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.2 KiB Mem: 3972432 total, 1001744 free KiB Swap: 12582908 total, 11448608 free Timestamp of tree: Sun, 14 Dec 2014 03:00:01 +0000 sh bash 4.3_p30-r1 ld GNU ld (GNU Binutils) 2.24 app-shells/bash: 4.3_p30-r1 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1-r3 dev-lang/python: 2.7.8, 3.3.5-r1, 3.4.2 dev-util/cmake: 3.0.2 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.6 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r4, 1.10.3-r1, 1.11.6-r1, 1.12.6, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.3-r2 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers) sys-libs/glibc: 2.20 Repositories: gentoo x11 sage-on-gentoo science tlp sunrise x-portage g-cpan g-octave ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage_lynx2" PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/sage-on-gentoo /var/lib/layman/science /var/lib/layman/tlp /var/lib/layman/sunrise /usr/local/portage /var/lib/cpan /var/lib/g-octave" USE="64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 ao apache2 apng applet archive armadillo arpack asf aspell atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boost branding bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli cmake colord cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx fuse g3dvl garmin gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp git glade glamor glib glpk gml gmp gnome gnome-keyring gnome-online-accounts gnome-print gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hdaps hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 irda ithreads jabber jadetex java jbig jit john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack laptop latex lcms ldap lensfun libffi libkms libnotify libsamplerate libsecret lirc live lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm pstricks pulseaudio python python-bindings q32 qemu qhull qt3support qt4 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool sage samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap socialweb sockets sound soup sox speex spell sql sqlite sse sse2 ssl ssse3 startup-notification stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tcl tcpd tex tex4ht texmacs theora thesaurus thinkpad threads thunderbird tidy tiff tk tools truetype udev udisks unicode upower usb utempter v4l vaapi vala valgrind vdpau video virt-network virtualbox visio vorbis vpx vtk wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xa xattr xcb xetex xext xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zvbi" ABI_X86="64" ALSA_CARDS="intel8x0" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DVB_CARDS="usb-wt220u" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics void" KERNEL="linux" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de fr ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel displaylink" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON ================================================================= Package Settings ================================================================= dev-qt/qthelp-4.8.6-r1 was built with the following: USE="doc exceptions (-aqua) -compat -debug -pch" ABI_X86="64 -32 -x32" root@lynx2:/root(48)# emerge -pqv '=dev-qt/qthelp-4.8.6-r1::gentoo' [ebuild R ] dev-qt/qthelp-4.8.6-r1 USE="compat* doc exceptions (-aqua) -debug -pch" ABI_X86="(64) -32 (-x32)" In between I found an other system ("impala") with the same USE flags but other CFLAGS ("lynx2": CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer", "impala": CFLAGS="-march=amdfam10 -O2 -pipe"), where 'qthelp-4.8.6-r1' works. Even if I run 'MAKEOPTS=-j1 emerge -v1 qthelp', the order of creation of directories differs on both systems: lynx2: ================================================= ... mkdir /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/include mkdir /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/include/Qt mkdir /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/include/QtGui header created for /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/src/gui/image/qbitmap.h (2) ... impala: ================================================== ... mkdir /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/include mkdir /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/include/Qt mkdir /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/include/QtDBus mkdir /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/include/QtDBus/private header created for /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/src/dbus/qdbus_symbols_p.h (1) ... Therefore it is not so easy to compare the build.log files. At least on lynx2, the failing command is: x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -fomit-frame-pointer -fPIC -Wall -W -D_REENTRANT -fPIC -DQT_ASSISTANT_CLIENT_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include -I.moc/release-shared -I. -o .obj/release-shared/qassistantclient.o /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient.cpp In file included from /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient.h:49:0, from /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient.cpp:42: ../../../../include/QtAssistant/qassistantclient_global.h:1:70: fatal error: ../../tools/assistant/compat/lib/qassistantclient_global.h: No such file or directory #include "../../tools/assistant/compat/lib/qassistantclient_global.h" ^ while I see on "impala": x86_64-pc-linux-gnu-g++ -c -march=amdfam10 -O2 -pipe -fPIC -Wall -W -D_REENTRANT -fPIC -DQT_ASSISTANT_CLIENT_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include -I.moc/release-shared -I. -o .obj/release-shared/qassistantclient.o /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient.cpp /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/bin/moc -DQT_ASSISTANT_CLIENT_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include -I.moc/release-shared -I. /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient.h -o .moc/release-shared/moc_qassistantclient.cpp x86_64-pc-linux-gnu-g++ -c -march=amdfam10 -O2 -pipe -fPIC -Wall -W -D_REENTRANT -fPIC -DQT_ASSISTANT_CLIENT_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include -I.moc/release-shared -I. -o .obj/release-shared/moc_qassistantclient.o .moc/release-shared/moc_qassistantclient.cpp
I splitted the failing command on "lynx2" and the succesfull comand on "impala" over several lines an wrote the result in two files: qthelp_lynx2.log qthelp_impala.log . I will attach these files. If I compare these files, I see different include arguments of gcc: rose@impala:/home/rose(51)$ diff qthelp_lynx2.log qthelp_impala.log 2c2 < -march=native -O2 -pipe -fomit-frame-pointer -fPIC --- > -march=amdfam10 -O2 -pipe -fPIC 9c9 < -I/usr/share/qt4/mkspecs/linux-g++ --- > -I/var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ The qassistantclient_global.h are now again at: root@lynx2:/root(14)# find /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/ -name qassistantclient_global.h /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/include/QtAssistant/qassistantclient_global.h /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6/tools/assistant/compat/lib/qassistantclient_global.h /var/tmp/portage/dev-qt/qthelp-4.8.6-r1/work/qt-everywhere-opensource-src-4.8.6-abi_x86_64.amd64/include/QtAssistant/qassistantclient_global.h
Created attachment 391702 [details] qthelp_lynx2.log
Created attachment 391704 [details] qthelp_impala.log
I found an old /etc/env.d/45qt3 (from 2008) and a rather new /etc/profile.csh (from Sep 2014), both containing entries "/usr/qt/3/lib64". I do not have a /usr/qt directory. After deleting these two files and unmerging all qt packages the next 'emerge -uvDN world' also emerges qthelp-4.8.6-r1.
This gets weirder every day... why would a non-existent dir cause such an error? What was the content of /etc/env.d/45qt3 exactly?
Could this get fixed, please? Although the compat header are copied the do not get installed.
Any progress here?
Failure to install compat headers has nothing to do with the original bug report. Please open a separate bug. Notice however that the whole USE=compat stuff is functionality that upstream has *removed* from official Qt releases *years* ago. Only a couple of packages in tree still depend on it. Honestly I'd prefer dropping this crap from the qthelp ebuild than wasting my time trying to fix it.
I added a fix to install the compat headers. perhaps this also fixes this issue *qthelp-4.8.6-r2 (25 Jan 2015) + + 25 Jan 2015; Justin Lecher <jlec@gentoo.org> +qthelp-4.8.6-r2.ebuild, + +files/qthelp-4.8.6-fix-compat.patch, metadata.xml: + Install compat headers +
Posting the patch here for review before committing would have been nice. Especially since you're not a member of the qt team. (btw, you messed up the indentation in metadata.xml with your commit, not sure why) Where does the patch come from?
(In reply to Davide Pesavento from comment #28) > Posting the patch here for review before committing would have been nice. As you said, my problem was a different one, so I didn't saw any need to post it in this bug. > Especially since you're not a member of the qt team. (btw, you messed up the > indentation in metadata.xml with your commit, not sure why) oh, I am sorry for this. Didn't intend to mess it up > > Where does the patch come from? Created it myself. The buildsystem had problem with the multilib build, as it was looking in the wrong location for the headers .pri file, which was why the headers did not got installed.
(In reply to Justin Lecher from comment #29) > (In reply to Davide Pesavento from comment #28) > > Posting the patch here for review before committing would have been nice. > > As you said, my problem was a different one, so I didn't saw any need to > post it in this bug. > Yeah well, "here" as in "bugzilla", more specifically on the new bug you should've opened (or a mail to qt@ would have been fine too). > > Especially since you're not a member of the qt team. (btw, you messed up the > > indentation in metadata.xml with your commit, not sure why) > > oh, I am sorry for this. Didn't intend to mess it up > > > > > Where does the patch come from? > > Created it myself. The buildsystem had problem with the multilib build, as > it was looking in the wrong location for the headers .pri file, which was > why the headers did not got installed. Awesome. If it works for you I'm perfectly happy with it. Thanks.
As far as the original bug is concerned, I'm going to close as WFM, as per comment #22.
*** Bug 540362 has been marked as a duplicate of this bug. ***
The problem is in the ebuild, if I use the 4.8.5-r2 ebuild to compile version 4.8.6, qthelp is build correctly.
Please check if you have any qt3 entries in /etc/env.d/* or /etc/profile*
(In reply to Davide Pesavento from comment #34) > Please check if you have any qt3 entries in /etc/env.d/* or /etc/profile* Yes, I have because I installed qt-meta:3 from overlay. Anyway even with the qt3 entries in /etc/env.d/*, qthelp-4.8.6[compat] compiles fine with the ebuild from version 4.8.5. I have seen that the ebuild for qthelp-4.8.6 has been migrated to multilib, there should be some issue with that and the way qthelp[compat] is built.
Well, reopening... but as I already said I'm currently unable to reproduce, so someone affected needs to dig deeper and find the root cause.
(In reply to Davide Pesavento from comment #36) > Well, reopening... but as I already said I'm currently unable to reproduce, > so someone affected needs to dig deeper and find the root cause. If you think it might be useful I can post the build logs of qthelp-4.8.6[compat] compiled with the original ebuild and with one derived from version 4.8.5
Yes please, although I'm not sure if diffing them will result it something sensible...
Created attachment 397912 [details] qthelp-4.8.6-r2-ok.log.gz
Created attachment 397914 [details] qthelp-4.8.6-r2-fail.log.gz
(In reply to Fabio Rossi from comment #35) > qthelp-4.8.6[compat] compiles fine with the ebuild from version 4.8.5. @multilib, any ideas of where to start looking then?
I suggest you start by comparing the headers installed by both versions.
Could someone please attach their Qt3 /etc/env.d/* entries?
Created attachment 402762 [details] /etc/env.d/45qt3
Created attachment 402764 [details] /etc/env.d/50qtdir3
I can consistently reproduce by setting QMAKESPEC="linux-g++" in the environment (which is indeed part of the qt3 env files).
(In reply to Michael Palimaka (kensington) from comment #46) > I can consistently reproduce by setting QMAKESPEC="linux-g++" in the > environment (which is indeed part of the qt3 env files). Thanks. I can reproduce, finally. And I know what's causing it. The root cause is that syncqt doesn't know anything about the compat headers, as I had already realized in comment #1. However, simply copying the headers from ${S} to the build dir, as I did at the time (comment #2), is not enough because some paths end up being wrong. The real fix is to actually teach syncqt how to handle the QtAssistant compat module, so that the forwarding headers are properly generated. This should also make Justin's patch in -r2 unnecessary. The reason it worked until now, and the reason why QMAKESPEC breaks it, is purely accidental. The INCPATH -I/tmp/portage/dev-qt/qthelp-4.8.6-r2/work/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ in the Makefile made the relative #include path resolvable to the correct header file (by chance!). With QMAKESPEC=linux-g++, the INCPATH becomes -I/usr/share/qt4/mkspecs/linux-g++ therefore the relative inclusion stops working.
Fixed in cvs. Thanks a lot everyone!