Created attachment 1108337 [details]
Description of problem:
After switching from f21 to f22 sources, we hit a problem with lua FTBFS in stage2. The build log is attached.
Version-Release number of selected component (if applicable):
Please try again, but with the newer version:
lua.x86_64 5.3.2-2.fc22 @updates-testing
Thanks, gonna try with the next batch.
Tested with lua-5.3.2-2.fc22 and still failing ...
How did you try building it?
Did you do something like this?
fedpkg clone -a --branch f22 lua; cd lua; fedpkg srpm; fedpkg mockbuild
That should work using the same sources that fedora uses in f22.
The stage1 bootstrap calls the %prep section of the spec file on the parent builder during the stage1 bootstrap using the parent's rpm and then uses the STAGE2-lua recipe to substitute the %build and %install sections as there's no rpmbuild in the second stage. The recipe can be found in the lua git repository. I see there were some bootstrap related tweaks made in f22 and these probably need to be propagated to the stage2 recipe. I see there was a new bootstrap source package added in the list of sources and the recipe apparently doesn't count with such change.
It seems the removal of luac_LDADD="liblua.la -lm -ldl -lreadline" from the make arguments fixes the problem. Let me do a full rebuild and I'll close that if that works.