Bug#1051081: dart: binary-any FTBFS with recent jdupes
Aurelien Jarno
aurel32 at debian.org
Sat Sep 2 13:39:59 BST 2023
Source: dart
Version: 6.12.1+dfsg4-12
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Dear maintainer,
dart fails to build from source when building only binary-any and not
binary-all. From my build log on amd64:
| make[1]: Leaving directory '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build'
| debian/rules execute_after_dh_auto_install
| make[1]: Entering directory '/<<PKGBUILDDIR>>'
| rm -f debian/tmp/usr/share/doc/dart/data/screencap/.KEEP
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_install -a -O--buildsystem=pybuild
| dh_installdocs -a -O--buildsystem=pybuild
| dh_installchangelogs -a -O--buildsystem=pybuild
| dh_python3 -a -O--buildsystem=pybuild
| dh_installsystemduser -a -O--buildsystem=pybuild
| dh_perl -a -O--buildsystem=pybuild
| debian/rules execute_before_dh_link
| make[1]: Entering directory '/<<PKGBUILDDIR>>'
| jdupes -rl debian/dart-doc/usr
|
| could not stat dir debian/dart-doc/usr
| No duplicates found.
| make[1]: *** [debian/rules:40: execute_before_dh_link] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:19: binary-arch] Error 2
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
A full build log on riscv64 is also available:
https://buildd.debian.org/status/fetch.php?pkg=dart&arch=riscv64&ver=6.12.1%2Bdfsg4-12&stamp=1693507283&raw=0
The return value of jdupes changed after bookworm to no longer return
success when the given paths do not exist, which causes this failure in
binary-any builds.
A possible untested patch is:
--- dart-6.12.1+dfsg4/debian/rules
+++ dart-6.12.1+dfsg4/debian/rules
@@ -36,5 +36,5 @@
-X.sdf -X.skel -X.urdf -X.vsk -X.world \
-X.c3d -X.changelog -X.dof -X.path -X.tris
-execute_before_dh_link:
+execute_before_dh_link-indep:
jdupes -rl debian/dart-doc/usr
Regards
Aurelien
More information about the debian-science-maintainers
mailing list