LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-24-2023, 02:56 PM   #1
jrima
LQ Newbie
 
Registered: Aug 2023
Posts: 1

Rep: Reputation: 0
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.
 
Old 08-25-2023, 09:52 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,576
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux From Scratch 8.0 and Beyond LFS 8.0 Land with GCC 6.2, GNU Binutils 2.27 LXer Syndicated Linux News 0 02-27-2017 02:00 AM
LXer: Linux From Scratch and Beyond Linux From Scratch 7.9 Books Officially Released LXer Syndicated Linux News 0 03-11-2016 09:40 AM
cross compiling libraries/utilities referred in Beyond Linux From Scratch document ayyasprings Linux From Scratch 4 10-14-2014 03:30 AM
Beyond Linux From Scratch v7.5 has been released stoat Linux From Scratch 1 03-06-2014 04:36 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration