Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Can't emerge pam in aarch64 crosscompile environment
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Shodan
n00b
n00b


Joined: 18 Apr 2003
Posts: 26
Location: Milan, Italy

PostPosted: Mon Jan 20, 2025 1:19 pm    Post subject: [SOLVED]Can't emerge pam in aarch64 crosscompile environment Reply with quote

Hi
I'm trying to create a binary distribution for aarch64, but I'm hitting a wall with pam: it runs xmlcatalog but it exits with an error.
The log contains this:

Code:

Running command: /usr/bin/xmlcatalog --noout /etc/xml/catalog http://docbook.org/xml/5.0/rng/docbookxi.rng
--- stdout ---
No entry for SYSTEM http://docbook.org/xml/5.0/rng/docbookxi.rng
No entry for URI http://docbook.org/xml/5.0/rng/docbookxi.rng

--- stderr ---



../linux-pam-e634a3a9be9484ada6e93970dfaf0f055ca17332/meson.build:538:9: ERROR: Command `/usr/bin/xmlcatalog --noout /etc/xml/catalog http://docbook.org/xml/5.0/rng/docbookxi.rng` failed with status 4.


Why does pam need docbook?
The system I'm compiling this on never had this issue. Has anyone else seen this?
Thanks


Last edited by Shodan on Mon Jan 20, 2025 2:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Shodan
n00b
n00b


Joined: 18 Apr 2003
Posts: 26
Location: Milan, Italy

PostPosted: Mon Jan 20, 2025 2:46 pm    Post subject: Reply with quote

Found the problem: I assumed that the command
Code:
crossdev --stable -t aarch64-unknown-linux-gnu
found here would create a stable environment, instead the make.conf had
Code:
ACCEPT_KEYWORDS="${ARCH}"
so I was trying to build an unstable version of pam.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23024

PostPosted: Mon Jan 20, 2025 3:08 pm    Post subject: Reply with quote

Shodan wrote:
Found the problem: I assumed that the command
Code:
crossdev --stable -t aarch64-unknown-linux-gnu
found here would create a stable environment, instead the make.conf had
Code:
ACCEPT_KEYWORDS="${ARCH}"
so I was trying to build an unstable version of pam.
The shown output should pick stable, not unstable as you write here. You did not provide enough output for us to see what version of pam was picked, nor its USE flags.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2097

PostPosted: Mon Jan 20, 2025 3:42 pm    Post subject: Reply with quote

This isn't really a solution anyway, the issue will still show up when new pam gets stabled if nobody has filed a bug report with the needed logs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum