Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937601 - gui-wm/hyprland-0.42.0: meson.build:60:12: ERROR: Command `/bin/sh -c scripts/generateVersion.sh` failed with status 127.
Summary: gui-wm/hyprland-0.42.0: meson.build:60:12: ERROR: Command `/bin/sh -c scripts...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Julien Roy
URL:
Whiteboard:
Keywords: PullRequest
: 937732 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-08-09 06:11 UTC by CaptainBlood
Modified: 2024-08-11 02:44 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (gui-wm:hyprland-0.42.0:20240809-060645.log.gz,3.26 KB, application/gzip)
2024-08-09 06:11 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2024-08-09 06:11:22 UTC
Created attachment 899655 [details]
build log

>>> Emerging (1 of 1) gui-wm/hyprland-0.42.0::gentoo
 * hyprland-0.42.0.gh.tar.gz BLAKE2B SHA512 size ;-) ...                 [ ok ]
>>> Unpacking source...
>>> Unpacking hyprland-0.42.0.gh.tar.gz to /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work
>>> Source unpacked in /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work
>>> Preparing source in /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-source ...
>>> Source prepared.
>>> Configuring source in /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-source ...
 * hyprland-0.42.0 called filter-lto; ignoring.  DO NOT FILE BUGS ABOUT THIS PACKAGE.
meson setup -Db_lto=true -Db_lto_threads=1 --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dlegacy_renderer=disabled -Dsystemd=disabled -Dxwayland=enabled -Dwlroots:backends=drm,libinput,x11 -Dwlroots:xcb-errors=disabled /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-source /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-0.42.0-build
The Meson build system
Version: 1.4.1
Source dir: /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-source
Build dir: /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-0.42.0-build
Build type: native build
Project name: Hyprland
Project version: 0.42.0
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.3.1 "x86_64-pc-linux-gnu-gcc (Gentoo 13.3.1_p20240614 p17) 13.3.1 20240614")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.mold 2.32.1
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 13.3.1 "x86_64-pc-linux-gnu-g++ (Gentoo 13.3.1_p20240614 p17) 13.3.1 20240614")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.mold 2.32.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Check usable header "execinfo.h" : YES 
Found pkg-config: YES (/usr/bin/x86_64-pc-linux-gnu-pkg-config) 2.2.0
Run-time dependency xcb found: YES 1.17.0
Run-time dependency xcb-composite found: YES 1.17.0
Run-time dependency xcb-errors found: YES 1.0.1
Run-time dependency xcb-icccm found: YES 0.4.2
Run-time dependency xcb-render found: YES 1.17.0
Run-time dependency xcb-res found: YES 1.17.0
Run-time dependency xcb-xfixes found: YES 1.17.0

Executing subproject udis86 method cmake 

udis86| Found CMake: /usr/bin/cmake (3.28.5)

| Configuring the build directory with CMake version 3.28.5
| Running CMake with: -G Ninja -DCMAKE_INSTALL_PREFIX=/usr
|   - build directory:          /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-0.42.0-build/subprojects/udis86/__CMake_build
|   - source directory:         /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-source/subprojects/udis86
|   - toolchain file:           /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-0.42.0-build/subprojects/udis86/__CMake_build/CMakeMesonToolchainFile.cmake
|   - preload file:             /usr/lib/python3.11/site-packages/mesonbuild/cmake/data/preload.cmake
|   - trace args:               --trace-expand --trace-format=json-v1 --no-warn-unused-cli --trace-redirect=cmake_trace.txt
|   - disabled policy warnings: [CMP0025, CMP0047, CMP0056, CMP0060, CMP0065, CMP0066, CMP0067, CMP0082, CMP0089, CMP0102]

| Put cmake in trace mode, but with variables expanded.
| Put cmake in trace mode and sets the trace output format.
| Not searching for unused variables given on the command line.
| Put cmake in trace mode and redirect trace output to a file instead of stderr.
| Trace will be written to cmake_trace.txt
| -- The C compiler identification is GNU 13.3.1
| -- Detecting C compiler ABI info
| -- Detecting C compiler ABI info - done
| -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
| -- Detecting C compile features
| -- Detecting C compile features - done
| -- Found Python3: /usr/bin/python3.12 (found version "3.12.3") found components: Interpreter
| Building itab.c/itab.h...
| -- Configuring done (1.6s)
| -- Generating done (0.0s)
| -- Build files have been written to: /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-0.42.0-build/subprojects/udis86/__CMake_build

udis86| CMake configuration: SUCCEEDED
udis86| CMake project udis86  has 3 build targets.
udis86| Generated Meson AST: /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-0.42.0-build/subprojects/udis86/meson.build
udis86| Project name: udis86
udis86| Project version: undefined
udis86| C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 13.3.1 "x86_64-pc-linux-gnu-gcc (Gentoo 13.3.1_p20240614 p17) 13.3.1 20240614")
udis86| C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.mold 2.32.1
udis86| Build targets in project: 2
udis86| Subproject udis86 finished.

Library execinfo found: NO
Found CMake: /usr/bin/cmake (3.28.5)
Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake)

meson.build:60:12: ERROR: Command `/bin/sh -c scripts/generateVersion.sh` failed with status 127.

A full log can be found at /var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-0.42.0-build/meson-logs/meson-log.txt
 * ERROR: gui-wm/hyprland-0.42.0::gentoo failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2853:  Called meson_src_configure
 *   environment, line 2104:  Called die
 * The specific snippet of code:
 *       [[ ${rv} -eq 0 ]] || die -n "configure failed";
 * 
 * If you need support, post the output of `emerge --info '=gui-wm/hyprland-0.42.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=gui-wm/hyprland-0.42.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/gui-wm:hyprland-0.42.0:20240809-060645.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/temp/environment'.
 * Working directory: '/var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-source'
 * S: '/var/no-tmpfs/portage/gui-wm/hyprland-0.42.0/work/hyprland-source'
