pdfbox failed to build from source in Fedora rawhide/f40 https://koji.fedoraproject.org/koji/taskinfo?taskID=112338793 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Please fix pdfbox at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, pdfbox will be orphaned. Before branching of Fedora 41, pdfbox will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2012829 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2012830 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2012831 [details] state.log
updating to 2.0.30 and disable pdfbox-use-system-liberation-font.patch but I got the same error --- a/pdfbox.spec +++ b/pdfbox.spec @@ -1,6 +1,6 @@ Name: pdfbox -Version: 2.0.29 -Release: 4%{?dist} +Version: 2.0.30 +Release: 1%{?dist} Summary: Apache PDFBox library for working with PDF documents License: ASL 2.0 URL: http://pdfbox.apache.org/ @@ -155,7 +155,7 @@ find -name '*.ttf' -print -delete # Disable plugins not needed for RPM builds %pom_remove_plugin -r :animal-sniffer-maven-plugin %pom_remove_plugin -r :apache-rat-plugin -%pom_remove_plugin -r :maven-deploy-plugin +#pom_remove_plugin -r :maven-deploy-plugin %pom_remove_plugin -r :maven-release-plugin %pom_remove_plugin -r :maven-source-plugin %pom_remove_plugin -r :maven-javadoc-plugin @@ -201,14 +201,14 @@ rm pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/CCITTFactoryTes %mvn_file :xmpbox xmpbox %mvn_file :fontbox fontbox -%pom_xpath_set 'pom:source' 8 parent -%pom_xpath_set 'pom:target' 8 parent +%pom_xpath_set 'pom:source' 8 +%pom_xpath_set 'pom:target' 8 %pom_change_dep -r javax.activation:activation jakarta.activation:jakarta.activation-api:1.2.2 %pom_change_dep -r javax.xml.bind:jaxb-api jakarta.xml.bind:jakarta.xml.bind-api:2 %pom_xpath_remove 'pom:dependency/pom:scope[text()="provided"]' preflight # might be removed once bouncycastle got updated -%pom_change_dep -r :bcmail-jdk15to18 :bcmail-jdk15on +%pom_change_dep -r :bcpkix-jdk15to18 :bcpkix-jdk15on %pom_change_dep -r :bcprov-jdk15to18 :bcmail-jdk15on
*** This bug has been marked as a duplicate of bug 2266682 ***