Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935627 - dev-libs/rocr-runtime-6.1.1 fails to compile: hsa.cpp:158:24: error: operands to ?: have different types std::nullptr_t and bool
Summary: dev-libs/rocr-runtime-6.1.1 fails to compile: hsa.cpp:158:24: error: operands...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-07-06 06:45 UTC by Agostino Sarubbo
Modified: 2025-01-05 21:49 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,187.15 KB, text/plain)
2024-07-06 06:45 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 2024-07-06 06:45:20 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/rocr-runtime-6.1.1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-06 06:45:22 UTC
Created attachment 897128 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-06 06:45:22 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


  Could not find a package configuration file provided by
FAILED: CMakeFiles/hsa-runtime64.dir/core/runtime/hsa.cpp.o 
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/rocr-runtime-6.1.1/work/ROCR-Runtime-rocm-6.1.1/src/core/runtime/hsa.cpp:158:24: error: operands to '?:' have different types 'std::nullptr_t' and 'bool'
Comment 3 Larry the Git Cow gentoo-dev 2025-01-05 21:49:52 UTC
The bug has been closed via the following commit(s):

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

commit 8a94c8570e93134e0677f7f35f90b9f1367d2843
Author:     Sv. Lockal <lockalsash@gmail.com>
AuthorDate: 2024-12-08 13:35:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-05 21:46:26 +0000

    dev-libs/rocr-runtime: add 6.3.0, drop 6.2.4
    
    Closes: https://bugs.gentoo.org/940510
    Closes: https://bugs.gentoo.org/937528
    Closes: https://bugs.gentoo.org/937428
    Closes: https://bugs.gentoo.org/935627
    Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/rocr-runtime/Manifest                     |   2 +-
 .../files/rocr-runtime-6.2.0-ld-lld.patch          |  17 ++++
 .../files/rocr-runtime-6.2.0-no-aqlprofiler.patch  |  27 ++++++
 .../files/rocr-runtime-6.2.2-gcc15-stdint.patch    |  11 +++
 .../files/rocr-runtime-6.3.0-musl.patch            | 107 +++++++++++++++++++++
 .../rocr-runtime-6.3.0-use-system-hsakmt.patch     |  20 ++++
 dev-libs/rocr-runtime/rocr-runtime-6.1.2.ebuild    |   4 +-
 ...time-6.2.4.ebuild => rocr-runtime-6.3.0.ebuild} |  26 +++--
 8 files changed, 202 insertions(+), 12 deletions(-)