Your message dated Wed, 11 Nov 2026 21:17:24 +0000
with message-id <[email protected]>
and subject line Bug#1021458: fixed in o3dgc 0~20131011-7
has caused the Debian Bug report #1021458,
regarding o3dgc: reproducible-builds: build path embedded in 
libo3dgc_common_lib.a
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.)


-- 
1021458: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021458
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: o3dgc
Severity: normal
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

The build path is embedded in
/usr/lib/x86_64-linux-gnu/libo3dgc_common_lib.a:

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

  /build/1st/o3dgc-0~20131011/src/o3dgc_common_lib/inc/o3dgcBinaryStream.h
  vs.
  /build/2/o3dgc-0~20131011/2nd/src/o3dgc_common_lib/inc/o3dgcBinaryStream.h

The attached patch to various CMakeLists.txt files fixes this by adding
-ffile-prefix-map to CMAKE_CXX_FLAGS.

Alternately, using the default CXXFLAGS from dpkg-buildflags would be
possible by removing debian/patches/fPIC.diff and possibly passing the
appropriate hardening build flags options.

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

Thanks for maintaining o3dgc!

live well,
  vagrant
From 6f2829d68f4afe5590358db40da99b0f88ffa662 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Sat, 8 Oct 2022 22:30:48 +0000
Subject: [PATCH] src/o3dgc*/CMakeLists.txt: Add -ffile-prefix-map to
 CMAKE_CXX_FLAGS to avoid embedding build paths.

https://reproducible-builds.org/docs/build-path/
---
 src/o3dgc_common_lib/CMakeLists.txt | 2 +-
 src/o3dgc_decode_lib/CMakeLists.txt | 2 +-
 src/o3dgc_encode_lib/CMakeLists.txt | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/o3dgc_common_lib/CMakeLists.txt b/src/o3dgc_common_lib/CMakeLists.txt
index 416195f..12abd85 100644
--- a/src/o3dgc_common_lib/CMakeLists.txt
+++ b/src/o3dgc_common_lib/CMakeLists.txt
@@ -3,6 +3,6 @@ include(${CMAKE_COMMON_INC})
 set(LIB_TYPE "STATIC" CACHE STRING "STATIC, SHARED or MODULE?")
 message("[o3dgc] \t LIB_TYPE " ${LIB_TYPE})
 #set(CMAKE_CXX_FLAGS "-g -Wall")
-set(CMAKE_CXX_FLAGS "-fPIC")
+set(CMAKE_CXX_FLAGS "-fPIC -ffile-prefix-map=${CMAKE_SOURCE_DIR}=.")
 add_library(o3dgc_common_lib ${PROJECT_CPP_FILES} ${PROJECT_C_FILES} ${PROJECT_INC_FILES} ${PROJECT_INL_FILES})
 
diff --git a/src/o3dgc_decode_lib/CMakeLists.txt b/src/o3dgc_decode_lib/CMakeLists.txt
index 0209cd4..f1adb61 100644
--- a/src/o3dgc_decode_lib/CMakeLists.txt
+++ b/src/o3dgc_decode_lib/CMakeLists.txt
@@ -3,7 +3,7 @@ include(${CMAKE_COMMON_INC})
 
 set(LIB_TYPE "STATIC" CACHE STRING "STATIC, SHARED or MODULE?")
 #set(CMAKE_CXX_FLAGS "-g -Wall")
-set(CMAKE_CXX_FLAGS "-fPIC")
+set(CMAKE_CXX_FLAGS "-fPIC -ffile-prefix-map=${CMAKE_SOURCE_DIR}=.")
 add_library(o3dgc_dec_lib ${PROJECT_CPP_FILES} ${PROJECT_C_FILES} ${PROJECT_INC_FILES} ${PROJECT_INL_FILES})
 include_directories("${${PROJECT_NAME}_SOURCE_DIR}/../o3dgc_common_lib/inc")
 
