Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Created attachment 1816886[details]
build.log
A rebuild of mingw-libffi-3.1-13.el9 fails with:
libtool: link: x86_64-w64-mingw32-gcc -shared src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/.libs/closures.o src/x86/.libs/ffi.o src/x86/.libs/win64.o -lssp -O2 -g -fstack-protector -o .libs/libffi-6.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libffi.dll.a
src/x86/.libs/win64.o:/builddir/build/BUILD/libffi-3.1/build_win64/../src/x86/win64.S:298:(.text+0x69): relocation truncated to fit: R_X86_64_32S against symbol `ffi_closure_win64_inner' defined in .text section in src/x86/.libs/ffi.o
collect2: error: ld returned 1 exit status
This failure is likely triggered by the mingw-gcc rebase (bug 1953914).
It's possible this happens because SYMBOL_UNDERSCORE is no longer set correctly.
Comment 1Richard W.M. Jones
2021-08-23 14:23:17 UTC
Meirav, I believe someone on your team maintains this?
Notes:
It builds fine in Fedora so probably the best plan is to
synch the package with Fedora.
The deadline for RHEL 9 Beta is next Monday (31st).
Comment 5Richard W.M. Jones
2021-10-01 07:25:27 UTC
Comment 6Richard W.M. Jones
2021-10-01 13:45:07 UTC
I'll need QE ack from someone if you want this fixed in RHEL 9.
The only other bug I can find for this component in RHEL has
QE contact spice-qe-bugs and was ACKed by @tpelka
Comment 7Richard W.M. Jones
2021-10-01 17:06:56 UTC
After doing all that I notice there were in fact successful builds
of this package in brew:
https://brewweb.engineering.redhat.com/brew/packageinfo?packageID=35562
The package was actually stuck in gating:
https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/38822259
because of numerous missing tests.
It's probably for the best that we have rebased it to match Fedora.
This is not fixed in RHEL 9 beta. I guess someone can have a look
at the missing gating tests (because I've no idea about why they didn't
run), or we could rebase it in RHEL 9 beta. We'll probably need a cloned
bug with exception+.
Comment 8Richard W.M. Jones
2021-10-01 17:13:31 UTC
This is going well. mingw-glib2 now fails to install because
apparently this version of libffi bumps the SONAME:
nothing provides mingw32(libffi-6.dll) needed by mingw32-glib2-2.66.7-3.el9.noarch
nothing provides mingw64(libffi-6.dll) needed by mingw64-glib2-2.66.7-3.el9.noarch
We really need the maintainer of these packages to help us now.
Comment 9Richard W.M. Jones
2021-10-02 08:37:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (new packages: mingw-libffi), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2022:4297