Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159339 - qt libs not found when in emerging from console
Summary: qt libs not found when in emerging from console
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-28 20:26 UTC by Shem Valentine
Modified: 2006-12-29 12:10 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,109.25 KB, text/plain)
2006-12-29 08:35 UTC, Shem Valentine
Details
compile log (ebuild.fail,13.21 KB, text/plain)
2006-12-29 08:37 UTC, Shem Valentine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shem Valentine 2006-12-28 20:26:44 UTC
I'm not sure if this is a bug or just the way it is, but when compiling kde packages the Qt libs are not found during configure unless I'm logged in to a gui and running the emerge from a terminal.  It was easily reproduced, wether I was in gnome or enlightenment.   I'm not sure if I can reproduce once kde is installed, as I haven't gotten to that point yet.  I had built a Gnome system and am now converting to KDE, I think that is a factor, otherwise no one building a new system with KDE would be able to complete it.

emerge --info

Portage 2.1.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17-valentine-r1 x86_64)
=================================================================
System uname: 2.6.17-valentine-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
Gentoo Base System version 1.12.6
Last Sync: Fri, 29 Dec 2006 02:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -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/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ "
LC_ALL="en_US"
MAKEOPTS="-j3"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol arts avahi berkdb bitmap-fonts cdr cli cracklib crypt cups dbus dlloader dri dvdr elibc_glibc esd ffmpeg flac fortran gdbm gif gnome gphoto2 gpm gtk gtk2 hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ libnotify logitech-mouse mono mp3 ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre perl png ppds pppd python qt4 quicktime rdesktop readline reflection samba session smp spell spl ssl tcpd theora tiff truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia vorbis w32codecs xinerama xml xorg xscreensaver xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-29 00:35:23 UTC
Post some compile output and config.log, really hard to guess.
Comment 2 Shem Valentine 2006-12-29 08:35:08 UTC
Created attachment 104938 [details]
config.log

I am attaching the config.log.
Comment 3 Shem Valentine 2006-12-29 08:37:41 UTC
Created attachment 104939 [details]
compile log

The compile output is incomplete, as the errors were printing to screen and not to file. Perhaps there is a better method than emerge 'kde-meta > ebuild.fail'?  Basically when looking for Qt it fails with the error "Qt (>=Qt 3.3 and <Qt 4.0) (headers and libraries) not found"  I am attaching the compile log, let me know if there is a better way to capture all the data.
Comment 4 Shem Valentine 2006-12-29 08:39:03 UTC
Reopening bug with logs attached.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-29 09:30:41 UTC
--with-qt-dir=/emul/linux/x86/usr/qt/2:/emul/linux/x86/usr/qt/3 

Your QTDIR setting is screwed, I'd say local issue, make sure you're not trying to have a special QTDIR setting in /etc/env.d.
Comment 6 Shem Valentine 2006-12-29 11:16:28 UTC
I haven't touched env.d, and it all looks proper.  Where is emerge getting my Qt libs setting from?  Why just the console, and not from a terminal?  Like I said earlier I'm sure it has to do with me using gnome as a desktop originally.  I would say that it is definately a bug, and would happen to anyone trying to make the switch.  Probably not an ebuild bug, but perhaps a bug in the emul package?  I am unsure how you would like to proceed from here, but it is working for me in enlightenment, which is fine.  I would say it needs looking into, but if you would like to mark it resolved that is fine.  I'll be more than glad to run tests if needs be.

Have a good one.

POWERTUX env.d # ls /etc/env.d/*qt*
/etc/env.d/44qt4                    /etc/env.d/45qt3
/etc/env.d/45emul-linux-x86-qtlibs  /etc/env.d/50qtdir3

POWERTUX env.d # cat /etc/env.d/44qt4
LDPATH=/usr/lib/qt4:/usr/lib64/qt4:/usr/lib32/qt4
QMAKESPEC=linux-g++-64

POWERTUX env.d # cat /etc/env.d/45qt3
PATH=/usr/qt/3/bin
ROOTPATH=/usr/qt/3/bin
LDPATH=/usr/qt/3/lib:/usr/qt/3/lib64:/usr/qt/3/lib32
QMAKESPEC=linux-g++
MANPATH=/usr/qt/3/doc/man
PKG_CONFIG_PATH=/usr/qt/3/lib64/pkgconfig

POWERTUX env.d # cat /etc/env.d/45emul-linux-x86-qtlibs
LDPATH=/emul/linux/x86/usr/qt/2/lib:/emul/linux/x86/usr/qt/3/lib
QTDIR=/emul/linux/x86/usr/qt/2:/emul/linux/x86/usr/qt/3

POWERTUX env.d # cat /etc/env.d/50qtdir3
QTDIR=/usr/qt/3
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-12-29 11:46:25 UTC
AMD64, please remove the QTDIR line from the emul-qtlibs env.d file, revbump and stable ASAP, it sounds broken. (why is it hitting now, I have no idea).
Comment 8 Danny van Dyk (RETIRED) gentoo-dev 2006-12-29 12:10:48 UTC
Fixed as of version 3.4.4-r1.