Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70713 - nvidia 6629 - nv-shutup-warnings.patch is entirely there
Summary: nvidia 6629 - nv-shutup-warnings.patch is entirely there
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-10 14:48 UTC by Doug McMillan
Modified: 2004-11-25 17:48 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 Doug McMillan 2004-11-10 14:48:02 UTC
My machine is an amd64. I tried to emerge the newer nvidia kernel and got an error(see below). This forum post (http://forums.gentoo.org/viewtopic.php?t=249989&highlight=nvshutupwarnings+patch)
indicates it affects multiple kernel version as that user is using the nitro 2.6.9 and I am using a 2.6.8 kernel. After reading the post I looked for a bug report and did not find one, BUT looking in the media-video/nvidia-kernel/files/1.0.6629/nv-shutup-warnings.patch
 There is the following comment
"
#
 # We rely on these two definitions below; if they aren't set, we set them to
"
the interesting part is that is the end of the file, which implies something is missing. 
Looking at the log "no file to patch", I am wondering if this is possibly a path value that is not there??

===============================================================================
ERROR
===============================================================================
webrepos ~ # emerge nvidia-kernel -v
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.6629 to /
amd64
>>> Downloading http://gentoo.chem.wisc.edu/gentoo/distfiles/NVIDIA-Linux-x86_64 -1.0-6629-pkg2.run
--15:53:20--  http://gentoo.chem.wisc.edu/gentoo/distfiles/NVIDIA-Linux-x86_64-1 .0-6629-pkg2.run
           => `/usr/portage/distfiles/NVIDIA-Linux-x86_64-1.0-6629-pkg2.run'
Resolving gentoo.chem.wisc.edu... 128.104.70.13
Connecting to gentoo.chem.wisc.edu[128.104.70.13]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7,777,882 [text/plain]

100%[====================================>] 7,777,882    465.25K/s    ETA 00:00

15:53:38 (435.12 KB/s) - `/usr/portage/distfiles/NVIDIA-Linux-x86_64-1.0-6629-pk g2.run' saved [7777882/7777882]

>>> md5 src_uri ;-) NVIDIA-Linux-x86_64-1.0-6629-pkg2.run
amd64
amd64
>>> Unpacking source...
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.8-gentoo-r4 found in /usr/src/linux
Creating directory NVIDIA-Linux-x86_64-1.0-6629-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-6629...... ...................................................................
 * Applying conftest_koutput_includes.patch ...                           [ ok ]
 * Applying nv-pgd_offset.patch ...                                       [ ok ]
 * Applying nv-disable-preempt-on-smp_processor_id.patch ...              [ ok ]
 * Applying nv-shutup-warnings.patch ...

 * Failed Patch: nv-shutup-warnings.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/nvidia-kernel-1.0.6629/temp/nv-shutup-warnings.patch-10953 .out


!!! ERROR: media-video/nvidia-kernel-1.0.6629 failed.
!!! Function epatch, Line 402, Exitcode 0
!!! Failed Patch: nv-shutup-warnings.patch!
!!! If you need support, post the topmost build error, NOT this status message.

===============================================================================
The  /var/tmp/portage/nvidia-kernel-1.0.6629/temp/nv-shutup-warnings.patch-10953 .out  log shows this
===============================================================================

***** nv-shutup-warnings.patch *****

====================================

PATCH COMMAND:  patch -p0 -g0 < /usr/portage/media-video/nvidia-kernel/files/1.0.6629/nv-shutup-warnings.patch

====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urpN nv.orig/Makefile.kbuild nv/Makefile.kbuild
|--- nv.orig/Makefile.kbuild	2004-11-09 20:27:54.012160376 +0200
|+++ nv/Makefile.kbuild	2004-11-09 20:52:59.256328480 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
====================================

PATCH COMMAND:  patch -p1 -g0 < /usr/portage/media-video/nvidia-kernel/files/1.0.6629/nv-shutup-warnings.patch

