Summary: | sys-apps/plocate-1.1.15 - ../.../conf.cpp: 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: | arsen, flow, jeffrey, proxy-maint, sam |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/26268 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 sys-apps:plocate-1.1.13:20211218-191504.log temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 759617 [details]
emerge-info.txt
Created attachment 759618 [details]
emerge-history.txt
Created attachment 759619 [details]
environment
Created attachment 759620 [details]
etc.portage.tar.bz2
Created attachment 759621 [details]
logs.tar.bz2
Created attachment 759622 [details]
sys-apps:plocate-1.1.13:20211218-191504.log
Created attachment 759623 [details]
temp.tar.bz2
tinderbox_musl has reproduced this issue with version 1.1.15 - Updating summary. plocate uses error_at_line and error functions from glibc (see their respective manuals). Musl does not implement these. Fixing this up would be rather involved and probably worse than fixing up musl, what's the right course of action? (In reply to Arsen Arsenovic from comment #9) > plocate uses error_at_line and error functions from glibc (see their > respective manuals). Musl does not implement these. Fixing this up would be > rather involved and probably worse than fixing up musl, what's the right > course of action? Stub them out. They're not really that useful as errors anyway. Could they make it optional? (In reply to Sam James from comment #10) > (In reply to Arsen Arsenovic from comment #9) > > plocate uses error_at_line and error functions from glibc (see their > > respective manuals). Musl does not implement these. Fixing this up would be > > rather involved and probably worse than fixing up musl, what's the right > > course of action? > > Stub them out. They're not really that useful as errors anyway. Could they > make it optional? 1.1.16 I believe has already addressed this. (In reply to Jory A. Pratt from comment #11) > 1.1.16 I believe has already addressed this. I've seen no such changes in 1.1.16. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae581f317277614e761ff7659de8ba16abb2bab commit 8ae581f317277614e761ff7659de8ba16abb2bab Author: Alfred Persson Forsberg <cat@catcream.org> AuthorDate: 2022-07-07 17:36:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-15 01:17:05 +0000 sys-apps/plocate: Fix build for musl Read each patch for explaination, both are now upstreamed! Should be in 1.1.17 (or whatever next release will be called). Closes: https://bugs.gentoo.org/show_bug.cgi?id=829580 Closes: https://bugs.gentoo.org/show_bug.cgi?id=853769 Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/gentoo/pull/26268 Signed-off-by: Sam James <sam@gentoo.org> ...plocate-1.1.16-error-to-fprintf-exit-musl.patch | 337 +++++++++++++++++++++ .../plocate-1.1.16-include-linux-stat_h-musl.patch | 30 ++ sys-apps/plocate/plocate-1.1.16.ebuild | 2 + 3 files changed, 369 insertions(+) |