Comment 1 331947hi 2024-08-09 09:28:05 UTC
I'm getting the exact same issue with the same build log.

Here is my `emerge --info`:

```
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-13, glibc-2.39-r6, 6.6.41-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.41-gentoo-dist-x86_64-AMD_Ryzen_5_5600X_6-Core_Processor-with-glibc2.39
KiB Mem:    16280252 total,   5684224 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Fri, 09 Aug 2024 08:30:00 +0000
Head commit of repository gentoo: 7b6ceeb3e8245f1314bfee469d942613613cd4c2
Timestamp of repository dlang: Tue, 06 Aug 2024 09:07:38 +0000
Head commit of repository dlang: 73be6db45e8540def06d71cb7f258c18386a55da

Timestamp of repository elementary: Wed, 07 Aug 2024 15:03:51 +0000
Head commit of repository elementary: 14e3fd44d12ff920fbf8cd0dc2bed9240af1331d

Timestamp of repository guru: Fri, 09 Aug 2024 03:33:52 +0000
Head commit of repository guru: f800a2d85a8e0f7fda3ccda0c88829a2c5e95a06

Timestamp of repository joecool-overlay: Tue, 06 Aug 2024 09:08:22 +0000
Head commit of repository joecool-overlay: 28529da77fae426a57f8903ff455a827ac724373

Head commit of repository librewolf: 113f10bfc5ce476fa8d346c0e07e91c9b25d9994

Timestamp of repository steam-overlay: Thu, 08 Aug 2024 14:48:50 +0000
Head commit of repository steam-overlay: fb288ea2490eb324c9533719c2ebfc09abc8df86

Head commit of repository vinegar: aa95a0c7377d7d0dfcb1337ba165b1197fd9c66a

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.9.1 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.11.9-r1::gentoo, 3.12.3-r1::gentoo
dev-lang/rust:             1.79.0::gentoo
dev-util/ccache:           4.9.1-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             12.4.0::gentoo, 13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r4::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

dlang
    location: /var/db/repos/dlang
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dlang.git
    masters: gentoo
    volatile: False

elementary
    location: /var/db/repos/elementary
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/elementary.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

joecool-overlay
    location: /var/db/repos/joecool-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/joecool-overlay.git
    masters: gentoo
    volatile: False

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://codeberg.org/librewolf/gentoo.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

vinegar
    location: /var/db/repos/vinegar
    sync-type: git
    sync-uri: https://github.com/vinegarhq/ebuild.git
    masters: gentoo
    volatile: False

Installed sets: @esteam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=znver3 -mtune=znver3 -pipe -fomit-frame-pointer -msse -msse2 -msse3 -mmmx -m3dnow -ftree-vectorize -flto"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=znver3 -mtune=znver3 -pipe -fomit-frame-pointer -msse -msse2 -msse3 -mmmx -m3dnow -ftree-vectorize -flto"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--ask"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O3 -pipe -march=znver3 -mtune=znver3 -pipe -fomit-frame-pointer -msse -msse2 -msse3 -mmmx -m3dnow -ftree-vectorize -flto"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -march=znver3 -mtune=znver3 -pipe -fomit-frame-pointer -msse -msse2 -msse3 -mmmx -m3dnow -ftree-vectorize -flto"
GENTOO_MIRRORS="https://mirror.bytemark.co.uk/gentoo/     http://mirror.bytemark.co.uk/gentoo/     rsync://mirror.bytemark.co.uk/gentoo/     https://mirrors.gethosted.online/gentoo     http://mirrors.gethosted.online/gentoo     https://www.mirrorservice.org/sites/distfiles.gentoo.org/     http://www.mirrorservice.org/sites/distfiles.gentoo.org/     ftp://ftp.mirrorservice.org/sites/distfiles.gentoo.org/     rsync://rsync.mirrorservice.org/distfiles.gentoo.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j13"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C strip=symbols -C embed-bitcode=yes -C prefer-dynamic=no"
SHELL="/bin/zsh"
USE="a52 aac acpi alsa amd64 branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts elogind encode exif flac gdbm gif gpm gstreamer gtk gui iconv icu jpeg kf6compat lcms libnotify libtirpc libvirt lto mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf pgo pipewire png policykit polkit ppds pulseaudio qemu qml qt5 qt6 readline sdl sdl2 seccomp sound spell split-usr ssl startup-notifi
cation svg test-rust tiff truetype udev udisks unicode upower usb virgl vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xvid zlib" ABI_X86="32 64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
```
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-10 18:25:58 UTC
*** Bug 937732 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2024-08-11 02:44:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fada7643d26e1f684a213cac654b7f56c0e88ed

commit 1fada7643d26e1f684a213cac654b7f56c0e88ed
Author:     John M. Harris Jr. <johnmh@johnmh.me>
AuthorDate: 2024-08-10 19:37:11 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2024-08-11 02:41:36 +0000

    gui-wm/hyprland: fix generateVersion.sh error
    
    Closes: https://bugs.gentoo.org/937601
    Co-authored-by: xz-dev <xiangzhedev@gmail.com>
    Signed-off-by: xz-dev <xiangzhedev@gmail.com>
    Signed-off-by: John M. Harris Jr. <johnmh@johnmh.me>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 gui-wm/hyprland/hyprland-0.42.0-r1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)