Package: coreutils
Version: 8.21-1
Severity: important
User: [email protected]
Usertags: hurd
Tags: patch

Hello,

The newer version of coreutils does not build any more on hurd-any, due
to the removal of su.c upstream.  The attached patch fixes it by simply
removing the su rules, which were only used on hurd-any.  /bin/su should
get provided by the login package on hurd-any too.

Samuel

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages coreutils depends on:
ii  libacl1      2.2.52-1
ii  libattr1     1:2.4.47-1
ii  libc6        2.17-97
ii  libselinux1  2.2.2-1

coreutils recommends no packages.

coreutils suggests no packages.

-- no debconf information

-- 
Samuel
<y> t1 faich
<y> les programmes ils segfaultent jamais quand on veut
 -+- #ens-mim en plein débogage -+-
diff -ur coreutils-8.21/debian/changelog coreutils-8.21.mine/debian/changelog
--- coreutils-8.21/debian/changelog     2014-02-05 17:44:25.000000000 +0000
+++ coreutils-8.21.mine/debian/changelog        2014-02-05 23:39:42.000000000 
+0000
@@ -1,3 +1,9 @@
+coreutils (8.21-2~hurd.1) unreleased; urgency=medium
+
+  * Remove su rules.
+
+ -- Samuel Thibault <[email protected]>  Wed, 05 Feb 2014 22:50:43 +0000
+
 coreutils (8.21-1) unstable; urgency=low
 
   * New upstream version
diff -ur coreutils-8.21/debian/rules coreutils-8.21.mine/debian/rules
--- coreutils-8.21/debian/rules 2014-02-05 17:44:25.000000000 +0000
+++ coreutils-8.21.mine/debian/rules    2014-02-05 22:50:20.000000000 +0000
@@ -32,11 +32,7 @@
 endif
 
 # programs to include/not include
-ifeq ($(DEB_HOST_ARCH_OS),hurd)
-  BUILDPROG_OPTS := --enable-install-program=su,arch
-else
-  BUILDPROG_OPTS := --enable-install-program=arch
-endif
+BUILDPROG_OPTS := --enable-install-program=arch
 
 BIN_PROGS = cat chgrp chmod chown cp date dd df dir echo false ln ls mkdir \
        mknod mv pwd readlink rm rmdir vdir sleep stty sync touch true uname \
@@ -114,9 +110,6 @@
 else
        mv $(d)/usr/bin/kill $(d)/bin
 endif
-ifneq ($(DEB_HOST_ARCH_OS),hurd)
-               rm -f $(d)/usr/bin/su $(d)/usr/share/man/man1/su.1
-endif
        rm -f $(d)/usr/bin/hostname $(d)/usr/share/man/man1/hostname.1
        rm -f $(d)/usr/bin/uptime $(d)/usr/share/man/man1/uptime.1
        rm -f $(d)/usr/bin/realpath $(d)/usr/share/man/man1/realpath.1
@@ -178,9 +171,6 @@
        dh_link -a
        dh_compress -a
        dh_fixperms -a
-ifeq ($(DEB_HOST_ARCH_OS),hurd)
-       chmod u+s $(d)/usr/bin/su
-endif
        dh_installdeb -a
        dh_shlibdeps -a
        dh_gencontrol -a

Reply via email to