Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182740 - net-p2p/ktorrent emerge fails in configure
Summary: net-p2p/ktorrent emerge fails in configure
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-20 22:59 UTC by Martin Walch
Modified: 2007-06-26 21:37 UTC (History)
0 users

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


Attachments
config.log from emerge ktorrent (config.log,103.79 KB, text/plain)
2007-06-20 23:01 UTC, Martin Walch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2007-06-20 22:59:16 UTC
emerge ktorrent results in

checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!

All other applications using Qt work fine. This error occurs with ktorrent-2.1.3 as well as with ktorrent-2.2_rc1.

Reproducible: Always

Steps to Reproduce:
Comment 1 Martin Walch 2007-06-20 23:01:03 UTC
Created attachment 122650 [details]
config.log from emerge ktorrent
Comment 2 Martin Walch 2007-06-20 23:01:39 UTC
Sorry, forgot emerge --info:

emerge --info
Portage 2.1.2.7 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 20 Jun 2007 13:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -pipe -march=nocona -fgcse-after-reload"
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/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -fomit-frame-pointer -pipe -march=nocona -fgcse-after-reload"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi akode alsa amarok amd64 arts avahi bash-completion berkdb bitmap-fonts branding cairo cdaudio cdr cdrom cjk cli cracklib crypt cups daap dbus dga dri dvd dvdnav dvdr dvdread dxr3 eds emboss encode esd evo fam fbcon fftw firefox flac fortran gcj gdbm ggi gif glibc-omitfp glitz gpm gstreamer gtk hal iconv imagemagick ipv6 jabber jack java java5 javascript jingle jpeg kde kdeenablefinal kdehiddenvisibility kerberos latex lcms ldap libcaca libg++ lua mad midi mikmod mmx mmxext mng mp3 mpeg mpeg2 mudflap musepack mysql ncurses nls noamazon nptl nptlonly ogg openal openexr opengl openmp oss pam pcre pdf perl png povray pppd python qt3 qt3support qt4 quicktime readline reflection reiser4 reiserfs sdl sensord session sndfile speex spell spl sse sse2 ssl svg tcpd tetex theora tidy tiff timidity truetype truetype-fonts type1-fonts unicode visualization vorbis wav wavpack xine xml xorg xprint 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810 vga vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Wulf Krueger (RETIRED) gentoo-dev 2007-06-21 17:13:00 UTC
Please add the output of "emerge -pv x11-libs/qt", the value of ${QTDIR} and the output of "ls -l /usr/qt/3/include/qglobal.h" as well as the output of "ls -l /etc/env.d/*qt*".
Comment 4 Martin Walch 2007-06-21 18:09:07 UTC
(In reply to comment #3)
> Please add the output of "emerge -pv x11-libs/qt", the value of ${QTDIR} and
> the output of "ls -l /usr/qt/3/include/qglobal.h" as well as the output of "ls
> -l /etc/env.d/*qt*".


emerge -pv x11-libs/qt

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/qt-4.2.3-r1  USE="accessibility cups dbus gif jpeg mng mysql opengl png qt3support zlib -debug -doc -examples (-firebird) -glib -nas -nis -odbc -pch -postgres -sqlite -sqlite3 -xinerama" INPUT_DEVICES="-wacom" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB



echo ${QTDIR}
/usr/share/qt3



ls -l /usr/qt/3/include/qglobal.h
-rw-r--r-- 1 root root 32411 19. Jun 20:51 /usr/qt/3/include/qglobal.h



ls -l /etc/env.d/*qt*
-rw-r--r-- 1 root root  70 19. Jun 21:21 /etc/env.d/44qt4
-rw-r--r-- 1 root root 183 19. Jun 20:51 /etc/env.d/45qt3
-rw-r--r-- 1 root root 183 19. Jun 20:22 /etc/env.d/45qt3-emul
-rw-r--r-- 1 root root  16 19. Jun 20:51 /etc/env.d/50qtdir3
-rw-r--r-- 1 root root  16 19. Jun 20:22 /etc/env.d/50qtdir3-emul
Comment 5 Wulf Krueger (RETIRED) gentoo-dev 2007-06-21 18:23:39 UTC
Thanks! Your QTDIR is most likely wrong. It should be /usr/qt/3. Do you even have /usr/share/qt3?

Please look into the env.d-QT-files to find out which one sets that path and report back. If it's neither of those, grep through /etc (and its subdirs) to find the culprit.
Comment 6 Martin Walch 2007-06-21 20:05:55 UTC
(In reply to comment #5)
> Thanks! Your QTDIR is most likely wrong. It should be /usr/qt/3. Do you even
> have /usr/share/qt3?

no, I don't:

ls /usr/share/qt3
ls: cannot access /usr/share/qt3: No such file or directory


> Please look into the env.d-QT-files to find out which one sets that path and
> report back. If it's neither of those, grep through /etc (and its subdirs) to
> find the culprit.

all files in /etc/env.d/ seem to be ok:

grep QTDIR /etc/env.d/*
/etc/env.d/50qtdir3:QTDIR=/usr/qt/3
/etc/env.d/50qtdir3-emul:QTDIR=/usr/qt/3

I just made an env-update, but that did not change anything.

Also in the whole /etc directory I did not find anything wrong:

grep -R QTDIR /etc/*
/etc/csh.env:setenv QTDIR '/usr/qt/3'
/etc/env.d/50qtdir3-emul:QTDIR=/usr/qt/3
/etc/env.d/50qtdir3:QTDIR=/usr/qt/3
/etc/profile.csh:setenv QTDIR '/usr/qt/3'
/etc/profile.env:export QTDIR='/usr/qt/3'
grep: /etc/ssl/certs/cacert.org.pem: No such file or directory


So I greped my whole hard drive. I picked out whatever might have something to do with this:

lib/modules/2.6.20-gentoo-r8/build/fs/9p/9p.h:  V9FS_QTDIR = 0x80,
lib/modules/2.6.20-gentoo-r8/build/fs/9p/fcprint.c:     if (q->type & V9FS_QTDIR)
lib/modules/2.6.20-gentoo-r8/build/scripts/kconfig/Makefile:      for d in $$QTDIR /usr/share/qt* /usr/lib/qt*; do \
lib/modules/2.6.20-gentoo-r8/build/scripts/kconfig/Makefile:        echo "* either install pkg-config or set the QTDIR environment"; \
lib/modules/2.6.20-gentoo-r8/build/Documentation/kbuild/makefiles.txt:          HOSTLOADLIBES_qconf := -L$(QTDIR)/lib
lib/modules/2.6.20-gentoo-r8/build/Documentation/kbuild/makefiles.txt:  "-L$(QTDIR)/lib".
var/db/pkg/x11-libs/qt-3.3.8-r2/qt-3.3.8-r2.ebuild:     export QTDIR=${S}
var/db/pkg/x11-libs/qt-3.3.8-r2/qt-3.3.8-r2.ebuild:QTDIR=${QTBASE}
var/db/pkg/app-crypt/pinentry-0.7.2-r3/pinentry-0.7.2-r3.ebuild:        export QTLIB="${QTDIR}/$(get_libdir)"
var/db/pkg/app-text/poppler-bindings-0.5.4/poppler-bindings-0.5.4.ebuild:       export QTLIB="${QTDIR}/$(get_libdir)"
var/db/pkg/kde-base/kdepim-3.5.7/kdepim-3.5.7.ebuild:   sed -i -e "s:\"designer\":\"${QTDIR}/bin/designer\":g" "${S}"/libkdepim/kcmdesignerfields.cpp || die "sed failed"
Binary file var/tmp/ccache/1/0/79718c7a4db16fbf7fdb90808d62e5-306934 matches
Binary file var/tmp/ccache/1/7/7a85aa3b50ff2e6f0ea47b2efcfbe8-4284613 matches
Binary file var/tmp/ccache/1/f/8358ef9cb7e94bdbe6105efb83673d-277817 matches
Binary file var/tmp/ccache/2/a/329e98084801663756ccf9b69e7eed-1218645 matches
Binary file var/tmp/ccache/2/b/1fbab8f3275ec620702f1d062d0757-308879 matches
...

First idea was: "it is ccache's fault... maybe?". So I tried emerging ktorrent without ccache. However that did not help.
Comment 7 Ioannis Aslanidis (RETIRED) gentoo-dev 2007-06-22 20:40:36 UTC

*** This bug has been marked as a duplicate of bug 144103 ***
Comment 8 Wulf Krueger (RETIRED) gentoo-dev 2007-06-22 21:48:38 UTC
Ioannis, this is a completely different problem - unless the wrong QT path is a result of some weirdness in glibc. ;)
Comment 9 Wulf Krueger (RETIRED) gentoo-dev 2007-06-23 12:04:44 UTC
Did you possibly forgot to do "source /etc/profile" after the env-update? And try grepping for /usr/share/qt3 instead of QTDIR. The truth is out there... ;-)
Comment 10 Martin Walch 2007-06-24 16:54:58 UTC
(In reply to comment #9)
> Did you possibly forgot to do "source /etc/profile" after the env-update? And
> try grepping for /usr/share/qt3 instead of QTDIR. The truth is out there... ;-)

I tried several things: . /etc/profile, opening a new bash and rebooting.

However, I made a world update several hours ago. Now this strange problem is gone and I am a bit angry, that I did not write down which packets have been updated. So, as I can not reproduce it any more, I will set this bug to INVALID.
Sorry for the inconvenience.
Comment 11 Wulf Krueger (RETIRED) gentoo-dev 2007-06-24 17:11:00 UTC
No problem at all. I'm glad you got rid of this problem. :-)
Comment 12 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2007-06-26 17:10:24 UTC
(In reply to comment #10)
> 
> However, I made a world update several hours ago. Now this strange problem is
> gone and I am a bit angry, that I did not write down which packets have been
> updated. So, as I can not reproduce it any more, I will set this bug to
> INVALID.
> Sorry for the inconvenience.
> 

If you want to check the packages you've emerged, you should take a look at qlop or genlop (app-portage/portage-utils and app-portage/genlop). Run 'qlop -l' or 'genlop -l' for getting the merge history.
Comment 13 Martin Walch 2007-06-26 21:37:45 UTC
(In reply to comment #12)
>
> If you want to check the packages you've emerged, you should take a look at
> qlop or genlop (app-portage/portage-utils and app-portage/genlop). Run 'qlop
> -l' or 'genlop -l' for getting the merge history.

Nice, thanks for the advice. qlop tells me that the merged packages were:

virtual/libstdc++-3.3
dev-java/xjavac-20041208-r5
media-video/mplayer-1.0.20070622

I do not see any connection to qt, yet.