Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#459848: 169.07-1 kernel module does not build with m-a due to packaging issues

0 views
Skip to first unread message

Modestas Vainius

unread,
Jan 8, 2008, 9:10:18 PM1/8/08
to
Package: nvidia-kernel-source
Version: 169.07-1
Severity: serious

Hello,

m-a no longer finds a kernel module source tarball because it was
renamed to /usr/share/nvidia-kernel.tar.bz2

What's more, when I rename the tarball back to
/usr/share/nvidia-kernel-source.tar.bz2 and run m-a, then build fails with:

-------------------
include/asm/compat.h: In function ‘compat_alloc_user_space’:
include/asm/compat.h:204: warning: pointer of type ‘void *’ used in arithmetic
LD [M] /usr/src/modass/usr_src/modules/nvidia-kernel/nv/nvidia.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/modass/usr_src/modules/nvidia-kernel/nv/nvidia.mod.o
LD [M] /usr/src/modass/usr_src/modules/nvidia-kernel/nv/nvidia.ko
make[3]: Leaving directory `/usr/src/linux-headers-2.6.23-1-amd64'
NVIDIA: left KBUILD.
make[2]: Leaving directory `/usr/src/modass/usr_src/modules/nvidia-kernel/nv'
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
find: ./debian/patches.old: Permission denied
dh_clean: command returned error code
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/modass/usr_src/modules/nvidia-kernel'
make: *** [kdist_image] Error 2
BUILD FAILED!
See /usr/src/modass/var_cache_modass/nvidia-kernel-source.buildlog.2.6.23-1-amd64.1199842099 for details.
Build failed. Press Return to continue...
-------------------

If I run `ls` commands below, I get:

$ ls -ld /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/
drw-r-Sr-- 2 modax src 4096 2008-01-07 22:51 patches.old/

$ ls -l /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches*
total 0
?--------- ? ? ? ? ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/00list
?--------- ? ? ? ? ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/01_sysfs
?--------- ? ? ? ? ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/02_pcialias
?--------- ? ? ? ? ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/03_pci_get_class
?--------- ? ? ? ? ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/04_minion

After running `chmod 755 /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old`
a build with `m-a -O build nvidia` completed fine. All this is on
amd64 box with amd64 kernel and userland. According to the
changelog, at least the first part of the problem should be present
on i386 too.


-- System Information:
Debian Release: lenny/sid
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23-1-amd64 (SMP w/1 CPU core)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-source depends on:
ii debhelper 5.0.63 helper programs for debian/rules
ii dpatch 2.0.28 patch maintenance system for Debia
ii make 3.81-3 The GNU version of the "make" util
ii sed 4.1.5-5 The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii devscripts 2.10.12 Scripts to make the life of a Debi
ii kernel-package 11.001 A utility for building Linux kerne
ii nvidia-glx 169.07-1 NVIDIA binary Xorg driver

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Sebastian Bremicker

unread,
Jan 9, 2008, 2:30:06 AM1/9/08
to
Package: nvidia-kernel-source
Version: 169.07-1
Followup-For: Bug #459848

Hi,

indeed, a "ln -s /usr/src/nvidia-kernel.tar.bz2 /usr/src/nvidia-kernel-source.tar.bz2"
does the trick here, it builds with m-a again.

Kind Regards

Sebastian

-- System Information:
Debian Release: lenny/sid

APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)


Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-source depends on:
ii debhelper 5.0.63 helper programs for debian/rules
ii dpatch 2.0.28 patch maintenance system for Debia
ii make 3.81-3 The GNU version of the "make" util
ii sed 4.1.5-5 The GNU sed stream editor

Versions of packages nvidia-kernel-source recommends:
ii devscripts 2.10.12 Scripts to make the life of a Debi
ii kernel-package 11.001 A utility for building Linux kerne

ii nvidia-glx 100.14.19-1 NVIDIA binary Xorg driver

Randall Donald

unread,
Jan 9, 2008, 3:00:21 AM1/9/08
to

> m-a no longer finds a kernel module source tarball because it was
> renamed to /usr/share/nvidia-kernel.tar.bz2
I hope this isn't why the severity is serious.

> $ ls -ld /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/
> drw-r-Sr-- 2 modax src 4096 2008-01-07 22:51 patches.old/
>
> $ ls -l /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches*
> total 0
> ?--------- ? ? ? ? ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/00list
> ?--------- ? ? ? ? ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/01_sysfs
> ?--------- ? ? ? ? ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/02_pcialias
> ?--------- ? ? ? ? ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/03_pci_get_class
> ?--------- ? ? ? ? ? /usr/src/modass/usr_src/modules/nvidia-kernel/debian/patches.old/04_minion
>

Ok that is interesting. Ok I see why I didn't come across this. Thank
you for reporting it.


--
--------------------------------------------
Randall Donald ra...@khensu.org
http://www.khensu.org rdo...@debian.org
Programmer/Debian Developer GnuPG: 6C27DEAB
--------------------------------------------

Modestas Vainius

unread,
Jan 9, 2008, 5:10:11 AM1/9/08
to
Hi,

2008 m. January 9 d., Wednesday, jūs rašėte:


> > m-a no longer finds a kernel module source tarball because it was
> > renamed to /usr/share/nvidia-kernel.tar.bz2

Actually no, it's serious due to both issues (renaming is quite easy once you
figure out the problem). However, why did you rename the tarball in the first
place? m-a is a preferred way (at least what most users do, I think) to build
nvidia kernel module, isn't it? Could you ship a symblink as the old name
then?

--
Modestas Vainius <mode...@vainius.eu>

signature.asc

Debian Bug Tracking System

unread,
Jan 12, 2008, 8:50:09 PM1/12/08
to
Your message dated Sun, 13 Jan 2008 01:32:05 +0000
with message-id <E1JDrhl-...@ries.debian.org>
and subject line Bug#459848: fixed in nvidia-graphics-drivers 169.07-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

0 new messages