Bug 2261442 - pdfbox: FTBFS in Fedora rawhide/f40
Summary: pdfbox: FTBFS in Fedora rawhide/f40
Keywords:
Status: CLOSED DUPLICATE of bug 2266682
Alias: None
Product: Fedora
Classification: Fedora
Component: pdfbox
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-01-29 21:10 UTC by Fedora Release Engineering
Modified: 2024-03-01 14:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-03-01 14:20:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2024-01-29 21:10 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2024-01-29 21:10 UTC, Fedora Release Engineering
no flags Details
state.log (1.63 KB, text/plain)
2024-01-29 21:10 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2024-01-29 21:10:08 UTC
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/

Comment 1 Fedora Release Engineering 2024-01-29 21:10:15 UTC
Created attachment 2012829 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2024-01-29 21:10:20 UTC
Created attachment 2012830 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2024-01-29 21:10:23 UTC
Created attachment 2012831 [details]
state.log

Comment 4 Sergio Basto 2024-02-01 00:05:06 UTC
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

Comment 5 jiri vanek 2024-03-01 14:20:32 UTC

*** This bug has been marked as a duplicate of bug 2266682 ***


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