sci-phyics/root-5.22.00-r2 fails to configure with python use. Checking for Python.h ... /usr/include/python2.6 Checking for python2.6, libpython2.6, libpython, python, or Python ... no Explicitly required Python dependencies not fulfilled It fails to find /usr/lib/libpython.2.6.so since it does not search /lib/usr by default. We can see this from /var/tmp/portage/sci-physics/root-5.22.00-r2/work/root/configure lines 2988-3006: check_library "python${pythonvers} libpython${pythonvers} \ libpython python Python" \ "$enable_shared" "$pythonlibdir" $PYTHONDIR/libs $PYTHONDIR/lib \ $PYTHONDIR $pythonsyslibdir $pythonsyslibdir/config \ $pythonsyslibdir2 pythonlib=$found_lib pythonlibdir=$found_dir if test "x$pythonincdir" = "x" || test "x$pythonlib" = "x"; then enable_python="no" else pythonlibflags= case $platform in win32) pythonlibflags="-nodefaultlib:`basename $pythonlib`" ;; esac fi fi check_explicit "$enable_python" "$enable_python_explicit" \ "Explicitly required Python dependencies not fulfilled" When I run EXTRA_ECONF="--with-python-libdir=/usr/lib" emerge root root configures and installs correctly. Checking for Python.h ... /usr/include/python2.6 Checking for python2.6, libpython2.6, libpython, python, or Python ... /usr/lib Patching configure will solve the problem, and seems necessary for several other options already (root-5.22.00-configure-paths.patch). --- root/configure.old 2009-06-24 08:31:17.000000000 -0400 +++ root/configure 2009-06-24 08:38:44.875187917 -0400 @@ -2989,7 +2989,7 @@ libpython python Python" \ "$enable_shared" "$pythonlibdir" $PYTHONDIR/libs $PYTHONDIR/lib \ $PYTHONDIR $pythonsyslibdir $pythonsyslibdir/config \ - $pythonsyslibdir2 + $pythonsyslibdir2 /usr/lib pythonlib=$found_lib pythonlibdir=$found_dir Reproducible: Always Steps to Reproduce: 1. USE="python" emerge =sci-physics/root-5.22.0-r2 Actual Results: Fails to configure. Expected Results: Configures properly. Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.4.0, glibc-2.10.1-r0, 2.6.30-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r1-i686-Intel-R-_Core-TM-2_CPU_T7600_@_2.33GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 24 Jun 2009 10:55:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="C" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 acl acpi alsa blas boost branding bzip2 cairo cdaudio cdr cern chm cli cracklib crypt cups cvs dbus dell djvu dri dvd dvdr dvdread ebook emacs emboss encode esd evo examples fam ffmpeg fftw firefox flac fontconfig fortran freetype fuse gdbm geant4 gif git google-gadgets gpm gs gsl gtk gzip hal icc iconv ifc irda isdnlog jpeg kde kerberos kpathsea lapack laptop latex lcms libnotify lzma mad math midi mikmod mmx mmxext mng mp3 mp4 mpeg mpi msn mudflap musicbrainz mysql ncurses network nls nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp oscar pam pcre pdf perl png ppds pppd ps pythia6 pythia8 python qt3support qt4 quicktime readline reflection reflex samba sdl semantic-desktop session smp spell spl sse sse2 sse3 ssl ssse3 subversion svg sysfs tbb tcpd tetex threads tiff tools truetype unicode usb vorbis webkit win32codecs winbind wlm x86 xcb xcomposite xinerama xml xorg xulrunner xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Should be fixed, arriving to the mirrors in a few hours. Thanks.
*** Bug 275997 has been marked as a duplicate of this bug. ***