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.
Created attachment 1249981 [details] proposed patch to correct FTBFS issue
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
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.
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=17856269