Your message dated Fri, 23 Aug 2024 21:08:47 +0000
with message-id <e1shbwz-009ntc...@fasolo.debian.org>
and subject line Bug#1073070: Removed package(s) from unstable
has caused the Debian Bug report #1021331,
regarding cclive: reproducible-builds: build path embedded in /usr/bin/cclive
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 ow...@bugs.debian.org
immediately.)


-- 
1021331: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021331
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: cclive
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The build path is embedded in /usr/bin/cclive:

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/cclive.html

  
g++,·-g·-O2·-ffile-prefix-map=/build/1st/cclive-0.9.3=.·-fstack-protector-strong
 ...
  vs.
  
g++,·-g·-O2·-ffile-prefix-map=/build/2/cclive-0.9.3/2nd=.·-fstack-protector-strong
 ...

The attached proof-of-concept patch to src/cc/options.h fixes this by
not embedding CXXFLAGS in the resulting binaries.

A better fix would be to adjust the included CXXFLAGS and replace the
build path with a placeholder string (e.g. BUILDPATH), but maybe someone
who knows cclive specifically would have a better idea where would be
best to do that.

According to my local tests, with this patch applied, cclive should build
reproducibly on tests.reproducible-builds.org!

Thanks for maintaining cclive!

live well,
  vagrant
From cb92801bf7abb55ba8af60a804aebe401f13717a Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Thu, 6 Oct 2022 00:37:11 +0000
Subject: [PATCH] src/cc/options.h: Avoid recording the build flags.

These flags embed the build path, which may vary between builds.

https://tests.reproducible-builds.org/debian/issues/unstable/records_build_flags_issue.html
---
 src/cc/options.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cc/options.h b/src/cc/options.h
index c8df39b..49ea333 100644
--- a/src/cc/options.h
+++ b/src/cc/options.h
@@ -747,7 +747,7 @@ private:
 #endif
               << "\n  built on " << BUILD_TIME
               << " for "         << CANONICAL_TARGET
-              << "\n    with "   << CXX", "CXXFLAGS
+              << "\n    with "   << CXX
               << "\n  libquvi "  << quvi::version()
               << "\n  libquvi-scripts "
               << quvi_version(QUVI_VERSION_SCRIPTS)
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 0.9.3-0.3+rm

Dear submitter,

as the package cclive 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/1073070

The version of this package that was in Debian prior to this removal
can still be found using https://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
ftpmas...@ftp-master.debian.org.

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

--- End Message ---

Reply via email to