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

Bug 832980

Summary: sys-libs/libhugetlbfs-2.23 fails to compile: shm.c:52:39: error: expected , or ; before __THROW
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/26539
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-02-09 11:34:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/libhugetlbfs-2.23 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-09 11:34:07 UTC
Created attachment 764681 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-09-01 02:06:22 UTC
The bug has been closed via the following commit(s):

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

commit dbabd1516a53fa57ae0204216ae78741bd4928c9
Author:     brahmajit das <listout@protonmail.com>
AuthorDate: 2022-07-23 18:47:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-01 02:04:23 +0000

    sys-libs/libhugetlbfs: fix musl build errors
    
    Fix _SC_LEVEL2_CACHE_LINESIZE undeclared and misc issues.
    
    Patches for musl that mainly closes bug 828830, plus some other patches
    for errors that come along 828830.
    
    Closes: https://bugs.gentoo.org/828830
    Closes: https://bugs.gentoo.org/832980
    Signed-off-by: brahmajit das <listout@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/26539
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/libhugetlbfs-2.23-musl-ino_t-fix.patch   | 13 +++++++
 .../files/libhugetlbfs-2.23-musl-nonnull-fix.patch | 31 +++++++++++++++
 .../libhugetlbfs-2.23-musl-path-max-fix.patch      | 22 +++++++++++
 .../libhugetlbfs-2.23-musl-sc-level2-fix.patch     | 45 ++++++++++++++++++++++
 sys-libs/libhugetlbfs/libhugetlbfs-2.23.ebuild     |  4 ++
 5 files changed, 115 insertions(+)