Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430794 - emerging python fails. Failed to build these modules: _elementtree pyexpat
Summary: emerging python fails. Failed to build these modules: _elementtree pyexpat
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-10 15:49 UTC by samtygier
Modified: 2012-09-10 16:09 UTC (History)
0 users

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


Attachments
build log (gp_python_xml_fail.log,161.48 KB, text/plain)
2012-08-10 15:49 UTC, samtygier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description samtygier 2012-08-10 15:49:27 UTC
Created attachment 320904 [details]
build log

i am following http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml on a fedora14 amd64 host. with only minor diviations, linuxy PATH instead of solarisy one,
export PKG_CONFIG_PATH=$EPREFIX/usr/lib/pkgconfig/:$EPREFIX/tmp/usr/lib/pkgconfig/
to work around 426302

when i get to
env FEATURES="-collision-protect" emerge --oneshot sys-apps/portage
python fails to build.

Failed to build these modules:
_elementtree       pyexpat

I can put USE="-xml", which allows python to build, but i suspect i'll need the xml libraries at some point.

This thread mentions a similar looking problem do to user installed libaries http://forums-web1.gentoo.org/viewtopic-t-924006-start-0.html . I dont have admin access on the host so i cannot remove any system librarys that the build may be finding.
Comment 1 samtygier 2012-08-10 15:51:04 UTC
Portage 2.2.01.20796-prefix (prefix/linux/amd64, gcc-4.5.1, unavailable, 2.6.35.14-106.fc14.x86_64 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35.14-106.fc14.x86_64-x86_64-AMD_Opteron-tm-_Processor_6174-with-fedora-14-Laughlin
Timestamp of tree: Wed, 08 Aug 2012 21:25:42 +0000
app-shells/bash:          4.2_p36::gentoo_prefix
dev-lang/python:          2.7.3-r2::gentoo_prefix
dev-util/pkgconfig:       0.27::gentoo_prefix
sys-devel/autoconf:       2.69::gentoo_prefix
sys-devel/automake:       1.12.2::gentoo_prefix
sys-devel/binutils:       2.22-r1::gentoo_prefix
sys-devel/gcc:            4.2.4-r01.4::gentoo_prefix
sys-devel/gcc-config:     1.5-r2::gentoo_prefix
sys-devel/libtool:        2.4.2::gentoo_prefix
sys-devel/make:           3.82::gentoo_prefix
sys-kernel/linux-headers: 3.5::gentoo_prefix (virtual/os-headers)
Repositories: gentoo_prefix
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/portage /etc/terminfo"
CPPFLAGS="-I/tmp/sam_gp/usr/include -I/tmp/sam_gp/tmp/usr/include"
CXXFLAGS="-O2 -pipe"
DISTDIR="/tmp/sam_gp/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-L/tmp/sam_gp/usr/lib -Wl,-rpath=/tmp/sam_gp/usr/lib -L/tmp/sam_gp/lib -Wl,-rpath=/tmp/sam_gp/lib -L/tmp/sam_gp/tmp/usr/lib -Wl,-rpath=/tmp/sam_gp/tmp/usr/lib"
PKGDIR="/tmp/sam_gp/usr/portage/packages"
PORTAGE_CONFIGROOT="/tmp/sam_gp/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp/sam_gp/var/tmp"
PORTDIR="/tmp/sam_gp/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="amd64 bootstrap bzip2 cli cracklib crypt cxx dri iconv ipv6 mmx modules mudflap ncurses nptl openmp pppd prefix session sse sse2 tcpd unicode 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 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 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

dev-lang/python-2.7.3-r2 was built with the following:
USE="bootstrap ipv6 ncurses (prefix) threads (wide-unicode) (-aqua) (-berkdb) -build -doc -examples -gdbm -readline -sqlite -ssl -tk -wininst -xml"
CFLAGS="-O2 -pipe -fwrapv -I/tmp/sam_gp/usr/include"
CXXFLAGS="-O2 -pipe -fwrapv -I/tmp/sam_gp/usr/include"
LDFLAGS="-L/tmp/sam_gp/usr/lib -Wl,-rpath=/tmp/sam_gp/usr/lib -L/tmp/sam_gp/lib -Wl,-rpath=/tmp/sam_gp/lib -L/tmp/sam_gp/tmp/usr/lib -Wl,-rpath=/tmp/sam_gp/tmp/usr/lib -L/tmp/sam_gp/lib -L/tmp/sam_gp/usr/lib -L/usr/lib64 -L/lib64 -L."
Comment 2 samtygier 2012-09-10 16:09:58 UTC
machine is updated, so no longer need to build on fedora14. bootstrap script works fine on fedora17.