LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Beyond Linux from scratch 11.3 p11-kit not installing using Freebl library (https://www.linuxquestions.org/questions/linux-from-scratch-13/beyond-linux-from-scratch-11-3-p11-kit-not-installing-using-freebl-library-4175728345/)

jrima 08-24-2023 02:56 PM

Beyond Linux from scratch 11.3 p11-kit not installing using Freebl library
 
I am going through the BLFS manual. I installed p11-kit-0.24.1 successfully. I then went on to install NSS-3.88.1 also successfully. When I went back to install p11-kit to make use of NSS, ninja failed.

p11 build process (using NSS): extracted tar cd into directory

Code:

mkdir p11-build &&
cd    p11-build &&

meson --prefix=/usr      \
      --buildtype=release \
      -Dtrust_paths=/etc/pki/anchors \
      -Dhash_impl=freebl

output:

Code:

Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
../bash-completion/meson.build:7: WARNING: Will not install bash completion due to missing dependencies!
Build targets in project: 176

p11-kit 0.24.1

  User defined options
    buildtype  : release
    prefix    : /usr
    hash_impl  : freebl
    trust_paths: /etc/pki/anchors

Found ninja-1.11.1 at /usr/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

then ran
Code:

ninja
and received
Code:

ninja: build stopped: subcommand failed.
Also recieved
Code:

FAILED: trust/test-digest
,
Code:

FAILED: trust/trust
,
Code:

FAILED: trust/test-x509
, and
Code:

FAILED: trust/test-index

I'm not sure what other information is relevant but there is a huge amount of output to pull from if needed.

Thank you

(this is my first lfs/blfs build, i have a few years in computer science and Linux, but never did something this low level)

Edit: If running p11-kit with NSS is not important, than I can skip that part, but as far as I'm aware, its a pretty important step as far as security is concerned.

hazel 08-25-2023 09:52 AM

There's something LFS-specific, which modifies the trust tree, that you have to run before you start to build. Did you remember to do that? Check the page.


All times are GMT -5. The time now is 02:31 AM.