Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894314 - media-libs/glu-9.0.2 fails to compile (MUSL-CLANG-SYSTEM): varray.cc:76:5: error: ISO C++17 does not allow register storage class specifier [-Wregister]
Summary: media-libs/glu-9.0.2 fails to compile (MUSL-CLANG-SYSTEM): varray.cc:76:5: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-14 08:33 UTC by Agostino Sarubbo
Modified: 2024-03-01 14:51 UTC (History)
0 users

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


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

Issue: media-libs/glu-9.0.2 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-14 08:33:05 UTC
Created attachment 851002 [details]
build.log

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


FAILED: src/libGLU.so.1.3.1.p/libnurbs_internals_varray.cc.o 
../glu-9.0.2/src/libnurbs/internals/varray.cc:76:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Comment 3 Larry the Git Cow gentoo-dev 2023-02-14 23:04:27 UTC
The bug has been closed via the following commit(s):

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

commit 9c81ebf8c454cc218fa59993c95e92689a628639
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-14 22:55:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-14 23:03:55 +0000

    media-libs/glu: fix build w/ clang 16
    
    Closes: https://bugs.gentoo.org/894314
    Signed-off-by: Sam James <sam@gentoo.org>

 .../glu/files/glu-9.0.2-clang-16-register.patch    | 30 ++++++++++++++++++++++
 media-libs/glu/glu-9.0.2.ebuild                    |  6 ++++-
 2 files changed, 35 insertions(+), 1 deletion(-)