Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge mesa failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Gentling
n00b
n00b


Joined: 21 Jul 2012
Posts: 9

PostPosted: Sun Apr 21, 2013 5:53 am    Post subject: emerge mesa failed Reply with quote

I'm trying to emerge xorg-server actually, but it fails at the mesa step, so I've tried emerging mesa by itself to no avail as you can see. I've tried the following

Code:
USE="-llvm" emerge -1v mesa


Adding this to /etc/portage/package.keywords
Code:
app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-xlibs
app-admin/eselect-opengl
app-admin/eselect

emerge glproto

emerge libxml2

disabling the motif and x86 USE flags when emerging mesa


Here is the build log

Code:
  * Package:    media-libs/mesa-9.0.1
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:        abi_x86_64 amd64 bindist classic egl elibc_glibc gallium kernel_linux llvm multilib nptl shared-glapi userland_GNU video_cards_nouveau
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking MesaLib-9.0.1.tar.bz2 to /var/tmp/portage/media-libs/mesa-9.0.1/work
>>> Source unpacked in /var/tmp/portage/media-libs/mesa-9.0.1/work
>>> Preparing source in /var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1 ...
 * Applying mesa-8.1-dont-require-llvm-for-r300.patch ...
 [ ok ]
 * Applying glx_ro_text_segm.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1' ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running automake --add-missing --copy --foreign ...
 [ ok ]
 * Running elibtoolize in: Mesa-9.0.1/bin/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1 ...
 * econf: updating Mesa-9.0.1/bin/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating Mesa-9.0.1/bin/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --enable-dri --enable-glx --disable-texture-float --disable-debug --enable-egl --disable-gbm --disable-gles1 --disable-gles2 --enable-glx-tls --disable-osmesa --enable-asm --enable-shared-glapi --disable-xa --disable-xorg --with-dri-drivers=,swrast,nouveau --with-gallium-drivers=,swrast,nouveau --with-egl-platforms=x11 --enable-gallium-egl --disable-gallium-g3dvl --enable-gallium-llvm --disable-openvg --disable-r600-llvm-compiler --disable-vdpau --disable-xvmc
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
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 dependency style of x86_64-pc-linux-gnu-g++... none
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for gmake... gmake
checking for python2... python2
checking for a sed that does not truncate output... (cached) /bin/sed
checking for makedepend... /usr/bin/makedepend
checking for bison... bison -y
checking for bison... /usr/bin/bison
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for perl... /usr/bin/perl
checking for indent... cat
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether x86_64-pc-linux-gnu-gcc supports -Werror=missing-prototypes... yes
checking whether x86_64-pc-linux-gnu-gcc supports -fvisibility=hidden... yes
checking whether x86_64-pc-linux-gnu-g++ supports -fvisibility=hidden... yes
checking whether to enable assembly... yes, x86_64
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for posix_memalign... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... no
checking for LIBDRM... yes
checking for X11... yes
checking for GLPROTO... yes
checking for DRI2PROTO... yes
checking for XF86VIDMODE... yes
checking for DRIGL... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for NOUVEAU... yes
checking for mincore... yes
checking for LIBUDEV... yes
checking for XCB_DRI2... yes
checking for xcb_dri2_connect_alignment_pad in -lxcb-dri2... yes
checking for llvm-config... /usr/bin/llvm-config
checking for NOUVEAU... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating configs/current
config.status: creating Makefile
config.status: creating src/egl/Makefile
config.status: creating src/egl/drivers/Makefile
config.status: creating src/egl/drivers/dri2/Makefile
config.status: creating src/egl/drivers/glx/Makefile
config.status: creating src/egl/main/Makefile
config.status: creating src/egl/main/egl.pc
config.status: creating src/egl/wayland/Makefile
config.status: creating src/egl/wayland/wayland-drm/Makefile
config.status: creating src/egl/wayland/wayland-egl/Makefile
config.status: creating src/egl/wayland/wayland-egl/wayland-egl.pc
config.status: creating src/gallium/Makefile
config.status: creating src/gallium/auxiliary/pipe-loader/Makefile
config.status: creating src/gallium/drivers/Makefile
config.status: creating src/gallium/drivers/r300/Makefile
config.status: creating src/gallium/drivers/r600/Makefile
config.status: creating src/gallium/state_trackers/clover/Makefile
config.status: creating src/gallium/targets/opencl/Makefile
config.status: creating src/gbm/Makefile
config.status: creating src/gbm/main/gbm.pc
config.status: creating src/glsl/Makefile
config.status: creating src/glsl/glcpp/Makefile
config.status: creating src/glsl/tests/Makefile
config.status: creating src/glx/Makefile
config.status: creating src/glx/tests/Makefile
config.status: creating src/gtest/Makefile
config.status: creating src/Makefile
config.status: creating src/mapi/es1api/Makefile
config.status: creating src/mapi/es1api/glesv1_cm.pc
config.status: creating src/mapi/es2api/Makefile
config.status: creating src/mapi/es2api/glesv2.pc
config.status: creating src/mapi/glapi/Makefile
config.status: creating src/mapi/glapi/gen/Makefile
config.status: creating src/mapi/glapi/tests/Makefile
config.status: creating src/mapi/shared-glapi/Makefile
config.status: creating src/mapi/shared-glapi/tests/Makefile
config.status: creating src/mapi/vgapi/Makefile
config.status: creating src/mapi/vgapi/vg.pc
config.status: creating src/mesa/Makefile
config.status: creating src/mesa/gl.pc
config.status: creating src/mesa/drivers/Makefile
config.status: creating src/mesa/drivers/dri/dri.pc
config.status: creating src/mesa/drivers/dri/common/Makefile
config.status: creating src/mesa/drivers/dri/i915/Makefile
config.status: creating src/mesa/drivers/dri/i965/Makefile
config.status: creating src/mesa/drivers/dri/Makefile
config.status: creating src/mesa/drivers/dri/nouveau/Makefile
config.status: creating src/mesa/drivers/dri/r200/Makefile
config.status: creating src/mesa/drivers/dri/radeon/Makefile
config.status: creating src/mesa/drivers/dri/swrast/Makefile
config.status: creating src/mesa/drivers/osmesa/Makefile
config.status: creating src/mesa/drivers/osmesa/osmesa.pc
config.status: creating src/mesa/drivers/x11/Makefile
config.status: creating src/mesa/libdricore/Makefile
config.status: creating src/mesa/main/tests/Makefile
config.status: creating src/mesa/x86-64/Makefile
config.status: creating src/mesa/x86/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

        prefix:          /usr
        exec_prefix:     ${prefix}
        libdir:          /usr/lib64
        includedir:      ${prefix}/include

        OpenGL:          yes (ES1: no ES2: no)
        OpenVG:          no

        OSMesa:          no
        DRI drivers:     swrast nouveau
        DRI driver dir:  ${libdir}/dri
        GLX:             DRI-based

        EGL:             yes
        EGL platforms:   x11
        EGL drivers:     builtin:egl_glx builtin:egl_dri2 egl_gallium
        EGL Gallium STs: $(GL_LIB)

        llvm:            yes
        llvm-config:     /usr/bin/llvm-config
        llvm-version:    3.1

        Gallium:         yes
        Gallium dirs:    auxiliary drivers state_trackers
        Target dirs:     dri-nouveau dri-swrast egl-static
        Winsys dirs:     nouveau/drm sw sw/dri
        Driver dirs:     galahad identity llvmpipe noop nouveau nv30 nv50 nvc0 rbug softpipe trace
        Trackers dirs:   dri egl

        Shared libs:     yes
        Static libs:     no
        Shared-glapi:    yes

        CFLAGS:          -march=native -O2 -pipe -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -fPIC
        CXXFLAGS:        -march=native -O2 -pipe -Wall -fno-strict-aliasing -fno-builtin-memcmp -fPIC
        Macros:          -D_GNU_SOURCE -DHAVE_PTHREAD -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0301

        PYTHON2:         python2

        Run 'gmake' to build Mesa

