Bug 1421809 - pdfbox: upstream patches to SynchronizedMetaDataValidation
Summary: pdfbox: upstream patches to SynchronizedMetaDataValidation
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Deadline: 2017-02-27
Product: Fedora
Classification: Fedora
Component: pdfbox
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: gil cattaneo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-13 18:13 UTC by Merlin Mathesius
Modified: 2017-02-14 15:03 UTC (History)
5 users (show)

Fixed In Version: 1.8.13-1.fc26
Clone Of:
Environment:
Last Closed: 2017-02-14 15:03:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
proposed patch to correct FTBFS issue (3.07 KB, patch)
2017-02-13 18:16 UTC, Merlin Mathesius
no flags Details | Diff

Description Merlin Mathesius 2017-02-13 18:13:11 UTC
Description of problem:
When attempting to rebuild portions of the frozen package set of Fedora 25 for the Base Runtime effort, we discovered that pdfbox fails to build from source due to a failing self-test. This issue also manifests itself in both Fedora 25 and Rawhide .

Version-Release number of selected component (if applicable):
pdfbox-1.8.12-4.fc26

How reproducible:
Every time

Steps to Reproduce (rawhide):
1. fedpkg clone pdfbox
2. cd pdfbox
3. fedpkg switch-branch master
4. fedpkg mockbuild

Actual results:

Results :

Failed tests: 
  TestSynchronizedMetadataValidation.testAllInfoSynhcronized:422 expected:<0> but was:<2>
  TestSynchronizedMetadataValidation.testBadPrefixSchemas:499 expected:<7.[4.]2> but was:<7.[]2>
  TestSynchronizedMetadataValidation.testdoublePrefixSchemas:572

Tests run: 72, Failures: 3, Errors: 0, Skipped: 0

[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping PDFBox reactor
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] PDFBox parent ...................................... SUCCESS [  0.350 s]
[INFO] Apache FontBox ..................................... SUCCESS [  4.566 s]
[INFO] Apache JempBox ..................................... SUCCESS [  1.155 s]
[INFO] Apache XmpBox ...................................... SUCCESS [  2.631 s]
[INFO] Apache PDFBox ...................................... SUCCESS [ 22.237 s]
[INFO] Apache Preflight ................................... FAILURE [  3.093 s]
[INFO] Apache PDFBox for Ant .............................. SKIPPED
[INFO] Apache PDFBox examples ............................. SKIPPED
[INFO] PDFBox reactor ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------



Expected results:
Successful build of the package.

Additional info:
This is needed as part of the Base Runtime effort.

Attached is a patch that applies upstream patches to fix the failing self-test.

Please apply the patch or respond with a reason it should not be applied within two weeks. After that time, a provenpackager will go ahead and apply it.

Comment 1 Merlin Mathesius 2017-02-13 18:16:31 UTC
Created attachment 1249981 [details]
proposed patch to correct FTBFS issue

Comment 2 gil cattaneo 2017-02-14 13:52:10 UTC
i dont know where and when you discover that the package FTBFS in rawhide
this statement is not true for me. see
https://koji.fedoraproject.org/koji/packageinfo?packageID=12993
or https://apps.fedoraproject.org/koschei/package/pdfbox

Comment 3 Merlin Mathesius 2017-02-14 14:31:55 UTC
A simple Rawhide "fedpkg mockbuild" is reliably failing for me. Since the provided patch is simply pulling in upstream self-test patches (see the link in the spec file patch) and it does resolve a blocker for Base Runtime, we would appreciate if the patch could be included. Thank you.

Comment 4 gil cattaneo 2017-02-14 15:03:23 UTC
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=17856269


Note You need to log in before you can comment on or make changes to this bug.