--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: lsb FTCBFS: python3-all build dependency unsatisifable/uninstallable
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Sat, 22 Oct 2016 09:16:03 +0200
- Message-id: <20161022071602.n7tlsvbgtng2lqnh@alf.mars>
Package: src:lsb
Version: 9.20161016
Severity: normal
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
lsb recently gained the architecture-dependent package lsb-compat. That
means it has become relevant to cross building. Notably, that fails.
Its Build-Depends: python3-all requests the host architecture python
which can neither be executed nor installed. After fixing
distro-info-data (#841648), all that is necessary for making lsb cross
buildable is annotating that dependency with :any. While at it, I also
implemented support for DEB_BUILD_OPTIONS=nocheck in the attached patch.
Helmut
diff --minimal -Nru lsb-9.20161016/debian/changelog lsb-9.20161016+nmu1/debian/changelog
--- lsb-9.20161016/debian/changelog 2016-10-16 15:55:46.000000000 +0200
+++ lsb-9.20161016+nmu1/debian/changelog 2016-10-22 09:09:57.000000000 +0200
@@ -1,3 +1,11 @@
+lsb (9.20161016+nmu1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Annotate Build-Depends: python3-all with :any. (Closes: #-1)
+ * Also support DEB_BUILD_OPTIONS=nocheck.
+
+ -- Helmut Grohne <helmut@subdivi.de> Fri, 21 Oct 2016 19:58:54 +0200
+
lsb (9.20161016) unstable; urgency=medium
* Introduce the new lsb-compat package, providing a limited compatibility
diff --minimal -Nru lsb-9.20161016/debian/control lsb-9.20161016+nmu1/debian/control
--- lsb-9.20161016/debian/control 2016-10-16 15:55:46.000000000 +0200
+++ lsb-9.20161016+nmu1/debian/control 2016-10-22 09:08:45.000000000 +0200
@@ -6,7 +6,7 @@
Build-Depends: debhelper (>> 9.0),
po-debconf (>= 0.5.0),
dpkg-dev (>= 1.10),
- python3-all,
+ python3-all:any,
dh-python,
distro-info-data,
X-Python3-Version: >= 3.4
diff --minimal -Nru lsb-9.20161016/debian/rules lsb-9.20161016+nmu1/debian/rules
--- lsb-9.20161016/debian/rules 2016-10-16 15:55:46.000000000 +0200
+++ lsb-9.20161016+nmu1/debian/rules 2016-10-22 08:00:18.000000000 +0200
@@ -49,7 +49,11 @@
rm -rf __pycache__
rm -rf test/__pycache__
+ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+override_dh_auto_test:
+else
override_dh_auto_test: $(PY3VERSIONS:%=test-python%)
+endif
test-python%:
PATH=test/:$${PATH} PYTHONPATH=. python$* test/test_lsb_release.py -vv
--- End Message ---
--- Begin Message ---
Source: lsb
Source-Version: 9.20161101
We believe that the bug you reported is fixed in the latest version of
lsb, 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 841679@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated lsb 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 01 Nov 2016 22:00:00 +0100
Source: lsb
Binary: lsb-base lsb-release lsb-compat
Architecture: source
Version: 9.20161101
Distribution: unstable
Urgency: medium
Maintainer: Debian LSB Team <debian-lsb@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description:
lsb-base - Linux Standard Base init script functionality
lsb-compat - Linux Standard Base Compatibility
lsb-release - Linux Standard Base version reporting utility
Closes: 841679
Changes:
lsb (9.20161101) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS: Annotate Build-Depends: python3-all with :any (Closes: #841679)
* Add support for DEB_BUILD_OPTIONS=nocheck
Checksums-Sha1:
9ce35100ccb87b332d6990a0cd6653e3152ee173 1668 lsb_9.20161101.dsc
cc9e24e2e9d9edad9af3b14bc21dbea6f2ba9c08 43000 lsb_9.20161101.tar.xz
Checksums-Sha256:
85175a5ee13c1892709cf8ac9673ec3047940528f48c2580b56cc0a5578d7bfe 1668 lsb_9.20161101.dsc
52521cfeb985f7e00bc00abec2f1e55798373e3ad828b7794829548ec7505cf5 43000 lsb_9.20161101.tar.xz
Files:
ad5018cdd3712640281b4695ad57cc69 1668 misc extra lsb_9.20161101.dsc
9f3f1c0459f8614f6190ed67df1db6f0 43000 misc extra lsb_9.20161101.tar.xz
-----BEGIN PGP SIGNATURE-----
iQGcBAEBCgAGBQJYGQH/AAoJEIvPpx7KFjRV5tgL/jwKqsOrxlVlbWN+CATI4JIR
I6lqdmopZ2+Ewmh4qG6+mZKvZqqj2Q1hNfLl+1+87Z1nt7NOBidiTFGmlkxhC65A
9SKzcIb7+j7ja5VUr6gz1mBIAZBJvav9NiFOPBLfH8anjgGlGr15a85QuRfJGUrg
KVgdiLC9+UvtEQyrb0XgadOoFa6MqM7IrzasO3o8DDDvfSxBImiMQKDAzYLpsra6
rzc/JjMY80E/ItM5a5w7gV3HrOy/j5Ocz3t5f5DZv4+N76iSJD0fVzN939dQeRw8
93KlpXvxLCsc2qLKRLVR1+184jjuU/DywzhDf3pl/cUpT0JpBc25ycm6fvRPpRG1
kiOR9+IOy6dkSajIrygZEMzfdRHZQZ+wXF/7RKyW7FzA9aJgkvp1cUx0Tg0aNeGJ
lOWCDMAe5WJihBQWByxr8yIe/1a6QOgY7JholVD9fBh+LtWVs8su2dbVfuYHaSja
p5prawXnYnGULcnR47vIK/0OSyJJqyRaXhQWs0TDlg==
=Uccr
-----END PGP SIGNATURE-----
--- End Message ---