Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830944 - dev-libs/roct-thunk-interface-5.7.1 fails to compile: libhsakmt.h:64:12: error: expected identifier or ( before numeric constant
Summary: dev-libs/roct-thunk-interface-5.7.1 fails to compile: libhsakmt.h:64:12: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-01-10 19:10 UTC by Agostino Sarubbo
Modified: 2024-03-10 02:16 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,40.49 KB, text/plain)
2022-01-10 19:10 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-01-10 19:10:24 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/roct-thunk-interface-4.3.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-10 19:10:26 UTC
Created attachment 761822 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-10 19:10:27 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


RESULT_VARIABLE No such file or directory OUTPUT_VARIABLE: 
fatal: not a git repository (or any parent up to mount point /var/tmp)
/var/tmp/portage/dev-libs/roct-thunk-interface-4.3.0/work/ROCT-Thunk-Interface-rocm-4.3.0/src/libhsakmt.h:64:12: error: expected identifier or '(' before numeric constant
Comment 3 Agostino Sarubbo gentoo-dev 2024-01-23 13:35:27 UTC
tinderbox_musl has reproduced this issue with version 5.7.1 - Updating summary.
Comment 4 Sv. Lockal 2024-03-09 10:10:41 UTC
Stalled PR exists in upstream: https://github.com/ROCm/ROCT-Thunk-Interface/issues/65
Comment 5 Larry the Git Cow gentoo-dev 2024-03-10 02:16:46 UTC
The bug has been closed via the following commit(s):

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

commit 48a7cd1cc7ff9034442c2aa88a66087b6b19360a
Author:     Sv. Lockal <lockalsash@gmail.com>
AuthorDate: 2024-03-09 13:57:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-10 02:16:13 +0000

    dev-libs/roct-thunk-interface: fix compilation with musl for 5.7.1 and 6.0.0
    
    Upstream PR: https://github.com/ROCm/ROCT-Thunk-Interface/pull/96
    Upstream bug: https://github.com/ROCm/ROCT-Thunk-Interface/issues/65
    Closes: https://bugs.gentoo.org/830944
    Closes: https://bugs.gentoo.org/715434
    Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/roct-thunk-interface-5.7.1-musl.patch    | 61 ++++++++++++++++++++++
 ...ebuild => roct-thunk-interface-5.7.1-r1.ebuild} |  7 ++-
 ...ebuild => roct-thunk-interface-6.0.0-r1.ebuild} |  7 ++-
 3 files changed, 71 insertions(+), 4 deletions(-)