Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898876 - x11-misc/virtualgl-3.0.2 fails to compile (MUSL-CLANG-SYSTEM): Fl_Text_Buffer.cxx:1289:3: error: ISO C++17 does not allow register storage class specifier [-Wregister]
Summary: x11-misc/virtualgl-3.0.2 fails to compile (MUSL-CLANG-SYSTEM): Fl_Text_Buffer...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-03-02 10:05 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,251.25 KB, text/plain)
2023-03-02 10:05 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-03-02 10:05:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-misc/virtualgl-3.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-03-02 10:05:41 UTC
Created attachment 855750 [details]
build.log

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


FAILED: server/fltk/CMakeFiles/fltk_static.dir/src/Fl_Text_Buffer.cxx.o 
/var/tmp/portage/x11-misc/virtualgl-3.0.2/work/VirtualGL-3.0.2/server/fltk/src/Fl_Text_Buffer.cxx:1289:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Comment 3 Pacho Ramos gentoo-dev 2023-04-17 13:30:29 UTC
Still valid with 3.1 version?
Comment 4 Larry the Git Cow gentoo-dev 2023-06-08 09:39:04 UTC
The bug has been closed via the following commit(s):

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

commit afb10eb67adad4014ce18adae67a05594e6f11e8
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-06-01 09:25:00 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2023-06-08 09:38:56 +0000

    x11-misc/virtualgl: Fix ISO C++17 does not allow register storage class specifier
    
    Closes: https://bugs.gentoo.org/898876
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31261
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../files/virtualgl-3.1-drop-register.patch        |  53 +++++++++++
 x11-misc/virtualgl/virtualgl-3.1-r1.ebuild         | 101 +++++++++++++++++++++
 2 files changed, 154 insertions(+)