Bug#1045144: grpc-java: binary-any FTBFS with recent jdupes
Aurelien Jarno
aurel32 at debian.org
Sun Aug 13 20:05:22 BST 2023
Source: grpc-java
Version: 1.41.3+ds-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Dear maintainer,
grpc-java fails to build from source when building only binary-any and
not binary-all:
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_installman -a -O--buildsystem=gradle
| install -m0755 -d debian/protobuf-compiler-grpc-java-plugin/usr/share/man/man1/
| install -p -m0644 ./debian/grpc_java_plugin.1 debian/protobuf-compiler-grpc-java-plugin/usr/share/man/man1/grpc_java_plugin.1
| man-recode --to-code UTF-8 --suffix .dh-new debian/protobuf-compiler-grpc-java-plugin/usr/share/man/man1/grpc_java_plugin.1
| mv debian/protobuf-compiler-grpc-java-plugin/usr/share/man/man1/grpc_java_plugin.1.dh-new debian/protobuf-compiler-grpc-java-plugin/usr/share/man/man1/grpc_java_plugin.1
| chmod 0644 -- debian/protobuf-compiler-grpc-java-plugin/usr/share/man/man1/grpc_java_plugin.1
| dh_installsystemduser -a -O--buildsystem=gradle
| dh_perl -a -O--buildsystem=gradle
| rm -f debian/protobuf-compiler-grpc-java-plugin.debhelper.log
| debian/rules override_dh_link
| make[1]: Entering directory '/<<PKGBUILDDIR>>'
| dh_link
| jdupes -rl debian/libgrpc-java/usr
|
| could not stat dir debian/libgrpc-java/usr
| No duplicates found.
| make[1]: *** [debian/rules:46: override_dh_link] Error 1
The full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=grpc-java&arch=riscv64&ver=1.41.3%2Bds-1&stamp=1691809480&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 patch is:
--- grpc-java-1.41.3+ds/debian/rules
+++ grpc-java-1.41.3+ds/debian/rules
@@ -41,6 +41,5 @@
override_dh_auto_test:
-override_dh_link:
- dh_link
+execute_after_dh_link-indep:
jdupes -rl debian/libgrpc-java/usr
Regards
Aurelien
More information about the pkg-java-maintainers
mailing list