Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313031 - media-video/nvidia-settings-180.60 fails to compile (gcc-4.1)
Summary: media-video/nvidia-settings-180.60 fails to compile (gcc-4.1)
Status: RESOLVED DUPLICATE of bug 304255
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Piotr Jaroszyński (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-03 21:19 UTC by radim
Modified: 2010-04-29 07:45 UTC (History)
0 users

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 radim 2010-04-03 21:19:31 UTC
media-video/nvidia-settings-180.6 fail to compile

Reproducible: Always

Steps to Reproduce:
1.nice -n 19 emerge -avD  media-video/nvidia-settings
2.
3.

Actual Results:  
 src -I src/image_data -I src/xpm_data -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes -I src/XF86Config-parser -I samples src/libXNVCtrlAttributes/NvCtrlAttributes.c -o .objs/NvCtrlAttributes.o
i686-pc-linux-gnu-gcc -c -march=athlon64 -m32 -msse3 -O2 -pipe -fomit-frame-pointer -Wall -O -DNDEBUG -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I doc -I src -I src/image_data -I src/xpm_data -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes -I src/XF86Config-parser -I samples src/libXNVCtrlAttributes/NvCtrlAttributesNvControl.c -o .objs/NvCtrlAttributesNvControl.o
i686-pc-linux-gnu-gcc -c -march=athlon64 -m32 -msse3 -O2 -pipe -fomit-frame-pointer -Wall -O -DNDEBUG -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I doc -I src -I src/image_data -I src/xpm_data -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes -I src/XF86Config-parser -I samples src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c -o .objs/NvCtrlAttributesVidMode.o
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....
 * ERROR: media-video/nvidia-settings-180.60 failed:
 *   Failed to build nvidia-settings
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2594:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" || die "Failed to build nvidia-settings"
 * 
 * If you need support, post the output of 'emerge --info =media-video/nvidia-settings-180.60',
 * the complete build log and the output of 'emerge -pqv =media-video/nvidia-settings-180.60'.
 * The complete build log is located at '/var/tmp/portage/media-video/nvidia-settings-180.60/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/nvidia-settings-180.60/temp/environment'.
 * S: '/var/tmp/portage/media-video/nvidia-settings-180.60/work/nvidia-settings-1.0'


Expected Results:  
compileation

emerge --info
Portage 2.1.7.17 (default/linux/x86/10.0/desktop, gcc-4.1.2, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-AMD_Turion-tm-_64_X2_Mobile_Technology_TL-52-with-gentoo-1.12.13
Timestamp of tree: Sat, 03 Apr 2010 17:30:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.4-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r4, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -m32 -msse3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -m32 -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/nfs_portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="rsync://192.168.1.1/gentoo-portage/distfiles rsync://192.168.1.1/gentoo-portage/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="cs us"
MAKEOPTS="-j2"
PKGDIR="/mnt/nfs_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="/mnt/nfs_portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread dvr emboss encode evdev exif fam firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jack java jpeg kde lang lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt qt3support qt4 readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis wifi x264 x86 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" 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="cs us" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-04-04 10:33:05 UTC
What's your X version (stable?)

Can you try if the error still happens with gcc-4.3 instead of gcc-4.1 ? 
Comment 2 radim 2010-04-05 07:56:56 UTC
gcc-config i686-pc-linux-gnu-4.3.4

this results:

lude/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I doc -I src -I src/image_data -I src/xpm_data -I src/gtk+-2.x -I src/libXNVCtrl -I src/libXNVCtrlAttributes -I src/XF86Config-parser -I samples src/libXNVCtrlAttributes/NvCtrlAttributesXv.c -o .objs/NvCtrlAttributesXv.o
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....
src/libXNVCtrlAttributes/NvCtrlAttributesXv.c: In function ‘NvCtrlInitXvAttributes’:
src/libXNVCtrlAttributes/NvCtrlAttributesXv.c:214: warning: pointer targets in passing argument 2 of ‘__libXv->XvQueryExtension’ differ in signedness
src/libXNVCtrlAttributes/NvCtrlAttributesXv.c:214: warning: pointer targets in passing argument 3 of ‘__libXv->XvQueryExtension’ differ in signedness
 * ERROR: media-video/nvidia-settings-180.60 failed:
 *   Failed to build nvidia-settings
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2596:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" || die "Failed to build nvidia-settings"
 * 
 * If you need support, post the output of 'emerge --info =media-video/nvidia-settings-180.60',
 * the complete build log and the output of 'emerge -pqv =media-video/nvidia-settings-180.60'.
 * The complete build log is located at '/var/tmp/portage/media-video/nvidia-settings-180.60/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/nvidia-settings-180.60/temp/environment'.
 * S: '/var/tmp/portage/media-video/nvidia-settings-180.60/work/nvidia-settings-1.0'

I have:
x11-base/xorg-server-1.7.6  USE="hal ipv6 nptl sdl xorg -debug -dmx -kdrive -minimal -tslib

the unstable version media-video/nvidia-settings-195.36.15 compiles without problem.
Comment 3 Paul Osmialowski 2010-04-18 10:30:45 UTC
I have the same.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-04-29 07:45:42 UTC

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