scripts/generateVersion.sh` failed with status 127
Already reported ? *
- [X] I have searched the existing open and closed issues.
Regression?
Yes
System Info and Version
0.44.0
Description
when compiling hyprland 0.44.0 I get the error:
meson.build:67:0: ERROR: Command /usr/bin/sh -c scripts/generateVersion.sh failed with status 127.
Full build log: https://file-store.openmandriva.org/api/v1/file_stores/489d47eef37c9b2ac14676460931e6914ae8f8e0.log?show=true
Worth to add, 0.43.0 still compile fine.
Details: build system: meson 1.5.2 os: openmandriva cooker compiler: llvm/clang 19.1.1
How to reproduce
- Download tarball 0.44.0
- Try compile
- See build error
Crash reports, logs, images, videos
No response
@fufexan I don't think anything changed there, but considering this is meson
Do you still have the meson log? If so, can you link it here?
Exit code 127 means command not found, so either git/sed/coreutils are not present.
Meson log: https://dpaste.org/yAV65
https://dpaste.org/yAV65#L611 somehow the script is not found. Probably an issue with manipulating the source.
https://github.com/hyprwm/Hyprland/blob/bc299928ad5571300180eb8edb6742ed3bbf0282/.github/workflows/release.yaml#L23
The script is renamed here. It would be better to update the script to do nothing in the source tarball, since version already generated.
I don't remember what purpose that served. I'll remove that line.
I managed to compile using the source tarball. The thing was that the tarball already has a pregenerated version.h - which is not in git. I used the Fedora solution like this and everything compiled: L154-156 https://src.fedoraproject.org/rpms/hyprland/c/0e2a3497f6c91555843241991abc15cc9975b69e?branch=rawhide
Hello there!
This issue has been closed, as we are moving from issues to discussions. More about this can be found here and in #9854.
Firstly, please make sure this issue is still relevant in latest Hyprland. If so, we ask you to open a discussion (please read the discussion guidelines first, in the pinned post)
Thank you for your understanding!