Source: ros-dynamic-reconfigure
Version: 1.7.6-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
ros-dynamic-reconfigure could not be built reproducibly.
This is because the testsuite does not completely tidy up afer itself,
leaving files such that the binary package differs depending on whether
the testsuite is executed or not.
Patch attached that deletes the extra files in debian/rules, although
of course it may be better to patch the upstream build system (and send
upstream).
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2026-10-09 10:30:21.252586584 -0700
--- b/debian/rules 2026-10-09 11:03:36.907557734 -0700
@@ -9,7 +9,11 @@
dh $@ --buildsystem=ros
execute_after_dh_auto_install:
- rm
debian/tmp/usr/share/dynamic_reconfigure/cmake/dynamic_reconfigure-extras.cmake.em
+ rm -rf \
+
debian/tmp/usr/share/dynamic_reconfigure/cmake/dynamic_reconfigure-extras.cmake.em
\
+
debian/tmp/usr/lib/python3/dist-packages/dynamic_reconfigure/cfg \
+ debian/tmp/usr/include/dynamic_reconfigure/TestConfig.h \
+
debian/tmp/usr/lib/$(DEB_TARGET_GNU_TYPE)/cmake/dynamic_reconfigure/dynamic_reconfigureConfig.cmake
sed -i -e '1s%^#!.*%#!/usr/bin/python3%' \
debian/tmp/usr/share/dynamic_reconfigure/cmake/gendeps \
debian/tmp/usr/share/dynamic_reconfigure/cmake/dynamic_reconfigure/parameter_generator.py