Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1100445
Summary: | FTBFS: pdfbox fails to build with bouncycastle 1.50 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> | ||||||
Component: | pdfbox | Assignee: | gil cattaneo <puntogil> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | dennis, orion, puntogil, samuel-rhbugs | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
URL: | https://issues.apache.org/jira/browse/PDFBOX-2088 | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | pdfbox-1.8.5-3.fc21 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-10-01 04:22:13 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1105908 | ||||||||
Attachments: |
|
Description
Orion Poplawski
2014-05-22 19:52:22 UTC
*** Bug 1105938 has been marked as a duplicate of this bug. *** Created attachment 941292 [details]
port to bouncycastle 1.50
The patch should fix compatibility with bouncycastle 1.50
add also this to spec file
%pom_xpath_inject "pom:dependencies" '
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>1.50</version>
<optional>true</optional>
</dependency>' pdfbox
Created attachment 941293 [details]
pdfbox 1.8.7 port to bouncycastle 1.50
Some test fails, i used
%pom_remove_dep net.java.dev.jai-imageio:jai-imageio-core-standalone pdfbox
%pom_remove_dep com.levigo.jbig2:levigo-jbig2-imageio pdfbox
rm -rf pdfbox/src/test/java/org/apache/pdfbox/util/TestImageIOUtils.java \
pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDJpegTest.java \
pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/xobject/PDCcittTest.java
sed -i -e /PDJpegTest/d pdfbox/src/test/java/org/apache/pdfbox/TestAll.java
sed -i -e /PDCcittTest/d pdfbox/src/test/java/org/apache/pdfbox/TestAll.java
sed -i -e /TestImageIOUtils/d pdfbox/src/test/java/org/apache/pdfbox/TestAll.java
pdfbox-1.8.5-3.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/pdfbox-1.8.5-3.fc21 Package pdfbox-1.8.5-3.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pdfbox-1.8.5-3.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-11618/pdfbox-1.8.5-3.fc21 then log in and leave karma (feedback). pdfbox-1.8.5-3.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |