Your message dated Mon, 9 Jun 2014 00:50:17 +0300
with message-id <[email protected]>
and subject line [libraw1394] Bootstrap using Build-Depends-Indep
has caused the Debian Bug report #749990,
regarding [libraw1394] Modify the control file for bootstrapping without
docbook-utils
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 [email protected]
immediately.)
--
749990: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749990
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libraw1394
Version: 2.1.0-1
Severity: wishlist
Tags: patch
Hi,
This is a follow-up to "allow bootstrapping without docbook-utils".
This patch modifies the debian/control file for full build profile
support:
- adds <!profile.stage1> annotations to the docbook-utils and
docbook-xml build dependencies
- adds Build-Profile: !stage1 to the libraw1394-doc binary package and
removes the no longer needed -Nlibraw1394-doc debhelper option
- bumps the required version for debhelper and dpkg-dev dependencies,
both for build profiles support
Uploading this would have to wait until the Debian archive build
infrastructure fully supports build profiles.
G'luck,
Peter
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: i386 (i686)
Foreign Architectures: amd64
Kernel: Linux 3.14-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
Peter Pentchev [email protected] [email protected] [email protected]
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
This sentence claims to be an Epimenides paradox, but it is lying.
From 162e0fb3adbf7264f380789a483d7df8c5c14dd6 Mon Sep 17 00:00:00 2001
From: Peter Pentchev <[email protected]>
Date: Sat, 31 May 2014 14:44:26 +0300
Subject: [PATCH] stage1: add build profiles support to d/control
Use proper build profile annotations in the debian/control file:
- add <!profile.stage1> to the build dependencies
- add Build-Profiles: !stage1 to the libraw1394-doc binary package
and remove the -N... debhelper option from the rules file
---
debian/control | 6 ++++--
debian/rules | 5 -----
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/debian/control b/debian/control
index 0b49015..b38b418 100644
--- a/debian/control
+++ b/debian/control
@@ -1,8 +1,9 @@
Source: libraw1394
Priority: optional
Maintainer: Guus Sliepen <[email protected]>
-# For stage1 builds, drop the docbook-utils and docbook-xml dependencies.
-Build-Depends: debhelper (>= 9), autotools-dev, docbook-utils, docbook-xml,
dpkg-dev (>= 1.16.1~)
+Build-Depends: debhelper (>= 9.20140227), autotools-dev,
+ docbook-utils <!profile.stage1>, docbook-xml <!profile.stage1>,
+ dpkg-dev (>= 1.17.2)
Standards-Version: 3.9.3
Section: libs
Homepage: https://ieee1394.wiki.kernel.org/
@@ -27,6 +28,7 @@ Description: library for direct access to IEEE 1394 bus -
development files
Package: libraw1394-doc
Architecture: all
Section: doc
+Build-Profiles: !stage1
Depends: ${misc:Depends}
Description: Reference manual and documentation about libraw1394
libraw1394 is the only supported interface to the kernel side raw1394
diff --git a/debian/rules b/debian/rules
index c641a04..3aa01a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,5 @@
#!/usr/bin/make -f
-ifneq (,$(filter stage1,$(DEB_BUILD_PROFILES)))
-DH_OPTIONS += -Nlibraw1394-doc
-export DH_OPTIONS
-endif
-
%:
dh $@
--
2.0.0.rc2
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Hi,
Here's another take on the build dependency loop issue involving
libraw1394 and (through a long dependency list) docbook-utils.
What do you think of the attached very simple patch that only moves
docbook-utils and docbook-xml from Build-Depends to Build-Depends-Indep
instead?
Since the bootstrapping stage1 build depends on the fact that packages
built in different profiles are exactly the same (if built at all), it
will only build arch-dependent packages and use the arch:all ones
already available from the Debian archive. Thus, moving the docbook
dependencies to B-D-I will remove the loop and still build the arch:any
packages in one fell swoop. This simple solution also removes the need
for any build-profile-specific modifications to either the rules file or
the control file, so no more Build-Profiles headers, no more
<!profile.stage1> notations, no more need for #749990 at all.
Thanks again for your work on Debian and your consideration of this
issue!
G'luck,
Peter
--
Peter Pentchev [email protected] [email protected] [email protected]
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
signature.asc
Description: Digital signature
--- End Message ---