Package: kernel-package Version: 10.036 Severity: wishlist The most recent versions of sudo (versions after 1.6.8p12-1) now create a default sudoers file with the env_reset option set. This causes make-kpkg to fail (the way I am invoking it) with the rather unexpected error message "make: Nothing to be done for `$(i_package)'." since the i_package variable is constructed without the APPEND_TO_VERSION string in the sub-make invocation with sudo because env_reset causes sudo to clean it out of the environment. Clearly there are other possible failure conditions/messages depending on which variables the root sub-make is expecting to find.
Now that I found out what was causing this problem, it does clearly seem like a user-configuration error and not a bug at all. It would be great if there were an easy way to pass the variable information down to the root sub-make (possibly as command arguments), but from the small amount of research that I have done this solution seems more tedious than it is worth to implement and prone to failure (especially as new variables are added). Detecting at run-time that this option is set (or even just that sudo is being used) and printing a warning message would also be possible, but seems a bit excessive to me. So, the solution that I suggest is to add a note to Problems.gz (or any other appropriate documentation) that using sudo with env_reset will cause errors, possibly with the above error message. However, I would be happy to see anything happen if it could save future users the debugging work to track this down. Thanks, Kevin -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15.20060214a Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages kernel-package depends on: ii dpkg 1.13.16 package maintenance system for Deb ii dpkg-dev 1.13.16 package building tools for Debian ii file 4.15-2 Determines file type using "magic" ii gcc [c-compiler] 4:4.0.2-2 The GNU C compiler ii gcc-3.3 [c-compiler] 1:3.3.6-12 The GNU C compiler ii gcc-3.4 [c-compiler] 3.4.5-2 The GNU C compiler ii gcc-4.0 [c-compiler] 4.0.2-9 The GNU C compiler ii gettext 0.14.5-2 GNU Internationalization utilities ii make 3.80+3.81.b4-1 The GNU version of the "make" util ii perl 5.8.8-2 Larry Wall's Practical Extraction ii po-debconf 0.9.2 manage translated Debconf template Versions of packages kernel-package recommends: ii bzip2 1.0.3-2 high-quality block-sorting file co ii libc6-dev [libc-dev] 2.3.6-3 GNU C Library: Development Librari -- no debconf information -- Cheers, | [EMAIL PROTECTED] | [EMAIL PROTECTED] Kevin Locke | http://kevinlocke.name | kevinoid on freenode -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

