Jump to content

Build v0.28.0: ERROR: Premake failed


mod_3d
 Share

Recommended Posts

Debian 13, build v0.28.0
Steps:
0.   +  Install Dependencies from BuildInstructions
sudo apt install build-essential cargo cmake curl libboost-dev libboost-system-dev   \
  libboost-filesystem-dev libcurl4-gnutls-dev libenet-dev libfmt-dev   \
  libfreetype-dev m4 libgloox-dev libicu-dev libminiupnpc-dev libnvtt-dev   \
  libogg-dev libopenal-dev libpng-dev libsdl2-dev libsodium-dev libvorbis-dev   \
  libwxgtk3.2-dev libxml2-dev llvm python3 rustc subversion zlib1g-dev
cargo install --locked cbindgen@0.29.0
1.     git clone --branch v0.28.0 https://gitea.wildfiregames.com/0ad/0ad.git
2.    
libraries/build-source-libs.sh --with-system-mozjs    
3.   ./update-workspaces.sh --with-system-mozjs

          Premake version: 0.28.0
          Requires Premake 5.0.0-beta5 or later

Premake compiled, but
libraries/source/premake-core/premake-core-5.0.0-beta7/build/bootstrap/Premake5.make specifies the version as -DPREMAKE_VERSION=“0.28.0” instead of “5.0.0-beta7”.



 

Link to comment
Share on other sites

Looks somewhat like the premake bootstrap script runs git tag to get the version and as such breaking the build, guess you can add any commit on top of the tagged one and rebuild premake and you should be good, please also file a bug on gitea if that is the case.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...