Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318163 - x11-libs/qt-assistant-4.6.2-r1[trace] broken (most files do not get installed)
Summary: x11-libs/qt-assistant-4.6.2-r1[trace] broken (most files do not get installed)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-05-02 13:41 UTC by Alec Meyers
Modified: 2010-05-04 19:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kdevelop build.log (build.log,48.35 KB, text/plain)
2010-05-02 13:42 UTC, Alec Meyers
Details
qt-creator build.log (build.log,469.68 KB, text/plain)
2010-05-02 13:43 UTC, Alec Meyers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Meyers 2010-05-02 13:41:21 UTC
I updated to x11-libs/qt-gui-4.6.2-r1 yesterday, and the following was output by Portage:

!!! existing preserved libs:
>>> package: x11-libs/qt-assistant-4.6.2-r1
 *  - /usr/lib64/qt4/libQtCLucene.so
 *  - /usr/lib64/qt4/libQtCLucene.so.4
 *  - /usr/lib64/qt4/libQtCLucene.so.4.6
 *  - /usr/lib64/qt4/libQtCLucene.so.4.6.2
 *  - /usr/lib64/qt4/libQtHelp.so
 *  - /usr/lib64/qt4/libQtHelp.so.4
 *  - /usr/lib64/qt4/libQtHelp.so.4.6
 *  - /usr/lib64/qt4/libQtHelp.so.4.6.2
 *      used by /usr/lib64/kde4/kdevqthelp.so (dev-util/kdevelop-3.10.2)
 *      used by /usr/lib64/qtcreator/plugins/Nokia/libCppEditor.so (dev-util/qt-creator-1.3.1)
 *      used by /usr/lib64/qtcreator/plugins/Nokia/libHelp.so (dev-util/qt-creator-1.3.1)

Without these libraries, Qt Creator and KDevelop don't build.

Reproducible: Always

Steps to Reproduce:
1. emerge =x11-libs/qt-gui-4.6.2-r1
2. emerge qt-creator kdevelop
Actual Results:  
KDevelop build dies with:

[ 43%] Building CXX object documentation/qthelp/CMakeFiles/kdevqthelp.dir/kdevqthelp_automoc.o
In file included from /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0_build/documentation/qthelp/moc_qthelpplugin.cpp:10,
                 from /var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0_build/documentation/qthelp/kdevqthelp_automoc.cpp:5:
/var/tmp/portage/dev-util/kdevelop-4.0.0/work/kdevelop-4.0.0_build/documentation/qthelp/../../../kdevelop-4.0.0/documentation/qthelp/qthelpplugin.h:25:23: error: QHelpEngine: No such file or directory


Qt-Creator build dies with:

docsettingspage.cpp:34:30: error: QtHelp/QHelpEngine: No such file or directory
filtersettingspage.cpp:35:30: error: QtHelp/QHelpEngine: No such file or directory
docsettingspage.cpp: In member function 'virtual QWidget* Help::Internal::DocSettingsPage::createPage(QWidget*)':
docsettingspage.cpp:75: error: invalid use of incomplete type 'struct QHelpEngine'
docsettingspage.h:39: error: forward declaration of 'struct QHelpEngine'
docsettingspage.cpp: In member function 'void Help::Internal::DocSettingsPage::addDocumentation()':
docsettingspage.cpp:92: error: 'QHelpEngineCore' has not been declared
docsettingspage.cpp:100: error: invalid use of incomplete type 'struct QHelpEngine'
docsettingspage.h:39: error: forward declaration of 'struct QHelpEngine'
docsettingspage.cpp: In member function 'bool Help::Internal::DocSettingsPage::applyChanges()':
docsettingspage.cpp:133: error: invalid use of incomplete type 'struct QHelpEngine'
docsettingspage.h:39: error: forward declaration of 'struct QHelpEngine'
make[3]: *** [.obj/release-shared/docsettingspage.o] Error 1
make[3]: *** Waiting for unfinished jobs....


$ emerge --info qt-gui kdevelop qt-creator
Portage 2.2_rc67 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34-rc6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-rc6-x86_64-Intel-R-_Core-TM-2_CPU_T5300_@_1.73GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 02 May 2010 12:45:02 +0000
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fno-ident -ggdb -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-O2 -march=native -pipe -fno-ident -ggdb -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.chem.wisc.edu/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/tree/official"
PORTDIR_OVERLAY="/usr/portage/tree/local"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aio alsa amd64 audiofile avi bash-completion berkdb branding bzip2 cairo cdparanoia cdr chm cli cracklib crypt css cups curl custom-optimization cxx dbus dell dirac dri dvd dvdr encode exif expat ffmpeg fftw firefox flac foomaticdb fortran gdbm gif git gmp gpm gtk iconv imagemagick imlib inotify java5 java6 jpeg kde kdehiddenvisibility laptop latex lcms logrotate lqr lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap musepack ncurses nptl nptlonly nsplugin nvidia ogg opengl openmp openssl pam pch pcre perl plasma png ppds pppd python qt qt4 quicktime rar readline reflection resolvconf samba schroedinger sdl session sndfile speex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 subversion svg sysfs tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd videos vorbis webkit wifi wmf x264 xcb xcomposite xorg xscreensaver xulrunner xv xvid xvmc xz zip zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" QEMU_SOFTMMU_TARGETS="arm i386" QEMU_USER_TARGETS="arm i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nv" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

