View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/4140500035f469c3d78565.gif)
Joined: 24 Jan 2010 Posts: 3755
|
Posted: Fri Aug 09, 2024 5:36 am Post subject: gui-wm/hyprland-0.42.0 upgrade issue [fixed] |
|
|
Code: | gui-wm/hyprland
Available versions: ~0.12.0[1] 0.41.1 (~)0.41.2 (~)0.42.0 **9999*l {X legacy-renderer systemd}
Installed versions: 0.41.2(06:11:03 02/07/2024)(X -legacy-renderer -systemd) | fails as Code: | * 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.8s)
| -- 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. |
Any idea?
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Last edited by CaptainBlood on Sun Aug 11, 2024 6:10 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CaptainBlood Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/4140500035f469c3d78565.gif)
Joined: 24 Jan 2010 Posts: 3755
|
Posted: Fri Aug 09, 2024 6:30 am Post subject: |
|
|
Report
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zucca Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/1241878214609aa5b503437.gif)
Joined: 14 Jun 2007 Posts: 3608 Location: Rasi, Finland
|
Posted: Fri Aug 09, 2024 6:33 am Post subject: |
|
|
Code: | Run-time dependency epoll-shim found: NO | , that's run-time dep which might have not been installed at the time of src_configure() was performed on hyprland ebuild. It would be easiest to have the ebuild include it in BDEPEND (although I think the fault is in the package build system).
But in any case try: Code: | emerge -v1 --onlydeps hyprland | and then try update hyrpland.
EDIT: Sorry I missed the Code: | Library execinfo found: NO | , that's the probable cause. My wild guess would be to run Code: | emerge -1 dev-libs/libexecinfo | and then try to update hyprland. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CaptainBlood Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/4140500035f469c3d78565.gif)
Joined: 24 Jan 2010 Posts: 3755
|
Posted: Fri Aug 09, 2024 7:17 am Post subject: |
|
|
Confirmed.
Thks 4 ur attention, interest & support. _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mumcut n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Sep 2006 Posts: 22 Location: /lost+found
|
Posted: Fri Aug 09, 2024 7:11 pm Post subject: |
|
|
Hey CaptainBlood,
I had the exact same issue. Seems like the file generateVersion.sh has been named incorrectly as generateVersion.sh.bak within the source package.
I was able to build it with a dirty patch:
create the file /etc/portage/patches/gui-wm/hyprland-0.42.0/00-fixscriptfilename.patch
with the following content:
Code: |
diff --git a/scripts/generateVersion.sh.bak b/scripts/generateVersion.sh
similarity index 100%
rename from scripts/generateVersion.sh.bak
rename to scripts/generateVersion.sh
|
and then emerge it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
CaptainBlood Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/4140500035f469c3d78565.gif)
Joined: 24 Jan 2010 Posts: 3755
|
Posted: Sat Aug 10, 2024 2:19 am Post subject: |
|
|
Working fine here...
If you have an account at bugzilla, maybe ypu could post the patch there?
Thks 4 ur attention, interest & support _________________ USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. " |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mumcut n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 03 Sep 2006 Posts: 22 Location: /lost+found
|
Posted: Sat Aug 10, 2024 12:22 pm Post subject: |
|
|
CaptainBlood wrote: | Working fine here...
If you have an account at bugzilla, maybe ypu could post the patch there?
Thks 4 ur attention, interest & support |
I was about to do so, however it seems the ebuild edit posted in the bug report / resp. here: https://github.com/gentoo/gentoo/pull/38037
seems to do a much better work. Probably hypr renamed the generateVersion.sh to .bak on purpose.
If you apply my patch, the command 'hyprctl version' returns empty values, however with the addition of src_prepare as suggested in the pull request, 'hyprctl version' seems to work properly. Consequently also hyprpm update etc. work nicely.
So better to disable the patch I posted yesterday and let the ebuild do its stuff. The ebuild is not changed yet, I added the paragraph manually into my local repository and emerge worked well. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|