So you're runnning rpmbuild in a toolbox, right? Can you reproduce this with mock?
[ I think we bottom post here in general, but I kept with your choice. Feel free to reorder ... ]
Ron Olson venit, vidit, dixit 2024-06-26 17:35:11:
Dunno if it should matter, but this is: Fedora Linux 41 (Toolbx Container Image Prerelease), running on a Sway Atomic machine (Fedora Linux 40.20240613.0 (Sway Atomic)).
On 26 Jun 2024, at 10:31, Ron Olson wrote:
Hey all-
I’m trying to build Swift 6 on Rawhide and it looks like it gets to the very end, to the %install section, then errors out with:
+ /usr/bin/add-determinism --brp -j4 /home/rolson/rpmbuild/BUILD/swift-lang-6.0-build/BUILDROOT Error: Path "/home/rolson/rpmbuild/BUILD/swift-lang-6.0-build/BUILDROOT" is outside of $RPM_BUILD_ROOT error: Bad exit status from /var/tmp/rpm-tmp.EbjPHr (%install)
Never, ever seen that particular message. I’m assuming the RPM build tools on Rawhide are newer and perhaps there’s something I should be adding to my spec file that I’m not aware of, as often is the case. :\
Thanks for any help,
Ron