Re: 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]

 



On 1/16/21 12:35 PM, PGNet Dev wrote:
     + /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)


disabling stripping in the rpm spec by adding

	%global __os_install_post %{nil}

per,

 "Stripping Binary files in rpmbuild
"
   https://livecipher.blogspot.com/2012/06/disable-binary-stripping-in-rpmbuild.html


gets past the problem ... both F32 & F33 chroot target builds now succeed

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

So that's a workaround.

As to _why_ strip has an issue on F33 chroot, dunno yet.
_______________________________________________
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