Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917157 - dev-cpp/sdbus-c++-1.3.0 - /.../Message.h: error: copy_n is not a member of std
Summary: dev-cpp/sdbus-c++-1.3.0 - /.../Message.h: error: copy_n is not a member of std
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: James Le Cuirot
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2023-11-11 10:33 UTC by Toralf Förster
Modified: 2023-11-16 22:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.00 KB, text/plain)
2023-11-11 10:33 UTC, Toralf Förster
Details
dev-cpp:sdbus-c++-1.3.0:20231110-233316.log (dev-cpp:sdbus-c++-1.3.0:20231110-233316.log,13.31 KB, text/plain)
2023-11-11 10:33 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,62.80 KB, application/x-xz)
2023-11-11 10:33 UTC, Toralf Förster
Details
environment (environment,132.22 KB, text/plain)
2023-11-11 10:33 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-11 10:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.02 KB, application/x-xz)
2023-11-11 10:33 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,74.50 KB, application/x-xz)
2023-11-11 10:33 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,30.78 KB, application/x-xz)
2023-11-11 10:33 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-11-11 10:33:03 UTC
too long lines were shrinked:

[1/11] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_LIB=1 -DLIBSYSTEMD_VERSION=254 -I/var/tmp/portage/dev-cpp/sdbus-c++-1.3.0/work/sdbus-cpp-1.3.0/include -I/var/tmp/portage/dev-cpp/sdbus-c++-1.3.0/work/sdbus-cpp-1.3.0/src  -O3 -pipe -march=native -fno-diagnostics-color -std=gnu++17 -fPIC -fno-diagnosti
[2/11] /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_LIB=1 -DLIBSYSTEMD_VERSION=254 -I/var/tmp/portage/dev-cpp/sdbus-c++-1.3.0/work/sdbus-cpp-1.3.0/include -I/var/tmp/portage/dev-cpp/sdbus-c++-1.3.0/work/sdbus-cpp-1.3.0/src  -O3 -pipe -march=native -fno-diagnostics-color -std=gnu++17 -fPIC -fno-diagnosti
FAILED: CMakeFiles/sdbus-c++-objlib.dir/src/Message.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_LIB=1 -DLIBSYSTEMD_VERSION=254 -I/var/tmp/portage/dev-cpp/sdbus-c++-1.3.0/work/sdbus-cpp-1.3.0/include -I/var/tmp/portage/dev-cpp/sdbus-c++-1.3.0/work/sdbus-cpp-1.3.0/src  -O3 -pipe -march=native -fno-diagnostics-color -std=gnu++17 -fPIC -fno-diagnostics-colo
In file included from /var/tmp/portage/dev-cpp/sdbus-c++-1.3.0/work/sdbus-cpp-1.3.0/src/Message.cpp:27:
/var/tmp/portage/dev-cpp/sdbus-c++-1.3.0/work/sdbus-cpp-1.3.0/include/sdbus-c++/Message.h: In member function void sdbus::Message::deserializeArrayFast(_Array&):
/var/tmp/portage/dev-cpp/sdbus-c++-1.3.0/work/sdbus-cpp-1.3.0/include/sdbus-c++/Message.h:490:14: error: copy_n is not a member of std; did you mean copy?
  490 |         std::copy_n(arrayPtr, elementsInMsg, items.begin());
      |              ^~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20231105-205452

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.4
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.4
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0
  [2]   rust-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-bin-21 

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

  HEAD of ::gentoo
commit 4562608c1e4ac4c4247d11d29b5dacda80180450
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 10 21:47:00 2023 +0000

    2023-11-10 21:46:59 UTC

emerge -qpvO dev-cpp/sdbus-c++
[ebuild  N    ] dev-cpp/sdbus-c++-1.3.0  USE="systemd -doc (-elogind) -test -tools"
Comment 1 Toralf Förster gentoo-dev 2023-11-11 10:33:04 UTC
Created attachment 874499 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-11 10:33:05 UTC
Created attachment 874500 [details]
dev-cpp:sdbus-c++-1.3.0:20231110-233316.log
Comment 3 Toralf Förster gentoo-dev 2023-11-11 10:33:07 UTC
Created attachment 874501 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-11-11 10:33:08 UTC
Created attachment 874502 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-11 10:33:09 UTC
Created attachment 874503 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-11 10:33:10 UTC
Created attachment 874504 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-11 10:33:11 UTC
Created attachment 874505 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-11 10:33:12 UTC
Created attachment 874506 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2023-11-16 22:57:49 UTC
The bug has been closed via the following commit(s):

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

commit bd2f66aa4cbf947420bbfe4a6f0067fb0489ac22
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2023-11-16 22:57:23 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2023-11-16 22:57:23 +0000

    dev-cpp/sdbus-c++: Bump to 1.4.0, fix GCC 14, drop old
    
    Thanks to Alfred Wingate for the patch.
    
    Closes: https://bugs.gentoo.org/917157
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 dev-cpp/sdbus-c++/Manifest                         |   5 +-
 .../sdbus-c++/files/sdbus-c++-1.4.0-gcc-14.patch   |  25 ++++
 dev-cpp/sdbus-c++/files/sdbus-c++-pc-reqs.patch    |  29 ----
 .../files/sdbus-c++-static-libsystemd.patch        |  10 --
 dev-cpp/sdbus-c++/sdbus-c++-0.9.0-r6.ebuild        | 148 ---------------------
 ...bus-c++-1.3.0.ebuild => sdbus-c++-1.4.0.ebuild} |   4 +
 6 files changed, 30 insertions(+), 191 deletions(-)