Package: debian-reference-en
Version: 1.08-3
Severity: normal

In chapter 3.2 "Bash configuration", there is a link to several example scripts.
In script _bash_profile there is the following line that sets CDPATH env var:

 CDPATH=$HOME:/usr/share/doc:/usr/local

As it is defined it will break kernel 2.6 compilation with the following error:

   HOSTCC  drivers/pci/gen-devlist
   DEVLIST drivers/pci/devlist.h
 /bin/sh: line 0: cd: drivers/pci: No such file or directory
 /bin/sh: ./gen-devlist: No such file or directory
 make[2]: *** [drivers/pci/devlist.h] Error 127
 make[1]: *** [drivers/pci] Error 2
 make: *** [drivers] Error 2

The error is repeatable at will.

To avoid this breakage, CDPATH must be defined to look also in the current 
directory,
like this:

 CDPATH=.:$HOME:/usr/local:/usr/share/doc 


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages debian-reference-en depends on:
ii  debian-reference-common       1.08-3     Debian system administration guide

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to