naev build failure: validate-runpath failed

  • Done
  • quality assurance status badge
Details
2 participants
  • iyzsong
  • Maxime Devos
Owner
unassigned
Submitted by
Maxime Devos
Severity
normal
M
M
Maxime Devos wrote on 20 Aug 2023 01:25
(name . bug-guix)(address . bug-guix@gnu.org)
ec631cef-128e-b010-b054-7457e8f6dda8@telenet.be
When doing "guix shell naev", things ended with:
/gnu/store/nl8fl0agic9a5dw9i1m701p3yn6x6sw9-naev-0.10.4/bin/naev:
stripping RUNPATH to
("/gnu/store/xhxn5yk0kzh3rscirf0n1cvwnns7xn4h-sdl2-2.26.2/lib"
"/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib"
"/gnu/store/yd7rq0ffac7dz3jf5ggwhwcsnjjpk8pm-physfs-3.0.2/lib"
"/gnu/store/q19fw4nsjj9j67pz2siyasgwfq4kwfzy-enet-1.3.17/lib"
"/gnu/store/3dv9xf07gnmc4gpm0a4h0g7j58dx3l05-freetype-2.13.0/lib"
"/gnu/store/m6pdn0b70gncsfv0jpxnfipqf4cfimw4-libunibreak-5.0/lib"
"/gnu/store/g9cpfynzy3ryv9jprgvwf3g2mnd5p11q-libxml2-2.9.14/lib"
"/gnu/store/i7f40vxcp8gi05pzcf75s3hvv8m2gv0i-pcre2-10.40/lib"
"/gnu/store/bh4a659scn0s6k6cdrglaick97hwzmyg-luajit-2.1.0-beta3-0.6c4826f/lib"
"/gnu/store/mx4grjwli5pq7x6hm21hf5fj3n5vbp45-glpk-5.0/lib"
"/gnu/store/z6mqi9i61yz7xd2zwxfp7kcx6kgyzb99-suitesparse-5.13.0/lib"
"/gnu/store/z9aavic2jyvp6jyfxnl9ka3i8vfk5phc-openblas-0.3.20/lib"
"/gnu/store/s5b4c69463j32bpd9fxaa9xaaz3i8jyp-openal-1.22.2/lib"
"/gnu/store/zrqbilnrakxw4gpv0ix982kq5aigh4iy-libvorbis-1.3.7/lib")
(removed ("/gnu/store/nl8fl0agic9a5dw9i1m701p3yn6x6sw9-naev-0.10.4/lib"
"/gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib/lib"
"/gnu/store/zkxvwia0z25409k1kmm0jqzfk9prc8fx-libpng-1.6.37/lib"
"/gnu/store/slzq3zqwj75lbrg4ly51hfhbv2vhryv5-zlib-1.2.13/lib"
"/gnu/store/83rrhh4gwc48awsp1ahfjlq44ijha3y8-libwebp-1.2.4/lib"
"/gnu/store/aghzw4wmbdl3lxn4aww4ndfspmhzizp6-libogg-1.3.5/lib"
"/gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib/lib/gcc/x86_64-unknown-linux-gnu/11.3.0/../../.."))
phase `shrink-runpath' succeeded after 0.0 seconds
starting phase `validate-runpath'
validating RUNPATH of 1 binaries in
"/gnu/store/nl8fl0agic9a5dw9i1m701p3yn6x6sw9-naev-0.10.4/bin"...
/gnu/store/nl8fl0agic9a5dw9i1m701p3yn6x6sw9-naev-0.10.4/bin/naev: error:
depends on 'libSDL2_image-2.0.so.0', which cannot be found in RUNPATH
("/gnu/store/xhxn5yk0kzh3rscirf0n1cvwnns7xn4h-sdl2-2.26.2/lib"
"/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib"
"/gnu/store/yd7rq0ffac7dz3jf5ggwhwcsnjjpk8pm-physfs-3.0.2/lib"
"/gnu/store/q19fw4nsjj9j67pz2siyasgwfq4kwfzy-enet-1.3.17/lib"
"/gnu/store/3dv9xf07gnmc4gpm0a4h0g7j58dx3l05-freetype-2.13.0/lib"
"/gnu/store/m6pdn0b70gncsfv0jpxnfipqf4cfimw4-libunibreak-5.0/lib"
"/gnu/store/g9cpfynzy3ryv9jprgvwf3g2mnd5p11q-libxml2-2.9.14/lib"
"/gnu/store/i7f40vxcp8gi05pzcf75s3hvv8m2gv0i-pcre2-10.40/lib"
"/gnu/store/bh4a659scn0s6k6cdrglaick97hwzmyg-luajit-2.1.0-beta3-0.6c4826f/lib"
"/gnu/store/mx4grjwli5pq7x6hm21hf5fj3n5vbp45-glpk-5.0/lib"
"/gnu/store/z6mqi9i61yz7xd2zwxfp7kcx6kgyzb99-suitesparse-5.13.0/lib"
"/gnu/store/z9aavic2jyvp6jyfxnl9ka3i8vfk5phc-openblas-0.3.20/lib"
"/gnu/store/s5b4c69463j32bpd9fxaa9xaaz3i8jyp-openal-1.22.2/lib"
"/gnu/store/zrqbilnrakxw4gpv0ix982kq5aigh4iy-libvorbis-1.3.7/lib")
error: in phase 'validate-runpath': uncaught exception:
misc-error #f "RUNPATH validation failed" () #f
phase `validate-runpath' failed after 0.0 seconds
Backtrace:
8 (primitive-load "/gnu/store/sn2h16sbwsy2mcr1wvsjh0ds6m0…")
In guix/build/gnu-build-system.scm:
908:2 7 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
1752:10 6 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
634:9 5 (for-each #<procedure 7fffeeeedac0 at guix/build/gnu-b…> …)
In ice-9/boot-9.scm:
1752:10 4 (with-exception-handler _ _ #:unwind? _ # _)
In guix/build/gnu-build-system.scm:
929:23 3 (_)
570:10 2 (validate-runpath #:validate-runpath? _ # _ #:outputs _)
In ice-9/boot-9.scm:
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
RUNPATH validation failed
Looking at ci.guix.gnu.org, this appears to be reproducible
Looking at
it appears that the build failure was introduced between
1105c95e448cc807214a5414c27c33458dc35d9e and
d1aba42ad4e1909faa21d484975c5954c778e002.
Attachment: OpenPGP_signature
I
I
iyzsong wrote on 20 Aug 2023 04:19
[PATCH] gnu: naev: Fix build.
(address . guix-patches@gnu.org)
09e0a8350b7c1d1faa1b7d06f6f4d12e69da7689.1692497668.git.iyzsong@member.fsf.org
From: ??? <iyzsong@member.fsf.org>

* gnu/packages/games.scm (naev)[inputs]: Don't use sdl-union.
Remove sdl2-mixer.
---
gnu/packages/games.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Toggle diff (18 lines)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index a5fa19fc20..38f9343499 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -8242,7 +8242,8 @@ (define-public naev
physfs
python
python-pyyaml
- (sdl-union (list sdl2 sdl2-image sdl2-mixer))
+ sdl2
+ sdl2-image
suitesparse))
(home-page "https://naev.org/")
(synopsis "Game about space exploration, trade and combat")

base-commit: ad5e4fe54a66c725dc03dedebf8e5c65723ccb74
--
2.41.0
?
Re: bug#65390: naev build failure: validate-runpath failed
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 65390@debbugs.gnu.org)
87msym1m93.fsf@envs.net
Maxime Devos <maximedevos@telenet.be> writes:

Toggle quote (10 lines)
> When doing "guix shell naev", things ended with:
>
> [...]
> starting phase `validate-runpath'
> validating RUNPATH of 1 binaries in
> "/gnu/store/nl8fl0agic9a5dw9i1m701p3yn6x6sw9-naev-0.10.4/bin"...
> /gnu/store/nl8fl0agic9a5dw9i1m701p3yn6x6sw9-naev-0.10.4/bin/naev:
> error: depends on 'libSDL2_image-2.0.so.0', which cannot be found in
> [...]

Hello, avoid the use of 'sdl-union' will fix it. It was caused by meson
removing rpaths during install phase. Not sure why it remove the one
for sdl2-image though..
?
Re: bug#65395: [PATCH] gnu: naev: Fix build.
(address . 65395-done@debbugs.gnu.org)
87msyixbmh.fsf@envs.net
iyzsong@envs.net writes:

Toggle quote (5 lines)
> From: ??? <iyzsong@member.fsf.org>
>
> * gnu/packages/games.scm (naev)[inputs]: Don't use sdl-union.
> Remove sdl2-mixer.

Pushed now, closing.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 65390@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 65390
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch