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...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2020-06-25 07:58 UTC by Agostino Sarubbo
Modified: 2024-11-12 15:23 UTC (History)
2 users (show)

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


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

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

NOTE:
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

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

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):

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(-)
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;

y.tab.c:2163:16: 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):

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(-)
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.