Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324539 - media-libs/mesa-7.8.2 fails to build: nouveau/nouveau_class.h: No such file or directory
Summary: media-libs/mesa-7.8.2 fails to build: nouveau/nouveau_class.h: No such file o...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 339567 341877 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-18 01:17 UTC by Alec Meyers
Modified: 2010-10-24 11:43 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,376.51 KB, text/plain)
2010-06-18 01:32 UTC, Alec Meyers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Meyers 2010-06-18 01:17:22 UTC
media-libs/mesa-7.8.2 fails to build with nouveau

Reproducible: Always

Steps to Reproduce:
1. VIDEO_CARDS="nouveau" emerge =media-libs/mesa-7.8.2

Actual Results:  
x86_64-pc-linux-gnu-gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/gallium/drivers  -O2 -march=native -pipe -fno-ident -floop-interchange -floop-strip-mine -floop-block -ggdb -ffast-math -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS  nv04_surface_2d.c -o nv04_surface_2d.o
In file included from nouveau_screen.c:12:
nouveau_winsys.h:10:35: error: nouveau/nouveau_class.h: No such file or directory
In file included from nv04_surface_2d.c:7:
../../../../src/gallium/drivers/nouveau/nouveau_winsys.h:10:35: error: nouveau/nouveau_class.h: No such file or directory
gmake[4]: *** [nouveau_screen.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
nv04_surface_2d.c: In function 'nv04_surface_format':
nv04_surface_2d.c:19: error: 'NV04_CONTEXT_SURFACES_2D_FORMAT_Y8' undeclared (first use in this function)
nv04_surface_2d.c:19: error: (Each undeclared identifier is reported only once
nv04_surface_2d.c:19: error: for each function it appears in.)
nv04_surface_2d.c:24: error: 'NV04_CONTEXT_SURFACES_2D_FORMAT_R5G6B5' undeclared (first use in this function)
nv04_surface_2d.c:27: error: 'NV04_CONTEXT_SURFACES_2D_FORMAT_A8R8G8B8' undeclared (first use in this function)
nv04_surface_2d.c:30: error: 'NV04_CONTEXT_SURFACES_2D_FORMAT_Y32' undeclared (first use in this function)
...


# emerge --info =media-libs/mesa-7.8.2
Portage 2.2_rc67 (default/linux/amd64/10.0/no-multilib, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-x86_64-Intel-R-_Core-TM-2_CPU_T5300_@_1.73GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 18 Jun 2010 00:15:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4, 4.5.0
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula dlj-1.1 AdobeFlash-10"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fno-ident -floop-interchange -floop-strip-mine -floop-block -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -fno-ident -floop-interchange -floop-strip-mine -floop-block -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.chem.wisc.edu/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/tree/official"
PORTDIR_OVERLAY="/usr/portage/tree/layman/kde /usr/portage/tree/layman/qting-edge /usr/portage/tree/local"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aio alsa amd64 audiofile avi bash-completion berkdb branding bzip2 cairo cdparanoia cdr chm cli cracklib crypt css cups curl custom-optimization cxx dbus dell dirac dri dvd dvdr encode exif expat ffmpeg fftw firefox flac foomaticdb fortran gdbm gif git gmp gpm gtk iconv imagemagick imlib inotify java5 java6 jpeg kde kdehiddenvisibility laptop latex lcms logrotate lqr lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap musepack ncurses nptl nptlonly nsplugin nvidia ogg opengl openmp openssl pam pch pcre perl plasma png ppds pppd python qt qt4 quicktime rar readline reflection resolvconf samba schroedinger sdl session sndfile speex spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 subversion svg sysfs tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd videos vorbis vpx webkit wifi wmf x264 xcb xcomposite xorg xscreensaver xulrunner xv xvid xvmc xz zip 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 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="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" QEMU_SOFTMMU_TARGETS="arm i386" QEMU_USER_TARGETS="arm i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nv" 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, PORTAGE_COMPRESS_FLAGS
Comment 1 Alec Meyers 2010-06-18 01:32:00 UTC
Created attachment 235809 [details]
build.log
Comment 2 Nikolaj Šujskij 2010-06-18 08:09:41 UTC
The same here. Actually applied to 7.8.1 too: although it was compilable when added to tree (I installed it on Apr  6), a few days ago I tried to re-emerge it due to libdrm update and it had failed with the same error.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-06-18 09:41:00 UTC
mesa's gallium use flag is masked for a reason.

Downgrade to libdrm-2.4.20.
Comment 4 Nikolaj Šujskij 2010-06-18 10:26:30 UTC
> mesa's gallium use flag is masked for a reason.

 Well, nouveau is in main tree, and it forced gallium back in March.

> Downgrade to libdrm-2.4.20.

 Thanks, that did the trick. Is it intended by upstream? Should it work with future mesa 7.9?

I opted for turning off gallium.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-06-18 17:11:33 UTC
I modified the mesa ebuild to depend on libdrm-2.4.20 when nouveau is used.

Apart from that, I am resolving this bug as INVALID as the gallium USE flag is masked on 7.8.
Comment 6 Patrizio Bassi 2010-06-26 07:43:41 UTC
sorry, i forced and built it with libdrm 2.4.21 with gallium and nouveau flag, on amd64

can you delete the .20 dep?
Comment 7 Nikolaj Šujskij 2010-06-26 08:44:23 UTC
What do you mean — "forced"?

(In reply to comment #6)
> sorry, i forced and built it with libdrm 2.4.21 with gallium and nouveau flag,
> on amd64
> 
> can you delete the .20 dep?
> 

Comment 8 Patrizio Bassi 2010-06-27 07:41:08 UTC
kept 2.4.21, and emerged mesa
Comment 9 Nikolaj Šujskij 2010-06-28 16:15:23 UTC
Failed for me as before.

(In reply to comment #8)
> kept 2.4.21, and emerged mesa
> 

Comment 10 Michael Weber (RETIRED) gentoo-dev 2010-10-14 23:04:41 UTC
*** Bug 339567 has been marked as a duplicate of this bug. ***
Comment 11 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-24 11:43:19 UTC
*** Bug 341877 has been marked as a duplicate of this bug. ***