On Mon, Aug 03, 2020 at 10:42:01PM +0100, Richard W.M. Jones wrote: > I can't reproduce this locally but it happens in Koji reliably enough: > > + /usr/lib/rpm/brp-strip /usr/bin/strip > /usr/bin/strip: unable to copy file > '/builddir/build/BUILDROOT/ocaml-omake-0.10.3-27.fc33.x86_64/usr/bin/omake'; > reason: Permission denied > error: Bad exit status from /var/tmp/rpm-tmp.5A3ApT (%install)
After updating to more Rawhide I _am_ able to reproduce it. It seems to be caused because the binary is installed 0555: -r-xr-xr-x. 1 rjones rjones 8042912 Aug 3 22:41 /home/rjones/rpmbuild/BUILDROOT/ocaml-omake-0.10.3-27.fc33.x86_64/usr/bin/omake However nothing has changed in this package for years (last rebase was in Nov 2017) but apparently strip didn't have a problem before now. I was able to work around it by adding an explicit %install make install \ INSTALL_ROOT=$RPM_BUILD_ROOT +chmod 0755 $RPM_BUILD_ROOT%{_bindir}/omake so I guess that "fixes" it, but why? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ _______________________________________________ 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