Summary: | media-video/nvidia-settings-180.60 compilation fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | arctika42 |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | bugmail, sanja.byelkin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
arctika42
2010-04-25 04:45:31 UTC
Please choose "Gentoo Linux" component when you report problems with a package. Also try to keep the summary short but still somewhat descriptive... It also doesn't help when you post the compiler messages with half the text being in some cyrillic language. We developers are spread all over the world so chances are not very high some russian dev takes care of your bug. So please recompile the package with LANG="C" emerge =nvidia-settings-180.60 and attach the resulting build.log file to this bug. Thanks. *** Bug 317077 has been marked as a duplicate of this bug. ***
> chances are not very high some russian dev takes care of your bug.
> So please recompile the package with
>
> LANG="C" emerge =nvidia-settings-180.60
>
> and attach the resulting build.log file to this bug. Thanks.
I have the same error, here is log with LC_ALL=C:
...
ples src/libXNVCtrlAttributes/NvCtrlAttributesGlx.c -o .objs/NvCtrlAttributesGlx.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'
x86_64-pc-linux-gnu-gcc -c -march=core2 -O2 -pipe -Wall -O -DNDEBUG -I/usr/X11R6/include -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/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/NvCtrlAttributesXrandr.c -o .objs/NvCtrlAttributesXrandr.o
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
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 2677: 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'
It looks like x11-drivers/nvidia-drivers 190.42-r3 was marked stable without a 190 version of the settings being so marked (180.60). So I took a/the lazy way out and added # nvidia x11-drivers/nvidia-drivers ~x86 media-video/nvidia-settings ~x86 x11-libs/libvdpau ~x86 to my package.keywords knowing full well that even this may not prevent drivers and settings de-synchronization. *** This bug has been marked as a duplicate of bug 304255 *** Here are my steps to install ebuild /usr/portage/media-video/nvidia-settings/nvidia-settings-180.60.ebuild configure edit /var/tmp/portage/media-video/nvidia-settings-180.60/work/nvidia-settings-1.0/src/libXNVCtrlAttributes/NvCtrlAttributesVidMode.c and added after #include <X11/extensions/xf86vmode.h> add the line #include <X11/extensions/xf86vmproto.h> ebuild /usr/portage/media-video/nvidia-settings/nvidia-settings-180.60.ebuild compile install qmerge |