Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729526 - app-office/magicpoint-1.13a_p20121015-r2 will fail to build with clang16 (error: type specifier missing, defaults to 'int')
Summary: app-office/magicpoint-1.13a_p20121015-r2 will fail to build with clang16 (err...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: c99-porting, clang-16-porting
  Show dependency tree
Reported: 2020-06-25 07:58 UTC by Agostino Sarubbo
Modified: 2022-11-26 09:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,13.47 KB, text/plain)
2020-06-25 07:58 UTC, Agostino Sarubbo
other.tar.bz2 (other.tar.bz2,255 bytes, application/x-bzip-compressed-tar)
2020-06-25 07:58 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-25 07:58:24 UTC
@@This is an auto-filed bug@@
Feel free to change the summary at your convenience.

Issue: app-office/magicpoint fails to compile.
Discovered on: amd64

If yout think this issue is related to clang/llvm toolchain, please block bug 408963. If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-25 07:58:29 UTC
Created attachment 646238 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-06-25 07:58:32 UTC
Created attachment 646240 [details]

other logs
Comment 3 Larry the Git Cow gentoo-dev 2021-04-15 06:39:56 UTC
The bug has been referenced in the following commit(s):

commit 8d69da3a32e772270357969d8d7beffefea31cd0
Author:     Ionen Wolkens <>
AuthorDate: 2021-04-14 06:41:12 +0000
Commit:     Joonas Niilola <>
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
    Signed-off-by: Ionen Wolkens <>
    Signed-off-by: Joonas Niilola <>

 .../magicpoint/magicpoint-1.13a_p20121015-r1.ebuild     | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)
Comment 4 Ionen Wolkens gentoo-dev 2022-09-30 09:54:51 UTC
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; error: call to undeclared function 'yylex'
Comment 5 Larry the Git Cow gentoo-dev 2022-09-30 11:02:13 UTC
The bug has been referenced in the following commit(s):

commit 56b5f6e31e082aa5a00e8299cee139f2f2f171ee
Author:     Ionen Wolkens <>
AuthorDate: 2022-09-30 04:27:53 +0000
Commit:     Ionen Wolkens <>
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
    Signed-off-by: Ionen Wolkens <>

 app-office/magicpoint/magicpoint-1.13a_p20121015-r2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 6 Agostino Sarubbo gentoo-dev 2022-11-26 09:37:53 UTC
clang-stricter_tinderbox has reproduced this issue with version 1.13a_p20121015-r2 - Updating summary.