Summary: | app-arch/pxz-5.0_pre20151029 : pxz.c: fatal error: error.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chutzpah, grobian |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 713786 | ||
Attachments: |
emerge-info.txt
app-arch:pxz-5.0_pre20151029:20200411-112742.log emerge-history.txt environment etc.portage.tbz2 temp.tbz2 |
Description
Toralf Förster
2020-04-11 12:25:24 UTC
Created attachment 632188 [details]
emerge-info.txt
Created attachment 632190 [details]
app-arch:pxz-5.0_pre20151029:20200411-112742.log
Created attachment 632192 [details]
emerge-history.txt
Created attachment 632194 [details]
environment
Created attachment 632196 [details]
etc.portage.tbz2
Created attachment 632198 [details]
temp.tbz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=2bd68575c474d248e30f0f11a18072a7820a7371 commit 2bd68575c474d248e30f0f11a18072a7820a7371 Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2020-04-11 14:00:20 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2020-04-11 14:00:58 +0000 app-emulation/wine-staging: Drop old patch Closes: https://bugs.gentoo.org/717062 Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> app-emulation/wine-staging/wine-staging-5.6.ebuild | 1 - app-emulation/wine-staging/wine-staging-9999.ebuild | 1 - 2 files changed, 2 deletions(-) Sorry, typo of https://bugs.gentoo.org/717026 @chutzpah: error.h problems are nasty, I didn't want to make this too big of a patch, and glibc users have no issues here of course. So I propose this change that works for musl (and others like macOS and Solaris): @@ -26,4 +26,8 @@ export BINDIR="${EPREFIX}"/usr/bin export MANDIR="${EPREFIX}"/usr/share/man default_src_prepare + + if use elibc_musl ; then + sed -i -e '/<error.h>/c\#define error(R,E,S,...) fprintf(stderr, S "\\n", ##__VA_ARGS__); exit(R)' pxz.c + fi } It makes pxz usable, which is very useful. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f770c6e42a8e6c1bed10ee17064d35813302018 commit 7f770c6e42a8e6c1bed10ee17064d35813302018 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2022-01-25 20:09:41 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2022-01-25 20:13:44 +0000 app-arch/pxz: fix for musl Closes: https://bugs.gentoo.org/717062 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Fabian Groffen <grobian@gentoo.org> app-arch/pxz/pxz-5.0_pre20151029.ebuild | 8 ++++++-- app-arch/pxz/pxz-9999.ebuild | 6 +++++- 2 files changed, 11 insertions(+), 3 deletions(-) |