Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430736 - x11-drivers/xf86-video-nouveau doesn't compile with xorg-server-1.12.99.904
Summary: x11-drivers/xf86-video-nouveau doesn't compile with xorg-server-1.12.99.904
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-10 09:32 UTC by Plopmaster
Modified: 2012-08-10 09:40 UTC (History)
0 users

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


Attachments
Build.log of compilation of xf86-video-nouveau with xorg-server-1.12.99.904 (build.log,19.67 KB, text/plain)
2012-08-10 09:32 UTC, Plopmaster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Plopmaster 2012-08-10 09:32:26 UTC
Created attachment 320854 [details]
Build.log of compilation of xf86-video-nouveau with xorg-server-1.12.99.904

Aiming to use Gnome 3, I read this page : http://en.gentoo-wiki.com/wiki/Gnome_3
Thus, xorg-server was upgrade few days ago, and the latest version (1.12.99.904) make xf86-video-nouveau (any version) uncompilable.
Compiling with xorg-server 1.12.3 works fine.
Here is log for version 0.0.16_pre20120322 (the current, at this day)
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c: In function 'NVPciProbe':
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:286:26: warning: assignment from incompatible pointer type
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:287:26: warning: assignment from incompatible pointer type
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:288:26: warning: assignment from incompatible pointer type
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:289:26: warning: assignment from incompatible pointer type
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:290:26: warning: assignment from incompatible pointer type
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:291:26: warning: assignment from incompatible pointer type
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c: In function 'NVBlockHandler':
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:396:2: warning: passing argument 1 of 'pScreen->BlockHandler' makes pointer from integer without a cast
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:396:2: note: expected 'ScreenPtr' but argument is of type 'int'
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:396:2: error: too many arguments to function 'pScreen->BlockHandler'
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:397:24: warning: assignment from incompatible pointer type
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c: In function 'NVCloseScreen':
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:492:2: warning: passing argument 1 of 'pScreen->CloseScreen' makes pointer from integer without a cast
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:492:2: note: expected 'ScreenPtr' but argument is of type 'int'
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:492:2: error: too many arguments to function 'pScreen->CloseScreen'
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c: In function 'NVScreenInit':
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:1235:24: warning: assignment from incompatible pointer type
/mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322/src/nv_driver.c:1248:23: warning: assignment from incompatible pointer type
make[2]: *** [nv_driver.lo] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[2] : on quitte le répertoire « /mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322_build/src »
make[1]: *** [all-recursive] Erreur 1
make[1] : on quitte le répertoire « /mnt/space/1/portage/x11-drivers/xf86-video-nouveau-0.0.16_pre20120322/work/xf86-video-nouveau-0.0.16_pre20120322_build »
make: *** [all] Erreur 2
 * ERROR: x11-drivers/xf86-video-nouveau-0.0.16_pre20120322 failed (compile phase):
 *   emake failed


Here is my emerge --info :

Portage 2.2.0_alpha110 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.4.0-rc5 i686)
=================================================================
System uname: Linux-3.4.0-rc5-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-2.1
Timestamp of tree: Fri, 10 Aug 2012 07:15:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.9
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo proaudio sunrise ikelos ardunio
Installed sets: @system
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4 -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-O2 -pipe -march=pentium4 -msse2"
DISTDIR="/var/spool/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news nodoc parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mir.zyrianes.net/gentoo/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/var/spool/portage/packages/x86"
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="/mnt/space/1/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/overlay/pro-audio /var/lib/layman/sunrise /var/overlay/ikelos /var/overlay/arduino"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aio alsa amr apng bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli colord consolekit cracklib crypt curl cxx dbus dlna dri dts dv dvd dvdr eds emboss encode exif fam ffmpeg fftw firefox flac fluidsynth fortran gconf gdbm gif gimp gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk iconv icu id3tag imagemagick imap inotify ipod ipv6 jack java jpeg jpeg2k ladspa lame lash lcms ldap libcaca libnotify libsamplerate lirc lm_sensors mad matroska midi mmx mng modules mp3 mp4 mpd mpeg msn mtp mudflap musepack musicbrainz nautilus ncurses networkmanager nls nptl nsplugin ntfsprogs ogg opengl openmp openvg pam pango pcre pdf plotutils png policykit portaudio ppds pppd pulseaudio python qt3support quicktime raw readline rtsp sdl session sndfile snmp socialweb spell sqlite sse sse2 ssl startup-notification svg system-sqlite tcpd theora threads tiff truetype udev udisks unicode upower usb v4l v4l2 vorbis webkit win32codecs wmf wxwidgets x264 x86 xcb xinetd xml xmp xv xvid zlib" ALSA_CARDS="intel8x0 cmipci emu10k1" 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" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="lvm 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" LINGUAS="fr" LIRC_DEVICES="livedrive_midi" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nv v4l v4l2 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-08-10 09:40:04 UTC
You mix stable and unstable parts of X at your own peril. Especially building stable xf86-video-nouveau against unstable xorg-server won't work.

So use either both stable versions or both unstable versions of these packages, and reopen this bug if the issue persists.