Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895382 - dev-libs/rocm-opencl-runtime-5.3.3-r1 - /.../devhcprintf.cpp: error: processSpec was not declared in this scope
Summary: dev-libs/rocm-opencl-runtime-5.3.3-r1 - /.../devhcprintf.cpp: error: processS...
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: gcc-13
  Show dependency tree
 
Reported: 2023-02-19 11:14 UTC by Toralf Förster
Modified: 2023-02-20 04:33 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.14 KB, text/plain)
2023-02-19 11:14 UTC, Toralf Förster
Details
dev-libs:rocm-opencl-runtime-5.3.3-r1:20230219-033657.log (dev-libs:rocm-opencl-runtime-5.3.3-r1:20230219-033657.log,32.53 KB, text/plain)
2023-02-19 11:14 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,82.03 KB, application/x-bzip)
2023-02-19 11:14 UTC, Toralf Förster
Details
environment (environment,99.03 KB, text/plain)
2023-02-19 11:14 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,707 bytes, application/x-bzip)
2023-02-19 11:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,37.89 KB, application/x-bzip)
2023-02-19 11:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.38 KB, application/x-bzip)
2023-02-19 11:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.59 KB, application/x-bzip)
2023-02-19 11:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-02-19 11:14:30 UTC
too long lines were shrinked:

/var/tmp/portage/dev-libs/rocm-opencl-runtime-5.3.3-r1/work/ROCclr-rocm-5.3.3/device/devhcprintf.cpp:165:39: note: uint64_t is defined in header <cstdint>; did you forget to #include <cstdint>?
/var/tmp/portage/dev-libs/rocm-opencl-runtime-5.3.3-r1/work/ROCclr-rocm-5.3.3/device/devhcprintf.cpp:165:62: error: uint64_t does not name a type
  165 | static int format(FILE* stream, const uint64_t* begin, const uint64_t* end) {
      |                                                              ^~~~~~~~
/var/tmp/portage/dev-libs/rocm-opencl-runtime-5.3.3-r1/work/ROCclr-rocm-5.3.3/device/devhcprintf.cpp:165:62: note: uint64_t is defined in header <cstdint>; did you forget to #include <cstdint>?
/var/tmp/portage/dev-libs/rocm-opencl-runtime-5.3.3-r1/work/ROCclr-rocm-5.3.3/device/devhcprintf.cpp: In function int format(FILE*, const int*, const int*):
/var/tmp/portage/dev-libs/rocm-opencl-runtime-5.3.3-r1/work/ROCclr-rocm-5.3.3/device/devhcprintf.cpp:220:11: error: processSpec was not declared in this scope
  220 |     ptr = processSpec(stream, &outCount, spec, ptr, end);
      |           ^~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20230214-230019

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit f48d59a05d73b5819796d3a8b7418dc6eaf89ba4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 19 02:46:59 2023 +0000

    2023-02-19 02:46:59 UTC

emerge -qpvO dev-libs/rocm-opencl-runtime
[ebuild  N    ] dev-libs/rocm-opencl-runtime-5.3.3-r1  USE="-debug -test"
Comment 1 Toralf Förster gentoo-dev 2023-02-19 11:14:31 UTC
Created attachment 852886 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-19 11:14:32 UTC
Created attachment 852888 [details]
dev-libs:rocm-opencl-runtime-5.3.3-r1:20230219-033657.log
Comment 3 Toralf Förster gentoo-dev 2023-02-19 11:14:33 UTC
Created attachment 852890 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2023-02-19 11:14:34 UTC
Created attachment 852892 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-02-19 11:14:35 UTC
Created attachment 852894 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-19 11:14:36 UTC
Created attachment 852896 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-19 11:14:37 UTC
Created attachment 852898 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-02-19 11:14:38 UTC
Created attachment 852900 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-02-20 04:33:46 UTC
The bug has been closed via the following commit(s):

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

commit 374c8828b3a2bca0b55ebcce9b5b8b5c710647a1
Author:     Yiyang Wu <xgreenlandforwyy@gmail.com>
AuthorDate: 2023-02-20 02:15:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-20 04:26:02 +0000

    dev-libs/rocm-opencl-runtime: Fix gcc-13 build
    
    Backport two patches for missing includes
    
    Also apply patch for file rocm reorg (hsa/hsa.h) to 5.1.3 ebuild, which
    fix compilation issue
    
    Closes: https://bugs.gentoo.org/895382
    Bug: https://bugs.gentoo.org/893602
    Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/29675
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/rocclr-5.3.3-gcc13.patch                 | 25 ++++++++++++++++++++++
 .../files/rocm-opencl-runtime-5.3.3-gcc13.patch    | 25 ++++++++++++++++++++++
 .../rocm-opencl-runtime-5.1.3.ebuild               |  5 ++++-
 .../rocm-opencl-runtime-5.3.3-r1.ebuild            |  3 +++
 4 files changed, 57 insertions(+), 1 deletion(-)