← Back to team overview

openjdk team mailing list archive

[Bug 888129] Re: xmlgraphics-commons version 1.4.dfsg-3ubuntu1 failed to build with openjdk-7

 

If I switch out the symbolic link in /usr/lib/jvm/default-
java/jre/lib/cmm to be a copy of the directory from the openjdk-7
install then I no longer get this SIGSEV.

However I do get:

    [junit] Testcase: testICCProfiles(org.apache.xmlgraphics.image.loader.ImageLoaderTestCase):	FAILED
    [junit] Embedded ICC Profiles are not the same size! expected:<556> but was:<912>
    [junit] junit.framework.AssertionFailedError: Embedded ICC Profiles are not the same size! expected:<556> but was:<912>
    [junit] 	at org.apache.xmlgraphics.image.loader.ImageLoaderTestCase.testICCProfiles(ImageLoaderTestCase.java:176)

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/888129

Title:
  xmlgraphics-commons version 1.4.dfsg-3ubuntu1 failed to build with
  openjdk-7

Status in “openjdk-7” package in Ubuntu:
  New
Status in “xmlgraphics-commons” package in Ubuntu:
  In Progress
Status in “openjdk-7” source package in Quantal:
  New
Status in “xmlgraphics-commons” source package in Quantal:
  In Progress

Bug description:
  During a rebuild test on precise with default-jdk switched to
  openjdk-7, a build failure was detected for xmlgraphics-commons
  version 1.4.dfsg-3ubuntu1.

  See attached log for full build failure details.

  This log snippet might also be of interest:

      [javac]                                            JPEGDecodeParam decodeParam,
      [javac]                                            ^
      [javac]   symbol:   class JPEGDecodeParam
      [javac]   location: class TIFFImage
      [javac] /«PKGBUILDDIR»/src/java/org/apache/xmlgraphics/java2d/StrokingTextHandler.java:58: warning: [deprecation] drawString(String,float,float) in TextHandler has been deprecated
      [javac]     public void drawString(String text, float x, float y) {
      [javac]                 ^
      [javac] /«PKGBUILDDIR»/src/java/org/apache/xmlgraphics/xmp/XMPSchemaRegistry.java:54: warning: [deprecation] PDFAOldXMPSchema in org.apache.xmlgraphics.xmp.schemas.pdf has been deprecated
      [javac]         addSchema(new PDFAOldXMPSchema());
      [javac]                       ^
      [javac] /«PKGBUILDDIR»/src/java/org/apache/xmlgraphics/image/codec/tiff/TIFFImage.java:146: error: cannot find symbol
      [javac]         JPEGImageDecoder decoder = decodeParam == null ?
      [javac]         ^
      [javac]   symbol:   class JPEGImageDecoder
      [javac]   location: class TIFFImage
      [javac] /«PKGBUILDDIR»/src/java/org/apache/xmlgraphics/image/codec/tiff/TIFFImage.java:147: error: cannot find symbol
      [javac]             JPEGCodec.createJPEGDecoder(jpegStream) :
      [javac]             ^
      [javac]   symbol:   variable JPEGCodec
      [javac]   location: class TIFFImage
      [javac] /«PKGBUILDDIR»/src/java/org/apache/xmlgraphics/image/codec/tiff/TIFFImage.java:148: error: cannot find symbol
      [javac]             JPEGCodec.createJPEGDecoder(jpegStream,
      [javac]             ^
      [javac]   symbol:   variable JPEGCodec
      [javac]   location: class TIFFImage
      [javac] /«PKGBUILDDIR»/src/java/org/apache/xmlgraphics/image/codec/tiff/TIFFImage.java:594: error: cannot find symbol
      [javac]                     JPEGImageDecoder decoder =
      [javac]                     ^
      [javac]   symbol:   class JPEGImageDecoder
      [javac]   location: class TIFFImage
      [javac] /«PKGBUILDDIR»/src/java/org/apache/xmlgraphics/image/codec/tiff/TIFFImage.java:595: error: cannot find symbol
      [javac]                         JPEGCodec.createJPEGDecoder(tableStream);
      [javac]                         ^
      [javac]   symbol:   variable JPEGCodec
      [javac]   location: class TIFFImage
      [javac] 10 errors
      [javac] 11 warnings

  BUILD FAILED
  /«PKGBUILDDIR»/build.xml:222: Compile failed; see the compiler error output for details.

  Total time: 5 seconds
  make: *** [debian/stamp-ant-build] Error 1
  dpkg-buildpackage: error: debian/rules build gave error exit status 2
  ────────────────────────────────────────────────────────────────────────────────
  Build finished at 20111109-1225

  Finished
  ────────

  E: Build failure (dpkg-buildpackage died)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/888129/+subscriptions