Subject: bug#63485: closed (Re: bug#63485: Broken build libfprint)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 24 May 2023 08:44:04 +0000

Your bug report

#63485: Broken build of libfprint

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
63485: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63485
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#63485: Broken build libfprint
From: Efraim Flashner <[email-masked]>
To: Alex Devaure <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 24 May 2023 11:43:46 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

On Mon, May 22, 2023 at 09:32:03PM +0100, Alex Devaure wrote:
> 
> Hi,
> Here is the patch to build libfprint.

I've adjusted the patch to remove all the styling changes so it's
clearer what changes were made. I've also added a copyright line for you
and pushed the patch. Thanks!

-- 
Efraim Flashner   <[email-masked]>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

Subject: Broken build of libfprint
From: Jiwei Yang <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Sat, 13 May 2023 13:16:16 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix!

I was trying building libfprint but it seemed there were some problems with libnss3.so:

> ...
>
> starting phase `patch-shebangs'
> phase `patch-shebangs' succeeded after 0.0 seconds
> starting phase `strip'
> stripping binaries in "/gnu/store/2q2m4vnj7czm5f3jkkxamwa41ihgbs7a-libfprint-1.94.5/lib" with "strip" and flags ("--strip-unneeded" "--enable-deterministic-archives")
> phase `strip' succeeded after 0.0 seconds
> starting phase `shrink-runpath'
> /gnu/store/2q2m4vnj7czm5f3jkkxamwa41ihgbs7a-libfprint-1.94.5/lib/libfprint-2.so: stripping RUNPATH to ("/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib" "/gnu/store/nb40pwd37v6i1g4b1fq4l6q4h9px3asr-glib-2.72.3/lib" "/gnu/store/36pq5lsji3ania8wk05hpq55lfpnh81w-gusb-0.3.5/lib" "/gnu/store/p6za1mhsrw7fxgngyjkkm6z9dkgdfnqf-pixman-0.40.0/lib" "/gnu/store/a5g7n5jkiqy3bp28mwk98pw3jzxfm4x6-libgudev-236/lib") (removed ("/gnu/store/2q2m4vnj7czm5f3jkkxamwa41ihgbs7a-libfprint-1.94.5/lib" "/gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib/lib" "/gnu/store/hgljcrwcgksxrcl77yybgmpl11d8xxx3-libusb-1.0.25/lib" "/gnu/store/jxkn98nnk2pv3fy7cx2baaynkr4c63wp-nspr-4.35/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/2q2m4vnj7czm5f3jkkxamwa41ihgbs7a-libfprint-1.94.5/lib"...
> /gnu/store/2q2m4vnj7czm5f3jkkxamwa41ihgbs7a-libfprint-1.94.5/lib/libfprint-2.so: error: depends on 'libnss3.so', which cannot be found in RUNPATH ("/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib" "/gnu/store/nb40pwd37v6i1g4b1fq4l6q4h9px3asr-glib-2.72.3/lib" "/gnu/store/36pq5lsji3ania8wk05hpq55lfpnh81w-gusb-0.3.5/lib" "/gnu/store/p6za1mhsrw7fxgngyjkkm6z9dkgdfnqf-pixman-0.40.0/lib" "/gnu/store/a5g7n5jkiqy3bp28mwk98pw3jzxfm4x6-libgudev-236/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/8hf1rdz5c3k8rdn0akhii6b3r0m…")
> 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 7fffeeef0160 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

Kind regards,
Jiwei