Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309919 - media-libs/mesa-7.8_rc2 fails to build with gallium and nouveau: Makefile.egl not found
Summary: media-libs/mesa-7.8_rc2 fails to build with gallium and nouveau: Makefile.egl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-17 10:10 UTC by Nikolaj Šujskij
Modified: 2010-09-05 11:12 UTC (History)
3 users (show)

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


Attachments
Full build.log for mesa-7.8_rc1[nouveau,gallium] (build.log,420.00 KB, text/plain)
2010-03-17 10:13 UTC, Nikolaj Šujskij
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaj Šujskij 2010-03-17 10:10:33 UTC
When trying to build latest mesa from ~amd64 for nouveau:

# emerge -av1 \=media-libs/mesa-7.8_rc1

[ebuild   UD   ] media-libs/mesa-7.8_rc1  USE="gallium nptl xcb -debug -motif
-pic (-selinux)" VIDEO_CARDS="nouveau -intel -mach64 -mga -none -r128 -radeon
-radeonhd -savage -sis (-sunffb) -svga -tdfx -via" 0 kB

< most of log skipped >

mklib: Making Linux shared library:  nouveau_dri.so
/usr/bin/install -c nouveau_dri.so ../../../../../../lib64/gallium
gmake[5]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.8_rc1/work/Mesa-7.8-rc1/src/gallium/winsys/drm/nouveau/dri'
gmake[5]: Entering directory `/var/tmp/portage/media-libs/mesa-7.8_rc1/work/Mesa-7.8-rc1/src/gallium/winsys/drm/nouveau/egl'
Makefile:16: ../../Makefile.egl: No such file or directory
gmake[5]: *** No rule to make target `../../Makefile.egl'.  Stop.
gmake[5]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.8_rc1/work/Mesa-7.8-rc1/src/gallium/winsys/drm/nouveau/egl'
gmake[4]: *** [default] Error 1

< usual Portage error message >

Reproducible: Always




Doesn't seem to me like #305595 and mesa 7.8 should be new enough to work. Most probably upstream issue.
Comment 1 Nikolaj Šujskij 2010-03-17 10:13:53 UTC
Created attachment 223989 [details]
Full build.log for mesa-7.8_rc1[nouveau,gallium]
Comment 2 Nikolaj Šujskij 2010-03-17 10:14:16 UTC
 % emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 17 Mar 2010 08:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p2
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
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 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"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
BROWSER="opera"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache/"
CCACHE_SIZE="7G"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COLORFGBG="15;0"
COLORTERM="rxvt"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
DEFAULT_ABI="amd64"
DESKTOP_STARTUP_ID="awesome/urxvtc/2630-4-VerkDatorn_TIME0"
DISPLAY=":1.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--jobs=2 --keep-going --verbose"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FEATURES="assume-digests candy ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GDK_USE_XFT="1"
GENTOO_MIRRORS="ftp://77.88.19.73/gentoo-distfiles/ ftp://ftp.corbina.ru/pub/Linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distfiles.gentoo.org/distfiles/"
HG="/usr/bin/hg"
HOME="/home/sterkrig"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info"
INPUT_DEVICES="evdev"
KERNEL="linux"
LANG="ru_RU.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL=""
LC_NUMERIC="POSIX"
LDFLAGS="-Wl,--as-needed"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="ru sv"
LOGNAME="sterkrig"
MAIL="/var/mail/sterkrig"
MAKEOPTS="-j3"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man:/usr/share/postgresql-8.3/man:/opt/opera/share/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OLDPWD="/home/sterkrig"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3:/usr/lib64/subversion/bin:/usr/games/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log qa"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/sterkrig/samling/local_portage"
PRELINK_PATH_MASK="/usr/lib64/klibc"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/sterkrig"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3:/usr/lib64/subversion/bin"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SHELL="/bin/zsh"
SHLVL="1"
STAGE1_USE="multilib nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="rxvt-unicode"
USE="X a52 aac acl acpi alsa amd64 audiofile branding bzip2 cairo cdaudio cddb cdr cli consolekit cracklib crypt cups cxx dbus directfb dri dts dvd dvdr emboss encode evo fam fbcon ffmpeg firefox flac fortran ftp gdbm gif glitz gphoto2 gpm hal iconv id3tag imlib ipv6 jpeg kde kipi lcms lua lzma mad matroska mbox midi mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib musepack ncurses nfs nls nptl nptlonly ogg openexr opengl openmp pam pcre pdf png postgres ppds pppd python qt3support qt4 quicktime readline reflection sdl session smp speex spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads thunar tiff truetype unicode usb vcd vim-syntax vorbis wavpack webkit x264 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid zlib zsh-completion" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru sv" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" 
USER="sterkrig"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nouveau nvidia"
WINDOWID="4204528"
WINDOWPATH="1"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_SESSION_COOKIE="5d12b79067cb5c261163d99a4b1e5320-1268726752.706325-1509062529"
_="/usr/bin/emerge"
Comment 3 dongxu li 2010-03-18 11:32:40 UTC
the ebuild has
--with-state-trackers=glx,dri,egl

just disable it,

--with-state-trackers=glx,dri

(In reply to comment #0)
> When trying to build latest mesa from ~amd64 for nouveau:
> 
> # emerge -av1 \=media-libs/mesa-7.8_rc1
> 
> [ebuild   UD   ] media-libs/mesa-7.8_rc1  USE="gallium nptl xcb -debug -motif
> -pic (-selinux)" VIDEO_CARDS="nouveau -intel -mach64 -mga -none -r128 -radeon
> -radeonhd -savage -sis (-sunffb) -svga -tdfx -via" 0 kB
> 
> < most of log skipped >
> 
> mklib: Making Linux shared library:  nouveau_dri.so
> /usr/bin/install -c nouveau_dri.so ../../../../../../lib64/gallium
> gmake[5]: Leaving directory
> `/var/tmp/portage/media-libs/mesa-7.8_rc1/work/Mesa-7.8-rc1/src/gallium/winsys/drm/nouveau/dri'
> gmake[5]: Entering directory
> `/var/tmp/portage/media-libs/mesa-7.8_rc1/work/Mesa-7.8-rc1/src/gallium/winsys/drm/nouveau/egl'
> Makefile:16: ../../Makefile.egl: No such file or directory
> gmake[5]: *** No rule to make target `../../Makefile.egl'.  Stop.
> gmake[5]: Leaving directory
> `/var/tmp/portage/media-libs/mesa-7.8_rc1/work/Mesa-7.8-rc1/src/gallium/winsys/drm/nouveau/egl'
> gmake[4]: *** [default] Error 1
> 
> < usual Portage error message >
> 
> Reproducible: Always
> 
> 
> 
> 
> Doesn't seem to me like #305595 and mesa 7.8 should be new enough to work. Most
> probably upstream issue.
> 

Comment 4 Adrian Bassett 2010-03-23 14:53:56 UTC
This is fixed by http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ded27b2f0a7b01f5db77ea9a2a25df5baa876b3 which adds in some missing EGL files.  Unfortunately, this is a couple of commits after the 7.8_rc2 tag/release.

However, I have a mesa live ebuild in a local overlay that tracks the 7.8 branch;  this builds fine with --with-state-trackers=glx,dri,egl whereas the 7.8_rc2 ebuild in portage fails in the same way as reported with 7.8_rc1 when egl is used as an argument to --with-state-trackers.

Hope this helps.
Comment 5 Nikolaj Šujskij 2010-03-23 15:33:44 UTC
(In reply to comment #4)

 Thanks a lot, if it's fixed upstream, I'll just wait for _rc3 or final or whatever. For now, 7.9 from git works more than acceptably.

> This is fixed by
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=2ded27b2f0a7b01f5db77ea9a2a25df5baa876b3
> which adds in some missing EGL files.  Unfortunately, this is a couple of
> commits after the 7.8_rc2 tag/release.
> 
> However, I have a mesa live ebuild in a local overlay that tracks the 7.8
> branch;  this builds fine with --with-state-trackers=glx,dri,egl whereas the
> 7.8_rc2 ebuild in portage fails in the same way as reported with 7.8_rc1 when
> egl is used as an argument to --with-state-trackers.
> 
> Hope this helps.
> 

Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2010-04-02 06:45:47 UTC
It looks like this bug is fixed in the final 7.8 release.

Thanks