Bug 1852158

Summary: lua-luv fails to build with Lua 5.4 (and hence fails to install): fatal error: compat-5.3.h: No such file or directory
Product: [Fedora] Fedora Reporter: Igor Raits <igor.raits>
Component: lua-luvAssignee: Andreas Schneider <asn>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: asn, besser82, mhroncok, michel, spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-01 11:21:48 UTC Type: ---
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: 1803234    

Description Igor Raits 2020-06-29 20:16:37 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain).

Your package (lua-luv) Fails To Install in Fedora 33:

can't install lua-luv:
  - nothing provides lua(abi) = 5.3 needed by lua-luv-1.36.0.0-1.fc33.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.

P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors.

P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/rawhide-gating/multi-builds/

Thanks!

Comment 1 Miro HronĨok 2020-06-30 14:30:24 UTC
The attempted rebuild with Lua 5.4 fails:

https://koji.fedoraproject.org/koji/taskinfo?taskID=46374577

[ 25%] Building C object CMakeFiles/libluv.dir/src/luv.c.o
/usr/bin/gcc -DLUA_USE_DLOPEN -Dlibluv_EXPORTS -I/usr/include/lua-5.1 -I/builddir/build/BUILD/luv-1.36.0-0/deps/lua-compat-5.3/c-api -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -o CMakeFiles/libluv.dir/src/luv.c.o -c /builddir/build/BUILD/luv-1.36.0-0/src/luv.c
make[2]: Leaving directory '/builddir/build/BUILD/luv-1.36.0-0/obj-lua54'
/builddir/build/BUILD/luv-1.36.0-0/src/luv.c:20:10: fatal error: compat-5.3.h: No such file or directory
   20 | #include "compat-5.3.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/libluv.dir/build.make:86: CMakeFiles/libluv.dir/src/luv.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:101: CMakeFiles/libluv.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/builddir/build/BUILD/luv-1.36.0-0/obj-lua54'
[ 50%] Building C object CMakeFiles/luv.dir/src/luv.c.o
/usr/bin/gcc -DLUA_USE_DLOPEN -Dluv_EXPORTS -I/usr/include/lua-5.1 -I/builddir/build/BUILD/luv-1.36.0-0/deps/lua-compat-5.3/c-api -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -o CMakeFiles/luv.dir/src/luv.c.o -c /builddir/build/BUILD/luv-1.36.0-0/src/luv.c
make[2]: Leaving directory '/builddir/build/BUILD/luv-1.36.0-0/obj-lua54'
/builddir/build/BUILD/luv-1.36.0-0/src/luv.c:20:10: fatal error: compat-5.3.h: No such file or directory
   20 | #include "compat-5.3.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.

Comment 2 Tom "spot" Callaway 2020-06-30 20:10:34 UTC
I have this fixed locally, I am just waiting for cmake to rebuild (it needed a fix to the FindLua.cmake helper).

Comment 3 Igor Raits 2020-07-01 08:44:19 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain).

All subpackages of a package agaisnt which this bug was filled are now installable or removed from Fedora 33.

Thanks for taking care of it!