Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 919727

Summary: media-sound/pms-0.42_p20170508-r1 - [clang] /.../config.cpp: error: use of undeclared identifier ptr_fun
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
media-sound:pms-0.42_p20170508-r1:20231211-175802.log
qlist-info.txt
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-11 18:20:39 UTC
too long lines were shrinked:

 * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508"
 * Build directory  (BUILD_DIR):     "/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508_build"
ninja -v -j4 -l0
[1/22] /usr/lib/llvm/17/bin/clang++  -I/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508/src -I/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508_build/src -I/usr/include/ncursesw  -O3 -pipe -march=native -fno-diagnostics-color -std=c++11 -fno-color-d
FAILED: CMakeFiles/pms.dir/src/config.cpp.o 
/usr/lib/llvm/17/bin/clang++  -I/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508/src -I/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508_build/src -I/usr/include/ncursesw  -O3 -pipe -march=native -fno-diagnostics-color -std=c++11 -fno-color-diagnost
/var/tmp/portage/media-sound/pms-0.42_p20170508-r1/work/pms-0.42_p20170508/src/config.cpp:42:54: error: use of undeclared identifier 'ptr_fun'
   42 |         s.erase(s.begin(), find_if(s.begin(), s.end(), not1(ptr_fun<int, int>(isspace))));
      |                                                             ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_clang-20231210-041514

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6+libcxx
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 0320764b4824ac1684e1f425d8c7b302e33a55ba
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Dec 11 17:03:56 2023 +0000

    2023-12-11 17:03:56 UTC

emerge -qpvO media-sound/pms
[ebuild  N    ] media-sound/pms-0.42_p20170508-r1  USE="regex -doc"
Comment 1 Toralf Förster gentoo-dev 2023-12-11 18:20:40 UTC
Created attachment 878795 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-11 18:20:42 UTC
Created attachment 878796 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-11 18:20:43 UTC
Created attachment 878797 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-11 18:20:43 UTC
Created attachment 878798 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-11 18:20:45 UTC
Created attachment 878799 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-11 18:20:45 UTC
Created attachment 878800 [details]
media-sound:pms-0.42_p20170508-r1:20231211-175802.log
Comment 7 Toralf Förster gentoo-dev 2023-12-11 18:20:47 UTC
Created attachment 878801 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-11 18:20:48 UTC
Created attachment 878802 [details]
temp.tar.xz