Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173566 - qt-4.2.3-r1 won't compile : error while linking libQtOpenGL.so
Summary: qt-4.2.3-r1 won't compile : error while linking libQtOpenGL.so
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-06 13:55 UTC by Sylvain Raybaud
Modified: 2007-04-10 18:28 UTC (History)
1 user (show)

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


Attachments
emerge log (x11-libs:qt-4.2.3-r1:20070406-105605.log,701.25 KB, text/plain)
2007-04-06 13:57 UTC, Sylvain Raybaud
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain Raybaud 2007-04-06 13:55:15 UTC
the linker returns "cannot find -lGL" while trying to link libQtOpenGL.so.4.2.3
Emerge carry on a little while after that, but eventually fails.
I saw no other obvious error.

Reproducible: Always

Steps to Reproduce:
1. emerge -avuD world

Actual Results:  
emerge fails

Expected Results:  
it shouldn't :)

just a question : should I rather report this kind of bug to the Qt team, or gentoo, or both ?
Comment 1 Sylvain Raybaud 2007-04-06 13:57:01 UTC
Created attachment 115576 [details]
emerge log
Comment 2 Sylvain Raybaud 2007-04-06 14:00:30 UTC
> Steps to Reproduce:
> 1. emerge -avuD world

I meant "emerge -avu qt" here
Comment 3 Sylvain Raybaud 2007-04-06 14:05:29 UTC
sylvain@wonderland ~ $ emerge --info
Portage 2.1.2.3 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 06 Apr 2007 09:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="ccache confcache distlocks metadat-transfer metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo http://cudlug.cudenver.edu/gentoo http://gentoo.modulix.net/gentoo http://ftp.club-internet.fr/pub/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en fr en_GB"
MAKEOPTS="-j3"
PKGDIR="/var/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="/dev/shm/portage"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib alsa amd64 arts bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdr cli cracklib crypt dbus dri dvd dvdr dvdread eds emboss encode esd fam firefox flac fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv ieee1394 ipv6 isdnlog java jpeg kde kdeenablefinal ldap libcaca libg++ lm_sensors mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session socks5 spell spl ssl svg tcpd tetex theora truetype truetype-fonts type1-fonts unicode vorbis xml xorg xscreensaver xv 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-04-06 14:11:39 UTC
Run `eselect opengl set xorg-x11/nvidia/ati (whatever you are using) and try again.
Comment 5 Sylvain Raybaud 2007-04-06 14:54:01 UTC
(In reply to comment #4)
> Run `eselect opengl set xorg-x11/nvidia/ati (whatever you are using) and try
> again.
> 

thanks, but running "sudo eselect opengl set nvidia" changed nothing.
(I have an nvidia card with the nvidia driver)
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-04-06 19:25:43 UTC
Rebuild "mesa":
  emerge -1v mesa
Comment 7 Sylvain Raybaud 2007-04-10 18:28:07 UTC
(In reply to comment #6)
> Rebuild "mesa":
>   emerge -1v mesa
> 

I did this and then ran "eselect opengl set nvidia", but it changed nothing.
then this morning I ran  opengl set xorg-x11" and successfuly re-emerged qt.
But since my cron run emerge --sync every day, I'm not sure if emerging succeeded because I eselected xorg-x11 or because of a new version of qt-4.
However I don't really understand the "eselect" stuff.. but this is no help forum so I will investigate by myself. thanks for all !