Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894578 - app-office/calligra-3.2.1-r5 fails to compile (MUSL-CLANG-SYSTEM): Digest.cpp:253:5: error: ISO C++17 does not allow register storage class specifier [-Wregister]
Summary: app-office/calligra-3.2.1-r5 fails to compile (MUSL-CLANG-SYSTEM): Digest.cpp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-15 10:45 UTC by Agostino Sarubbo
Modified: 2024-03-01 14:50 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,76.79 KB, application/x-xz)
2023-02-15 10:45 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 2023-02-15 10:45:01 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-office/calligra-3.2.1-r5 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-15 10:45:04 UTC
Created attachment 851240 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-15 10:45:06 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: sheets/CMakeFiles/calligrasheetsodf.dir/part/Digest.cpp.o 
/var/tmp/portage/app-office/calligra-3.2.1-r5/work/calligra-3.2.1/sheets/part/Digest.cpp:253:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Comment 3 Larry the Git Cow gentoo-dev 2023-02-16 03:29:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3ae04d9c5f068e17d903ac7d5b16336589fb56e

commit e3ae04d9c5f068e17d903ac7d5b16336589fb56e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-16 02:52:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-16 03:26:38 +0000

    app-office/calligra: fix build w/ clang 16 deux
    
    I was a bit naive and just checked for the appearance of register warnings
    by eye & -std=c++14 appearing and that's not good enough here, as we force
    C++17 for Poppler in a patch.
    
    Again, this is fixed upstream anyway, so this is a downstream-only patch.
    
    Fixes: e0a0a09c1bb283024c1a10f737eba380a22bcc1f
    Closes: https://bugs.gentoo.org/894578
    Closes: https://bugs.gentoo.org/883067
    Signed-off-by: Sam James <sam@gentoo.org>

 app-office/calligra/calligra-3.2.1-r5.ebuild       |   4 +-
 .../files/calligra-3.2.1-clang-16-c++17.patch      | 359 +++++++++++++++++++++
 2 files changed, 360 insertions(+), 3 deletions(-)