RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1950033 - Possible changes in zlib output causes FTBFS for qpdf
Summary: Possible changes in zlib output causes FTBFS for qpdf
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qpdf
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Zdenek Dohnal
QA Contact: František Hrdina
URL:
Whiteboard:
: 1951255 (view as bug list)
Depends On:
Blocks: RHEL9BetaFTBFS
TreeView+ depends on / blocked
 
Reported: 2021-04-15 15:42 UTC by Brian Stinson
Modified: 2021-12-07 21:33 UTC (History)
11 users (show)

Fixed In Version: qpdf-10.3.1-3.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:30:47 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch for disabling the failing test (1.58 KB, patch)
2021-04-19 14:06 UTC, Zdenek Dohnal
no flags Details | Diff

Description Brian Stinson 2021-04-15 15:42:52 UTC
We're trying to get any version of qpdf built for CentOS Stream so that we can generate a  working compose. 

Based on an email discussion we think that changes to zlib may be causing troubles in the test suite for qpdf causing it to FTBFS. 

Here's a link to a qpdf build: 
https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=214153

Comment 1 Ondrej Dubaj 2021-04-15 17:34:35 UTC
Hi, thanks for the report. Seems strange to me, can you point to the last version of zlib, which successfully builds with qpdf ? Maybe we can isolate the problem somewhere.

The last update should have no impact on the functionality or output of zlib. It's just fixing some minor issues found by covscan:

https://src.fedoraproject.org/rpms/zlib/c/59fb3beffd40fc92202a025c761ddbc469133063?branch=rawhide

Before that, there were some changes, but only for aarch64 architectures, which should not have impact on s390x arch.

https://src.fedoraproject.org/rpms/zlib/c/c95d3d1e735ec5acd3b2b27d64ad4530a19e9049?branch=rawhide

If only s390x architecture is a problem, we might have a problematic patch. We are currently maintaining multiple downstream s390x arch patches. If these patches are problematic, we need to discuss the changes with IBM, who authored the patches.

If you can provide us some more information about the issue, it will help us with investigating the problem.

Thanks.

Ondrej

Comment 2 Zdenek Dohnal 2021-04-16 06:15:09 UTC
We are talking about this issue with Ondra via emails.

Comment 3 Ondrej Dubaj 2021-04-19 11:31:44 UTC
Results of investigation:

There is a change of behavior in zlib on s390x architectures. After applying s390x-only dowstream patches which enable Z-accelerated inflate and deflate (maintained by IBM), there are some minor changes in error messages. This change leads to test failure in qpdf, as it compares the expected error message with the actual one. There is no bug in zlib, nor qpdf.

Comment 4 Zdenek Dohnal 2021-04-19 11:34:34 UTC
Based on the result of investigation I'm going to turn off the test on s390x.

Comment 5 Zdenek Dohnal 2021-04-19 14:05:57 UTC
The automated test is not needed, a successful build and sanity test will suffice.

Comment 6 Zdenek Dohnal 2021-04-19 14:06:46 UTC
Created attachment 1773295 [details]
Patch for disabling the failing test

Comment 7 Zdenek Dohnal 2021-04-20 04:07:00 UTC
*** Bug 1951255 has been marked as a duplicate of this bug. ***

Comment 12 Zdenek Dohnal 2021-04-21 04:48:14 UTC
Hi Brian,

I created a pull request for qpdf in Centos Stream 9 gitlab, would you mind merging it?


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