Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903968 - dev-libs/pocl-3.1 - /.../OpenCLcontext.cpp: error: make_unique is not a member of std
Summary: dev-libs/pocl-3.1 - /.../OpenCLcontext.cpp: error: make_unique is not a membe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-07 07:13 UTC by Toralf Förster
Modified: 2023-04-18 06:51 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.12 KB, text/plain)
2023-04-07 07:13 UTC, Toralf Förster
Details
dev-libs:pocl-3.1:20230407-050037.log.bz2 (dev-libs:pocl-3.1:20230407-050037.log.bz2,37.43 KB, application/x-bzip)
2023-04-07 07:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,109.56 KB, text/plain)
2023-04-07 07:13 UTC, Toralf Förster
Details
environment (environment,101.06 KB, text/plain)
2023-04-07 07:13 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,718 bytes, application/x-bzip)
2023-04-07 07:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.33 KB, application/x-bzip)
2023-04-07 07:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,677 bytes, application/x-bzip)
2023-04-07 07:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,63.30 KB, application/x-bzip)
2023-04-07 07:13 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-04-07 07:13:28 UTC
too long lines were shrinked:

      | 
<command-line>: note: this is the location of the previous definition
/var/tmp/portage/dev-libs/pocl-3.1/work/pocl-3.1/include/hpp/CL/cl2.hpp:18:151: note: #pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.
   18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.")
      |                                                                                                                                                       ^
/var/tmp/portage/dev-libs/pocl-3.1/work/pocl-3.1/examples/accel/OpenCLcontext.cpp: In constructor OpenCL_Manager::OpenCL_Manager():
/var/tmp/portage/dev-libs/pocl-3.1/work/pocl-3.1/examples/accel/OpenCLcontext.cpp:192:49: error: make_unique is not a member of std
  192 | OpenCL_Manager::OpenCL_Manager() : Context{std::make_unique<OpenCL_Context>()} {}
      |                                                 ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20230405-144013

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.1
Python 3.10.11
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.68.2
  [2]   rust-1.68.2 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.6_p10 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit e84cc33dcd299d21a10e64ca21a3c73ea636e983
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 7 04:02:01 2023 +0000

    2023-04-07 04:02:01 UTC

emerge -qpvO dev-libs/pocl
[ebuild  N    ] dev-libs/pocl-3.1  USE="accel conformance float-conversion (-cuda) -debug -examples -hardening -hwloc -lto -memmanager -test"
Comment 1 Toralf Förster gentoo-dev 2023-04-07 07:13:28 UTC
Created attachment 859664 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-07 07:13:29 UTC
Created attachment 859665 [details]
dev-libs:pocl-3.1:20230407-050037.log.bz2
Comment 3 Toralf Förster gentoo-dev 2023-04-07 07:13:31 UTC
Created attachment 859666 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-04-07 07:13:32 UTC
Created attachment 859667 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-04-07 07:13:32 UTC
Created attachment 859668 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-07 07:13:33 UTC
Created attachment 859669 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-04-07 07:13:34 UTC
Created attachment 859670 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-04-07 07:13:35 UTC
Created attachment 859671 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2023-04-18 06:51:03 UTC
The bug has been closed via the following commit(s):

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

commit e2cbd05e2822030b3d2d8d23bbce19c8f51f17cd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-18 06:47:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-18 06:50:49 +0000

    dev-libs/pocl: fix example build
    
    Closes: https://bugs.gentoo.org/903968
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/pocl/files/pocl-3.1-c++11.patch | 23 +++++++++++++++++++++++
 dev-libs/pocl/pocl-3.1.ebuild            |  1 +
 2 files changed, 24 insertions(+)