Bug#384357: libcommons-collections3-java: FTBFS: Build-Depends-Indep specified twice

Aurelien Jarno aurel32 at debian.org
Wed Aug 23 18:08:17 UTC 2006


Package: libcommons-collections3-java
Version: 3.1a-3
Severity: serious
Tags: patch etch sid
Justification: fails to build from source

>From my build log:

| ------------------------------------------------------------------------------
| dpkg-source: extracting libcommons-collections3-java in libcommons-collections3-java-3.1a
| dpkg-buildpackage: source package is libcommons-collections3-java
| dpkg-buildpackage: source version is 3.1a-3
| dpkg-buildpackage: host architecture i386
| dpkg-buildpackage: source version without epoch 3.1a-3
|  /usr/bin/fakeroot debian/rules clean
| debian/rules:7: /usr/share/cdbs/1/rules/debhelper.mk: No such file or directory
| debian/rules:8: /usr/share/cdbs/1/rules/simple-patchsys.mk: No such file or directory
| debian/rules:9: /usr/share/cdbs/1/class/ant.mk: No such file or directory
| make: *** No rule to make target `/usr/share/cdbs/1/class/ant.mk'.  Stop.
| ******************************************************************************
| Build finished at 20060823-1725
| FAILED [dpkg-buildpackage died]
| Purging chroot-unstable/build/buildd/libcommons-collections3-java-3.1a
| ------------------------------------------------------------------------------

debhelper and cdbs are not installed on the system because the control file is incorrect:

Source: libcommons-collections3-java
Section: libs
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Wolfgang Baer <WBaer at gmx.de>, Arnaud Vandyck <avdyk at debian.org>
Build-Depends-Indep: debhelper (>= 4.2.30), cdbs (>=0.4.21)
Build-Depends-Indep: ant, ant-optional, java-gcj-compat-dev
Standards-Version: 3.7.2

Only the second line is taken into account.

The following patch fixes the problem:

--- debian/control.orig 2006-08-23 20:07:15.398625637 +0200
+++ debian/control      2006-08-23 20:06:29.293561257 +0200
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Wolfgang Baer <WBaer at gmx.de>, Arnaud Vandyck <avdyk at debian.org>
-Build-Depends-Indep: debhelper (>= 4.2.30), cdbs (>=0.4.21)
+Build-Depends: debhelper (>= 4.2.30), cdbs (>=0.4.21)
 Build-Depends-Indep: ant, ant-optional, java-gcj-compat-dev
 Standards-Version: 3.7.2


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)




More information about the pkg-java-maintainers mailing list