>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1 ...
make -j3
Making all in src
gmake[1]: Entering directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src'
Making all in mapi/glapi/gen
gmake[2]: Entering directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src/mapi/glapi/gen'
  GEN      ../../../../src/mapi/glapi/glapi_mapi_tmp.h
  GEN      ../../../../src/mapi/glapi/glprocs.h
  GEN      ../../../../src/mapi/glapi/glapitemp.h
Traceback (most recent call last):
  File "../../../../src/mapi/mapi/mapi_abi.py", line 880, in <module>
    main()
  File "../../../../src/mapi/mapi/mapi_abi.py", line 868, in main
    entries = abi_parse_xml(filename)
  File "../../../../src/mapi/mapi/mapi_abi.py", line 136, in abi_parse_xml
    import gl_XML, glX_XML
  File "./../../../../src/mapi/mapi/../glapi/gen/gl_XML.py", line 28, in <module>
    import libxml2
ImportError: No module named libxml2
gmake[2]: *** [../../../../src/mapi/glapi/glapi_mapi_tmp.h] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "gl_procs.py", line 29, in <module>
    import gl_XML, glX_XML
  File "/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src/mapi/glapi/gen/gl_XML.py", line 28, in <module>
    import libxml2
ImportError: No module named libxml2
gmake[2]: *** [../../../../src/mapi/glapi/glprocs.h] Error 1
Traceback (most recent call last):
  File "gl_apitemp.py", line 28, in <module>
    import gl_XML, glX_XML
  File "/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src/mapi/glapi/gen/gl_XML.py", line 28, in <module>
    import libxml2
