Your message dated Mon, 01 Sep 2014 15:20:10 +0000
with message-id <e1xotos-00035a...@franck.debian.org>
and subject line Bug#721118: fixed in coreutils 8.23-1
has caused the Debian Bug report #721118,
regarding coreutils: Missing mandatory build-arch and build-indep targets with 
Standards-Version 3.9.4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
721118: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721118
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: coreutils
Version: 8.21-1
Severity: normal
Tags: patch

Hi,

coreutils claims to be compatible with Standards-Version 3.9.4, but it
is missing the mandatory targets "build-arch" and "build-indep"[1].

I have tried to devise a sample patch for this, which seems to work.
With it, dpkg-buildpackage -A should be really fast as it will now
skip configure + compilation (since the arch:all package is empty).
The build-arch target can be tested via dpkg-buildpackage -B.

Thanks for considering,
~Niels

[1] http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules

ยง4.9

[...]

build-arch (required), build-indep (required)

[...]
diff -u coreutils-8.21/debian/changelog coreutils-8.21/debian/changelog
--- coreutils-8.21/debian/changelog
+++ coreutils-8.21/debian/changelog
@@ -1,3 +1,11 @@
+coreutils (8.21-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Add build-arch and build-indep targets required by Policy
+    3.9.4.
+
+ -- Niels Thykier <ni...@thykier.net>  Wed, 28 Aug 2013 09:37:56 +0200
+
 coreutils (8.21-1) unstable; urgency=low
 
   * New upstream version
diff -u coreutils-8.21/debian/rules coreutils-8.21/debian/rules
--- coreutils-8.21/debian/rules
+++ coreutils-8.21/debian/rules
@@ -59,7 +59,12 @@
 
 	echo configured > configure-stamp
 
-build: patch configure build-stamp
+build: build-arch
+build-arch: patch configure build-stamp
+
+build-indep:
+	# do nothing
+
 build-stamp: 
 	dh_testdir
 	$(MAKE)
@@ -86,11 +91,11 @@
 	dpatch deapply-all
 	rm -rf patch-stamp debian-patched
 
-install: build
+install-arch: build-arch
 	dh_testdir
 	dh_testroot
-	dh_clean -k
-	dh_installdirs
+	dh_clean -a -k
+	dh_installdirs -a
 
 	$(MAKE) install DESTDIR=$(CURDIR)/$(d)
 
@@ -142,10 +147,17 @@
 		TODO \
 		$(d)/usr/share/doc/coreutils
 
-	dh_install
+	dh_install -a
+
+install-indep: build-indep
+	dh_testdir
+	dh_testroot
+	dh_clean -i -k
+	dh_installdirs -i
+	dh_install -i
 
 # Build architecture-independent files here.
-binary-indep: build install
+binary-indep: build-indep install
 	dh_testdir -i
 	dh_testroot -i
 	dh_installchangelogs -i
@@ -163,7 +175,7 @@
 	dh_builddeb -i
 
 # Build architecture-dependent files here.
-binary-arch: build install
+binary-arch: build-arch install-arch
 	dh_testdir -a
 	dh_testroot -a
 	dh_installchangelogs -a ChangeLog 
@@ -191 +203 @@
-.PHONY: build clean binary-indep binary-arch binary install patch unpatch clean1
+.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install patch unpatch clean1

--- End Message ---
--- Begin Message ---
Source: coreutils
Source-Version: 8.23-1

We believe that the bug you reported is fixed in the latest version of
coreutils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 721...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Stone <mst...@debian.org> (supplier of updated coreutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 01 Sep 2014 09:56:18 -0400
Source: coreutils
Binary: coreutils mktemp realpath
Architecture: source all amd64
Version: 8.23-1
Distribution: unstable
Urgency: low
Maintainer: Michael Stone <mst...@debian.org>
Changed-By: Michael Stone <mst...@debian.org>
Description:
 coreutils  - GNU core utilities
 mktemp     - coreutils mktemp transitional package
 realpath   - coreutils realpath transitional package
Closes: 721118 730779
Changes:
 coreutils (8.23-1) unstable; urgency=low
 .
   * New upstream version
   * Include realpath command in coreutils package and replace Debian
     version of the command from the realpath package (Closes: #730779).
     Add transational realpath package to help with upgrades.
     (from Robert Luberda <rob...@debian.org>)
   * Add build-arch and build-indep targets required by Policy
     3.9.4. (Niels Thykier <ni...@thykier.net>) (Closes: #721118)
Checksums-Sha1:
 0e3b0c214b6433e996cc87bc0cd8a74132f5c8fe 1945 coreutils_8.23-1.dsc
 29365a742e81f9fb7fd953f8f7c7fac56e3951d5 12582141 coreutils_8.23.orig.tar.gz
 6955ad5c9093cb93bbfa71e95dafe77598308bea 25276 coreutils_8.23-1.diff.gz
 c800c1a508a6158f3326b088a44f5a8b75417bda 17694 mktemp_8.23-1_all.deb
 f98abfb256d6877bab74e974edd35c52adaac5df 17692 realpath_8.23-1_all.deb
 ba254b069395e9eb96979cbda7a4848a9b7cdcbd 2716836 coreutils_8.23-1_amd64.deb
Checksums-Sha256:
 b5c2497c4054d61f24e64405b87ce80ad4d8678c23f6ca24c12eec6aa5d6eb0e 1945 
coreutils_8.23-1.dsc
 d606551dccd8c4ed079d7aa8d74af152b1d16215cae763d86b40b26fdbde9c73 12582141 
coreutils_8.23.orig.tar.gz
 17d4f5db0bdc0fe35fb867b5bc58d5a7651fd0008d95c5ca8be7f058980f9e15 25276 
coreutils_8.23-1.diff.gz
 daa19c170e4c56672b46965a5172eefa65627a8fdfd57a2a9e1c8bafdba7b78e 17694 
mktemp_8.23-1_all.deb
 f801f8f753605fec810ebe791f7f936d89f92d7c178e9a36cb1db0b27ce6957e 17692 
realpath_8.23-1_all.deb
 870e321cbb04e35471b246d5042299675c95ff1972a3443ece6e2182046df1d2 2716836 
coreutils_8.23-1_amd64.deb
Files:
 fb8b6170ff77efbf5a1b04ae72af2354 17694 oldlibs extra mktemp_8.23-1_all.deb
 896b99ac9cf38f69251d692e414a65ff 17692 oldlibs optional realpath_8.23-1_all.deb
 be7038a6bdf99102acb307d7893f562d 2716836 utils required 
coreutils_8.23-1_amd64.deb
 45dbb74ddec489f704929df07202dce3 1945 utils required coreutils_8.23-1.dsc
 6c5d8d83ca19be4c62b7eddf8bb33e0b 12582141 utils required 
coreutils_8.23.orig.tar.gz
 78eb4f2950e3112e224d93fbe83e6430 25276 utils required coreutils_8.23-1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUBIg5AAoJEPYarNz6Ef/eYXkP/0nI7hnIAfiofvnrTzu6xDfP
QMXwLIKpvE2M8A0Y3+AUlAYQJgT1a48Hen515hdtHo5olOCcG5dsPztdHlgkftDm
5rqdU6RzOMWVrg2DnefF+Scy/pq/4xKi3gzBOjwsfgypu1wCWE4im+4IifmKdM4C
YQI8t4l8ZzvVwgc+kEx8a82+zaH6KLYlcjRuQeXd0R+r1SlgaIoMzmOsj8AZgGoN
RoE6foxinfkRHwxvGI0XagBMAyw5N0FjCtfwIHD6n1z0EO2ubu88l1YzaAVMa6z2
8sSLwiZkeJEkPg3KG1n8bz9okCdOJHVdWgu4ulPh9wPuuJB47x8XeYYm18fOpr2h
GIWDddS/mrbXg+urO/UHc7kzyCqUXu1sArLn9RPd9n9OfjiwD137HCPkYYeDeXsN
exQepdAb869ObSNr5lYj7XHZhuvSV7OcYOT7m+LB98jYtZ2CP6adXmN3JoTnqZeX
cydR6byowO+BxzhzMv29oQ3EusvVTvY0j0KK+gLOQi2mMYpzHzbwqOBpCcezeSzz
no/IyK4Zj7rd28WqE1IyaH+UaiBi6kL9n65htHrRWaJCImiB9yxgAJk7IFnT80dR
OF3cZzKHsfF66pqO7hlJ0COC19JEe8MPlVDR3ON/F3nY40oK4x+VJz559bvcB3bQ
3ZC3sq6WEcQlTjQiteUO
=w/mC
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to