unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#65390: naev build failure: validate-runpath failed
@ 2023-08-19 23:25 Maxime Devos
  2023-08-20  2:19 ` bug#65390: [PATCH] gnu: naev: Fix build iyzsong--- via Bug reports for GNU Guix
  2023-08-20  2:27 ` bug#65390: naev build failure: validate-runpath failed 宋文武 via Bug reports for GNU Guix
  0 siblings, 2 replies; 3+ messages in thread
From: Maxime Devos @ 2023-08-19 23:25 UTC (permalink / raw)
  To: 65390


[-- Attachment #1.1.1: Type: text/plain, Size: 4160 bytes --]

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.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#65390: [PATCH] gnu: naev: Fix build.
  2023-08-19 23:25 bug#65390: naev build failure: validate-runpath failed Maxime Devos
@ 2023-08-20  2:19 ` iyzsong--- via Bug reports for GNU Guix
  2023-08-20  2:27 ` bug#65390: naev build failure: validate-runpath failed 宋文武 via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: iyzsong--- via Bug reports for GNU Guix @ 2023-08-20  2:19 UTC (permalink / raw)
  To: guix-patches
  Cc: 宋文武, 65390, Liliana Marie Prikler,
	宋文武

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(-)

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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#65390: naev build failure: validate-runpath failed
  2023-08-19 23:25 bug#65390: naev build failure: validate-runpath failed Maxime Devos
  2023-08-20  2:19 ` bug#65390: [PATCH] gnu: naev: Fix build iyzsong--- via Bug reports for GNU Guix
@ 2023-08-20  2:27 ` 宋文武 via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2023-08-20  2:27 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 65390

Maxime Devos <maximedevos@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..




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-20  2:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-19 23:25 bug#65390: naev build failure: validate-runpath failed Maxime Devos
2023-08-20  2:19 ` bug#65390: [PATCH] gnu: naev: Fix build iyzsong--- via Bug reports for GNU Guix
2023-08-20  2:27 ` bug#65390: naev build failure: validate-runpath failed 宋文武 via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).