Bug#939601: Can't build bnd from salsa
gregor herrmann
gregoa at debian.org
Sat Sep 7 13:03:32 BST 2019
On Sat, 07 Sep 2019 12:41:56 +0200, Mechtilde Stehmann wrote:
> > and the complete build logs
> you can find it attached.
> I only masked the path a little bit fro personal information.
> dpkg-checkbuilddeps: error: Unmet build dependencies: libfindbugs-ant-java gradle-debian-helper (>= 1.6~) libbindex-java (>= 2.2+svn101) libfelix-framework-java libfelix-gogo-runtime-java libfelix-resolver-java libosgi-compendium-java (>= 6) libosgi-core-java (>= 6.0.0)
> [1;33mW: Unmet build-dependency in source[0m
> dh clean --buildsystem=gradle --with maven-repo-helper
> dh_testdir -O--buildsystem=gradle
> debian/rules override_dh_auto_clean
> make[1]: Entering directory '/home/../../../01_Salsa/Bnd/bnd'
> dh_auto_clean
> dh_auto_clean: unable to load build system class 'gradle': Can't locate Debian/Debhelper/Buildsystem/gradle.pm in @INC (you may need to install the Debian::Debhelper::Buildsystem::gradle module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 2) line 1.
> BEGIN failed--compilation aborted at (eval 2) line 1.
>
> make[1]: *** [debian/rules:75: override_dh_auto_clean] Error 255
> make[1]: Leaving directory '/home/../../../01_Salsa/Bnd/bnd'
> make: *** [debian/rules:14: clean] Error 2
That's a classical "trap" of cowbuilder. What happens here is that it
builds a source package which is then handled to the chroot for
building, and this includes running "debian/rules clean" - in the
normal environment and not yet in the chroot with all
build-dependencies installed.
In practice what we see in the log is:
- the warning about unmet build-depedencies which is harmless in most
cases and for most mentioned packages
- "dh clean" failing because it uses "--buildsystem=gradle" and
Debian/Debhelper/Buildsystem/gradle.pm is not available (in the
normal environment) / the "gradle-debian-helper" package is not
installed
What you can do is
- install gradle-debian-helper on your machine
- somehow pass --use-pdebuild-internal to the build (but I'm never
sure where this fits into the myriad of tools which call each
other) so the former might be easier
Cheers,
gregor
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`- NP: Vieja Trova Santiaguera: Mil Gracias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20190907/413925fb/attachment.sig>
More information about the pkg-java-maintainers
mailing list