Bug 2385393 - perl-PDF-Builder-3.027-1.fc43 FTBFS: t/svg.t: Failed test 'PDF output has expected output'
Summary: perl-PDF-Builder-3.027-1.fc43 FTBFS: t/svg.t: Failed test 'PDF output has exp...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-PDF-Builder
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F43FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-07-31 09:40 UTC by Fedora Release Engineering
Modified: 2025-07-31 15:59 UTC (History)
1 user (show)

Fixed In Version: perl-PDF-Builder-3.027-3.fc43
Clone Of:
Environment:
Last Closed: 2025-07-31 15:59:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-07-31 09:40 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-07-31 09:40 UTC, Fedora Release Engineering
no flags Details
state.log (1.68 KB, text/plain)
2025-07-31 09:40 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github sciurius perl-SVGPDF issues 11 0 None closed t/900_regtest.t and t/901_regtest.t fail (-Duselongdouble) 2025-07-31 14:52:01 UTC

Description Fedora Release Engineering 2025-07-31 09:40:13 UTC
perl-PDF-Builder failed to build from source in Fedora rawhide/f43

https://koji.fedoraproject.org/koji/taskinfo?taskID=135235327


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
Please fix perl-PDF-Builder 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,
perl-PDF-Builder will be orphaned. Before branching of Fedora 44,
perl-PDF-Builder 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 2025-07-31 09:40:19 UTC
Created attachment 2101091 [details]
build.log

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

Comment 2 Fedora Release Engineering 2025-07-31 09:40:26 UTC
Created attachment 2101092 [details]
root.log

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

Comment 3 Fedora Release Engineering 2025-07-31 09:40:30 UTC
Created attachment 2101093 [details]
state.log

Comment 4 Petr Pisar 2025-07-31 13:37:25 UTC
From the build.log:

#   Failed test 'PDF output has expected output'
#   at t/svg.t line 69.
#                   '%PDF-1.4
# %��͵
# 1 0 obj
# << /Type /Catalog /PageLayout /SinglePage /PageMode /UseNone /Pages 2 0 R /ViewerPreferences << /NonFullScreenPageMode /UseNone >> >>
# endobj
# 2 0 obj
# << /Type /Pages /Count 1 /Kids [ 6 0 R ] /MediaBox [ 0 0 612 792 ] /Resources 3 0 R >>
# endobj
# 3 0 obj
# << /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >>
# endobj
# 4 0 obj
# << /Producer (PDF::Builder 3.027 [see https://github.com/PhilterPaper/Perl-PDF-Builder/blob/master/INFO/SUPPORT]) >>
# endobj
# 5 0 obj
# << /Type /XObject /Subtype /Form /BBox [ 0 -512 575 0 ] /FormType 1 /Length 762 /Name /CBA /Resources << /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] >> >>
# stream
#  1 0 0 -1 0 0 cm 0 0 0 rg q q 0.501961 0.501961 0.501961 rg 150 100 m 150 106.57 148.71 113.07 146.19 119.13 c 143.68 125.2 140 130.71 135.36 135.36 c 130.71 140 125.2 143.68 119.13 146.19 c 113.07 148.71 106.57 150 100 150 c 93.434 150 86.932 148.71 80.866 146.19 c 74.8 143.68 69.288 140 64.645 135.36 c 60.002 130.71 56.319 125.2 53.806 119.13 c 51.293 113.07 50 106.57 50 100 c 50 93.434 51.293 86.932 53.806 80.866 c 56.319 74.8 60.002 69.288 64.645 64.645 c 69.288 60.002 74.8 56.319 80.866 53.806 c 86.932 51.293 93.434 50 100 50 c 106.57 50 113.07 51.293 119.13 53.806 c 125.2 56.319 130.71 60.002 135.36 64.645 c 140 69.288 143.68 74.8 146.19 80.866 c 148.71 86.932 150 93.434 150 100 c h f Q q 5 w 0 0 0 RG 0 0 1 rg 229 150 m 260 150 l 290 103 l B Q Q 
# endstream
# endobj
# 6 0 obj
# << /Type /Page /Contents [ 7 0 R ] /Parent 2 0 R /Resources << /ProcSet [ /PDF /Text /ImageB /ImageC /ImageI ] /XObject << /CBA 5 0 R >> >> >>
# endobj
# 7 0 obj
# << /Length 28 >>
# stream
#  q 1 0 0 1 0 0 cm /CBA Do Q 
# endstream
# endobj
# xref
# 0 8
# 0000000000 65535 f 
# 0000000015 00000 n 
# 0000000164 00000 n 
# 0000000266 00000 n 
# 0000000335 00000 n 
# 0000000467 00000 n 
# 0000001421 00000 n 
# 0000001579 00000 n 
# trailer
# << /Info 4 0 R /Root 1 0 R /Size 8 >>
# startxref
# 1657
# %%EOF
# '
#     doesn't match '(?^: 1 0 0 -1 0 0 cm 0 0 0 rg q q 0.498039 0.498039 0.498039 rg 150 100 m 150 106.57 148.71 113.07 146.19 119.13 c 143.68 125.2 140 130.71 135.36 135.36 c 130.71 140 125.2 143.68 119.13 146.19 c 113.07 148.71 106.57 150 100 150 c 93.434 150 86.932 148.71 80.866 146.19 c 74.8 143.68 69.288 140 64.645 135.36 c 60.002 130.71 56.319 125.2 53.806 119.13 c 51.293 113.07 50 106.57 50 100 c 50 93.434 51.293 86.932 53.806 80.866 c 56.319 74.8 60.002 69.288 64.645 64.645 c 69.288 60.002 74.8 56.319 80.866 53.806 c 86.932 51.293 93.434 50 100 50 c 106.57 50 113.07 51.293 119.13 53.806 c 125.2 56.319 130.71 60.002 135.36 64.645 c 140 69.288 143.68 74.8 146.19 80.866 c 148.71 86.932 150 93.434 150 100 c h f Q q 5 w 0 0 0 RG 0 0 1 rg 229 150 m 260 150 l 290 103 l B Q Q)'
# Looks like you failed 1 test of 4.
t/svg.t ..................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests

Comment 5 Petr Pisar 2025-07-31 13:39:11 UTC
A difference between passing and failing build root <https://koschei.fedoraproject.org/build/20930170>.

Comment 6 Petr Pisar 2025-07-31 13:44:13 UTC
This is triggered by upgrading perl-SVGPDF from 0:0.090-2.fc42 to 0:0.091-1.fc43.

Comment 7 Petr Pisar 2025-07-31 13:51:57 UTC
Triggered with this upstream perl-SVGPDF commit:

commit 9ebab83ffd3bb78a90e4183cf6331ffe144192f2 (HEAD)
Author: Johan Vromans <jvromans>
Date:   Fri Dec 27 13:48:10 2024 +0100

    Improve colour parsing.

Comment 8 Petr Pisar 2025-07-31 14:52:01 UTC
It's was a deliberate change how SVGPDF defines gray color. It was 127/255, now it is 128/255 <https://github.com/sciurius/perl-SVGPDF/issues/11#issuecomment-3072335323>. I will adapt the test.

Comment 9 Petr Pisar 2025-07-31 15:20:20 UTC
Older Fedoras are not affected because SVGPDF is a new dependency since perl-PDF-Builder-3.027.


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