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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to