Summary: | app-office/magicpoint-1.13a_p20121015-r2 will fail to build with clang16 (error: type specifier missing, defaults to 'int') | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | ionen, leonchik1976 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | ~arch only | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: |
build.log
other.tar.bz2 |
Description
Agostino Sarubbo
![]() Created attachment 646238 [details]
build.log
build log and emerge --info
Created attachment 646240 [details]
other.tar.bz2
other logs
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d69da3a32e772270357969d8d7beffefea31cd0 commit 8d69da3a32e772270357969d8d7beffefea31cd0 Author: Ionen Wolkens <sudinave@gmail.com> AuthorDate: 2021-04-14 06:41:12 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2021-04-15 06:38:50 +0000 app-office/magicpoint: fix build with -native-symlinks wrt bug #729526 with clang/llvm toolchain, it now gets past ld/gcc missing but will fail due to traditional cpp. Can workaround with a gcc exception: IMAKECPP=cpp Bug: https://bugs.gentoo.org/729526 Signed-off-by: Ionen Wolkens <sudinave@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../magicpoint/magicpoint-1.13a_p20121015-r1.ebuild | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) Will fix this bit soon, but re-using the bug given it's further broken with clang16. First there's the implicit-int, then yylex issues and maybe more. x11.c:358:9: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] static fullscreen = 0; y.tab.c:2163:16: error: call to undeclared function 'yylex' The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b5f6e31e082aa5a00e8299cee139f2f2f171ee commit 56b5f6e31e082aa5a00e8299cee139f2f2f171ee Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-09-30 04:27:53 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-09-30 10:30:32 +0000 app-office/magicpoint: force gcc -E for imake's generation Requires traditional cpp support and is broken in all sort of ways with clang-cpp / -E. Ideally these packages need to be built another way or last rited, imake will just accumulate more problems. wrt #729526, not entirely fixed as still broken with clang16 Bug: https://bugs.gentoo.org/729526 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> app-office/magicpoint/magicpoint-1.13a_p20121015-r2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) clang-stricter_tinderbox has reproduced this issue with version 1.13a_p20121015-r2 - Updating summary. |