Control: tags -1 + patch

On 2016-07-13 13:12 -0400, Aaron M. Ucko wrote:

> The hurd-i386 build of procps gets farther now (thanks!) but still fails:
>
>   mv /«PKGBUILDDIR»/debian/tmp/bin/kill /«PKGBUILDDIR»/debian/tmp/bbin/
>   [...]
>   (cd /«PKGBUILDDIR»/debian/tmp/bin && mv kill kill.procps )
>   mv: cannot stat 'kill': No such file or directory
>   debian/rules:44: recipe for target 'override_dh_auto_install' failed
>
> The problem appears to be interference from the bbin/ setup, which
> alas doesn't work as (presumably) intended anyway because dh_install
> always treats destinations as directories:

It seems that debian/rules does everything correctly for hurd and only
the install file is broken.  I have attached a fix for it.

>    Package: procps
>    Version: 2:3.3.12-2
>    Architecture: kfreebsd-i386
>   [...]
>   
>   drwxr-xr-x root/root         0 2016-07-13 11:20 ./
>   drwxr-xr-x root/root         0 2016-07-13 11:20 ./bin/
>   drwxr-xr-x root/root         0 2016-07-13 11:20 ./bin/kill.procps/
>   -rwxr-xr-x root/root     21920 2016-07-13 11:20 ./bin/kill.procps/kill

Reported separately as #831348.

Cheers,
       Sven

>From 0b60ee5dfb6c2485157e7f4826e07a0331f5146f Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenj...@gmx.de>
Date: Fri, 15 Jul 2016 07:43:31 +0200
Subject: [PATCH] Fix install file on hurd

The kill and ps programs are already renamed in debian/rules, no need
to do that in the install file which does not work correctly anyway.
---
 debian/procps.install.hurd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/procps.install.hurd b/debian/procps.install.hurd
index 77ac1e2..df864c7 100644
--- a/debian/procps.install.hurd
+++ b/debian/procps.install.hurd
@@ -1,4 +1,4 @@
 # Files to install for hurd systems
-bbin/kill bin/kill.procps
-bbin/ps bin/ps.procps
+bbin/kill.procps bin
+bbin/ps.procps bin
 bin/* /usr/bin
-- 
2.8.1

Reply via email to