Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894184 - app-accessibility/speech-tools-2.5.0-r1 fails to compile (MUSL-CLANG-SYSTEM): regexp.cc:178:22: error: ISO C++17 does not allow register storage class specifier [-Wregister]
Summary: app-accessibility/speech-tools-2.5.0-r1 fails to compile (MUSL-CLANG-SYSTEM):...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-13 14:16 UTC by Agostino Sarubbo
Modified: 2024-03-01 14:50 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,77.85 KB, text/plain)
2023-02-13 14:16 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-13 14:16:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-accessibility/speech-tools-2.5.0-r1 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-13 14:16:50 UTC
Created attachment 850692 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-13 14:16:51 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


editline.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
editline.c:376:16: warning: passing arguments to 'tgetent' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
editline.c:381:33: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
editline.c:382:30: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
editline.c:383:31: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
editline.c:384:32: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
editline.c:393:24: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
editline.c:402:34: warning: passing arguments to 'tgetstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
editline.c:405:23: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
editline.c:406:22: warning: passing arguments to 'tgetnum' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
editline.c:844:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
regexp.cc:178:22: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Comment 3 Larry the Git Cow gentoo-dev 2023-02-13 23:23:58 UTC
The bug has been closed via the following commit(s):

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

commit 50f5b53df24d84c30846cec9f3de31f11b707ca1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-13 23:01:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-13 23:01:59 +0000

    app-accessibility/speech-tools: fix build w/ clang 16
    
    Upstream seems gone.
    
    Closes: https://bugs.gentoo.org/881863
    Closes: https://bugs.gentoo.org/894184
    Signed-off-by: Sam James <sam@gentoo.org>

 app-accessibility/speech-tools/speech-tools-2.5.0-r1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)