[Pkg-shadow-devel] Bug#349356: shadow: Builds login package on hurd-i386 again, with su manpages conflicting with coreutils

Michael Banck mbanck at debian.org
Sun Jan 22 14:42:15 UTC 2006


Package: shadow
Version: 1:4.0.14-3
Severity: important
Tags: patch

Hi,

since the switch to CDBS, the login package is being built again, as
CDBS unconditionally calls dh_builddeb -pfoo etc:

On Sun, Jan 22, 2006 at 02:53:21PM +0100, Debian autobuilder wrote:
Automatic build of shadow_1:4.0.14-3 on beethoven by sbuild/hurd-i386 79
Build started at 20060122-1431
******************************************************************************
[...]
echo "loginpam=login, libpam-modules (>= 0.72-5)" >> debian/passwd.substvars
dh_installdeb -Nlogin
dh_gencontrol -Nlogin
dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dh_md5sums -Nlogin
dh_builddeb -Nlogin
dpkg-deb: building package `passwd' in `../passwd_4.0.14-3_hurd-i386.deb'.
dh_shlibdeps -ppasswd  
dh_gencontrol -ppasswd 
dh_md5sums -ppasswd 
dh_builddeb -ppasswd 
dpkg-deb: building package `passwd' in `../passwd_4.0.14-3_hurd-i386.deb'.
dh_shlibdeps -plogin  
dh_gencontrol -plogin 
dh_md5sums -plogin 
dh_builddeb -plogin 
dpkg-deb: building package `login' in `../login_4.0.14-3_hurd-i386.deb'.
 dpkg-genchanges -B -mDebian GNU/Hurd Build Daemon <buildd at beethoven.theo.chemie.tu-muenchen.de>
dpkg-genchanges: arch-specific upload - not including arch-independent packages
dpkg-genchanges: binary-only upload - not including any source code

So even though the hurd-i386 specific parts are executed (-Nlogin),
-plogin is done later on.  AFAIK there is no way to tell CDBS to not
build one package, at least a of trying with internal variables etc. did
not help.  

As CDBS is currently not very actively maintained, I propose to go the
other possibility we discussed before:  Make su an alternative in
coordination with the coreutils package.

I am not sure how the localized manpages will be handled in this case,
AFAIK coreutils only has su.1.gz and no translations.

As an interim fix, could you apply the attached patch, so login and
coreutils can be installed together?


thanks,

Michael
-------------- next part --------------
diff -u shadow-4.0.14/debian/rules shadow-4.0.14/debian/rules
--- shadow-4.0.14/debian/rules
+++ shadow-4.0.14/debian/rules
@@ -86,10 +86,7 @@
 	chmod u+s debian/login/usr/bin/newgrp
 ifeq ($(DEB_HOST_ARCH_OS),hurd)
 	echo "loginpam=login, libpam-modules (>= 0.72-5)" >> debian/passwd.substvars
-	dh_installdeb -Nlogin
-	dh_gencontrol -Nlogin
-	dh_md5sums -Nlogin
-	dh_builddeb -Nlogin
+	find debian/login -name "su.1*" | xargs rm
 else
 	echo "loginpam=login (>= 970502-1), libpam-modules (>= 0.72-5)" >> debian/passwd.substvars
 endif


More information about the Pkg-shadow-devel mailing list