** Summary changed:
- jcaptcha version 2.0~alpha1-2 failed to build with openjdk-7
+ Please remove jcaptcha from quantal
** Changed in: jcaptcha (Ubuntu)
Status: New => Confirmed
** Changed in: jcaptcha (Ubuntu)
Importance: Undecided => Medium
** Description changed:
+ Please remove this package from Ubuntu quantal. It makes extensive use
+ of internal Sun API's and as a result is not compatible with Java 7.
+
+ The one package that did use it no longer does - jenkins.
+
+ Original bug report:
+
During a rebuild test on precise with default-jdk switched to openjdk-7,
a build failure was detected for jcaptcha version 2.0~alpha1-2.
See attached log for full build failure details.
This log snippet might also be of interest:
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 6 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 136 source files to /«PKGBUILDDIR»/jcaptcha/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
/«PKGBUILDDIR»/jcaptcha/src/main/java/com/octo/captcha/engine/image/gimpy/BaffleListGimpyEngine.java:[33,24]
Ber is internal proprietary API and may be removed in a future release
/«PKGBUILDDIR»/jcaptcha/src/main/java/com/octo/captcha/engine/image/utils/SimpleImageCaptchaToJPEG.java:[23,31]
error: package com.sun.image.codec.jpeg does not exist
/«PKGBUILDDIR»/jcaptcha/src/main/java/com/octo/captcha/engine/image/utils/SimpleImageCaptchaToJPEG.java:[24,31]
error: package com.sun.image.codec.jpeg does not exist
/«PKGBUILDDIR»/jcaptcha/src/main/java/com/octo/captcha/engine/image/utils/SimpleImageCaptchaToJPEG.java:[25,31]
error: package com.sun.image.codec.jpeg does not exist
/«PKGBUILDDIR»/jcaptcha/src/main/java/com/octo/captcha/engine/image/utils/SimpleImageCaptchaToJPEG.java:[41,19]
error: cannot find symbol
could not parse error message: symbol: class ImageFormatException
- location: class SimpleImageCaptchaToJPEG
+ location: class SimpleImageCaptchaToJPEG
/«PKGBUILDDIR»/jcaptcha/src/main/java/com/octo/captcha/engine/image/utils/SimpleImageCaptchaToJPEG.java:59:
error: cannot find symbol
- JPEGImageEncoder jpegEncoder = JPEGCodec.createJPEGEncoder(
- ^
+ JPEGImageEncoder jpegEncoder = JPEGCodec.createJPEGEncoder(
+ ^
could not parse error message: symbol: class JPEGImageEncoder
- location: class SimpleImageCaptchaToJPEG
+ location: class SimpleImageCaptchaToJPEG
/«PKGBUILDDIR»/jcaptcha/src/main/java/com/octo/captcha/engine/image/utils/SimpleImageCaptchaToJPEG.java:59:
error: cannot find symbol
- JPEGImageEncoder jpegEncoder = JPEGCodec.createJPEGEncoder(
- ^
-
+ JPEGImageEncoder jpegEncoder = JPEGCodec.createJPEGEncoder(
+ ^
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Thu Nov 10 07:23:10 UTC 2011
[INFO] Final Memory: 17M/272M
[INFO]
------------------------------------------------------------------------
make: *** [mvn-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-0723
Finished
────────
E: Build failure (dpkg-buildpackage died)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/888944
Title:
Please remove jcaptcha from quantal
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jcaptcha/+bug/888944/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs