Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128745 - kdelibs-3.5.1{,-r1} and other KDE packages name binaries 'i686-pc-linux-gnu-FOO' and everything else can't find FOO
Summary: kdelibs-3.5.1{,-r1} and other KDE packages name binaries 'i686-pc-linux-gnu-F...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-04 02:26 UTC by Florian E
Modified: 2006-12-28 13:41 UTC (History)
0 users

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


Attachments
config.cache, as requested (ebkakao.config.cache,59.90 KB, text/plain)
2006-04-04 15:05 UTC, Florian E
Details
PORTAGE_TMPDIR/kdm-3.5.1/work/kdm-3.5.1/config.log (ebkakao.kdm.config.log,9.62 KB, text/plain)
2006-04-04 15:41 UTC, Florian E
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian E 2006-04-04 02:26:35 UTC
kdelibs-3.5.1-r1,kdebase-kioslaves-3.5.1,klipper-3.5.1,ksysguard-3.5.1,kicker-3.5.1-r1,kpager-3.5.1,kate-3.5.1,kmenuedit-3.5.1,kdelibs-3.5.1-r1,kcontrol-3.5.1,...
(for i in `find /usr/kde/3.5/ -name 'i686-pc-linux-gnu-*'`;do equery b $i >> $TMPFILE; done)
have binaries with name schemes like i686-pc-linux-gnu-FOO, while other things (kdm init script, econf for most kde packages) only searching for FOO.

example: kde-config
belongs to kdelibs and is installed to /usr/kde/3.5/bin/i686-pc-linux-gnu-kde-config nearly anything depending on kdelibs failed, because it can't find 'kde-config'.
a simple symlink in /usr/kde/3.5/bin/ named kde-config to i686-pc-linux-gnu-kde-config solves the problem, but it reoccurs with some other kde-packages.


reproduce: 
1. emerge kdelibs-3.5.1{,-r1}
2. emerge something using kde-config in econf
3. -> fails, can't find kde-config

workaround (kdelibs specific):
cd /usr/kde/3.5/bin/
ln -s i686-pc-linux-gnu-kde-config kde-config

workaround (for anything in /usr/kde/3.5/bin/):
#!/bin/bash
# find files with name scheme like 'i686-pc-linux-gnu-FOO'
for FILE in `find /usr/kde/3.5/ -name 'i686-pc-linux-gnu-*'`; do
        # change into dir of FILE
        cd `echo $FILE | rev | cut -d "/" -f 2- | rev` ;
        # symlink from i686-pc-linux-gnu-FOO to FOO
        ln -vs $FILE `echo $FILE | rev | cut -d "/" -f 1 | rev | cut -b 19-`;
done

PS: we could use "$CHOST-" instead of "i686-pc-linux-gnu-" if the problem exists on other archs
(no, my ~ppc-iBook stays KDE-clean ;P)
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-04 02:40:29 UTC
Please provide emerge info output and the ./configure line printed at the start of a package's merge, then reopen the bug.
Comment 2 Florian E 2006-04-04 03:18:00 UTC
big SORRY.. *blush*

emerge --info:
Portage 2.1_pre7-r3 (default-linux/x86/no-nptl, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CTARGET="i686-pc-linux-gnu"
CXXFLAGS="-march=pentium2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--usepkg"
FEATURES="autoconfig buildpkg ccache collision-protect confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/ ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp/portagetmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X apache2 apm avi bash-completion berkdb bitmap-fonts cli crypt ctype cups dba emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 imlib jpeg kde kdexdeltas lcms ldap libg++ libwww mad memlimit mikmod mmx mng motif mp3 mpeg multislot ncurses nls ogg oss pam pcre pdflib perl png posix python qt quicktime readline sdl session simplexml soap sockets spell spl ssl svg tcpd tiff tokenizer truetype truetype-fonts type1-fonts unicode utf8 vorbis wmf xml xmms xsl zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de linguas_en userland_GNU video_cards_mga video_cards_ati video_cards_s3 video_cards_vga"
Unset:  ASFLAGS, LDFLAGS

anything needed for kde-3.5.1 is with "<cat/pkg-3.5.2 ~x86" in /etc/portage/package.keywords

configure stuff from /var/log/portage/2901-kdelibs-3.5.1-r1.log:
 * econf: updating kdelibs-3.5.1/admin/config.sub with /usr/share/gnuconfig/conf
ig.sub
/usr/bin/confcache --confcache-ignore /tmp/portagetmp/ccache:/tmp/portagetmp/.di
stcc --confcache-dir /tmp/portagetmp/confcache ./configure --prefix=/usr --host=
i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/u
sr/share --sysconfdir=/etc --localstatedir=/var/lib --with-distribution=Gentoo -
-enable-libfam --enable-dnotify --with-libart --with-libidn --with-utempter --wi
thout-acl --with-ssl --without-alsa --without-arts --without-gssapi --without-ti
ff --without-jasper --without-openexr --enable-cups --disable-dnssd --without-hs
pell --with-aspell --disable-fast-malloc --with-x --enable-mitshm --without-xine
rama --with-qt-dir=/usr/qt/3 --enable-mt --with-qt-libraries=/usr/qt/3/lib --dis
able-dependency-tracking --disable-debug --without-debug --disable-final --witho
ut-arts --prefix=/usr/kde/3.5 --mandir=/usr/kde/3.5/share/man --infodir=/usr/kde
/3.5/share/info --datadir=/usr/kde/3.5/share --sysconfdir=/usr/kde/3.5/etc --tar
get=i686-pc-linux-gnu --build=i686-pc-linux-gnu
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-04 03:24:25 UTC
Please attach the config.cache from confcache, and try to build something without confcache enabled, I'm afraid that might be a problem with that.
Comment 4 Florian E 2006-04-04 15:05:46 UTC
Created attachment 83920 [details]
config.cache, as requested

removed links && emerge kdm with FEATURES="-confcache" to test..
Comment 5 Florian E 2006-04-04 15:40:18 UTC
(In reply to comment #4)
> Created an attachment (id=83920) [edit]
> config.cache, as requested
> 
> removed links && emerge kdm with FEATURES="-confcache" to test..
> 

FEATURES="-confcache" exec emerge -v kdm
...
checking whether make sets $(MAKE)... yes
checking for kde-config... not found
configure: error: The important program kde-config was not found!
Please check whether you installed KDE correctly.
...
# equery f kdelibs | grep kde-config
/usr/kde/3.5/bin/i686-pc-linux-gnu-kde-config

gonna attach /tmp/portagetmp/portage/kdm-3.5.1/work/kdm-3.5.1/config.log
Comment 6 Florian E 2006-04-04 15:41:54 UTC
Created attachment 83923 [details]
PORTAGE_TMPDIR/kdm-3.5.1/work/kdm-3.5.1/config.log
Comment 7 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-13 17:12:57 UTC
Is this still a problem with kde-3.5.5?
Comment 8 Florian E 2006-12-28 13:41:07 UTC
(In reply to comment #7)
> Is this still a problem with kde-3.5.5?
> 
woh, no idea.. the machine isn't in use anymore and I don't have access to a
gentoo-box with KDE but I can't remember this problem occuring again.
since kdelibs3.5.1 is out of the tree I make this a 'WONTFIX'.

c yas & a Happy and bugsmashing New Year!