Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219393 - qt-core 4.4.0_rc1 fails to build
Summary: qt-core 4.4.0_rc1 fails to build
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://lists.trolltech.com/qt-interes...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-26 23:08 UTC by Karol Krizka
Modified: 2008-05-05 09:30 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 Karol Krizka 2008-04-26 23:08:45 UTC
Hi, I need qt 4.4 for a project that I am working on so I decided to unmask and emerge it from portage. However right at the begging of the build I get an error.

The link I attached talks about it being a mismatch between binutils and gcc versions, so I tried to unmask and upgrade to gcc 4.3.0. That did not work, so I removed it and tried to downgrade binutils to 2.17, but the built of that failed too. Any suggestions?


Reproducible: Always

Steps to Reproduce:
1. emerge qt
2.
3.

Actual Results:  

You have already accepted the terms of the  license.

Creating qmake. Please wait...
`.gnu.linkonce.t._ZN21QScriptContextPrivate13strict_eq_cmpERK16QScriptValueImplS2_' referenced in section `.rodata' of qscriptcontext_p.o: defined in discarded section `.gnu.linkonce.t._ZN21QScriptContextPrivate13strict_eq_cmpERK16QScriptValueImplS2_' of qscriptcontext_p.o
`.gnu.linkonce.t._ZN21QScriptContextPrivate13strict_eq_cmpERK16QScriptValueImplS2_' referenced in section `.rodata' of qscriptengine_p.o: defined in discarded section `.gnu.linkonce.t._ZN21QScriptContextPrivate13strict_eq_cmpERK16QScriptValueImplS2_' of qscriptengine_p.o
`.gnu.linkonce.t._ZN21QScriptContextPrivate6eq_cmpERK16QScriptValueImplS2_' referenced in section `.rodata' of qscriptvalue.o: defined in discarded section `.gnu.linkonce.t._ZN21QScriptContextPrivate6eq_cmpERK16QScriptValueImplS2_' of qscriptvalue.o
`.gnu.linkonce.t._ZN21QScriptContextPrivate13strict_eq_cmpERK16QScriptValueImplS2_' referenced in section `.rodata' of qscriptvalue.o: defined in discarded section `.gnu.linkonce.t._ZN21QScriptContextPrivate13strict_eq_cmpERK16QScriptValueImplS2_' of qscriptvalue.o
`.gnu.linkonce.t._ZN21QScriptContextPrivate13strict_eq_cmpERK16QScriptValueImplS2_' referenced in section `.rodata' of qscriptvalueiteratorimpl.o: defined in discarded section `.gnu.linkonce.t._ZN21QScriptContextPrivate13strict_eq_cmpERK16QScriptValueImplS2_' of qscriptvalueiteratorimpl.o
collect2: ld returned 1 exit status
gmake: *** [/var/tmp/portage/x11-libs/qt-core-4.4.0_rc1/work/qt-x11-opensource-src-4.4.0-rc1/bin/qmake] Error 1

Expected Results:  
qt 4.4 should have compiled


Portage 2.1.5_rc6 (default/linux/amd64/2008.0, gcc-4.2.3, glibc-2.7-r2, 2.6.25-tuxonice-r1 x86_64)
=================================================================
System uname: 2.6.25-tuxonice-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Sat, 26 Apr 2008 17:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.2-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache confcache distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/kde /usr/portage/local /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi addbookmarks additions alsa amd64 amr amrnb amrwb apache2 applet archive ares artworkextra avahi avi bash-completion berkdb branding bzip2 cairo calendar cdr cli clock-screen compiz contactnotes cpudetection cracklib crypt css ctype cups curl daap dbus deciberl dfs disk-partition divx dvd dvdr dvdread emacs encode evolution fam fastrack fasttrack fbcon fbcondecor fbsplash ffmpeg firefox flac foomaticdb fortran fuse galago gcj gconf gd gdbm gif gimp glitz gnutella gphoto2 gpm gsf gstreamer guile hal highlight history hyperestraier iconv inotify inquisitio ipv6 isdnlog ithreads java jpeg jpeg2k jpg kde kdm key-screen keyring kickoff latex libburn libnotify logitech-mouse mdnsresponder-compat midi mmx mono mozdevelop mp3 mp3rtp mp4 msn mudflap multilib musepack musicbrainz mysql nautilus ncurses network_manager networking nls nptlonly nsplugin ocamlopt offensive ogg openft opengl openmp pam pcre pdf perl php plotutils plugins png ppds python qt-copy qt3 qt3support qt4 quicktime rar readline realmedia reflection regex rt73usb samba sdl search-screen session simplexml speex spell spl sqlite sse sse2 ssl svg symlink taglib tcpd tetex theora threads tiff totem tracker transparency truetype type1 unicode unsupported usb v4l vala vim vim-syntax visibility vorbis wavpack wifi wxwindows x264 xcb xcomposite xine xml xorg xv xvid 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 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 asis auth_digest authn_dbd cern_meta charset_lite dbd dumpio ident imagemap log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http version" CAMERAS="sony_dscf55" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Karol Krizka 2008-04-26 23:42:43 UTC
I should also mention that I got qt4.4_rc1 compiled on my laptop running Ubuntu Hardy Heron that has gcc-4.2.3 and binutils-2.18.1, so I am not sure if a version mismatch is the problem.
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2008-05-05 09:30:45 UTC
Hi Karol, please re-open if you followed the instructions at http://www.gentoo.org/doc/en/gcc-upgrading.xml when you upgraded your compiler.