Gcj-4.2 version 4.2.4-3ubuntu1 has not-policy-compliant Build-depends.

Bug #268132 reported by Andrea Gasparini
2
Affects Status Importance Assigned to Milestone
gcj-4.2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gcj-4.2

Build-depends of gcj contains empty bracket: "[]".

As Debian policy stands, in 7.1, architecture-specific dependencies could be either all negated architectures (e.g. 'foo [!m68k !arm]') or all non-negated architectures (e.g. 'foo [m68k arm]').
So, it's impossible to tell whether an empty list is inclusive or exclusive, and as such it would be impossible to tell whether that dependency has to be considered or not.

This could lead to build problem, as the implementation of build machines could be different.

Revision history for this message
Andrea Gasparini (gaspa) wrote :

Also lintian complains about this:

Now running lintian...
E: gcj-4.2 source: malformed-override gcc-4.2: invalid-arch-string-in-source-relation
W: gcj-4.2 source: out-of-date-standards-version 3.7.3 (current is 3.8.0)
E: gcj-4.2 source: bad-relation build-depends: fastjar []
E: gcj-4.2 source: bad-relation build-depends: libmagic-dev []
E: gcj-4.2 source: bad-relation build-depends: libecj-java (>= 3.3.0-2) []
E: gcj-4.2 source: bad-relation build-depends: zip []
E: gcj-4.2 source: bad-relation build-depends: libxtst-dev []
E: gcj-4.2 source: bad-relation build-depends: libxt-dev []
E: gcj-4.2 source: bad-relation build-depends: libgtk2.0-dev (>= 2.4.4-2) []
E: gcj-4.2 source: bad-relation build-depends: libart-2.0-dev []
E: gcj-4.2 source: bad-relation build-depends: libcairo2-dev []
E: gcj-4.2 source: bad-relation build-depends: libgconf2-dev []
E: gcj-4.2 source: invalid-arch-string-in-source-relation none [build-depends: xulrunner-1.9-dev [!none !hurd-i386]]

Changed in gcj-4.2:
status: New → Confirmed
Revision history for this message
Andrea Gasparini (gaspa) wrote :

This debdiff should fix the problem.
( note: I didn't rebuild the control file, so perhaps it should be done before uploading in official archives)

Revision history for this message
Andrea Gasparini (gaspa) wrote :

A buildlog of the package with this change is
http://launchpadlibrarian.net/17531036/buildlog_ubuntu-intrepid-amd64.gcj-4.2_4.2.4-3ubuntu2%7Egaspa2_FULLYBUILT.txt.gz

( note: ~gaspa* revisions are _only_ rebuilds )

Revision history for this message
Andrea Gasparini (gaspa) wrote :

Sorry, the debdiff must have also changes to control file, even if autogenerated. :)
Here's the right one.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcj-4.2 - 4.2.4-3ubuntu2

---------------
gcj-4.2 (4.2.4-3ubuntu2) intrepid; urgency=low

  * rules.conf: filter empty '[]' and '!none' in control file.
    (LP: #268132)

 -- Andrea Gasparini <email address hidden> Wed, 10 Sep 2008 23:22:52 +0200

Changed in gcj-4.2:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.