Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291433 - media-video/nvidia-settings-190.42 fails to build
Summary: media-video/nvidia-settings-190.42 fails to build
Status: RESOLVED DUPLICATE of bug 289744
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-01 13:36 UTC by Chris Reffett (RETIRED)
Modified: 2009-11-01 18:43 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Reffett (RETIRED) gentoo-dev Security 2009-11-01 13:36:23 UTC
nvidia-settings was pulled in with an upgrade of nvidia-drivers to 190.42-r2, but it fails to emerge.
Steps to reproduce:
1. Emerge media-video/nvidia-settings-190.42

Expected results: It emerges successfully
Actual results: The ebuild fails with the following message: 

src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:195:2: warning: #warning Old xf86vmode.h; dynamic gamma ramp support will not be compiled.                                    
src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c: In function ‘NvCtrlInitVidModeAttributes’:                                                  src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:214: error: ‘prev_error_handler’ undeclared (first use in this function)                                                      
src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:214: error: (Each undeclared identifier is reported only once                                                    
src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:214: error: for each function it appears in.)  
src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:199: warning: label ‘blocked’ defined but not used                                                                            
src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:84: warning: unused variable ‘i’          
src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:84: warning: unused variable ‘event’               
src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:84: warning: unused variable ‘ret’
src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c: In function ‘NvCtrlSetColorAttributes’:                    
src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:273: warning: unused variable ‘ret’    
src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:272: warning: unused variable ‘ch’        
src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:272: warning: unused variable ‘i’                
make: *** [.objs/NvCtrlAttributesVidMode.o] Error 1                                               
make: *** Waiting for unfinished jobs....   


emerge --info:
Portage 2.2_rc48 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r4-flamethrower x86_64)
=================================================================                                            
System uname: Linux-2.6.31-gentoo-r4-flamethrower-x86_64-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-60-with-gentoo-2.0.1
Timestamp of tree: Sun, 01 Nov 2009 09:45:01 +0000                                                                     
app-shells/bash:4.0_p35                                                                                           
dev-java/java-config: 2.1.9-r1                                                                                         
dev-lang/python:     2.6.4, 3.1.1-r1                                                                                   
dev-util/cmake:      2.6.4-r3                                                                                          
sys-apps/baselayout: 2.0.1                                                                                             
sys-apps/openrc:     0.5.2-r1                                                                                          
sys-apps/sandbox:    2.2                                                                                               
sys-devel/autoconf:  2.13, 2.63-r1                                                                                     
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11                                                                  
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch usersandbox usersync"
GENTOO_MIRRORS="http://mirror.tjhsst.edu/gentoo http://mirror.rit.edu/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage/overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi aim alsa amd64 bash-completion berkdb branding bzip2 cairo cdaudio cdda cddb cdr clamav cli consolekit cracklib crypt cups dbus dga dri dvd dvdr encode exif fbcon firefox flac fortran gd gdbm gif gpm gstreamer hal handbook hddtemp iconv id3tag imagemagick ipod ipv6 java java6 jpeg kde latex lcms libnotify logrotate mad mmx mng modules mp3 mp4 mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp oscar pam pcre pdf perl png policykit pppd python qt3 qt3support qt4 readline reflection rss ruby samba session spell spl sqlite sse sse2 ssl svg sysfs tcpd theora tiff tk truetype unicode usb v4l v4l2 videos vim-syntax vorbis webkit wifi xcb xcomposite xinerama xorg xscreensaver xvmc 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="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin Väth 2009-11-01 14:10:44 UTC
I have a related bug (so I do not open a new one unless somebody tells me so):

src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c:32:40:
  error: X11/extensions/xf86vmproto.h: No such file or directory

I do not know which package should provide xf86vmproto.h, but I guess
nvidia-settings does not depend on this package (which probably is the
bug in my case) and so of course also not on the appropriate version
of that package (which probably is the bug in case of Chris).

If it plays a role: I am using ~ARCH nvidia but ARCH xorg with
ARCH in {x86,amd64} (same problem occurs on both systems).

Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2009-11-01 14:49:25 UTC
xf86vmproto.h belongs to x11-proto/xf86vidmodeproto. What version of that, if any, do you have installed? I've got 2.3 installed, which is ~amd64.
Comment 3 Martin Väth 2009-11-01 15:13:19 UTC
(In reply to comment #2)
> xf86vmproto.h belongs to x11-proto/xf86vidmodeproto.

I was conjecturing so, but the version I have (2.2.2) only has the header files
 xf86vmode.h
 xf86vmstr.h
(even after reemerging no more files are installed).
I am hesitating to upgrade to 2.3, since I expect that this will produce other
trouble with my (throughout stable) xorg.
Comment 4 Man Shankar 2009-11-01 17:06:01 UTC
What is the output of

$ emerge -pv1 xf86vidmodeproto libXxf86vm
Comment 5 Chris Reffett (RETIRED) gentoo-dev Security 2009-11-01 17:55:42 UTC
root@flamethrower[0] ~ $ emerge -pv1 xf86vidmodeproto libXxf86vm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-proto/xf86vidmodeproto-2.3  83 kB
[ebuild   R   ] x11-libs/libXxf86vm-1.1.0  USE="-debug" 243 kB

Total: 2 packages (2 reinstalls), Size of downloads: 326 kB
Comment 6 Man Shankar 2009-11-01 18:38:10 UTC
(In reply to comment #5)
> root@flamethrower[0] ~ $ emerge -pv1 xf86vidmodeproto libXxf86vm
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R   ] x11-proto/xf86vidmodeproto-2.3  83 kB
> [ebuild   R   ] x11-libs/libXxf86vm-1.1.0  USE="-debug" 243 kB
> 
> Total: 2 packages (2 reinstalls), Size of downloads: 326 kB
> 

The "[ebuild   R   ]" in the output clearly shows, that you are using the latest packages.
This bug is fixed in CVS.
Sync again and nvidia-settings should build fine.

Also mark this bug resolved as duplicate of 
http://bugs.gentoo.org/show_bug.cgi?id=289744

Regards && Cheers!
Comment 7 Chris Reffett (RETIRED) gentoo-dev Security 2009-11-01 18:43:05 UTC

*** This bug has been marked as a duplicate of bug 289744 ***