GNU bug report logs - #65390
naev build failure: validate-runpath failed

Previous Next

Package: guix;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Sat, 19 Aug 2023 23:32:01 UTC

Severity: normal

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65390 in the body.
You can then email your comments to 65390 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#65390; Package guix. (Sat, 19 Aug 2023 23:32:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 19 Aug 2023 23:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guix <bug-guix <at> gnu.org>
Subject: naev build failure: validate-runpath failed
Date: Sun, 20 Aug 2023 01:25:38 +0200
[Message part 1 (text/plain, inline)]
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
<https://ci.guix.gnu.org/build/1316906/log/raw>.

Looking at
<https://ci.guix.gnu.org/build/1656956/details>,
it appears that the build failure was introduced between
1105c95e448cc807214a5414c27c33458dc35d9e and 
d1aba42ad4e1909faa21d484975c5954c778e002.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to liliana.prikler <at> gmail.com, iyzsong <at> envs.net, bug-guix <at> gnu.org:
bug#65390; Package guix. (Sun, 20 Aug 2023 02:20:02 GMT) Full text and rfc822 format available.

Message #8 received at 65390 <at> debbugs.gnu.org (full text, mbox):

From: iyzsong <at> envs.net
To: guix-patches <at> gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>,
 65390 <at> debbugs.gnu.org
Subject: [PATCH] gnu: naev: Fix build.
Date: Sun, 20 Aug 2023 10:19:53 +0800
From: 宋文武 <iyzsong <at> 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(-)

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





Information forwarded to bug-guix <at> gnu.org:
bug#65390; Package guix. (Sun, 20 Aug 2023 02:28:02 GMT) Full text and rfc822 format available.

Message #11 received at 65390 <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 65390 <at> debbugs.gnu.org
Subject: Re: bug#65390: naev build failure: validate-runpath failed
Date: Sun, 20 Aug 2023 10:27:36 +0800
Maxime Devos <maximedevos <at> telenet.be> writes:

> 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..




Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Wed, 23 Aug 2023 11:06:02 GMT) Full text and rfc822 format available.

Notification sent to Maxime Devos <maximedevos <at> telenet.be>:
bug acknowledged by developer. (Wed, 23 Aug 2023 11:06:02 GMT) Full text and rfc822 format available.

Message #16 received at 65390-done <at> debbugs.gnu.org (full text, mbox):

From: 宋文武 <iyzsong <at> envs.net>
To: 65395-done <at> debbugs.gnu.org
Cc: 宋文武 <iyzsong <at> member.fsf.org>,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>, 65390-done <at> debbugs.gnu.org
Subject: Re: bug#65395: [PATCH] gnu: naev: Fix build.
Date: Wed, 23 Aug 2023 19:05:10 +0800
iyzsong <at> envs.net writes:

> From: 宋文武 <iyzsong <at> member.fsf.org>
>
> * gnu/packages/games.scm (naev)[inputs]: Don't use sdl-union.
> Remove sdl2-mixer.

Pushed now, closing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 20 Sep 2023 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.