Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

scripts/generateVersion.sh` failed with status 127

Open AngryPenguinPL opened this issue 1 year ago • 8 comments

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

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

Crash reports, logs, images, videos

No response

AngryPenguinPL avatar Oct 06 '24 14:10 AngryPenguinPL

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

vaxerski avatar Oct 06 '24 15:10 vaxerski

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

fufexan avatar Oct 06 '24 15:10 fufexan

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

fufexan avatar Oct 06 '24 16:10 fufexan

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

AngryPenguinPL avatar Oct 06 '24 18:10 AngryPenguinPL

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

fufexan avatar Oct 07 '24 16:10 fufexan

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.

jilen avatar Oct 09 '24 02:10 jilen

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

fufexan avatar Oct 09 '24 08:10 fufexan

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

AngryPenguinPL avatar Oct 09 '24 14:10 AngryPenguinPL

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!

vaxerski avatar Apr 05 '25 18:04 vaxerski