Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 894710

Summary: app-text/sablotron-1.0.3-r2 fails to compile (MUSL-CLANG-SYSTEM): hash.cpp:308:4: error: ISO C++17 does not allow register storage class specifier [-Wregister]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/32726
https://github.com/gentoo/gentoo/pull/32773
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-16 08:03:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/sablotron-1.0.3-r2 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-16 08:03:41 UTC
Created attachment 851538 [details]
build.log

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


checking html dir... configure: WARNING: Directory /usr/share/doc/sablotron-1.0.3-r2/html does not exist and will be created
hash.cpp:308:4: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
Comment 3 Larry the Git Cow gentoo-dev 2023-09-25 07:02:23 UTC
The bug has been closed via the following commit(s):

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

commit 26f1197752cd095e4a8d2edc4facbae32b9a192d
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-09-11 17:41:16 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-09-25 07:02:11 +0000

    app-text/sablotron: Fix C++17 does not allow register storage class
    
    And update EAPI 7 -> 8
    
    Closes: https://bugs.gentoo.org/894710
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32726
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 .../files/1.0.3-drop-register-keyword.patch        | 14 ++++++
 app-text/sablotron/sablotron-1.0.3-r3.ebuild       | 57 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)