Bug 1293396
Summary: | lua FTBFS during stage2 bootstrap - luac.c:305: undefined reference to `luaP_opnames' | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jaromír Cápík <jcapik> | ||||
Component: | lua | Assignee: | Tim Niemueller <tim> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 22 | CC: | athmanem, drjohnson1, michel, ovasik, tcallawa, tim | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-01-08 13:09:27 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1224209 | ||||||
Attachments: |
|
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. |
Created attachment 1108337 [details] lua.log 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): lua-5.3.0-2.fc22