chokes on invalid build-dependencies, and not telling why

Bug #374636 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Triaged
Low
Unassigned

Bug Description

OpenPGP: *Attachments to this message have not been signed or encrypted*

OpenPGP: *Parts of the message have NOT been signed or encrypted*

Rejected:
openjdk-6_6b16~pre2-0ubuntu1.dsc: invalid build-depends field; cannot be parsed by apt: Problem Parsing Dependency

openjdk-6 (6b16~pre2-0ubuntu1) karmic; urgency=low

  * Update to re-tagged code drop (b16).
  * Update IcedTea build infrastructure (20090510).
  * Remove patches integrated in IcedTea.
  * Remove GCJ Web Plugin support.
  * Remove build infrastructure to build additional VM's, integrated
    in IcedTea.
  * Stop building the openjdk-6-source-files package.
  * README.Debian: Document using the different VM's.
  * Use GCC-4.3 on sparc, ICE with GCC-4.4.
  * Fix problem with the ARM assembler interpreter, when executing a 'new'
    bytecode with a double on the top of the stack (Edward Nevill).
  * Run the testsuite for the zero build on ix86 architectures.

Date: Sun, 10 May 2009 23:37:42 +0200
Changed-By: Matthias Klose <email address hidden>
Maintainer: OpenJDK Team <email address hidden>

===

If you don't understand why your files were rejected, or if the
override file requires editing, please go to:
http://answers.launchpad.net/soyuz

-- You are receiving this email because you are the uploader, maintainer or signer of the above package. ********* *BEGIN ENCRYPTED or SIGNED PART* ********* Format: 1.8 Date: Sun, 10 May 2009 23:37:42 +0200 Source: openjdk-6 Binary: openjdk-6-jdk openjdk-6-jre-headless openjdk-6-jre openjdk-6-jre-lib openjdk-6-demo openjdk-6-source openjdk-6-doc openjdk-6-dbg icedtea6-plugin icedtea-6-jre-cacao openjdk-6-jre-zero Architecture: source Version: 6b16~pre2-0ubuntu1 Distribution: karmic Urgency: low Maintainer: OpenJDK Team <email address hidden> Changed-By: Matthias Klose <email address hidden> Description: icedtea-6-jre-cacao - Alternatve JVM for OpenJDK, using Cacao icedtea6-plugin - web browser plugin based on OpenJDK and IcedTea to execute Java a openjdk-6-dbg - Java runtime based on OpenJDK (debugging symbols) openjdk-6-demo - Java runtime based on OpenJDK (demos and examples) openjdk-6-doc - OpenJDK Development Kit (JDK) documentation openjdk-6-jdk - OpenJDK Development Kit (JDK) openjdk-6-jre - OpenJDK Java runtime, using ${vm:Name} openjdk-6-jre-headless - OpenJDK Java runtime, using ${vm:Name} (headless) openjdk-6-jre-lib - OpenJDK Java runtime (architecture independent libraries) openjdk-6-jre-zero - Alternatve JVM for OpenJDK, using Zero/Shark openjdk-6-source - OpenJDK Development Kit (JDK) source files Changes: openjdk-6 (6b16~pre2-0ubuntu1) karmic; urgency=low . * Update to re-tagged code drop (b16). * Update IcedTea build infrastructure (20090510). * Remove patches integrated in IcedTea. * Remove GCJ Web Plugin support. * Remove build infrastructure to build additional VM's, integrated in IcedTea. * Stop building the openjdk-6-source-files package. * README.Debian: Document using the different VM's. * Use GCC-4.3 on sparc, ICE with GCC-4.4. * Fix problem with the ARM assembler interpreter, when executing a 'new' bytecode with a double on the top of the stack (Edward Nevill). * Run the testsuite for the zero build on ix86 architectures. Checksums-Sha1: 39545db12aeaf90141618e20b282a5dd239e0cf6 2316 openjdk-6_6b16~pre2-0ubuntu1.dsc 0909046a7259d85f29a8fb57104b061888af9d27 65528007 openjdk-6_6b16~pre2.orig.tar.gz ebedab6a11efb3003a3b57d747321d6495759c5e 145455 openjdk-6_6b16~pre2-0ubuntu1.diff.gz Checksums-Sha256: 4aa62dc781abd50199a2e3f993dff4ae899531dc7f47363df7ab42e126cd1d4d 2316 openjdk-6_6b16~pre2-0ubuntu1.dsc b932a60b638d14e44083632f132aa26a5a065af4f6fcf617816650fd67c629a0 65528007 openjdk-6_6b16~pre2.orig.tar.gz f63d2bb786cea5c66d071d259d8311b84d0ff02afa46c0455e4872f2f243e8d0 145455 openjdk-6_6b16~pre2-0ubuntu1.diff.gz Files: 510d5fb901a83b8825c32a40e0233887 2316 java extra openjdk-6_6b16~pre2-0ubuntu1.dsc 785e6f279e99f84a2d6880bf6c58a542 65528007 java extra openjdk-6_6b16~pre2.orig.tar.gz 7b86de77a9aac8e8419bbf767222bd40 145455 java extra openjdk-6_6b16~pre2-0ubuntu1.diff.gz ********** *END ENCRYPTED or SIGNED PART* **********

no information why ...

the build-depends are:

Build-Depends: debhelper (>= 5), autotools-dev, lzma, m4, lsb-release, wget, zip, unzip, sharutils, gawk, pkg-config, procps, automake, autoconf, ant, libtool, g++-4.4 [!sparc], g++-4.3 [sparc] ecj-gcj [amd64 hppa i386 ia64 lpia powerpc m68k mips mipsel sparc s390], gcj-jdk [amd64 hppa i386 ia64 lpia powerpc m68k mips mipsel sparc s390], openjdk-6-jdk (>= 6b14) [alpha armel], openjdk-6-jdk (>= 6b16~pre1-0ubuntu2) [armel], libxtst-dev, libxi-dev, libxt-dev, libxp-dev, libxaw7-dev, libxrender-dev, libcups2-dev, libasound2-dev, libfreetype6-dev, libxalan2-java, rhino, liblcms1-dev, libxinerama-dev, libffi-dev [!amd64 !i386 !lpia !sparc], libjpeg62-dev, libpng12-dev, libgif-dev, zlib1g-dev, libgtk2.0-dev, xulrunner-1.9-dev, fastjar (>= 2:0.96-0ubuntu2), libpulse-dev (>= 0.9.12), pulseaudio (>= 0.9.12), mauve, xvfb, autoconf, automake, xauth, xfonts-base

yes, there's a missing comma. please add the hint to the reject message.

Celso Providelo (cprov)
Changed in soyuz:
importance: Undecided → Low
status: New → Triaged
tags: added: soyuz-upload
Celso Providelo (cprov)
summary: - chokes on "invalid" build-dpendency, and not telling why
+ chokes on invalid build-dependencies, and not telling why
Revision history for this message
Colin Watson (cjwatson) wrote :

Launchpad just asks apt to parse the field, and the string "Problem parsing dependency" comes from apt. Wouldn't it be better to fix this in apt? It's in a position to know how far its parser got before failing. Dealing with this in Launchpad would involve duplicating quite a bit of code from apt, and wouldn't benefit any other users of libapt-pkg doing the same kind of thing.

Colin Watson (cjwatson)
affects: launchpad → apt (Ubuntu)
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.