Subject: bug#42599: clang-3.7.1 build failure

From: Malte Frank Gerdes <[email-masked]>
Date: Wed, 29 Jul 2020 16:47:38 +0200

Hi,

llvm-3.7.1 fails to build as a dependency of beignet-1.3.2. The error
seems to be a missing file (see log at end of mail). 

Malte

Log:

starting phase `validate-runpath'
Backtrace:
In guix/build/gnu-build-system.scm:
    838:2 19 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1736:10 18 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
   857:16 17 (every1 #<procedure 7ffff4bd5240 at guix/build/gnu-bui…> …)
In guix/build/gnu-build-system.scm:
   847:30 16 (_ _)
   561:16 15 (validate-runpath #:validate-runpath? _ # _ #:outputs _)
In guix/build/utils.scm:
   569:23 14 (every* #<procedure validate (directory)> _)
In guix/build/gnu-build-system.scm:
   543:36 13 (validate "/gnu/store/xh7dyxsjcbn4nvy6m85b24bii6iywfrl-…")
In guix/build/utils.scm:
   417:10 12 (find-files _ _ #:stat _ #:directories? _ # _)
In ice-9/ftw.scm:
   452:32 11 (loop _ _ #(2050 11934435 16877 3 998 998 0 4096 # # …) …)
In srfi/srfi-1.scm:
   460:18 10 (fold #<procedure 7ffff5f31880 at ice-9/ftw.scm:452:38…> …)
In unknown file:
           9 (_ #<procedure 7ffff4ef4450 at ice-9/ftw.scm:454:44 ()> …)
In ice-9/ftw.scm:
   452:32  8 (loop _ _ #(2050 11934436 16877 3 998 998 0 4096 # # …) …)
In srfi/srfi-1.scm:
   460:18  7 (fold #<procedure 7ffff5f314e0 at ice-9/ftw.scm:452:38…> …)
In unknown file:
           6 (_ #<procedure 7ffff4ef4390 at ice-9/ftw.scm:454:44 ()> …)
In ice-9/ftw.scm:
   452:32  5 (loop _ _ #(2050 11934437 16877 4 998 998 0 4096 # # …) …)
In srfi/srfi-1.scm:
   460:18  4 (fold #<procedure 7ffff5f313a0 at ice-9/ftw.scm:452:38…> …)
In unknown file:
           3 (_ #<procedure 7ffff4ef40f0 at ice-9/ftw.scm:454:44 ()> …)
In ice-9/ftw.scm:
   482:39  2 (loop _ _ #(2050 11934538 16877 2 998 998 0 4096 # # …) …)
In guix/build/utils.scm:
   419:34  1 (_ "/gnu/store/xh7dyxsjcbn4nvy6m85b24bii6iywfrl-clang-…" …)
In ice-9/boot-9.scm:
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure open-file: No such file or directory: "/gnu/store/xh7dyxsjcbn4nvy6m85b24bii6iywfrl-clang-3.7.1/lib/clang/3.7.1/share/cfi_blacklist.txt"