On 2026-05-02, Vagrant Cascadian wrote: > On 2025-02-19, Chris Lamb wrote: >> Whilst working on the Reproducible Builds effort [0], we noticed that >> rocdbgapi could not be built reproducibly. >> >> This is because it embedded the a timezone-varying date (fixed by passing >> "UTC" in CMakeLists.txt) as well as the build username (fixed by exporting >> a fixed value of the "USER" environment variable). >> >> Patch attached. > > This patch still basically applies and is still needed to make the > package build reproducibly. > > I would like to submit an NMU in the coming week or two to get this > fixed. Plase let me know if there are outstanding concerns!
I have uploaded an NMU to DELAYED/10. debdiff attached. live well, vagrant
diff -Nru rocdbgapi-6.4.3/debian/changelog rocdbgapi-6.4.3/debian/changelog --- rocdbgapi-6.4.3/debian/changelog 2025-11-07 18:37:58.000000000 -0800 +++ rocdbgapi-6.4.3/debian/changelog 2026-05-13 14:38:07.000000000 -0700 @@ -1,3 +1,14 @@ +rocdbgapi (6.4.3-1.1) unstable; urgency=medium + + * Non-maintainer upload. + + [ Chris Lamb ] + * CMakeLists.txt: Fix timezone-varying date. (Closes: #1098350) + * debian/rules: Use fixed value for the "USER" environment variable. + (Closes: #1098350) + + -- Vagrant Cascadian <[email protected]> Wed, 13 May 2026 14:38:07 -0700 + rocdbgapi (6.4.3-1) unstable; urgency=medium [ Cordell Bloor ] diff -Nru rocdbgapi-6.4.3/debian/patches/reproducible-builds.patch rocdbgapi-6.4.3/debian/patches/reproducible-builds.patch --- rocdbgapi-6.4.3/debian/patches/reproducible-builds.patch 1969-12-31 16:00:00.000000000 -0800 +++ rocdbgapi-6.4.3/debian/patches/reproducible-builds.patch 2026-05-13 14:38:07.000000000 -0700 @@ -0,0 +1,21 @@ +From: Chris Lamb <[email protected]> +Date: Wed, 19 Feb 2025 11:44:51 +0000 +X-Dgit-Generated: 6.4.3-1 57e7c07768065ebcbbe5a4e235ddcb70d4a12560 +Subject: CMakeLists.txt: Fix timezone-varying date. (Closes: #1098350) + + +--- + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e5f33c1..0bbd79b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -154,7 +154,7 @@ if(DEFINED ENV{ROCM_BUILD_ID}) + # ROCM_BUILD_ID is set by the ROCm-CI build environment. + set(build_info $ENV{ROCM_BUILD_ID}) + else() +- string(TIMESTAMP NOW "%Y%m%dT%H%M%S") ++ string(TIMESTAMP NOW "%Y%m%dT%H%M%S" UTC) + set(build_info developer-build-${NOW}) + + if(DEFINED ENV{USER}) diff -Nru rocdbgapi-6.4.3/debian/patches/series rocdbgapi-6.4.3/debian/patches/series --- rocdbgapi-6.4.3/debian/patches/series 2025-11-07 18:26:11.000000000 -0800 +++ rocdbgapi-6.4.3/debian/patches/series 2026-05-13 14:38:07.000000000 -0700 @@ -1 +1,2 @@ pkgconfig-multiarch.patch +reproducible-builds.patch diff -Nru rocdbgapi-6.4.3/debian/rules rocdbgapi-6.4.3/debian/rules --- rocdbgapi-6.4.3/debian/rules 2025-11-07 18:24:19.000000000 -0800 +++ rocdbgapi-6.4.3/debian/rules 2026-05-13 14:38:07.000000000 -0700 @@ -1,6 +1,7 @@ #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export VERBOSE=1 +export USER=debian %: dh $@ -Scmake
signature.asc
Description: PGP signature

