Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1293396 - lua FTBFS during stage2 bootstrap - luac.c:305: undefined reference to `luaP_opnames'
Summary: lua FTBFS during stage2 bootstrap - luac.c:305: undefined reference to `luaP_...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lua
Version: 22
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Niemueller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: fedora-bootstrap
TreeView+ depends on / blocked
 
Reported: 2015-12-21 16:42 UTC by Jaromír Cápík
Modified: 2016-02-01 02:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-08 13:09:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
lua.log (31.82 KB, text/plain)
2015-12-21 16:42 UTC, Jaromír Cápík
no flags Details

Description Jaromír Cápík 2015-12-21 16:42:01 UTC
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

Comment 1 d. johnson 2015-12-22 02:27:35 UTC
Please try again, but with the newer version:

lua.x86_64                     5.3.2-2.fc22                     @updates-testing

Comment 2 Jaromír Cápík 2015-12-22 09:48:36 UTC
Thanks, gonna try with the next batch.

Comment 3 Jaromír Cápík 2016-01-06 13:44:38 UTC
Tested with lua-5.3.2-2.fc22 and still failing ...

Comment 4 d. johnson 2016-01-06 16:01:33 UTC
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.

Comment 5 Jaromír Cápík 2016-01-07 11:02:11 UTC
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.

Comment 6 Jaromír Cápík 2016-01-07 12:32:56 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.