Hi Holger! On Tue, Dec 22, 2020 at 12:45:13AM +0100, Holger Levsen wrote: > Package: librepository > Version: 1.1.6-3 > Severity: serious > > Dear Maintainer, > > I wanted to do a source only upload of librepository > (because there are no .buildinfo files for it in the archive, > as it has been uploaded before 2016), but it fails to build > the source package. The binary package builds just fine. > > Steps to reproduce: > > $ apt source librepository > $ cd librepository-* > $ dpkg-buildpackage > dpkg-buildpackage: info: source package librepository > dpkg-buildpackage: info: source version 1.1.6-3 > dpkg-buildpackage: info: source distribution unstable > dpkg-buildpackage: info: source changed by Emmanuel Bourg <ebo...@apache.org> > dpkg-buildpackage: info: host architecture amd64 > dpkg-source --before-build . > fakeroot debian/rules clean > dh clean --with javahelper > dh_auto_clean > ant -propertyfile ./debian/ant.properties clean > /usr/bin/java: error while loading shared libraries: libjli.so: cannot open > shared object file: No such file or directory > dh_auto_clean: error: ant -propertyfile ./debian/ant.properties clean > returned exit code 127 > make: *** [debian/rules:6: clean] Error 127 > dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned > exit status 2 > $ > > (This is with or without any changes to the source package.)
That's interesting. It builds successfully for me in a clean sid chroot using sbuild. libjli.so is part of the JRE, which is a dependency of default-jdk: $ dpkg -S libjli.so openjdk-11-jre-headless:amd64: /usr/lib/jvm/java-11-openjdk-amd64/lib/jli/libjli.so Do you mind sharing the output of `apt-cache policy default-jdk` and `dpkg -l | grep openjdk` on your build system? I'm curious as to how the build dep for default-jdk can be satisfied without the file being present. Thank you, tony
signature.asc
Description: PGP signature