diff --git a/src/o3dgc_encode_lib/CMakeLists.txt b/src/o3dgc_encode_lib/CMakeLists.txt
index 5a72e1a..c926c6b 100644
--- a/src/o3dgc_encode_lib/CMakeLists.txt
+++ b/src/o3dgc_encode_lib/CMakeLists.txt
@@ -3,7 +3,7 @@ include(${CMAKE_COMMON_INC})
 
 set(LIB_TYPE "STATIC" CACHE STRING "STATIC, SHARED or MODULE?")
 #set(CMAKE_CXX_FLAGS "-g -Wall")
-set(CMAKE_CXX_FLAGS "-fPIC")
+set(CMAKE_CXX_FLAGS "-fPIC -ffile-prefix-map=${CMAKE_SOURCE_DIR}=.")
 add_library(o3dgc_enc_lib ${PROJECT_CPP_FILES} ${PROJECT_C_FILES} ${PROJECT_INC_FILES} ${PROJECT_INL_FILES})
 include_directories("${${PROJECT_NAME}_SOURCE_DIR}/../o3dgc_common_lib/inc")
 
-- 
2.37.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: o3dgc
Source-Version: 0~20131011-7
Done: Vagrant Cascadian <[email protected]>

We believe that the bug you reported is fixed in the latest version of
o3dgc, 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.
Vagrant Cascadian <[email protected]> (supplier of updated o3dgc 
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: SHA512

Format: 1.8
Date: Wed, 11 Nov 2026 12:35:58 -0800
Source: o3dgc
Architecture: source
Version: 0~20131011-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <[email protected]>
Changed-By: Vagrant Cascadian <[email protected]>
Closes: 1021458
Changes:
 o3dgc (0~20131011-7) unstable; urgency=medium
 .
   * QA upload.
   * debian/patches: Apply patch to avoid embedded build paths.
     (Closes: #1021458)
   * debian/control: Drop Rules-Requires-Root field.
   * debian/control: Drop Priority field.
   * Remove un-used .install files o3dgc1.install o3dgc-dev.install.
   * Drop use of dh-exec.
   * debian/rules: Pass --with=single-binary to dh.
   * debian/control: Update to debhelper-compat 14.
Checksums-Sha1:
 f0f6f1d8a26e7754cffa006c3fd0bb722c9c437f 1309 o3dgc_0~20131011-7.dsc
 5f0b4f2f4f74e9d5d3726e3598fcb0da5cd5d7ef 4812 o3dgc_0~20131011-7.debian.tar.xz
 61047bd8f8bf2b730698edea26b8ca4c5810a71e 5938 
o3dgc_0~20131011-7_amd64.buildinfo
Checksums-Sha256:
 51f84e74f142f91b76f9b817e882024cb2f2c3dc0e78e14cd576c59e5fb0b41a 1309 
o3dgc_0~20131011-7.dsc
 8fad41572740457fc8664024ddc511d5e621a6e744b6a9460a4dc25cb874e5d3 4812 
o3dgc_0~20131011-7.debian.tar.xz
 e120bc4de37c3585f0cdace9a231526577f36ad8c1d0c04c98067289fd69074f 5938 
o3dgc_0~20131011-7_amd64.buildinfo
Files:
 500578e805ec247261804223b99ebe64 1309 libs optional o3dgc_0~20131011-7.dsc
 4533ec18b2e452884ab08bff1ca78720 4812 libs optional 
o3dgc_0~20131011-7.debian.tar.xz
 4601f3d05c93a2f536b0453386889ec4 5938 libs optional 
o3dgc_0~20131011-7_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCavTTbyAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqo+aAQD91f8a2BnuLDBR
FNFDlGtZDIYRzhsTB9/eBAhoVE4ruQD+O0DOuZO9otJI2UaH2BaxV4ilWW/LDnXl
oVKU450tKgA=
=8qBN
-----END PGP SIGNATURE-----

Attachment: pgp1PRCHdlHoY.pgp
Description: PGP signature


--- End Message ---

Reply via email to