raulcd commented on code in PR #47864:
URL: https://github.com/apache/arrow/pull/47864#discussion_r2448971904
##########
dev/tasks/linux-packages/apt/build.sh:
##########
@@ -93,6 +110,9 @@ fi
# DEB_BUILD_OPTIONS="${DEB_BUILD_OPTIONS} noopt"
export DEB_BUILD_OPTIONS
df -h
+if [ "${REPROTEST:-no}" = "yes" ]; then
+ run reprotest --verbosity 2
--vary=-kernel,-fileordering,-domain_host,-build_path -s .. ./reprotest.sh
**.deb
Review Comment:
I am currently investigating why if `build_path` is exercised, basically
applying the following diff:
```suggestion
run reprotest --verbosity 2 --vary=-kernel,-fileordering,-domain_host -s
.. ./reprotest.sh **.deb
```
The binaries generated (`**.deb`) are not reproducible, I've tried different
approaches like:
```diff
diff --git a/dev/tasks/linux-packages/apache-arrow/debian/rules
b/dev/tasks/linux-packages/apache-arrow/debian/rules
index 19dba393b1..17ef34fc4b 100755
--- a/dev/tasks/linux-packages/apache-arrow/debian/rules
+++ b/dev/tasks/linux-packages/apache-arrow/debian/rules
@@ -6,7 +6,7 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
-export DEB_BUILD_MAINT_OPTIONS=reproducible=-timeless
+export DEB_BUILD_MAINT_OPTIONS= hardening=+all
reproducible=-timeless,+fixfilepath
BUILD_TYPE=relwithdebinfo
@@ -31,6 +31,7 @@ override_dh_auto_configure:
--builddirectory=cpp_build \
--buildsystem=cmake+ninja \
-- \
+ $(shell dpkg-buildflags --export=configure) \
-DARROW_AZURE=$${ARROW_AZURE} \
-DARROW_BUILD_UTILITIES=ON \
-DARROW_COMPUTE=ON \
```
but no luck so far. More info about `build_path` in reproducible builds:
https://reproducible-builds.org/docs/build-path/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]