Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729974 - sys-libs/pam-1.4.0-r2 on sys-libs/musl-1.2.0-r1: .libs/pam_faillock.o: in function `check_local_user': pam_faillock.c:(.text+0x1c4): undefined reference to `fgetpwent_r'
Summary: sys-libs/pam-1.4.0-r2 on sys-libs/musl-1.2.0-r1: .libs/pam_faillock.o: in fun...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-28 07:21 UTC by Andrew Savchenko
Modified: 2020-08-09 10:22 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,125.48 KB, text/plain)
2020-06-28 07:21 UTC, Andrew Savchenko
Details
environment (environment,89.17 KB, text/plain)
2020-06-28 07:22 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,8.71 KB, text/plain)
2020-06-28 07:22 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2020-06-28 07:21:41 UTC
Created attachment 646902 [details]
build.log

Pam-1.4.0-r2 fails to build on musl with the following error:

/usr/lib/gcc/x86_64-gentoo-linux-musl/10.1.0/../../../../x86_64-gentoo-linux-musl/bin/ld: .libs/pam_faillock.o: in function `check_local_user':
pam_faillock.c:(.text+0x1c4): undefined reference to `fgetpwent_r'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:755: pam_faillock.la] Error 1

Full log and other information is attached below.
Comment 1 Andrew Savchenko gentoo-dev 2020-06-28 07:22:15 UTC
Created attachment 646904 [details]
environment
Comment 2 Andrew Savchenko gentoo-dev 2020-06-28 07:22:46 UTC
Created attachment 646906 [details]
emerge --info
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-06-28 08:37:39 UTC
Fixed in master. Will take snapshot a little bit later.
Comment 4 Joshua Kinard gentoo-dev 2020-07-19 21:02:22 UTC
(In reply to Mikle Kolyada from comment #3)
> Fixed in master. Will take snapshot a little bit later.

Is a patch available in the midterm?
Comment 5 Larry the Git Cow gentoo-dev 2020-08-09 10:22:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=147c0cb4ca0b5f9069698ee53e0e549663b372d6

commit 147c0cb4ca0b5f9069698ee53e0e549663b372d6
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2020-08-09 10:22:13 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-08-09 10:22:49 +0000

    sys-libs/pam: take new snapshot
    
    Closes: https://bugs.gentoo.org/729974
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 sys-libs/pam/Manifest                   |   2 +
 sys-libs/pam/pam-1.4.0_p20200809.ebuild | 130 ++++++++++++++++++++++++++++++++
 2 files changed, 132 insertions(+)