[pkg-nvidia-devel] Bug#585695: Bug#585695: nvidia-kernel-source: Manual built of module does not consider already set KVERS and KSRC environment variables

Andreas Beckmann debian at abeckmann.de
Fri Jun 25 18:22:22 UTC 2010


tags 585695 + moreinfo unreproducible
thanks

On Sunday, 13. June 2010 10:37:17 Russ Allbery wrote:
> Edgar Sippel <for.your.spam.only at web.de> writes:
> > The latest change in debian/rules applies a new behaviour of the build
(latest was 195.36.24-2)
> > script which makes manual building the module not working anymore
> > according to documentation README.debian method #3:

I couldn't reproduce your problems with 195.36.24-2 and 195.36.24-4.
Are you sure that you exported the variables you set?

> > The latest changes in version 195.36.24-2 do not consider these already
> > set variables anymore but, as far as I understood the script takes the
> > version from the target of /usr/src/linux, which, on my machine always

In my tests, /usr/src/linux was only considered if no KSRC/KVERS were set.

> As a workaround for the time being, please pass the settings directly on
> the debian/rules invocation line; in other words, like:

I successfully tested both
  export KVERS=... 
  export KSRC=...
  debian/rules binary_modules
and
  KVERS=... KSRC=... debian/rules binary_modules
as described in the README as variant #3 so a workaround is not needed. Only 
when not exporting the variables, the build failed:
  unset KSRC KVERS
  KVERS=... 
  KSRC=...
  debian/rules binary_modules


Andreas

PS: I tested in a minimal sid/amd64 pbuilder environment with kernel headers 
from linux-headers-2.6.26-2-amd64, linux-headers-2.6.32-5-amd64 while running 
a 2.6.31-0-amd64 kernel.





More information about the Pkg-nvidia-devel mailing list