Bug#939601: Can't build bnd from salsa

tony mancill tmancill at debian.org
Sat Sep 7 04:18:06 BST 2019


On Fri, Sep 06, 2019 at 08:49:12PM +0200, Mechtilde Stehmann wrote:
> Package: bnd
> Version: 3.5.0
> Severity: normal
> 
> I want to build core (ITP: #939091) from
> http://central.maven.org/maven2/com/google/zxing/core/
> 
> This package is in turn a dependency on JVerein (ITP: #929477)
> 
> Core need bnd as a dependency. So I tried to build bnd on my machine.
> this failed.
> 
> I try to build it with gbp buildpackage. I get the following output.
> 
> I: using cowbuilder as pbuilder
> 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)
> W: Unmet build-dependency in source
> 
> I only clone the repo from salsa https://salsa.debian.org/java-team/bnd
> and start gbp buildpackage --git-verbose
> 
> I can't see any reason why it didn't install openjdk and other important
> packages.
> 
> System Information:
> DebianRelease:
> 
> Pbuilder choot with sid

Hi Mechtilde,

I am not able to reproduce your build failure.  bnd builds correctly for
me both via pbuilder in a cowbuilder chroot and sbuild.  I think you
have an issue with your pbuilder configuration not correctly installing
build dependencies.  What is the value of PBUILDERSATISFYDEPENDSCMD in
your ~/.pbuilderrc?

To prove to yourself that the problem is not with the bnd source
package, you can do the following:

- use `sudo cowbuilder --login` to enter your chroot shell
- configure a deb-src URL in /etc/apt/sources.list
- `apt update && apt source bnd && apt -y build-dep bnd`
- `cd bnd-3.5.0 && dpkg-buildpackage -us -uc`

If you continue to have troubles with the build, please send me the
contents of your .pbuilderrc and the complete build logs and I'll see if
I can help debug the issue.

Cheers,
tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20190906/2cf20e5f/attachment.sig>


More information about the pkg-java-maintainers mailing list