Your message dated Tue, 22 Sep 2015 06:34:24 +0000
with message-id <[email protected]>
and subject line Bug#799552: fixed in dh-exec 0.17
has caused the Debian Bug report #799552,
regarding dh-exec: BuildProfiles stanza make tool abort when no profile is set
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.)


-- 
799552: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799552
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-exec
Version: 0.16
Severity: important

Hello,

I have added a stage1 build profile to my package, and thus my
.install.in file looks like this:

#! /usr/bin/dh-exec
<!stage1 !stage2> bin/prog
include/* usr/include

But this fails when I don't pass any -P parameter to dpkg, or even when
I set DEB_BUILD_PROFILES to an empty string:

BuildProfiles stanza found, but DEB_BUILD_PROFILES unset at 
/usr/share/dh-exec/dh-exec-filter-build-profiles line 28, <> line 1.

and indeed that script does:

    if (!$ENV{'DEB_BUILD_PROFILES'}) {
        die "BuildProfiles stanza found, but DEB_BUILD_PROFILES unset";
    }

and so if there is no profile, it just aborts.  Is that really expected?
To circumvent that, I had to put

export DEB_BUILD_PROFILES ?= plain

in my debian/rules file to make sure it's not empty, that seems odd.

Samuel

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Samuel
<c> hiri, le cri ici, c des marrants
<c> j'ai un rep ".uglyhackdirectorywithoutacls" ds mon home
 -+- #ens-mim en stage -+-

--- End Message ---
--- Begin Message ---
Source: dh-exec
Source-Version: 0.17

We believe that the bug you reported is fixed in the latest version of
dh-exec, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gergely Nagy <[email protected]> (supplier of updated dh-exec 
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 [email protected])


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

Format: 1.8
Date: Mon, 21 Sep 2015 09:35:59 +0200
Source: dh-exec
Binary: dh-exec
Architecture: source
Version: 0.17
Distribution: unstable
Urgency: medium
Maintainer: Gergely Nagy <[email protected]>
Changed-By: Gergely Nagy <[email protected]>
Description:
 dh-exec    - Scripts to help with executable debhelper files
Closes: 799552
Changes:
 dh-exec (0.17) unstable; urgency=medium
 .
   * Do not error out when build profile stanzas are found, but
     DEB_BUILD_PROFILES is empty: let Dpkg::BuildProfiles handle that
     instead. Thanks Samuel Thibault <[email protected]> for the report!
     (Closes: #799552)
Checksums-Sha1:
 285e34dae2203952932d351d86a338c409bda1c2 1649 dh-exec_0.17.dsc
 a75b23975d51536cccf1fe4979fbbad8226b167e 32956 dh-exec_0.17.tar.xz
Checksums-Sha256:
 3f53c80461db727643dc4da2bbfab10811150d3258e98964dc5136372fca17f1 1649 
dh-exec_0.17.dsc
 a26710dcd98d718ccab10b51f9aeed41a4e4ad39fb846187818a10213d787f64 32956 
dh-exec_0.17.tar.xz
Files:
 c8fdac3c8ab40251777a9a12c603c16d 1649 devel extra dh-exec_0.17.dsc
 77f0f1d058225101607b3be18cf8802f 32956 devel extra dh-exec_0.17.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWAPFbAAoJEAoIPF8G4N1Com8P/1g8u82x8kyNZHcZYIHZT6Jr
FkGHglFHaBKvQJwWa4SkUNq+OOAKBKezTa4xdFgdJSaCsUeb8yyojT+YV3zqsHZc
tnKUX+UgkHChKChKor15gcntnc1rUaO8hpBNPFJh5yCLYe02nvN4TGctYWsuSVK5
XqASWVHeMZ99111Ovsjv9OOC+VFheE03/G8Uu4f69zzDTTtDSbB40X9HQNCmd+XV
6+UCXz2uu6pGVsoOVdQuP6gZGznjZtlJl6juo5UJI2Al2id00L/gGhDHdIeVLfLg
UF7xKYOxkWbVyWUEnyI7lA0ayUAjBMZb4d+I1gijKDRUh5QwxQeFLHoGeSnuYp0M
Ba+AuhIvUBBZ29DzyepxhzpaI51oEVI/9KgSNQXJxOPMCvxD7TYPUYCuhSrOoXRU
WpKQhg8AqhOnFefqsOlBOvMkckj0ndavx1+M5Gp/eP1wfsDf8qYyQSiF7by2QvPL
sMp9RP736dKxj5JmtANKzZRVMVnzJvy1eMdP4NhkMLc1loFrFoxV45mUMozcIYa2
NQx/B2wATUHPLHiaJLX9cxSIJ/l4dCgPY4WUg0nKpMVmMUCBv9scnEStwo015Tng
0qSa0UHG783e3oUbYBO3ngG5al4m40I+7thK19fctAfgGtTBLBmyEI4iHR5xvA44
5rCHJTSnkpwypWsGpkOJ
=xBy5
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to