~ruther/guix-local

fb799cb72e9a984929047fdd180c863413bb4991 — Ludovic Courtès 11 years ago b2a80c7
gnu: Disable RUNPATH validation for packages that use $ORIGIN.

* gnu/packages/haskell.scm (ghc)[arguments]: Add #:validate-runpath?.
* gnu/packages/julia.scm (julia)[arguments]: Likewise.
* gnu/packages/java.scm (icedtea6)[arguments]: Likewise.
3 files changed, 16 insertions(+), 0 deletions(-)

M gnu/packages/haskell.scm
M gnu/packages/java.scm
M gnu/packages/julia.scm
M gnu/packages/haskell.scm => gnu/packages/haskell.scm +5 -0
@@ 111,6 111,11 @@
       ;; We get a smaller number of test failures by disabling parallel test
       ;; execution.
       #:parallel-tests? #f

       ;; The DSOs use $ORIGIN to refer to each other, but (guix build
       ;; gremlin) doesn't support it yet, so skip this phase.
       #:validate-runpath? #f

       #:modules ((guix build gnu-build-system)
                  (guix build utils)
                  (guix build rpath)

M gnu/packages/java.scm => gnu/packages/java.scm +5 -0
@@ 160,6 160,11 @@ build process and its dependencies, whereas Make uses Makefile format.")
       ;;   made no attempts to make a list of failing JDK tests.  At least
       ;;   222 tests are failing of which at least 132 are AWT tests.
       #:tests? #f

       ;; The DSOs use $ORIGIN to refer to each other, but (guix build
       ;; gremlin) doesn't support it yet, so skip this phase.
       #:validate-runpath? #f

       #:configure-flags
       (let* ((gcjdir (assoc-ref %build-inputs "gcj"))
              (ecj    (string-append gcjdir "/share/java/ecj.jar"))

M gnu/packages/julia.scm => gnu/packages/julia.scm +6 -0
@@ 56,6 56,12 @@
       #:modules ((ice-9 match)
                  (guix build gnu-build-system)
                  (guix build utils))


       ;; The DSOs use $ORIGIN to refer to each other, but (guix build
       ;; gremlin) doesn't support it yet, so skip this phase.
       #:validate-runpath? #f

       #:phases
       (alist-cons-after
        'unpack 'hardcode-soname-map