Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fail to build media-libs/mesa due to libxml2 module missing
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 240
Location: Italy

PostPosted: Thu Jan 06, 2011 3:03 pm    Post subject: fail to build media-libs/mesa due to libxml2 module missing Reply with quote

during my system upgrade, the media-libs/mesa-7.9-r1 build fails. I already passed the system with revdep-rebuild and it did not help. libxml2 is installed.

make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.9-r1/work/Mesa-7.9/src/glsl'
gmake[2]: Entering directory `/var/tmp/portage/media-libs/mesa-7.9-r1/work/Mesa-7.9/src/mesa'
python -t -O -O main/es_generator.py -S main/APIspec.xml -V GLES1.1 > main/api_exec_es1.c
Traceback (most recent call last):
File "main/es_generator.py", line 26, in <module>
import APIspecutil as apiutil
File "/var/tmp/portage/media-libs/mesa-7.9-r1/work/Mesa-7.9/src/mesa/main/APIspecutil.py", line 28, in <module>
import libxml2
ImportError: No module named libxml2
gmake[2]: *** No rule to make target `main/api_exec_es1.c', needed by `depend'.
Stop.
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.9-r1/work/Mesa-7.9/src/mesa'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.9-r1/work/Mesa-7.9/src'
make: *** [default] Error 1
emake failed
* ERROR: media-libs/mesa-7.9-r1 failed:
* died running emake, base_src_make

any ideas? Thanks.
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Jan 06, 2011 4:17 pm    Post subject: Reply with quote

Run python-updater.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 240
Location: Italy

PostPosted: Thu Jan 06, 2011 11:17 pm    Post subject: Reply with quote

thank you. pyhton-updater run without errors, but the mesa build problem repeats identically.
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Jan 06, 2011 11:35 pm    Post subject: Reply with quote

Is libxml2 built with pyhon useflag ?

Post your 'emerge --info'.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 240
Location: Italy

PostPosted: Fri Jan 21, 2011 10:39 pm    Post subject: Reply with quote

I see only a xml flag for python:

[ebuild R ] dev-lang/python-3.1.3 USE="gdbm ncurses readline ssl threads (wide-unicode) xml -build -doc -examples -ipv6 -sqlite -tk -wininst" 0 kB

in any case the output

emerge --info
Portage 2.1.9.29 (default/linux/x86/10.0, gcc-4.5.2, glibc-2.12.1-r3, 2.6.36-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r6-i686-Intel-R-_Pentium-R-_M_processor_1300MHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 21 Jan 2011 21:00:01 +0000
app-shells/bash: 4.1_p9
dev-java/java-config: 1.3.7-r1, 2.1.11-r3
dev-lang/python: 2.4.4-r6, 2.5.4-r2, 2.6.5-r3, 2.7.1, 3.1.3
dev-util/cmake: 2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc: 0.6.8
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.21
sys-devel/gcc: 4.4.4-r1, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82
virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
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"
CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="X acl berkdb bzip2 cli cracklib crypt cups cxx dri gdbm gpm iconv kerberos mmx modules motif mudflap ncurses nptl nptlonly openmp pam pcre perl pppd python readline session sse ssl sysfs tcpd unicode userlocales x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Jan 22, 2011 12:03 am    Post subject: Reply with quote

I asked about 'emerge -1pv libxml2'.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 240
Location: Italy

PostPosted: Sat Jan 22, 2011 1:12 pm    Post subject: Reply with quote

[ebuild R ] dev-libs/libxml2-2.7.7 USE="python readline -debug -doc -examples -ipv6 -test" 0 kB
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Jan 22, 2011 3:00 pm    Post subject: Reply with quote

Try reemerging it and if it helps, time for python updater.
Do you actually need all those python versions ?
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 240
Location: Italy

PostPosted: Sat Jan 22, 2011 6:36 pm    Post subject: Reply with quote

No, I don't need at all. I only have python as a dependency.
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Sat Jan 22, 2011 7:13 pm    Post subject: Reply with quote

Then you probably just need 2.7 and (perhaps) 3.1. Follow correct procedure of the change.
Back to top
View user's profile Send private message
multix
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 240
Location: Italy

PostPosted: Sat Jan 22, 2011 11:28 pm    Post subject: Reply with quote

Reemerging libxml2 solved the original problem. Now I just need to find the correct way to clean python(s).
_________________
Unix is user friendly. It is only careful selecting its friends.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum