Hello,
My apologies if this has been already discussed, I don't follow this email list as closely as I should so please point to the previous discussion, if there is one.
I'm getting the following rawhide scratch build error [1] which appears to be a mock build error [2] that is not part of the package I'm building...
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a56cc0b369034428b078f9a0cb10f58d -D /var/lib/mock/f41-build-51910469-6216478/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.a3et5d1h:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 x86_64 --nodeps /builddir/build/SPECS/nfs-utils.spec'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed:
The package builds fine locally... anybody have a clue as what is going on?
tia,
steved.
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=119779291 [2] https://kojipkgs.fedoraproject.org//work/tasks/9291/119779291/build.log
The actual error is just a couple of lines above the snipped you posted:
checking for mount... yes checking for libnl-3.0 >= 3.1... no configure: error: Package requirements (libnl-3.0 >= 3.1) were not met: Package 'libnl-3.0', required by 'virtual:world', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBNL3_CFLAGS and LIBNL3_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. error: Bad exit status from /var/tmp/rpm-tmp.ercgmY (%build) Bad exit status from /var/tmp/rpm-tmp.ercgmY (%build) RPM build errors: Child return code was: 1
On 6/29/24 19:48, Steve Dickson wrote:
Hello,
My apologies if this has been already discussed, I don't follow this email list as closely as I should so please point to the previous discussion, if there is one.
I'm getting the following rawhide scratch build error [1] which appears to be a mock build error [2] that is not part of the package I'm building...
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a56cc0b369034428b078f9a0cb10f58d -D /var/lib/mock/f41-build-51910469-6216478/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.a3et5d1h:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 x86_64 --nodeps /builddir/build/SPECS/nfs-utils.spec'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed:
The package builds fine locally... anybody have a clue as what is going on?
tia,
steved.
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=119779291 [2] https://kojipkgs.fedoraproject.org//work/tasks/9291/119779291/build.log
I did not see that... thank you... very much!!
steved.
On 6/29/24 1:52 PM, František Šumšal wrote:
The actual error is just a couple of lines above the snipped you posted:
checking for mount... yes checking for libnl-3.0 >= 3.1... no configure: error: Package requirements (libnl-3.0 >= 3.1) were not met: Package 'libnl-3.0', required by 'virtual:world', not found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBNL3_CFLAGS and LIBNL3_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. error: Bad exit status from /var/tmp/rpm-tmp.ercgmY (%build) Bad exit status from /var/tmp/rpm-tmp.ercgmY (%build) RPM build errors: Child return code was: 1
On 6/29/24 19:48, Steve Dickson wrote:
Hello,
My apologies if this has been already discussed, I don't follow this email list as closely as I should so please point to the previous discussion, if there is one.
I'm getting the following rawhide scratch build error [1] which appears to be a mock build error [2] that is not part of the package I'm building...
EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a56cc0b369034428b078f9a0cb10f58d -D /var/lib/mock/f41-build-51910469-6216478/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.a3et5d1h:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 x86_64 --nodeps /builddir/build/SPECS/nfs-utils.spec'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed:
The package builds fine locally... anybody have a clue as what is going on?
tia,
steved.
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=119779291 [2] https://kojipkgs.fedoraproject.org//work/tasks/9291/119779291/build.log