Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567066 - dev-libs/libxml2-2.9.2-r4 with dev-lang/python-3.5.0-r3 - python3.5-config: command not found
Summary: dev-libs/libxml2-2.9.2-r4 with dev-lang/python-3.5.0-r3 - python3.5-config: c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-29 03:24 UTC by iGentoo
Modified: 2015-11-29 11:59 UTC (History)
2 users (show)

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


Attachments
libxml2-2.9.2-r4-build.log (libxml2-2.9.2-r4-build.log,446.90 KB, text/plain)
2015-11-29 03:24 UTC, iGentoo
Details
/var/tmp/portage/dev-libs/libxml2-2.9.2-r4/work/libxml2-2.9.2/configure (configure,522.61 KB, text/plain)
2015-11-29 03:25 UTC, iGentoo
Details
/var/tmp/portage/dev-libs/libxml2-2.9.2-r4/work/libxml2-2.9.2-abi_x86_64.amd64-python3_5/config.status (config.status.diff,5.97 KB, patch)
2015-11-29 03:25 UTC, iGentoo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description iGentoo 2015-11-29 03:24:18 UTC
Created attachment 418102 [details]
libxml2-2.9.2-r4-build.log

...
checking for isnan... yes
checking for isinf... yes
Found python in /usr/bin/python3.5
Found Python version 3.5
/var/tmp/portage/dev-libs/libxml2-2.9.2-r4/work/libxml2-2.9.2/configure: line 15157: python3.5-config: command not found
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
Checking configuration requirements
...


# cat /var/tmp/portage/dev-libs/libxml2-2.9.2-r4/work/libxml2-2.9.2/configure
...
15155     fi
15156     pythondir='$(PYTHON_SITE_PACKAGES)'
15157     PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
15158 else
15159     PYTHON=
15160 fi
...

# ls /usr/bin/python*-config
/usr/bin/python2.7-config  /usr/bin/python2-config  /usr/bin/python3.5m-config  /usr/bin/python3-config  /usr/bin/python-config

# grep libxml2mod /var/tmp/portage/dev-libs/libxml2-*/build-info/NEEDED.ELF.2
X86_64;/usr/lib64/python2.7/site-packages/libxml2mod.so;libxml2mod.so;;libxml2.so.2,libpython2.7.so.1.0,libc.so.6;x86_64
X86_64;/usr/lib64/python3.5/site-packages/libxml2mod.so;libxml2mod.so;;libxml2.so.2,libc.so.6;x86_64



# emerge --info
Portage 2.2.26 (python 3.5.0-final-0, default/linux/amd64/13.0, gcc-5.2.0, glibc-2.22-r1, 4.2.6-hardened-r6.x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.2.6-hardened-r6.x86_64-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.2
KiB Mem:     6116276 total,    562244 free
KiB Swap:   18873332 total,  18868924 free
sh dash 0.5.8.2
ld GNU gold (Gentoo 2.25.1 p1.1 2.25.1) 1.11
ccache version 3.2.4 [disabled]
app-shells/bash:          4.4_beta::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10-r4::gentoo, 3.5.0-r3::local-repo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.0-r1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.2.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000
    eclass-overrides: local-repo

local-repo
    location: /usr/local/portage
    masters: gentoo

Installed sets: @local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--color=n --oneshot"
FCFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS="http://mirrors.xmu.edu.cn/gentoo http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="V=1 -j9"
PKGDIR="/var/portage/packages"
PORTAGE_BZIP2_COMMAND="lbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9eT0"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl amd64 audit berkdb bzip2 cli cracklib crypt cxx dbus dri egl fortran gdbm iconv icu ipv6 jpeg mmx mmxext modules multilib ncurses nls nptl opengl openmp pam pax_kernel pcre pic png policykit pulseaudio readline seccomp session sse sse2 ssl systemd tcpd unicode vdpau vim-syntax wayland xattr zlib" ABI_X86="64 32 x32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US zh zh_CN" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-libs/libxml2-2.9.2-r4::gentoo was built with the following:
USE="icu ipv6 python readline -debug -examples -lzma -static-libs -test" ABI_X86="32 64 x32" PYTHON_TARGETS="python2_7 python3_5 -python3_3 -python3_4"


dev-lang/python-3.5.0-r3::local-repo was built with the following:
USE="gdbm ipv6 ncurses readline sqlite ssl threads xml -build -examples -hardened -libressl -tk -wininst" ABI_X86="64"
CFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches -fwrapv"
CXXFLAGS="-Wall -march=native -O2 -pipe -frecord-gcc-switches -fwrapv"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -L."
Comment 1 iGentoo 2015-11-29 03:25:18 UTC
Created attachment 418104 [details]
/var/tmp/portage/dev-libs/libxml2-2.9.2-r4/work/libxml2-2.9.2/configure
Comment 2 iGentoo 2015-11-29 03:25:58 UTC
Created attachment 418106 [details, diff]
/var/tmp/portage/dev-libs/libxml2-2.9.2-r4/work/libxml2-2.9.2-abi_x86_64.amd64-python3_5/config.status
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2015-11-29 11:59:02 UTC
commit be2fe913ffa1d4acfeeba02f88adfb3d06481095
Author: Justin Lecher <jlec@gentoo.org>
Date:   Sun Nov 29 12:58:28 2015 +0100

    dev-libs/libxml2: Fix python ABI detection

    Gentoo recently moved closer to upstream in terms of naming python
    with regards to the build ABI. This patch adopts the buildsystem
    to this change

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=567066

    Package-Manager: portage-2.2.25
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be2fe913ffa1d4acfeeba02f88adfb3d06481095