x11-libs/qt-gui-4.6.2-r1 was built with the following:
USE="accessibility cups dbus glib gtk mng pch qt3support raster tiff trace (-aqua) -debug -exceptions -nas -nis -xinerama" 


dev-util/kdevelop-3.10.2 was built with the following:
USE="cmake cxx qmake qthelp (-aqua) -debug (-kdeenablefinal)" 


dev-util/qt-creator-1.3.1 was built with the following:
USE="bineditor bookmarks cmake debugger designer doc git kde subversion -cvs -debug -examples -fakevim -mercurial -perforce (-qml) -qtscript" LINGUAS="-de -es -fr -it -ja -pl -ru -sl"
Comment 1 Alec Meyers 2010-05-02 13:42:34 UTC
Created attachment 230031 [details]
kdevelop build.log
Comment 2 Alec Meyers 2010-05-02 13:43:29 UTC
Created attachment 230033 [details]
qt-creator build.log
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-05-02 19:40:11 UTC
Resync your tree, rebuild qt-assistant. This should fix your problem. Reopen this bug if you still have issues

libQtHelp and QtClucene are libraries which belong to qt-assistant module
Comment 4 Alec Meyers 2010-05-03 00:27:20 UTC
Nope, didn't help.

In fact, qt-assistant seems to be completely broken because it didn't install any libraries:

# equery -q f qt-assistant
/usr
/usr/bin
/usr/bin/qdoc3
/usr/bin/qttracereplay
/usr/lib
/usr/lib/debug
/usr/lib/debug/usr
/usr/lib/debug/usr/bin
/usr/lib/debug/usr/bin/qdoc3.debug
/usr/lib/debug/usr/bin/qttracereplay.debug
/usr/share
/usr/share/applications
/usr/share/applications/_usr_bin_assistant-qt-assistant-4.desktop
/usr/share/doc
/usr/share/doc/qt-4.6.2
/usr/share/doc/qt-4.6.2/qch
/usr/share/doc/qt-4.6.2/qch/assistant.qch
/usr/share/doc/qt-4.6.2/qch/designer.qch
/usr/share/doc/qt-4.6.2/qch/linguist.qch
/usr/share/doc/qt-4.6.2/qch/qmake.qch
/usr/share/doc/qt-4.6.2/qch/qt.qch
/usr/share/pixmaps
/usr/share/pixmaps/assistant.png

# emerge --info | grep Timestamp
Timestamp of tree: Sun, 02 May 2010 22:45:01 +0000
Comment 5 Alec Meyers 2010-05-03 01:39:49 UTC
Downgrading to =qt-assistant-4.6.2 fixes the problem, so something broke in r1.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2010-05-03 03:50:10 UTC
Did you actually synced your portage tree before rebuilding qt-assistant?


hwoarang@Eternity ~ $ qlist qt-assistant
/usr/include/qt4/QtHelp/qhelpengine.h
/usr/include/qt4/QtHelp/qhelpsearchquerywidget.h
/usr/include/qt4/QtHelp/qhelpenginecore.h
/usr/include/qt4/QtHelp/QHelpIndexWidget
/usr/include/qt4/QtHelp/qhelpsearchengine.h
/usr/include/qt4/QtHelp/qhelpsearchresultwidget.h
/usr/include/qt4/QtHelp/QHelpContentItem
/usr/include/qt4/QtHelp/QHelpSearchEngine
/usr/include/qt4/QtHelp/QHelpSearchQueryWidget
/usr/include/qt4/QtHelp/QtHelp
/usr/include/qt4/QtHelp/qhelp_global.h
/usr/include/qt4/QtHelp/QHelpIndexModel
/usr/include/qt4/QtHelp/QHelpContentModel
/usr/include/qt4/QtHelp/QHelpEngine
/usr/include/qt4/QtHelp/QHelpSearchQuery
/usr/include/qt4/QtHelp/QHelpContentWidget
/usr/include/qt4/QtHelp/qhelpindexwidget.h
/usr/include/qt4/QtHelp/QHelpGlobal
/usr/include/qt4/QtHelp/qhelpcontentwidget.h
/usr/include/qt4/QtHelp/QHelpEngineCore
/usr/include/qt4/QtHelp/QHelpSearchResultWidget
/usr/include/qt4/Qt/qhelpengine.h
/usr/include/qt4/Qt/qhelpsearchquerywidget.h
/usr/include/qt4/Qt/qhelpenginecore.h
/usr/include/qt4/Qt/qhelpsearchengine.h
/usr/include/qt4/Qt/qhelpsearchresultwidget.h
/usr/include/qt4/Qt/QtHelp
/usr/include/qt4/Qt/qhelp_global.h
/usr/include/qt4/Qt/qhelpindexwidget.h
/usr/include/qt4/Qt/qhelpcontentwidget.h
/usr/include/qt4/QtAssistant/qassistantclient.h
/usr/include/qt4/QtAssistant/QtAssistant
/usr/include/qt4/QtAssistant/QAssistantClient
/usr/include/qt4/QtAssistant/qassistantclient_global.h
/usr/lib/debug/usr/bin/qcollectiongenerator.debug
/usr/lib/debug/usr/bin/pixeltool.debug
/usr/lib/debug/usr/bin/qhelpgenerator.debug
/usr/lib/debug/usr/bin/qhelpconverter.debug
/usr/lib/debug/usr/bin/assistant.debug
/usr/lib/debug/usr/bin/assistant_adp.debug
/usr/lib/debug/usr/bin/qdoc3.debug
/usr/lib/debug/usr/lib64/qt4/libQtCLucene.so.4.6.2.debug
/usr/lib/debug/usr/lib64/qt4/libQtHelp.so.4.6.2.debug
/usr/lib/debug/usr/lib64/qt4/libQtAssistantClient.so.4.6.2.debug
/usr/bin/assistant
/usr/bin/qdoc3
/usr/bin/assistant_adp
/usr/bin/qcollectiongenerator
/usr/bin/pixeltool
/usr/bin/qhelpgenerator
/usr/bin/qhelpconverter
/usr/share/pixmaps/assistant.png
/usr/share/applications/_usr_bin_assistant-qt-assistant-4.desktop
/usr/share/doc/qt-4.6.2/qch/assistant.qch
/usr/share/doc/qt-4.6.2/qch/qt.qch
/usr/share/doc/qt-4.6.2/qch/designer.qch
/usr/share/doc/qt-4.6.2/qch/linguist.qch
/usr/share/doc/qt-4.6.2/qch/qmake.qch
/usr/lib64/qt4/libQtCLucene.so.4.6.2
/usr/lib64/qt4/libQtAssistantClient.so.4.6.2
/usr/lib64/qt4/libQtAssistantClient.so
/usr/lib64/qt4/libQtHelp.prl
/usr/lib64/qt4/libQtCLucene.so
/usr/lib64/qt4/libQtCLucene.so.4.6
/usr/lib64/qt4/libQtHelp.la
/usr/lib64/qt4/libQtCLucene.prl
/usr/lib64/qt4/libQtHelp.so.4.6
/usr/lib64/qt4/libQtHelp.so.4.6.2
/usr/lib64/qt4/libQtAssistantClient.so.4.6
/usr/lib64/qt4/libQtHelp.so.4
/usr/lib64/qt4/libQtCLucene.so.4
/usr/lib64/qt4/libQtAssistantClient.prl
/usr/lib64/qt4/libQtHelp.so
/usr/lib64/qt4/libQtAssistantClient.so.4
/usr/lib64/qt4/libQtCLucene.la
/usr/lib64/pkgconfig/QtAssistantClient.pc
/usr/lib64/pkgconfig/QtHelp.pc
/usr/lib64/pkgconfig/QtCLucene.pc
Comment 7 Alec Meyers 2010-05-03 12:31:13 UTC
Looks like you don't have /usr/bin/qttracereplay in the list. I built mine with the trace flag on.
Comment 8 Alec Meyers 2010-05-04 13:03:42 UTC
Yep, it's the trace flag. Without it, it builds fine.

# USE=trace emerge -qpv qt-assistant
[ebuild   R   ] x11-libs/qt-assistant-4.6.2-r1  USE="pch trace* (-aqua) -debug -exceptions"
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2010-05-04 13:31:31 UTC
*** Bug 318387 has been marked as a duplicate of this bug. ***
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2010-05-04 13:49:09 UTC
ok this is finally fixed in qt-assistant-4.6.2-r2
Comment 11 Alec Meyers 2010-05-04 19:17:53 UTC
Thanks!