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 1401157 - lua-posix-33.3.1-2.fc24 FTBFS
Summary: lua-posix-33.3.1-2.fc24 FTBFS
Keywords:
Status: CLOSED DUPLICATE of bug 1403991
Alias: None
Product: Fedora
Classification: Fedora
Component: lua-posix
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Niemueller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: BaseRuntimeFTBFS
TreeView+ depends on / blocked
 
Reported: 2016-12-03 02:41 UTC by Petr Šabata
Modified: 2016-12-12 19:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-12 19:54:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Šabata 2016-12-03 02:41:09 UTC
lua-posix-33.3.1-2.fc24 fails to build from source.
This affects Base Runtime, Rawhide, F25 and possibly older releases as well.

There are two reasons:

1) It expects lua to be available in the SRPM buildroot, which is (no longer)
   the case.  You could work around that by providing a fallback value for
   %luaver like this:

%{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))" || echo 0)}

   This will work just fine as SRPMs get actually built twice and %luaver
   will be properly defined during the second pass while not failing the first.

   Note: This should be fixed in the Lua packaging guidelines as well as this
   probably affects all Lua packages in the distribution.

2) Another issue is an undeclared build dependency on perl which is executed
   during the build phase.  Neither perl is included in the default buildroot
   anymore.

   This can be easily fixed by buildrequiring perl.

Comment 1 Stephen Gallagher 2016-12-12 19:54:00 UTC
Sorry, I accidentally opened a new BZ while writing a patch. I'll close this one as a dupe of the other, since it has more detail and a fix.

*** This bug has been marked as a duplicate of bug 1403991 ***


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