Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97654 - media-video/nvidia-kernel-1.0.6629-r1 failed.
Summary: media-video/nvidia-kernel-1.0.6629-r1 failed.
Status: RESOLVED DUPLICATE of bug 85802
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-01 13:39 UTC by Jeff Faris
Modified: 2005-07-01 13:44 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 Jeff Faris 2005-07-01 13:39:02 UTC
########## Build Error ##########

trogdor portage # emerge -uDv world
Calculating world dependencies ...done!
>>> emerge (1 of 39) media-video/nvidia-kernel-1.0.6629-r1 to /
>>> md5 files   ;-) nvidia-kernel-1.0.7664.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.7167-r1.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.7174.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.6629-r4.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.6111-r3.ebuild
>>> md5 files   ;-) nvidia-kernel-1.0.6629-r1.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.6111-r3
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.6629-r1
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.6629-r4
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.7167-r1
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.7174
>>> md5 files   ;-) files/digest-nvidia-kernel-1.0.7664
>>> md5 files   ;-) files/nvidia
>>> md5 files   ;-) files/1.0.6111/nv-pci_find_class.patch
>>> md5 files   ;-) files/1.0.6111/conftest_koutput_includes.patch
>>> md5 files   ;-) files/1.0.6111/power-suspend-2.6.9-changes.patch
>>> md5 files   ;-) files/1.0.6111/vmalloc-reserve.patch
>>> md5 files   ;-) files/1.0.6111/nv_enable_pci.patch
>>> md5 files   ;-) files/1.0.6111/nv-remap-range.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1161283.patch
>>> md5 files   ;-) files/1.0.6629/nv-shutup-warnings.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1165235.patch
>>> md5 files   ;-) files/1.0.6629/nv-disable-preempt-on-smp_processor_id.patch
>>> md5 files   ;-) files/1.0.6629/conftest_koutput_includes.patch
>>> md5 files   ;-) files/1.0.6629/nv-amd64-shutup-warnings.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1189413.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1175225.patch
>>> md5 files   ;-) files/1.0.6629/nv-fix-memory-limit.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1162524.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-agp_bridge_data.patch
>>> md5 files   ;-) files/1.0.6629/nv-pgprot-speedup.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1155389.patch
>>> md5 files   ;-) files/1.0.6629/nv-pgd_offset.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1182399.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1171869.patch
>>> md5 files   ;-) files/1.0.6629/nv-vm_flags-no-VM_LOCKED.patch
>>> md5 files   ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1201042.diff
>>> md5 files   ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1233959.patch
>>> md5 files   ;-)
files/1.0.7167/NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch
>>> md5 files   ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1237815.patch
>>> md5 files   ;-)
files/1.0.7167/NVIDIA_kernel-1.0-7167-conftest-koutput-includes.patch
>>> md5 files   ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-x86-shutup-warnings.patch
>>> md5 files   ;-)
files/1.0.7167/NVIDIA_kernel-1.0-7167-amd64-shutup-warnings.patch
>>> md5 src_uri ;-) NVIDIA-Linux-x86_64-1.0-6629-pkg2.run
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.11-gentoo-r7
 * Checking for MTRR support...                                                
                                                                       [ ok ]>>>
Unpacking source...
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 nv-amd64-shutup-warnings.patch ...                                 
                                                                       [ ok ] *
Applying NVIDIA_kernel-1.0-6629-1155389.patch ...                              
                                                                    [ ok ] *
Applying NVIDIA_kernel-1.0-6629-1162524.patch ...                              
                                                                    [ ok ] *
Applying NVIDIA_kernel-1.0-6629-1165235.patch ...                              
                                                                    [ ok ] *
Applying NVIDIA_kernel-1.0-6629-1171869.patch ...                              
                                                                    [ ok ] *
Applying NVIDIA_kernel-1.0-6629-1175225.patch ...                              
                                                                    [ ok ] *
Applying NVIDIA_kernel-1.0-6629-1182399.patch ...                              
                                                                    [ ok ] *
Applying 2.6 kernel patches
 * Applying conftest_koutput_includes.patch ...                                
                                                                       [ ok ] *
Applying nv-disable-preempt-on-smp_processor_id.patch ...                      
                                                                    [ ok ] *
Applying NVIDIA_kernel-1.0-6629-1161283.patch ...                              
                                                                    [ ok ] *
Converting NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/Makefile.kbuild to use
M= instead of SUBDIRS=...                                            [ ok ]>>>
Source unpacked.
 * Preparing nvidia module

NVIDIA: calling KBUILD...
make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux
M=/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv
modules
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
mkdir -p
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.tmp_versions
make -f scripts/Makefile.build
obj=/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" >
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv_compiler.h
  cc
-Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.nv.o.d
-nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include -D__KERNEL__
-Iinclude  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -ffreestanding -O2     -fomit-frame-pointer -march=k8 -mno-red-zone
-mcmodel=kernel -pipe -fno-reorder-blocks        -Wno-sign-compare
-fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2
-mno-3dnow -Wdeclaration-after-statement 
-I/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv
-Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
-Wno-multichar  -Werror -O -fno-common -mno-red-zone -MD   -Wno-cast-qual
-Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -mcmodel=kernel -DNTRM
-D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629  -DNV_UNIX  -DNV_LINUX  -DNV_INT64_OK
 -DNVCPU_X86_64  -DNV_64_BITS    -UDEBUG -U_DEBUG -DNDEBUG
-DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT
-DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT
-DNV_PCI_GET_CLASS_PRESENT  -DMODULE -DKBUILD_BASENAME=nv
-DKBUILD_MODNAME=nvidia -c -o
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/.tmp_nv.o
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:
In function `_get_phys_address':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:2529:
error: structure has no member named `pud'
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:
In function `nv_agp_init':
/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:3010:
warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
make[3]: ***
[/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.o]
Error 1
make[2]: ***
[_module_/var/tmp/portage/nvidia-kernel-1.0.6629-r1/work/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv]
Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2

############ Portage Info ##########

trogdor portage # emerge info
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 20 2005, 05:17:08)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo
http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/"
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 aalib acpi aim alsa apache2 arts avi berkdb bitmap-fonts cdparanoia
cdr crypt cscope cups curl dvd dvdr dvdread eds encode esd f77 fam fbcon
font-server foomaticdb fortran gdbm gif glut gphoto2 gpm gtk gtk2 imagemagick
imap imlib innodb ipv6 javascript jp2 jpeg kde libg++ libwww lzw lzw-tiff mad
mikmod mime motif mozilla mp3 mpeg msn mssql mysql ncurses nls nptl nvidia oci8
odbc ogg oggvorbis openal opengl oracle oss pam pcntl pdflib perl png python qt
quicktime readline real samba sdl spell ssl tcpd tiff truetype truetype-fonts
type1-fonts usb userlocales v4l v4l2 vorbis wifi xine xml2 xmms xpm xrandr xv
yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

########## Kernel Version ##########

trogdor portage # uname -a
Linux trogdor 2.6.11-gentoo-r7 #7 Sun Jun 5 18:14:42 MDT 2005 x86_64 AMD
Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux

########## /etc/portage/package.keywords ##########

trogdor portage # cat /etc/portage/package.keywords
sys-kernel/genkernel ~amd64
media-video/mplayer32-bin ~amd64
app-emulation/emul-linux-x86-mplayerlibs ~amd64
media-libs/win32codecs-amd64 ~amd64
media-video/realplayer ~amd64
x11-themes/gtk-qt-engine ~amd64
x11-misc/superkaramba ~amd64
net-p2p/gift-ares ~amd64
net-p2p/gift-fasttrack ~amd64
net-p2p/gift-gnutella ~amd64
net-p2p/gift-openft ~amd64
net-p2p/apollon ~amd64
net-p2p/gift ~amd64
net-p2p/giftcurs ~amd64
games-fps/doom3 ~amd64
media-tv/xawtv ~amd64

########## /etc/portage/package.use ##########

trogdor portage # cat /etc/portage/package.use
sys-libs/glibc userlocales

########## /etc/portage/package.mask ##########

trogdor portage # cat /etc/portage/package.mask |wc -l
0

########## Output of emerge -pv nvidia-kernel ##########

trogdor portage # emerge -pv nvidia-kernel

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     UD] media-video/nvidia-kernel-1.0.6629-r1 [1.0.6629-r4] 0 kB

########## output of emerge -s nvidia-kernel ##########

trogdor portage # emerge -s nvidia-kernel
Searching...
[ Results for search key : nvidia-kernel ]
[ Applications found : 1 ]

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

########## Explanation ##########

While doing an emerge sync && emerge -uDv world for some reason portage is
trying to downgrade nvidia-kernel which as far as I can tell is not something I
have specifically told it to do.  Above is the output of everything I can think
of where relevant information will be.  I have tried to force the usage of
nvidia-kernel-1.0.6629-r4 using <=media-video/nvidia-kernel-1.0.6629-r1 in
package.mask but I receive this error:

trogdor portage # emerge -pv nvidia-kernel

These are the packages that I would merge, in order:

Calculating dependencies
!!! All ebuilds that could satisfy "nvidia-kernel" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-video/nvidia-kernel-1.0.6629-r1 (masked by: package.mask)
- media-video/nvidia-kernel-1.0.6629-r4 (masked by: -* keyword)
- media-video/nvidia-kernel-1.0.7174 (masked by: -* keyword)
- media-video/nvidia-kernel-1.0.7167-r1 (masked by: -* keyword)
- media-video/nvidia-kernel-1.0.6111-r3 (masked by: package.mask)
- media-video/nvidia-kernel-1.0.7664 (masked by: -* keyword)

why has -r4 suddenly been masked?  http://packages.gentoo.org still lists this
as being stable.  Furthermore the output of emerge -pv nvidia-glx shows
1.0.6629-r6 as the current version installed and has been according to
/var/log/emerge.log since I originally built the box.

Reproducible: Always
Steps to Reproduce:
1. Have media-video/nvidia-kernel-1.0.6629-r4 installed
2. emerge -uDv world

Actual Results:  
portage attempts to downgrade nvidia-kernel for some reason and compile of
media-video/nvidia-kernel-1.0.6629-r1 fails.

Expected Results:  
at the very least to have media-video/nvidia-kernel-1.0.6629-r1 compile
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-01 13:44:31 UTC

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