Summary: | net-vpn/openconnect-9.12::gentoo implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joost Ruis <joost.ruis> |
Component: | Current packages | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | audvare, azamat.hackimov, brahmajit.xyz, joost.ruis, toolchain, williamh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/35074 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
log
malloc_fix.patch |
Description
Joost Ruis
2024-01-28 22:53:37 UTC
Created attachment 883505 [details]
log
Obviously related to https://bugs.gentoo.org/870412 possible duplicate of https://bugs.gentoo.org/900320 Please remember to CC other maintainers when wrangling bugs. Created attachment 883558 [details, diff]
malloc_fix.patch
Please send a patch upstream. I've sent the patch upstream https://gitlab.com/openconnect/openconnect/-/merge_requests/533 (In reply to listout from comment #6) > I've sent the patch upstream > https://gitlab.com/openconnect/openconnect/-/merge_requests/533 Thanks. I was about to make the PR myself! Thanks! Please apply patch in tree, this is stable package that cannot even compiles. (In reply to Azamat H. Hackimov from comment #9) > Please apply patch in tree, this is stable package that cannot even compiles. Please don't use an unstable toolchain if you can't handle some breakage every once in a while. Ah, I see this is happening with stable glibc and gcc. I wonder what changed in the system headers to prevent stdlib.h from being included indirectly? The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=645ac58671ce1918f13479ab38000a9ffc6e5f5e commit 645ac58671ce1918f13479ab38000a9ffc6e5f5e Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-01-30 16:13:06 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-01-30 16:13:06 +0000 net-vpn/openconnect: fix implicit declaration of malloc Closes: https://bugs.gentoo.org/923173 Signed-off-by: Mike Gilbert <floppym@gentoo.org> .../files/openconnect-9.12-stdlib.patch | 37 ++++++++++++++++++++++ net-vpn/openconnect/openconnect-9.12.ebuild | 5 ++- 2 files changed, 41 insertions(+), 1 deletion(-) (In reply to Mike Gilbert from comment #11) > Ah, I see this is happening with stable glibc and gcc. > > I wonder what changed in the system headers to prevent stdlib.h from being > included indirectly? New libxml2 dropped a bunch of headers. |