premake-core
premake-core copied to clipboard
BUILD.txt instructions to build a debian package are not working
What seems to be the problem?
Quote from BUILD.txt
:
BUILDING deb BINARY PACKAGE
- sudo apt install devscripts
- bootstrap the premake
- ./bin/release/premake5 gmake2
- cp ./packages/debian ./debian
- debuild --no-lintian --no-sign
- the built package should appear in the parent dir.
Those instructions does not produce a functional debian package. There is several issues with those:
- The
cp ./packages/debian ./debian
command is missing the-r
option, which is necessary to copy thedebian
directory. - The
debuild --no-lintian --no-sign
will fail if the packagedebhelper
is not installed. - The debian package will be created, but if you install it and run
premake5
, you get this error:Error: ** Error: Cannot find either vs2005.lua or vs2005.lua.lua or vs2005.lua/premake5.lua or vs2005.lua/premake4.lua
How can we reproduce this? Try the instructions from BUILD.txt mentioned above.
What version of Premake are you using? I am trying to build from the latest sources.
Related Issues: #420 #2041
There is currently a bug in the build not caught by CI. I plan to get that merged in within a day or so.