pkg build @ COPR succeeds for F32 chroot, FAILS for F33. .spec issue, or problem in buildenv?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 I'm building a pkg @ COPR, 'dhcpcd',

	https://copr.fedorainfracloud.org/coprs/pgfed/dhcpcd/build/1885349/

for both F32 & F33 chroot targets.

The F32 build succeeds, pkg installs & execs OK,

	https://download.copr.fedorainfracloud.org/results/pgfed/dhcpcd/fedora-32-x86_64/01885349-dhcpcd/builder-live.log.gz

The concurrent F33 build, with same .spec, FAILs,

	https://download.copr.fedorainfracloud.org/results/pgfed/dhcpcd/fedora-33-x86_64/01885349-dhcpcd/builder-live.log.gz

@

	...
	install -m 0444 dhcpcd-run-hooks.8 /builddir/build/BUILDROOT/dhcpcd-9.4.0-0.pgnd_20210116_172904.fc33.x86_64/usr/local/dhcpcd/share/man/man8
	make[1]: Leaving directory '/builddir/build/BUILD/dhcpcd-dhcpcd-9.4.0/hooks'
	+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/dhcpcd-9.4.0-0.pgnd_20210116_172904.fc33.x86_64/usr/local/etc/dhcpcd
	+ find /builddir/build/BUILDROOT/dhcpcd-9.4.0-0.pgnd_20210116_172904.fc33.x86_64 -name '*.la' -delete -print
	+ /usr/lib/rpm/check-buildroot
	+ /usr/lib/rpm/redhat/brp-ldconfig
	+ /usr/lib/rpm/brp-compress
	+ /usr/lib/rpm/brp-strip /usr/bin/strip
	/usr/bin/strip: unable to copy file '/builddir/build/BUILDROOT/dhcpcd-9.4.0-0.pgnd_20210116_172904.fc33.x86_64/usr/local/dhcpcd/sbin/dhcpcd'; reason: Permission denied
	error: Bad exit status from /var/tmp/rpm-tmp.3UY5yu (%install)


	RPM build errors:
		Bad exit status from /var/tmp/rpm-tmp.3UY5yu (%install)
	Finish: rpmbuild dhcpcd-9.4.0-0.pgnd_20210116_172845.fc33.src.rpm
	Finish: build phase for dhcpcd-9.4.0-0.pgnd_20210116_172845.fc33.src.rpm
	INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan
	INFO: /var/lib/mock/fedora-33-x86_64-1610818126.163401/root/var/log/dnf.rpm.log
	/var/lib/mock/fedora-33-x86_64-1610818126.163401/root/var/log/dnf.librepo.log
	/var/lib/mock/fedora-33-x86_64-1610818126.163401/root/var/log/dnf.log
	ERROR: Exception(/var/lib/copr-rpmbuild/results/dhcpcd-9.4.0-0.pgnd_20210116_172845.fc33.src.rpm) Config(fedora-33-x86_64) 0 minutes 27 seconds
	INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results
	INFO: Cleaning up build root ('cleanup_on_failure=True')
	Start: clean chroot
	INFO: unmounting tmpfs.
	Finish: clean chroot
	INFO: unmounting tmpfs.
	ERROR: Command failed:
	# /usr/bin/systemd-nspawn -q -M 1e25f0a21cae4984b852a89713f1da74 -D /var/lib/mock/fedora-33-x86_64-1610818126.163401/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qfqx7vr9:/etc/resolv.conf --bind=/dev/btrfs-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 --target x86_64 --nodeps /builddir/build/SPECS/dhcpcd.spec

	Copr build error: Build failed

So far, I've no idea what F33-chroot-specific issue is causing the problem, whether something in my .spec, or in the COPR build env.

Any hints/suggestions as to the cause, and a fix?
_______________________________________________
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux