Source: debian-security-support
Version: 2015.04.04
Severity: serious
Tags: -1 + patch
Justification: Fails to build from source

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Maintainer,

A jessie pbuilder fails to build debian-security-support. debian/rules
wrongly defines the debian version number, e.g. 8+deb8u3 instead of 8,
so the install rule attempts to copy a nonexistent file.

...
make[1]: Leaving directory '/build/debian-security-support-2015.04.04'
   debian/rules override_dh_install
make[1]: Entering directory '/build/debian-security-support-2015.04.04'
mkdir -p debian/debian-security-support/usr/share/debian-security-support/
cp security-support-ended.deb8+deb8u3 
debian/debian-security-support/usr/share/debian-security-support/security-support-ended
cp: cannot stat 'security-support-ended.deb8+deb8u3': No such file or directory
debian/rules:26: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
...

The attached simple patch fixes this.

Cheers,

Santiago

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJW+pupAAoJEN5v/bjI1ki9DhQP/0qliFz2gR46N339dCVigOtb
4+Q5OXpCgKcuGnN9swyK/vDSQI6Thd6U3ot2og1e3TC+MyJRjWb7nJVv+4G7UZO9
7VT0MhLzKrRkF6nAbh5AMAmCJZ2X3CtEte/kWtwp4bKNm5NnXdZML0jgIcdLwWUq
2m0N3hI74RtiDhwa71jFq8g6aibLBlfy3DbtKu8pHb60NFLhOffMDBxDeMZVoixv
/bYxpjjP20UmhRSBQTDxd9eY6EXB1Z6ENcbypknNhhA92P5t6Kl4hig0SrclBORd
u+aPxIOaTy+PgK5yV/BMK+8JC7DqbYUynh5Nh2KjQYGGsOo9vzJfaSQ8a7KUwBMt
8XO/XGlJC8ts7ytTVWJy2L/bW5VdNtpWrUuTt8j63iBSveEiGVz+knoIcR7kalxN
Bm0PqH/Orp2dg3+4y5UzatVgG2yBn0Bg9OJozQJ5DYUfm4Zs4S++2to8JPc1qy4p
buKlCv7r6jwHgw7XvsXuNE3z9lHAcWdv8NQWXCubcxRJj4O3aNZBIho/heIvUjFx
JSfKQd7y93WuIC8sTMucjl+9lBDfRWEcAf2bdSILwDRsGel5PvBrYwqFbX9Rd8iL
LmQOF1C3XpvHXWeMeMPbK98S8786DtquBpYKI7QDkCXiN2li/LUAfPSio0OYkLwx
c7KnFo64HipvreOS9OE8
=8StA
-----END PGP SIGNATURE-----
>From e128231a940017c0ac71cb05c290beb91231deda Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Santiago=20Ruano=20Rinc=C3=B3n?= <santi...@debian.org>
Date: Tue, 29 Mar 2016 15:50:15 +0200
Subject: [PATCH] cuts +debXuY suffix debian version

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 12ebd38..10e034a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-DEBIAN_VERSION ?= $(shell LANG=C dpkg -l base-files | awk '($$1=="ii"){print $$3}' | cut -d. -f1)
+DEBIAN_VERSION ?= $(shell LANG=C dpkg -l base-files | awk '($$1=="ii"){print $$3}' | cut -d. -f1 | cut -d+ -f1)
 
 %:
 	dh $@
-- 
2.8.0.rc3

Reply via email to