Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scripts/generateVersion.sh` failed with status 127 #8002

Open
1 task done
AngryPenguinPL opened this issue Oct 6, 2024 · 8 comments
Open
1 task done

scripts/generateVersion.sh` failed with status 127 #8002

AngryPenguinPL opened this issue Oct 6, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@AngryPenguinPL
Copy link

Already reported ? *

  • 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

  1. Download tarball 0.44.0
  2. Try compile
  3. See build error

Crash reports, logs, images, videos

No response

@AngryPenguinPL AngryPenguinPL added the bug Something isn't working label Oct 6, 2024
@vaxerski
Copy link
Member

vaxerski commented Oct 6, 2024

@fufexan I don't think anything changed there, but considering this is meson

@fufexan
Copy link
Member

fufexan commented Oct 6, 2024

Do you still have the meson log? If so, can you link it here?

@fufexan
Copy link
Member

fufexan commented Oct 6, 2024

Exit code 127 means command not found, so either git/sed/coreutils are not present.

@AngryPenguinPL
Copy link
Author

Meson log: https://dpaste.org/yAV65

@fufexan
Copy link
Member

fufexan commented Oct 7, 2024

https://dpaste.org/yAV65#L611 somehow the script is not found. Probably an issue with manipulating the source.

@jilen
Copy link

jilen commented Oct 9, 2024

mv scripts/generateVersion.sh scripts/generateVersion.sh.bak

The script is renamed here. It would be better to update the script to do nothing in the source tarball, since version already generated.

@fufexan
Copy link
Member

fufexan commented Oct 9, 2024

I don't remember what purpose that served. I'll remove that line.

@AngryPenguinPL
Copy link
Author

AngryPenguinPL commented Oct 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants