Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948458 - sys-libs/pam-1.7.0_p20241230-r2: Fails to build in crossdev
Summary: sys-libs/pam-1.7.0_p20241230-r2: Fails to build in crossdev
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-20 18:13 UTC by zen
Modified: 2025-01-26 16:10 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,9.16 KB, text/x-log)
2025-01-20 18:13 UTC, zen
Details
meson.aarch64-unknown-linux-gnu.arm64.ini.local (file_948458.txt,72 bytes, text/plain)
2025-01-20 18:14 UTC, zen
Details
emerge info (file_948458.txt,4.76 KB, text/plain)
2025-01-20 18:14 UTC, zen
Details
meson log (meson-log.txt,87.90 KB, text/plain)
2025-01-20 18:17 UTC, zen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zen 2025-01-20 18:13:17 UTC
Created attachment 917137 [details]
build log

../linux-pam-e634a3a9be9484ada6e93970dfaf0f055ca17332/meson.build:506:18: ERROR: Program 'elinks' not found or not executable
Comment 1 zen 2025-01-20 18:14:28 UTC
Created attachment 917138 [details]
meson.aarch64-unknown-linux-gnu.arm64.ini.local
Comment 2 zen 2025-01-20 18:14:43 UTC
Created attachment 917139 [details]
emerge info
Comment 3 zen 2025-01-20 18:17:05 UTC
Created attachment 917140 [details]
meson log
Comment 4 Mike Gilbert gentoo-dev 2025-01-21 18:28:02 UTC
We have this in the meson "native" file to stub out w3m and elinks:

[binaries]
w3m='true'
elinks='true'

However, this setting from the native file is ignored when cross-compiling. I think we need to add it to the cross file as well?
Comment 5 Larry the Git Cow gentoo-dev 2025-01-21 19:11:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4293d2054dd7a1a2edd5bd5964bfada7342d66a7

commit 4293d2054dd7a1a2edd5bd5964bfada7342d66a7
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2025-01-21 19:09:37 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2025-01-21 19:09:37 +0000

    sys-libs/pam: use a cross file for stubs when cross-compiling
    
    Closes: https://bugs.gentoo.org/948458
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-libs/pam/pam-1.7.0_p20241230-r3.ebuild | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)
Comment 6 James Le Cuirot gentoo-dev 2025-01-26 16:07:42 UTC
FYI you'll need to revert this in the next version because I fixed it upstream.
https://github.com/linux-pam/linux-pam/commit/ab30f16cc7021f8d9b8446e050fd1e384d282c92