====================================
patching file Makefile.kbuild
Hunk #1 FAILED at 73.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.kbuild.rej
====================================

PATCH COMMAND:  patch -p2 -g0 < /usr/portage/media-video/nvidia-kernel/files/1.0.6629/nv-shutup-warnings.patch

====================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urpN nv.orig/Makefile.kbuild nv/Makefile.kbuild
|--- nv.orig/Makefile.kbuild	2004-11-09 20:27:54.012160376 +0200
|+++ nv/Makefile.kbuild	2004-11-09 20:52:59.256328480 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
====================================

PATCH COMMAND:  patch -p3 -g0 < /usr/portage/media-video/nvidia-kernel/files/1.0.6629/nv-shutup-warnings.patch

====================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urpN nv.orig/Makefile.kbuild nv/Makefile.kbuild
|--- nv.orig/Makefile.kbuild	2004-11-09 20:27:54.012160376 +0200
|+++ nv/Makefile.kbuild	2004-11-09 20:52:59.256328480 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
====================================

PATCH COMMAND:  patch -p4 -g0 < /usr/portage/media-video/nvidia-kernel/files/1.0.6629/nv-shutup-warnings.patch

====================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urpN nv.orig/Makefile.kbuild nv/Makefile.kbuild
|--- nv.orig/Makefile.kbuild	2004-11-09 20:27:54.012160376 +0200
|+++ nv/Makefile.kbuild	2004-11-09 20:52:59.256328480 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

===============================================================================
My emerge info looks like this
===============================================================================

webrepos ~ # emerge info
Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.2, glibc-2.3.4.20040808-r 0, 2.6.8-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.8-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.c om/ http://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/ http://op en-systems.ufl.edu/mirrors/gentoo http://gentoo.binarycompass.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi alsa apache2 berkdb bitmap-fonts cdr crypt cups dvd dvdr e ds esd f77 fam foomaticdb fortran gd gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 ithreads jp2 jpeg jpg kerberos ldap lzw lzw-tiff mad mozilla multilib mysql  ncurses nls nptl oav opengl openssl oss pam perl png ppds python readline samba  sdl ssl tcpd tiff truetype usb userlocales xml xml2 xpm xrandr xv zlib"

===============================================================================
My current version of nvidia software is:
===============================================================================

webrepos ~ # emerge nvidia -s
Searching...
[ Results for search key : nvidia ]
[ Applications found : 5 ]

*  app-emulation/emul-linux-x86-nvidia
      Latest version available: 1.0.6629
      Latest version installed: 1.0.6111-r1
      Size of downloaded files: 7,595 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA GLX 32-bit compatibility libraries
      License:     NVIDIA

*  media-gfx/nvidia-cg-toolkit
      Latest version available: 1.2.0402.1900
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 3,675 kB
      Homepage:    http://developer.nvidia.com/view.asp?IO=cg_toolkit
      Description: nvidia's c graphics compiler toolkit
      License:     NVIDIA

*  media-video/nvidia-glx
      Latest version available: 1.0.6629
      Latest version installed: 1.0.6111
      Size of downloaded files: 16,116 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA X11 driver and GLX libraries
      License:     NVIDIA

*  media-video/nvidia-kernel
      Latest version available: 1.0.6629
      Latest version installed: 1.0.6111
      Size of downloaded files: 16,116 kB
      Homepage:    http://www.nvidia.com/
      Description: Linux kernel module for the NVIDIA X11 driver
      License:     NVIDIA

*  media-video/nvidia-settings
      Latest version available: 1.0.6629
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 798 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA Linux X11 Settings Utility
      License:     GPL-2
Comment 1 Andrew Bevitt 2004-11-13 07:42:08 UTC
OK fixed in cvs, wait 35 mins and resync and remerge
Comment 2 Andrew Bevitt 2004-11-25 17:48:58 UTC
Closing.. oops