Summary: | app-text/robodoc-4.99.43 : troff_generator.c: fatal error: sys/unistd.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Ovidiu - Dan Bogat <ovi> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/15035 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
app-text:robodoc-4.99.43:20200320-023853.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 patch to build against musl |
Description
Toralf Förster
2020-03-20 14:51:00 UTC
Created attachment 623072 [details]
emerge-info.txt
Created attachment 623074 [details]
app-text:robodoc-4.99.43:20200320-023853.log
Created attachment 623076 [details]
emerge-history.txt
Created attachment 623078 [details]
environment
Created attachment 623080 [details]
etc.portage.tbz2
Created attachment 623082 [details]
logs.tbz2
Created attachment 623084 [details]
temp.tbz2
Hy. This is due to musl and should be patched upstream. The placement of unistd.h differs as follows: with musl: /usr/include/unistd.h with gnu: /usr/include/unistd.h /usr/include/sys/unistd.h (includes previous) This is a rather quick fix upstream and this particular header gets included in troff_generator.c only. I'd rather build the source against musl completely to find any other errors related to libc and patch them all in one go (another one used which Created attachment 623864 [details, diff]
patch to build against musl
the sources build fine against musl on a amd64-musl-hardened and robodoc works just fine
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8448ce2f5cf828cdf63df45f52eb643cb9a937c commit f8448ce2f5cf828cdf63df45f52eb643cb9a937c Author: Ovidiu-Dan Bogat <4z0r@ovidiu.at> AuthorDate: 2020-03-21 15:07:51 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-03-25 13:45:24 +0000 app-text/robodoc: revision to build against musl Closes: https://bugs.gentoo.org/713616 Signed-off-by: Ovidiu-Dan Bogat <ovi@ovidiu.at> Package-Manager: Portage-2.3.89, Repoman-2.3.20 Closes: https://github.com/gentoo/gentoo/pull/15035 Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../robodoc/files/robodoc-4.99.43_clean_libc.patch | 13 +++++++++ app-text/robodoc/robodoc-4.99.43-r1.ebuild | 32 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) |