Summary: | sys-libs/pam-1.2.1 on musl: pam_exec.c: undefined reference to `strndupa' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nicholas Fish <gentoo> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | embedded, pam-bugs+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: | Build log from failed pam-1.2.1-r1 emerge demonstrating strndupa error |
Description
Nicholas Fish
2016-01-01 20:15:02 UTC
see i would have switched to strndup which uses malloc instead of alloc and then been careful to free the char* after use. anyhow that patch looks okay to me. if you are actively working with musl, please provide patches against the musl overlay at https://gitweb.gentoo.org/proj/musl.git/ so all may benefit from your work. Believe this has been fixed. https://gitweb.gentoo.org/proj/musl.git/commit/?id=b880a39368148d7f7e2906a6d07d73fe606f7c8a No issues emerging sys-libs/pam-1.2.1-r99 from musl overlay. |