Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832980 - sys-libs/libhugetlbfs-2.23 fails to compile: shm.c:52:39: error: expected , or ; before __THROW
Summary: sys-libs/libhugetlbfs-2.23 fails to compile: shm.c:52:39: error: expected , o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2022-02-09 11:34 UTC by Agostino Sarubbo
Modified: 2022-09-01 02:06 UTC (History)
0 users

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


Attachments
build.log (build.log,40.69 KB, text/plain)
2022-02-09 11:34 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 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(+)