Your message dated Wed, 06 Apr 2022 21:26:26 +0000
with message-id <[email protected]>
and subject line Bug#1008701: Removed package(s) from unstable
has caused the Debian Bug report #915903,
regarding broctl: reproducible build (usrmerge): embeds path of shell found via 
PATH
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.)


-- 
915903: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915903
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: broctl
Version: 1.4-1
Severity: normal
User: [email protected]
Usertags: usrmerge
Tags: patch

Dear Maintainer,

The package currently fails to build reproducibly on merged-usr vs
non-merged systems. This is because the build systems InstallShellScript
macro rewrites shebangs by looking up things via PATH which can lead
to picking up unwanted paths (eg. /usr/local/bin/bash).

The upstream build system has already identified this problem and
provides a configure flag to disable the rewriting: --binary-package

Unfortunately it seems dh doesn't use the provided configure script
but invokes CMake directly, thus I had to define the "internal" symbol
that --binary-package sets: -DBINARY_PACKAGE_MODE=true

Please see the attached patch that fixes this bug report.

Regards,
Andreas Henriksson
diff -Nru broctl-1.4/debian/changelog broctl-1.4/debian/changelog
--- broctl-1.4/debian/changelog 2015-10-30 23:33:09.000000000 +0100
+++ broctl-1.4/debian/changelog 2018-12-07 20:21:42.000000000 +0100
@@ -1,3 +1,11 @@
+broctl (1.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use --binary-package configure flag to avoid rewriting files
+    - fixes reproducible build on merged-usr vs non-merged systems
+
+ -- Andreas Henriksson <[email protected]>  Fri, 07 Dec 2018 20:21:42 +0100
+
 broctl (1.4-1) unstable; urgency=medium
 
   * New upstream version
diff -Nru broctl-1.4/debian/rules broctl-1.4/debian/rules
--- broctl-1.4/debian/rules     2015-10-30 23:13:44.000000000 +0100
+++ broctl-1.4/debian/rules     2018-12-07 20:21:42.000000000 +0100
@@ -11,7 +11,8 @@
 override_dh_auto_configure:
        dh_auto_configure -- \
        -DBRO_ETC_INSTALL_DIR=/etc/bro -DBRO_SCRIPT_INSTALL_PATH=/usr/share/bro 
\
-       -DBRO_SPOOL_DIR=/var/spool/bro -DBRO_LOG_DIR=/var/log/bro
+       -DBRO_SPOOL_DIR=/var/spool/bro -DBRO_LOG_DIR=/var/log/bro \
+       -DBINARY_PACKAGING_MODE=true
 
 override_dh_install:
        dh_install --fail-missing

--- End Message ---
--- Begin Message ---
Version: 1.4-1+rm

Dear submitter,

as the package broctl has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1008701

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to