Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 203553 - x11-libs/qt-assistant-4.4.0_rc1 fails to compile
Summary: x11-libs/qt-assistant-4.4.0_rc1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-28 10:19 UTC by Orson Teodoro
Modified: 2007-12-29 05:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Orson Teodoro 2007-12-28 10:19:49 UTC
I was trying to compile the new app-admin/keepassx-0.2.2-r2 and ran into this problem.  The older keepassx with the monolithic qt ebuilds was fine.

This was an attempt to compile on hardened gentoo profile with gcc (3.4.6) set from pie+ssp to vanilla and cflags set to default still produces failed compile for x11-libs/qt-assistant-4.4.0_rc1.  I don't know if the 2007.0 desktop profile are affected.


Reproducible: Always

Steps to Reproduce:
0.gcc-config 1            (x86_64-pc-linux-gnu-3.4.6 ... pie+ssp)
1.source /etc/profile
2.add to package.keywords:
app-admin/keepassx
x11-libs/qt **
x11-libs/qt-xmlpatterns **
x11-libs/qt-core **
x11-libs/qt-sql **
x11-libs/qt-test **
x11-libs/qt-assistant **
x11-libs/qt-gui **
x11-libs/qt-script **
x11-libs/qt-svg **
x11-libs/qt-qt3support **

3. add to package.unmask
app-admin/keepassx
x11-libs/qt
x11-libs/qt-xmlpatterns
x11-libs/qt-core
x11-libs/qt-sql
x11-libs/qt-test
x11-libs/qt-assistant
x11-libs/qt-gui
x11-libs/qt-script
x11-libs/qt-svg
x11-libs/qt-qt3support
4 emerge keepassx
 fails now
5.gcc-config 2             (x86_64-pc-linux-gnu-3.4.6-hardenednopie)
6.source /etc/profile
7.emerge -1 =x11-libs/qt-assistant-4.4.0_rc1
 fails now
8.gcc-config 5             ([5] x86_64-pc-linux-gnu-3.4.6-vanilla *)
9.source /etc/profile
10.emerge -1 =x11-libs/qt-assistant-4.4.0_rc1
 fails now

Actual Results:  
compiling .moc/release-shared/moc_qhelpsearchindexreader_clucene_p.cpp
rcc helpsystem.qrc
compiling .rcc/release-shared/qrc_helpsystem.cpp
rm -f libQtHelp.so.4.4.0 libQtHelp.so libQtHelp.so.4 libQtHelp.so.4.4
linking ../../../lib/libQtHelp.so.4.4.0
.obj/release-shared/qhelpgenerator.o: In function `QHelpGenerator::generate(QHelpDataInterface*, QString const&)':
qhelpgenerator.cpp:(.text+0x85cb): undefined reference to `QDataStream::QDataStream(QByteArray*, int)'
collect2: ld returned 1 exit status
make[1]: *** [../../../lib/libQtHelp.so.4.4.0] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/qt-assistant-4.4.0_rc1/work/qt-x11-preview-opensource-src-4.4.0-tp1/tools/assistant/lib'
make: *** [sub-lib-make_default-ordered] Error 2
 * 
 * ERROR: x11-libs/qt-assistant-4.4.0_rc1 failed.
 * Call stack:
 *                       ebuild.sh, line 1701:  Called dyn_compile
 *                       ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                       ebuild.sh, line   44:  Called src_compile
 *   qt-assistant-4.4.0_rc1.ebuild, line   46:  Called build_target_directories
 *                qt4-build.eclass, line   84:  Called build_directories 'tools/assistant'
 *                qt4-build.eclass, line   91:  Called die
 * The specific snippet of code:
 *              "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" && emake || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/qt-assistant-4.4.0_rc1/temp/build.log'.
 * 

 * Messages for package x11-libs/qt-assistant-4.4.0_rc1:

 * Appending -fno-stack-protector to CFLAGS/CXXFLAGS
 * 
 * ERROR: x11-libs/qt-assistant-4.4.0_rc1 failed.
 * Call stack:
 *                       ebuild.sh, line 1701:  Called dyn_compile
 *                       ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                       ebuild.sh, line   44:  Called src_compile
 *   qt-assistant-4.4.0_rc1.ebuild, line   46:  Called build_target_directories
 *                qt4-build.eclass, line   84:  Called build_directories 'tools/assistant'
 *                qt4-build.eclass, line   91:  Called die
 * The specific snippet of code:
 *              "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" && emake || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/qt-assistant-4.4.0_rc1/temp/build.log'.
 * 
l

Expected Results:  
It should end gracefully without problems (green).

Portage 2.1.3.19 (hardened/amd64/multilib, gcc-3.4.6-vanilla, glibc-2.6.1-r0, 2.6.23-hardened-r4 x86_64)
=================================================================
System uname: 2.6.23-hardened-r4 x86_64 AMD Sempron(tm) Processor 2600+
Timestamp of tree: Wed, 26 Dec 2007 11:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fforce-addr"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo "
LANG="C"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 crypt hardened justify midi minimal nptl nptlonly pam pic ssl urandom xorg 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 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="none dummy nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2007-12-28 13:37:18 UTC
Please re-sync portage in about an hour, then retry the emerge.  I think this should be fixed now.
Comment 2 Orson Teodoro 2007-12-29 05:45:26 UTC
(In reply to comment #1)
> Please re-sync portage in about an hour, then retry the emerge.  I think this
> should be fixed now.
> 

It works fine now... thx guys