Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409465 - x11-drivers/nvidia-drivers-295.33 - Failed Patch: 256.35-unified-arch.patch !
Summary: x11-drivers/nvidia-drivers-295.33 - Failed Patch: 256.35-unified-arch.patch !
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords: PMASKED
: 409907 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-23 17:32 UTC by Iván Atienza
Modified: 2012-03-30 17:02 UTC (History)
15 users (show)

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


Attachments
Updated patch for 295.33 (295.33-unified-arch.patch,1.48 KB, patch)
2012-03-23 18:07 UTC, Nikos Chantziaras
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Iván Atienza 2012-03-23 17:32:46 UTC
nvidia-drivers-295.33 ebuild fails at aply 256.35-unified-arch.patch


Reproducible: Always

Steps to Reproduce:
emerge =nvidia-drivers-295.331

Actual Results:  
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-295.33/work ...
 * Applying 256.35-unified-arch.patch ...

 * Failed Patch: 256.35-unified-arch.patch !
 *  ( /usr/portage/x11-drivers/nvidia-drivers/files/256.35-unified-arch.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/x11-drivers/nvidia-drivers-295.33/temp/256.35-unified-arch.patch.out

 * ERROR: x11-drivers/nvidia-drivers-295.33 failed (prepare phase):
 *   Failed Patch: 256.35-unified-arch.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 3799:  Called epatch '/usr/portage/x11-drivers/nvidia-drivers/files/256.35-unified-arch.patch'
 *   environment, line 1446:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of 'emerge --info =x11-drivers/nvidia-drivers-295.33',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/nvidia-drivers-295.33'.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-295.33/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-295.33/temp/environment'.
 * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-295.33/work/'

>>> Failed to emerge x11-drivers/nvidia-drivers-295.33, Log file:

>>>  '/var/tmp/portage/x11-drivers/nvidia-drivers-295.33/temp/build.log'


Portage 2.1.10.50 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 i686)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.3
Timestamp of tree: Fri, 23 Mar 2012 16:45:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2-r1
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
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.13-r4
Repositories: gentoo gamerlay-stable mv seden sunrise enlightenment aluco gentoo-vaca-overlay
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -pipe -fomit-frame-pointer"
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/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-mtune=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="ftp://de-mirror.org/gentoo http://de-mirror.org/gentoo"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es en es_ES ca"
MAKEOPTS="-j5"
PKGDIR="/var/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/mv /var/lib/layman/seden /var/lib/layman/sunrise /var/lib/layman/enlightenment /var/lib/layman/aluco /usr/local/repo-local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle iconv ipv6 jpeg lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg openal opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python readline sdl session socialweb spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vdpau vorbis win32codecs x264 x86 xcb xetex xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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 stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap 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" LINGUAS="es en es_ES ca" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Iván Atienza 2012-03-23 17:34:10 UTC
/var/tmp/portage/x11-drivers/nvidia-drivers-295.33/temp/256.35-unified-arch.patch.out

--------------------------
|Add support for the 'x86' unified kernel arch in conftest.sh
|
|--- NVIDIA-Linux-x86-256.25/kernel/conftest.sh
|+++ NVIDIA-Linux-x86-256.25/kernel/conftest.sh
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored

patch program exited with status 1
Comment 2 Nikos Chantziaras 2012-03-23 18:07:52 UTC
Created attachment 306463 [details, diff]
Updated patch for 295.33
Comment 3 Nikos Chantziaras 2012-03-23 18:11:41 UTC
Btw, I'd like to know what this patch is good for to begin with. What is the "unified 'x86' kernel architecture"? Why is this needed?
Comment 4 Iván Atienza 2012-03-23 18:12:55 UTC
new patch works fine for me, thanks.
Comment 5 André Terpstra 2012-03-23 18:14:29 UTC
same problem here. haven't applied new patch yet
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2012-03-23 18:49:36 UTC
I tried to eliminate the need for the patch but unfortunately left it in. It will be fixed shortly.
Comment 7 Sven 2012-03-24 09:49:36 UTC
How did this ebuild even get into portage? Developer did not even care for a test whether it compiles cleanly on his system?
Comment 8 Rick Farina (Zero_Chaos) gentoo-dev 2012-03-26 14:37:09 UTC
In addition to the completely non-functional patch, there is another issue with this ebuild:

The QA ignores were changed from /usr/bin to /opt/bin in this release

QA_EXECSTACK_amd64="opt/bin/nvidia-smi
        opt/bin/nvidia-xconfig
        opt/bin/nvidia-debugdump
        opt/bin/nvidia-settings"

However, the files still install into /usr/bin

Here are the only warnings I could find:

 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/bin/nvidia-settings
 * /usr/bin/nvidia-xconfig
 * /usr/bin/nvidia-debugdump
 * /usr/bin/nvidia-smi

I hope this helps.

Thanks,
ZC
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2012-03-26 16:02:04 UTC
The ebuild is masked. Don't use it.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-27 18:09:01 UTC
*** Bug 409907 has been marked as a duplicate of this bug. ***
Comment 11 Robert Cabrera 2012-03-30 11:31:39 UTC
(In reply to comment #9)
> The ebuild is masked. Don't use it.

Doug, I don't want to be a sarcastic a**hole, but if no one uses it then how in the hell are the bugs going to get worked out of it?

True, it may be masked, but there have been several major issues with the last few iterations of nvidia-drivers, so many Nvidia owners are going to be trying these drivers out to see if these issues are resolved for them.

I unmasked them because I have been having serious problems since the 290 series was first released before the holidays (and I've made bug reports both here and in the nvidia forums).

I installed these 2 days ago (March 28th) and have found them to be the best Nvidia release for my ~amd64 laptop with a Geforce Go 7950GTX in many many months, maybe the best driver release since last summer.

Ciao
Comment 12 Iván Atienza 2012-03-30 12:57:44 UTC
just a question: if this version is masked because of this bug, why it is marked as invalid/resolved?
Comment 13 Rick Farina (Zero_Chaos) gentoo-dev 2012-03-30 14:38:02 UTC
(In reply to comment #12)
> just a question: if this version is masked because of this bug, why it is
> marked as invalid/resolved?

because if you sync you will find that it is resolved....
Comment 14 Sven 2012-03-30 15:23:13 UTC
This bug was closed on 26 Mar 2012 16:02:04 UTC, and the fix was committed to CVS at 26 Mar 2012 18:11:12 UTC, so about two hours later. See
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-295.33.ebuild?view=log

Also, the bag was closed with "resolved invalid" instead of "resolved fixed". Or in other words: gentoo devs have recently decided that masked ebuilds are some kind of "playground" and want bug report about it.

Anyways: ebuild now installs fine, and works like a charm so far.