Summary: | app-crypt/gnupg-2.4.6 - [gcc-15] /.../app.c: error: implicit declaration of function write | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, StormByte |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://dev.gnupg.org/T7193 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
emerge-info.txt
app-crypt:gnupg-2.4.6:20241029-180424.log.xz emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz temp.tar.xz Patch that fixes compile |
Description
Toralf Förster
![]() Created attachment 907259 [details]
emerge-info.txt
Created attachment 907260 [details]
app-crypt:gnupg-2.4.6:20241029-180424.log.xz
Created attachment 907261 [details]
emerge-history.txt.xz
Created attachment 907262 [details]
environment
Created attachment 907263 [details]
etc.clang.tar.xz
Created attachment 907264 [details]
etc.portage.tar.xz
Created attachment 907265 [details]
logs.tar.xz
Created attachment 907266 [details]
qlist-info.txt.xz
Created attachment 907267 [details]
temp.tar.xz
Created attachment 907460 [details, diff]
Patch that fixes compile
I've made this patch (and also sent to upstream dev mailing list yet I am not subscribed and my mail is subject to an admin aproval) that makes it compile with musl.
Since this only affects musl build I'd remove the c99-porting
(In reply to David Carlos Manuelda from comment #10) > Created attachment 907460 [details, diff] [details, diff] > Patch that fixes compile > Also happens with gcc-14. The patch works. > Since this only affects musl build I'd remove the c99-porting
No, it's still a c99-porting blocker. It's an implicit function declaration which would build otherwise with potentially wrong results.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=529953360a192b6d34ff867a2856f19d918c1df4 commit 529953360a192b6d34ff867a2856f19d918c1df4 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-11-03 09:03:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-11-03 09:03:47 +0000 app-crypt/gnupg: fix implicit func decl (on musl) for 2.4.6 Closes: https://bugs.gentoo.org/942467 Signed-off-by: Sam James <sam@gentoo.org> app-crypt/gnupg/files/gnupg-2.4.6-c99.patch | 28 ++++++++++++++++++++++ .../{gnupg-2.4.6.ebuild => gnupg-2.4.6-r1.ebuild} | 1 + 2 files changed, 29 insertions(+) |