Bug 2125295 - Can't build Rawhide ppc64le packages on Power8 builder using Mock
Summary: Can't build Rawhide ppc64le packages on Power8 builder using Mock
Keywords:
Status: CLOSED DUPLICATE of bug 2124845
Alias: None
Product: Fedora
Classification: Fedora
Component: libdnf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-08 14:20 UTC by Pavel Raiskup
Modified: 2022-09-08 15:00 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-09-08 15:00:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Raiskup 2022-09-08 14:20:11 UTC
Mock uses the "bootstrap" chroot mechanism by default nowadays,
so simply any command like this fails:

    $ mock --chroot fedora-rawhide-ppc64le <src.rpm>
    ... SIGILL ...

But reproducer without Mock, on up2date F35 machine:

# rpm -q kernel-core glibc dnf libdnf
kernel-core-5.19.6-100.fc35.ppc64le
glibc-2.34-40.fc35.ppc64le
dnf-4.13.0-1.fc35.noarch
libdnf-0.68.0-1.fc35.ppc64le
# dnf -y --installroot /tmp/chroot --releasever 38 install dnf

# rm -f /tmp/chroot/etc/resolv.conf && cp /etc/resolv.conf /tmp/chroot/etc/resolv.conf
# chroot /tmp/chroot
bash-5.1# dnf update
Illegal instruction (core dumped)                                                                                                                                                                     

An strace snippet, not sure if helpful:
socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP) = 12
... snip ...
read(12, "N\341\nt\347\212\350j\304E\32\343l\376\365\220\246\377\223c\200\241\242\344Z\v\17\225\312\306\35\254"..., 161) = 161
--- SIGILL {si_signo=SIGILL, si_code=ILL_ILLOPC, si_addr=0x7fff8fd6738c} --

I can provide this testing machine if anyhow helpful, still running
root@2620:52:3:1:dead:beef:cafe:c213

Comment 1 Dan Horák 2022-09-08 14:55:26 UTC
I believe this is a duplicate of #2124845

Comment 2 Pavel Raiskup 2022-09-08 14:57:44 UTC
For us, the work-around is to enforce Power9 machines for fedora-rawhide-ppc64le chroot (https://pagure.io/copr/copr/issue/2310).

Comment 3 Pavel Raiskup 2022-09-08 15:00:32 UTC
Per Dan's instruction, journal has errors like:
kernel: dnf[7698]: illegal instruction (4) at 7fff993a738c nip 7fff993a738c lr 7fff99302968 code 1 in libcrypto.so.3.0.5[7fff990c0000+300000]
So this appears to be a duplicate.  Thanks!

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


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