Summary: | media-libs/nas-1.9.5 fails to compile: error: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ionen Wolkens <ionen> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eschwartz |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://sourceforge.net/p/nas/bugs/10/ https://sourceforge.net/p/nas/bugs/12/ |
||
Whiteboard: | fixed in 1.9.5-r1 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: | build.log + emerge --info.txt |
Description
Ionen Wolkens
2022-09-30 07:52:57 UTC
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efcf37fd016d067e816fd73cf0953c06819f799f commit efcf37fd016d067e816fd73cf0953c06819f799f Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-09-30 06:59:51 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-09-30 10:48:09 +0000 media-libs/nas: force gcc -E for imake's generation Requires traditional cpp support and is broken in all sort of ways with clang-cpp / -E. Bit messier here because of multilib, hopefully this is right and doesn't affect other arches. If multilib support is ever removed, replace by ":-${CHOST}-gcc -E}" like other ebuilds. wrt #873619, this is still severely broken with >=clang16 Bug: https://bugs.gentoo.org/873619 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> media-libs/nas/nas-1.9.5.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) not clang specific The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2034f4dc27f765d1d8ab8eddaf4142a3286dfa29 commit 2034f4dc27f765d1d8ab8eddaf4142a3286dfa29 Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-03-20 03:13:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-20 06:17:01 +0000 media-libs/nas: backport upstreamed patches to fix Modern C bugs Closes: https://bugs.gentoo.org/873619 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> ...as-1.9.5-Correct-pointer-types-for-GCC-14.patch | 108 +++ ...o-implicit-ints-and-function-declarations.patch | 834 +++++++++++++++++++++ media-libs/nas/nas-1.9.5-r1.ebuild | 121 +++ 3 files changed, 1063 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b23f5fab072f4cb030087d6f6ce9284dc7c6494 commit 5b23f5fab072f4cb030087d6f6ce9284dc7c6494 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-10-27 18:39:33 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-10-27 18:39:33 +0000 media-libs/nas: drop 1.9.5 Bug: https://bugs.gentoo.org/873619 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> media-libs/nas/nas-1.9.5.ebuild | 118 ---------------------------------------- 1 file changed, 118 deletions(-) |