Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536456 - media-libs/mesa-10.4.2 configure: error: Clover requires libelf
Summary: media-libs/mesa-10.4.2 configure: error: Clover requires libelf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
: 536478 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-13 08:52 UTC by Ulrich Müller
Modified: 2015-01-13 22:48 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,14.54 KB, text/plain)
2015-01-13 08:52 UTC, Ulrich Müller
Details
config.log (config.log,280.75 KB, text/plain)
2015-01-13 08:54 UTC, Ulrich Müller
Details
Fix for mesa-10.4.2.ebuild (mesa-10.4.2.ebuild.diff,457 bytes, patch)
2015-01-13 22:14 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2015-01-13 08:52:03 UTC
checking for GLPROTO... yes
checking for DRI2PROTO... yes
checking for DRI3PROTO... yes
checking for PRESENTPROTO... yes
checking for XF86VIDMODE... yes
checking for DRIGL... yes
checking for EXPAT... yes
checking for INTEL... yes
checking for mincore... yes
checking for XVMC... yes
checking for elf_memory in -lelf... no
configure: error: Clover requires libelf

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-libs/mesa-10.4.2/work/Mesa-10.4.2-abi_x86_32.x86/config.log
 * ERROR: media-libs/mesa-10.4.2::gentoo failed (configure phase):
 *   econf failed



Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.4, glibc-2.20-r1, 3.18.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.2-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6570_@_2.10GHz-with-gentoo-2.2
KiB Mem:     3974548 total,   1179448 free
KiB Swap:    8388572 total,   8230852 free
Timestamp of tree: Tue, 13 Jan 2015 07:15:01 +0000
sh bash 4.3_p33
ld GNU ld (GNU Binutils) 2.24
ccache version 3.2.1 [enabled]
app-shells/bash:          3.2_p57, 4.3_p33
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.2
dev-util/ccache:          3.2.1-r1
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.14.1, 1.15
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.6.4, 4.7.4, 4.8.4
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo ulm emacs local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -ggdb -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -ggdb -O2 -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/ http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/lost+found"
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"
PORTDIR="/repo/portage"
PORTDIR_OVERLAY="/repo/layman/ulm-local /repo/layman/emacs /repo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr ansi audiofile bash-completion bbdb berkdb bluetooth branding bzip2 cairo caps cdda cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus dri dts dvd dvdr emacs emboss encode exif expat fam fbcon ffmpeg filecaps firefox flac fontconfig fortran gd gdbm ggi gif gimp glamor glut gmp gnuplot gpg gpm gsl gtk gtkhtml guile iconv idea ieee1394 imagemagick imap inotify ipv6 java jbig jpeg kpathsea latex lcms libcaca libnotify logrotate lua lzma m17n-lib mad math metric mmx mng modules motif mp3 mp4 mpeg mule multilib ncurses networking nls nocd nptl nscd nsplugin offensive ogg opengl openmp pam pango pcmcia pcre pdf pkcs11 plotutils png policykit portage portaudio postgres postscript ppds preview-latex qt3support qt4 readline recode regex ruby sbcl sdl session skey smp sox speex spell sse sse2 ssl startup-notification svg t1lib tcpd tex tiff truetype udev udisks unicode upower usb v4l vorbis wifi wxwidgets x264 xattr xcb xft xml xpm xv xvid xvmc zlib" ABI_X86="64" 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" CURL_SSL="openssl" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="hp hp3500 hp3900 hp4200 hp5400 hp5590 hpsj5s hpljm1005 hs2p" USERLAND="GNU" VIDEO_CARDS="fbdev intel i965 vesa" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

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

media-libs/mesa-10.3.5-r1 was built with the following:
USE="classic dri3 egl gallium gbm llvm nptl opencl udev xvmc -bindist -debug -gles1 -gles2 -openmax -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau -wayland -xa" ABI_X86="32 64 -x32" VIDEO_CARDS="i965 intel -freedreno -i915 -ilo -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware"
Comment 1 Ulrich Müller gentoo-dev 2015-01-13 08:52:41 UTC
Created attachment 393820 [details]
build.log
Comment 2 Ulrich Müller gentoo-dev 2015-01-13 08:54:52 UTC
Created attachment 393822 [details]
config.log
Comment 3 Ulrich Müller gentoo-dev 2015-01-13 09:02:52 UTC
Looks like a dependency is missing: Installing dev-libs/elfutils with ABI_X86="32 64" fixes the problem for me.
Comment 4 Ulrich Müller gentoo-dev 2015-01-13 22:14:16 UTC
Created attachment 393904 [details, diff]
Fix for mesa-10.4.2.ebuild

(In reply to Ulrich Müller from comment #3)
> Looks like a dependency is missing: [...]

Sorry for being so unspecific. With USE=opencl, libelf is now needed.
Attached patch should fix the ebuild.
Comment 5 Ulrich Müller gentoo-dev 2015-01-13 22:15:24 UTC
*** Bug 536478 has been marked as a duplicate of this bug. ***
Comment 6 Matt Turner gentoo-dev 2015-01-13 22:48:15 UTC
Thanks, fixed in the x11-overlay with

commit d9655833cfe566b7a3cd53841942e86ac3a80048
Author: Matt Turner <mattst88@gmail.com>
Date:   Tue Jan 13 14:40:45 2015 -0800

    media-libs/mesa: Require libelf for USE=opencl.
    
    Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=536456

and in gentoo-x86 with

  13 Jan 2015; Matt Turner <mattst88@gentoo.org> mesa-10.4.2.ebuild:
  Require libelf for USE=opencl, bug 536456.