View previous topic :: View next topic |
Author |
Message |
Shodan n00b
Joined: 18 Apr 2003 Posts: 26 Location: Milan, Italy
|
Posted: Mon Jan 20, 2025 1:19 pm Post subject: [SOLVED]Can't emerge pam in aarch64 crosscompile environment |
|
|
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 |
|
|
Shodan n00b
Joined: 18 Apr 2003 Posts: 26 Location: Milan, Italy
|
Posted: Mon Jan 20, 2025 2:46 pm Post subject: |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23024
|
Posted: Mon Jan 20, 2025 3:08 pm Post subject: |
|
|
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 |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 2097
|
Posted: Mon Jan 20, 2025 3:42 pm Post subject: |
|
|
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 |
|
|
|