On Mon, Jan 23, 2023 at 9:49 PM Kevin Fenzi <kevin@xxxxxxxxx> wrote:
On Mon, Jan 23, 2023 at 08:11:03PM -0500, Rafael Aquini wrote:
> FYI:
>
> memkind failure (aarch64) seems to be koji/mock related:
>
> This package was updated and sucessfully built in rawhide and f37 a week
> ago (01/13)
>
> ---8<---
>
> EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M
> b67a9ff69f3540e9bb559e45f9dafdf5 -D
> /var/lib/mock/f38-build-40444675-4981555/root -a -u mockbuild
> --capability=cap_ipc_lock
> --bind=/tmp/mock-resolv._3nfqeom:/etc/resolv.conf
> --bind=/dev/btrfs-control --bind=/dev/mapper/control
> --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1
> --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4
> --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7
> --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10
> --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100
> --setenv=SHELL=/bin/bash --setenv=HOME=/builddir
> --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin
> --setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"
> --setenv=PS1=<mock-chroot> \\s-\\v\\$ --setenv=LANG=C.UTF-8
> --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean
> --target aarch64 --nodeps /builddir/build/SPECS/memkind.spec\n', 1)]
> Traceback (most recent call last):
> File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py",
> line 93, in trace
> result = func(*args, **kw)
>
> --->8---
Very odd failure. :(
It looks like it finished linking and then somehow systemd-nspawn
crashed, but I don't see in the logs any reason why. :(
I'd say try a scratch build and if that works, just resubmit it?
Kevin,
A local mock build helped identifying what seems to be the issue -- that only happens with recent rawhide (as
I mentioned, I had the RPM successfully built last week, see [1]):
---8<---
libtool: link: gcc -shared -fPIC -DPIC src/.libs/hbwmalloc.o src/.libs/heap_manager.o src/.libs/memkind.o src/.libs/memkind_arena.o src/.libs/memkind_bitmask.o src/.libs/memkind_capacity.o src/.libs/memkind_dax_kmem.o src/.libs/memkind_default.o src/.libs/memkind_fixed.o src/.libs/memkind_gbtlb.o src/.libs/memkind_hbw.o src/.libs/memkind_hugetlb.o src/.libs/memkind_interleave.o src/.libs/memkind_local.o src/.libs/memkind_log.o src/.libs/memkind_memtier.o src/.libs/memkind_mem_attributes.o src/.libs/memkind_pmem.o src/.libs/memkind_regular.o src/.libs/tbb_wrapper.o -ldl -lrt -ldaxctl jemalloc/lib/libjemalloc_pic.a -lm -lpthread -lnuma -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -mno-omit-leaf-frame-pointer -fstack-protector -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z -Wl,relro -Wl,-z -Wl,now -pthread -Wl,-soname -Wl,libmemkind.so.0 -o .libs/libmemkind.so.0.0.1
gcc: fatal error: environment variable 'RPM_ARCH' not defined
compilation terminated.
make: *** [Makefile:2426: libmemkind.la] Error 1
gcc: fatal error: environment variable 'RPM_ARCH' not defined
compilation terminated.
make: *** [Makefile:2426: libmemkind.la] Error 1
--->8---
and this seem to be exactly what was reported at https://bugzilla.redhat.com/show_bug.cgi?id=2142119
-- Rafael
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue