[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#787044: libdebian-installer: please make new Build-Depends: check optional via build profiles



Source: libdebian-installer
Version: 0.100
Severity: wishlist
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

You may be aware that libdebian-installer is considered transitively
build-essential. In practise, this means that it needs to be cross
buildable. The most recent upload of version 0.100 added a new build
dependency on check. The usage of check can already be disabled by
setting DEB_BUILD_OPTIONS=nocheck, which helps with cross building.
However it still requires check to be installed and thus cross built.
This can be avoided by marking the dependency as optional by adding a
"<!nocheck>" build profile[1] to it. The nocheck profile is meant to
complement DEB_BUILD_OPTIONS=nocheck on the dependency level.

To avoid confusion here, I note that the nocheck profile is in not
related to the package check specifically.

Thanks for considering

Helmut

[1] https://wiki.debian.org/BuildProfileSpec
diff -Nru libdebian-installer-0.100/debian/changelog libdebian-installer-0.100+nmu1/debian/changelog
--- libdebian-installer-0.100/debian/changelog	2015-05-25 08:28:41.000000000 +0200
+++ libdebian-installer-0.100+nmu1/debian/changelog	2015-05-28 06:54:55.000000000 +0200
@@ -1,3 +1,10 @@
+libdebian-installer (0.100+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Make check Build-Depends optional via nocheck profile (Closes: #-1).
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 28 May 2015 06:54:36 +0200
+
 libdebian-installer (0.100) unstable; urgency=medium
 
   [ Philipp Kern ]
diff -Nru libdebian-installer-0.100/debian/control libdebian-installer-0.100+nmu1/debian/control
--- libdebian-installer-0.100/debian/control	2015-05-25 08:11:09.000000000 +0200
+++ libdebian-installer-0.100+nmu1/debian/control	2015-05-28 06:55:02.000000000 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
 Uploaders: Bastian Blank <waldi@debian.org>, Colin Watson <cjwatson@debian.org>, Christian Perrier <bubulle@debian.org>, Steve McIntyre <93sam@debian.org>
-Build-Depends: dpkg-dev (>= 1.13.5), debhelper (>= 9), dh-autoreconf, doxygen, pkg-config, check
+Build-Depends: dpkg-dev (>= 1.13.5), debhelper (>= 9), dh-autoreconf, doxygen, pkg-config, check <!nocheck>
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=d-i/libdebian-installer.git
 Vcs-Git: git://anonscm.debian.org/d-i/libdebian-installer.git

Reply to: