Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168552 - dev-libs/libmcs-0.4.0 fails to configure if USE flag kde set
Summary: dev-libs/libmcs-0.4.0 fails to configure if USE flag kde set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
: 168567 168580 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-27 11:39 UTC by Nils Ohlmeier
Modified: 2007-02-27 14:18 UTC (History)
3 users (show)

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


Attachments
configure log (config.log,23.81 KB, text/plain)
2007-02-27 12:59 UTC, Nils Ohlmeier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Ohlmeier 2007-02-27 11:39:07 UTC
configure of libmcs-0.4.0 is looking for libkdecore and fails if USE flag kde is set.



Reproducible: Always

Steps to Reproduce:
1. set USE flag kde
2. emerge libmcs
3.

Actual Results:  

checking for strtod... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking for main in -lkdecore... no
configure: error: Cannot find libkdecore

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/dev-libs/libmcs-0.4.0/work/mcs-0.4.0/config.log

!!! ERROR: dev-libs/libmcs-0.4.0 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 1285:   Called src_compile
  libmcs-0.4.0.ebuild, line 21:   Called econf '--disable-gconf' '--enable-kconfig'
  ebuild.sh, line 577:   Called die

Expected Results:  
It should find the installed libkdecore

Portage 2.1.2-r12 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r0, 2.6.19-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r2 x86_64 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 27 Feb 2007 10:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.2.3-r6, 2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.ITDNet.net/gentoo http://ftp.du.se/pub/os/gentoo"
LINGUAS="en en_GB de"
MAKEOPTS="-j5"
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-* --prune-empty-dirs"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/voip /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/xeffects"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac aalib aim alsa amd64 apache2 arts artswrappersuid bash-completion berkdb bitmap-fonts bonjour bzip2 cdr cli cpudetection cracklib crosscompile crypt cscope ctype cups curl cvs dga dri dvd dvdr dvdread emul-linux-x86 encode exif expat fam fat ffmpeg firefox flac foomaticdb fortran gaim gdbm gif gnutls gphoto2 gpm gs gtk gvim gzip hddtemp iconv icq ident ieee1394 ilbc imagemagick imap imlib imlib2 innodb ipod iproute2 ipsec ipv6 jbig jpeg jpeg2k kde kdepim libg++ lm_sensors logitech-mouse mad maildir midi mime mjpeg mmx motif mozilla mp3 mpeg mplayer msn mysql ncurses nis nls nptl nptlonly nsplugin nvidia ogg oggvorbis openexr opengl oscar pam pch pcre pdf perl pic png ppds pppd python qt3 qt4 quicktime rdesktop readline reflection reiser4 reiserfs rrdtool samba sasl scanner sdl session slp smime sndfile speex spell spl sqlite srtp sse sse2 ssl subversion svg svgz tcltk tcpd tetex tiff truetype truetype-fonts type1 type1-fonts unicode unzip usb vcd vfat vim vim-pager vim-with-x vorbis wma wmf xcb xcomposite xine xml xml2 xmlrpc xorg xpm xscreensaver xv yahoo zeroconf zip zlib zrtp" ALSA_CARDS="intel8x0 intel8x0m" 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 en_GB de" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-27 12:03:51 UTC
> !!! Please attach the following file when filing a report to bugs.gentoo.org:
> !!! /var/tmp/portage/dev-libs/libmcs-0.4.0/work/mcs-0.4.0/config.log

Just do it.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-27 12:51:43 UTC
*** Bug 168567 has been marked as a duplicate of this bug. ***
Comment 3 Nils Ohlmeier 2007-02-27 12:59:51 UTC
Created attachment 111410 [details]
configure log
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-02-27 13:04:03 UTC
Reopen.
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2007-02-27 13:09:42 UTC
So, please get any KDE user to tell me what provides libkdecore. If this information is not provided I see no other option then to remove the USE-flag again.
Comment 6 Nils Ohlmeier 2007-02-27 13:51:08 UTC
libkdecore is provided by the kdelibs package.
But it is correctly installed on my system. The question is: why does the configure not find it?

# ldconfig -p | grep kdecore
        libkdecore.so.4 (libc6,x86-64) => /usr/kde/3.5/lib/libkdecore.so.4
        libkdecore.so.4 (libc6) => /usr/kde/3.5/lib32/libkdecore.so.4
        libkdecore.so (libc6,x86-64) => /usr/kde/3.5/lib/libkdecore.so
        libkdecore.so (libc6) => /usr/kde/3.5/lib32/libkdecore.so
# equery b /usr/kde/3.5/lib64/libkdecore.so
[ Searching for file(s) /usr/kde/3.5/lib64/libkdecore.so in *... ]
kde-base/kdelibs-3.5.6-r2 (/usr/kde/3.5/lib64/libkdecore.so -> libkdecore.so.4.2.0)
Comment 7 Javier Villavicencio (RETIRED) gentoo-dev 2007-02-27 13:58:51 UTC
Fixed in cvs with libmcs-0.4.1.

Thanks goes to Flameeyes for providing the correct setup for linking against kde libs.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-27 14:18:21 UTC
*** Bug 168580 has been marked as a duplicate of this bug. ***