ImportError: No module named libxml2
gmake[2]: *** [../../../../src/mapi/glapi/glapitemp.h] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src/mapi/glapi/gen'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src'
make: *** [all-recursive] Error 1
 * ERROR: media-libs/mesa-9.0.1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/mesa-9.0.1'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-9.0.1'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-9.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-9.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1'
 * S: '/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1'


Here is the output from emerge --info

Code:
 Portage 2.1.11.55 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.7.10-gentoo-r1-x86_64-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-2.1
KiB Mem:     4039596 total,   3268428 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 19 Apr 2013 03:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.10.3, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" 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="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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Output from emerge -pqv

Code:
[ebuild  N    ] media-libs/mesa-9.0.1  USE="bindist classic egl gallium llvm nptl shared-glapi -debug -g3dvl -gbm -gles1 -gles2 -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau (-wayland) -xa -xorg -xvmc" VIDEO_CARDS="nouveau -i915 -i965 -intel -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware"

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6441
Location: Goose Creek SC

PostPosted: Sun Apr 21, 2013 6:23 am    Post subject: Reply with quote

thorough cleaning:
Code:
emerge -1 libtool
emerge python-updater lafilefixer perl-cleaner
python-updater
lafilefixer --justfixit
perl-cleaner all
revdep-rebuild
probably python
_________________
Defund the FCC.
Back to top
View user's profile Send private message
trismo
n00b
n00b


Joined: 26 May 2012
Posts: 42

PostPosted: Mon Apr 22, 2013 2:27 pm    Post subject: Reply with quote

dev-libs/libxml2
need python use flag
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6441
Location: Goose Creek SC

PostPosted: Mon Apr 22, 2013 3:45 pm    Post subject: Reply with quote

