Summary: | dev-libs/libptytty-2.0 - /.../logging.C: error: WTMPX_FILE was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | marecki |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-libs:libptytty-2.0:20211211-120437.log emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 758533 [details]
emerge-info.txt
Created attachment 758534 [details]
dev-libs:libptytty-2.0:20211211-120437.log
Created attachment 758535 [details]
emerge-history.txt
Created attachment 758536 [details]
environment
Created attachment 758537 [details]
etc.portage.tar.bz2
Created attachment 758538 [details]
logs.tar.bz2
Created attachment 758539 [details]
temp.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0c412924396549a56cbbf19d4b27514abcafa84 commit d0c412924396549a56cbbf19d4b27514abcafa84 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2021-12-14 12:00:20 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2021-12-14 12:05:53 +0000 dev-libs/libptytty: fix compilation against musl musl does not define _PATH_{LASTLOGX,UTMPX,WTMPX} so use the upstream-provided CMake arguments to define them ourselves, using the same path convention as what musl headers put in _PATH_{LASTLOG,UTMP,WTMP}. Extra quotes are important, as said variables are currently injected verbatim into headers and hilarity ensues if they are not quoted. Closes: https://bugs.gentoo.org/828923 Signed-off-by: Marek Szuba <marecki@gentoo.org> dev-libs/libptytty/libptytty-2.0.ebuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+) |