`good eye, good thinking, trismo
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Gentling
n00b
n00b


Joined: 21 Jul 2012
Posts: 9

PostPosted: Wed Apr 24, 2013 5:08 am    Post subject: Setting python USE flag. Reply with quote

Unfortunately neither of your suggestions worked, the same error was returned (failed to emerge media-libs-9.1.1).

So I guess I have to make sure python 2.7 is used, correct? In that case how would I set the use flag to do that. I've tried USE_PYTHON="2.7" but I don't think I'm typing that right, because the same error was returned.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6441
Location: Goose Creek SC

PostPosted: Wed Apr 24, 2013 6:12 am    Post subject: Reply with quote

Code:
eselect python list
python-updater

both will show python major versions available
python-updater starts with a list of major and minor versions,run it and look.

in /etc/portage/make.conf:
USE="python"
PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_2"
should be ok, although PYTHON targets should be set in the base profile

media-libs appears to be a category rather than a package, I keyworded =media-libs/mesa-9.1 ~amd64 some while ago for reasons I do not recall, may have had a problem like yours with 9.0.1.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
KoichiSenada
n00b
n00b


Joined: 05 Jul 2012
Posts: 12

PostPosted: Thu May 02, 2013 9:47 am    Post subject: Reply with quote

You should probably try my topic solution.
[SOLVED] emerge media-libs/mesa-9.0.1 - emake failed

Code:
$ echo "" > /etc/portage/package.use
$ emerge --unmerge x11-base/xorg-server
$ emerge gentoolkit
$ euse --disable minimal
$ euse --disable xorg
$ emerge media-libs/mesa
$ euse --enable xorg
$ emerge x11-base/xorg-server
$ emerge media-libs/mesa
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8855

PostPosted: Fri May 03, 2013 1:49 am    Post subject: Reply with quote

KoichiSenada wrote:
You should probably try my topic solution.
[SOLVED] emerge media-libs/mesa-9.0.1 - emake failed

Code:
$ echo "" > /etc/portage/package.use
$ emerge --unmerge x11-base/xorg-server
$ emerge gentoolkit
$ euse --disable minimal
$ euse --disable xorg
$ emerge media-libs/mesa
$ euse --enable xorg
$ emerge x11-base/xorg-server
$ emerge media-libs/mesa
Please do not advocate that users discard all their per-package USE flags. You cannot know what flags your readers may have set, or how readily they can recover them. If your solution absolutely requires that all per-package USE overrides be disabled, you should instead suggest that the user move the override to a new name.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5438

PostPosted: Fri May 03, 2013 2:51 am    Post subject: Reply with quote

Also, 'minimal' may play a different role for some of the packages - i.e. it's quite reasonable for openldap, where most people will need just the lib, not the server.
Back to top
View user's profile Send private message
Gentling
n00b
n00b


Joined: 21 Jul 2012
Posts: 9

PostPosted: Sat May 18, 2013 9:03 pm    Post subject: Emerge still fails. Reply with quote

I got to the step emerge media-libs/mesa and still received the same error.
Here is my emerge --info output.
Code:
Portage 2.1.11.55 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.7.10-gentoo-r1-x86_64-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-2.1
KiB Mem:     4039596 total,   3634780 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Sun, 12 May 2013 05:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.10.3, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gossamerhost.com http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 jpeg lcms ldap libkms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds python qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" 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="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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python 3_2" RUBY_TARGETS="ruby18 ruby19" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv output
Code:
[ebuild  N    ] media-libs/mesa-9.0.1  USE="bindist classic egl gallium llvm nptl shared-glapi -debug -g3dvl -gbm -gles1 -gles2 -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau (-wayland) -xa -xorg -xvmc" VIDEO_CARDS="nouveau -i915 -i965 -intel -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware"

And the build log.
Code:
 * Package:    media-libs/mesa-9.0.1
 * Repository: gentoo
 * Maintainer: x11@gentoo.org
 * USE:        abi_x86_64 amd64 bindist classic egl elibc_glibc gallium kernel_linux llvm multilib nptl shared-glapi userland_GNU video_cards_nouveau
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking MesaLib-9.0.1.tar.bz2 to /var/tmp/portage/media-libs/mesa-9.0.1/work
>>> Source unpacked in /var/tmp/portage/media-libs/mesa-9.0.1/work
>>> Preparing source in /var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1 ...
 * Applying mesa-8.1-dont-require-llvm-for-r300.patch ...
 [ ok ]
 * Applying glx_ro_text_segm.patch ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1' ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf ...
 [ ok ]
 * Running automake --add-missing --copy --foreign ...
 [ ok ]
 * Running elibtoolize in: Mesa-9.0.1/bin/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1 ...
 * econf: updating Mesa-9.0.1/bin/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating Mesa-9.0.1/bin/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --enable-dri --enable-glx --disable-texture-float --disable-debug --enable-egl --disable-gbm --disable-gles1 --disable-gles2 --enable-glx-tls --disable-osmesa --enable-asm --enable-shared-glapi --disable-xa --disable-xorg --with-dri-drivers=,swrast,nouveau --with-gallium-drivers=,swrast,nouveau --with-egl-platforms=x11 --enable-gallium-egl --disable-gallium-g3dvl --enable-gallium-llvm --disable-openvg --disable-r600-llvm-compiler --disable-vdpau --disable-xvmc
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none
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 dependency style of x86_64-pc-linux-gnu-g++... none
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for gmake... gmake
checking for python2... python2
checking for a sed that does not truncate output... (cached) /bin/sed
checking for makedepend... /usr/bin/makedepend
checking for bison... bison -y
checking for bison... /usr/bin/bison
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for perl... /usr/bin/perl
checking for indent... cat
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether x86_64-pc-linux-gnu-gcc supports -Werror=missing-prototypes... yes
checking whether x86_64-pc-linux-gnu-gcc supports -fvisibility=hidden... yes
checking whether x86_64-pc-linux-gnu-g++ supports -fvisibility=hidden... yes
checking whether to enable assembly... yes, x86_64
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for posix_memalign... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... no
checking for LIBDRM... yes
checking for X11... yes
checking for GLPROTO... yes
checking for DRI2PROTO... yes
checking for XF86VIDMODE... yes
checking for DRIGL... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for NOUVEAU... yes
checking for mincore... yes
checking for LIBUDEV... yes
checking for XCB_DRI2... yes
checking for xcb_dri2_connect_alignment_pad in -lxcb-dri2... yes
checking for llvm-config... /usr/bin/llvm-config
checking for NOUVEAU... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating configs/current
config.status: creating Makefile
config.status: creating src/egl/Makefile
config.status: creating src/egl/drivers/Makefile
config.status: creating src/egl/drivers/dri2/Makefile
config.status: creating src/egl/drivers/glx/Makefile
config.status: creating src/egl/main/Makefile
config.status: creating src/egl/main/egl.pc
config.status: creating src/egl/wayland/Makefile
config.status: creating src/egl/wayland/wayland-drm/Makefile
config.status: creating src/egl/wayland/wayland-egl/Makefile
config.status: creating src/egl/wayland/wayland-egl/wayland-egl.pc
config.status: creating src/gallium/Makefile
config.status: creating src/gallium/auxiliary/pipe-loader/Makefile
config.status: creating src/gallium/drivers/Makefile
config.status: creating src/gallium/drivers/r300/Makefile
config.status: creating src/gallium/drivers/r600/Makefile
config.status: creating src/gallium/state_trackers/clover/Makefile
config.status: creating src/gallium/targets/opencl/Makefile
config.status: creating src/gbm/Makefile
config.status: creating src/gbm/main/gbm.pc
config.status: creating src/glsl/Makefile
config.status: creating src/glsl/glcpp/Makefile
config.status: creating src/glsl/tests/Makefile
config.status: creating src/glx/Makefile
config.status: creating src/glx/tests/Makefile
config.status: creating src/gtest/Makefile
config.status: creating src/Makefile
config.status: creating src/mapi/es1api/Makefile
config.status: creating src/mapi/es1api/glesv1_cm.pc
config.status: creating src/mapi/es2api/Makefile
config.status: creating src/mapi/es2api/glesv2.pc
config.status: creating src/mapi/glapi/Makefile
config.status: creating src/mapi/glapi/gen/Makefile
config.status: creating src/mapi/glapi/tests/Makefile
config.status: creating src/mapi/shared-glapi/Makefile
config.status: creating src/mapi/shared-glapi/tests/Makefile
config.status: creating src/mapi/vgapi/Makefile
config.status: creating src/mapi/vgapi/vg.pc
config.status: creating src/mesa/Makefile
config.status: creating src/mesa/gl.pc
config.status: creating src/mesa/drivers/Makefile
config.status: creating src/mesa/drivers/dri/dri.pc
config.status: creating src/mesa/drivers/dri/common/Makefile
config.status: creating src/mesa/drivers/dri/i915/Makefile
config.status: creating src/mesa/drivers/dri/i965/Makefile
config.status: creating src/mesa/drivers/dri/Makefile
config.status: creating src/mesa/drivers/dri/nouveau/Makefile
config.status: creating src/mesa/drivers/dri/r200/Makefile
config.status: creating src/mesa/drivers/dri/radeon/Makefile
config.status: creating src/mesa/drivers/dri/swrast/Makefile
config.status: creating src/mesa/drivers/osmesa/Makefile
config.status: creating src/mesa/drivers/osmesa/osmesa.pc
config.status: creating src/mesa/drivers/x11/Makefile
config.status: creating src/mesa/libdricore/Makefile
config.status: creating src/mesa/main/tests/Makefile
config.status: creating src/mesa/x86-64/Makefile
config.status: creating src/mesa/x86/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

        prefix:          /usr
        exec_prefix:     ${prefix}
        libdir:          /usr/lib64
        includedir:      ${prefix}/include

        OpenGL:          yes (ES1: no ES2: no)
        OpenVG:          no

        OSMesa:          no
        DRI drivers:     swrast nouveau
        DRI driver dir:  ${libdir}/dri
        GLX:             DRI-based

        EGL:             yes
        EGL platforms:   x11
        EGL drivers:     builtin:egl_glx builtin:egl_dri2 egl_gallium
        EGL Gallium STs: $(GL_LIB)

        llvm:            yes
        llvm-config:     /usr/bin/llvm-config
        llvm-version:    3.1

        Gallium:         yes
        Gallium dirs:    auxiliary drivers state_trackers
        Target dirs:     dri-nouveau dri-swrast egl-static
        Winsys dirs:     nouveau/drm sw sw/dri
        Driver dirs:     galahad identity llvmpipe noop nouveau nv30 nv50 nvc0 rbug softpipe trace
        Trackers dirs:   dri egl

        Shared libs:     yes
        Static libs:     no
        Shared-glapi:    yes

        CFLAGS:          -march=native -O2 -pipe -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -fPIC
        CXXFLAGS:        -march=native -O2 -pipe -Wall -fno-strict-aliasing -fno-builtin-memcmp -fPIC
        Macros:          -D_GNU_SOURCE -DHAVE_PTHREAD -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0301

        PYTHON2:         python2

        Run 'gmake' to build Mesa

>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1 ...
make -j3
Making all in src
gmake[1]: Entering directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src'
Making all in mapi/glapi/gen
gmake[2]: Entering directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src/mapi/glapi/gen'
  GEN      ../../../../src/mapi/glapi/glapi_mapi_tmp.h
  GEN      ../../../../src/mapi/glapi/glprocs.h
  GEN      ../../../../src/mapi/glapi/glapitemp.h
Traceback (most recent call last):
  File "../../../../src/mapi/mapi/mapi_abi.py", line 880, in <module>
    main()
  File "../../../../src/mapi/mapi/mapi_abi.py", line 868, in main
    entries = abi_parse_xml(filename)
  File "../../../../src/mapi/mapi/mapi_abi.py", line 136, in abi_parse_xml
    import gl_XML, glX_XML
  File "./../../../../src/mapi/mapi/../glapi/gen/gl_XML.py", line 28, in <module>
    import libxml2
ImportError: No module named libxml2
gmake[2]: *** [../../../../src/mapi/glapi/glapi_mapi_tmp.h] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "gl_procs.py", line 29, in <module>
    import gl_XML, glX_XML
  File "/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src/mapi/glapi/gen/gl_XML.py", line 28, in <module>
    import libxml2
ImportError: No module named libxml2
gmake[2]: *** [../../../../src/mapi/glapi/glprocs.h] Error 1
Traceback (most recent call last):
  File "gl_apitemp.py", line 28, in <module>
    import gl_XML, glX_XML
  File "/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src/mapi/glapi/gen/gl_XML.py", line 28, in <module>
    import libxml2
ImportError: No module named libxml2
gmake[2]: *** [../../../../src/mapi/glapi/glapitemp.h] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src/mapi/glapi/gen'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src'
make: *** [all-recursive] Error 1
 * ERROR: media-libs/mesa-9.0.1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/mesa-9.0.1'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-9.0.1'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-9.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-9.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1'
 * S: '/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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