Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920489 - app-backup/bareos-21.1.8 - /.../addresses_and_ports.cc: error: sort is not a member of std
Summary: app-backup/bareos-21.1.8 - /.../addresses_and_ports.cc: error: sort is not a ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2023-12-21 21:45 UTC by Toralf Förster
Modified: 2024-05-07 19:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.45 KB, text/plain)
2023-12-21 21:45 UTC, Toralf Förster
Details
app-backup:bareos-21.1.8:20231221-213132.log.xz (app-backup:bareos-21.1.8:20231221-213132.log.xz,18.82 KB, application/x-xz)
2023-12-21 21:45 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,64.04 KB, application/x-xz)
2023-12-21 21:45 UTC, Toralf Förster
Details
environment (environment,146.51 KB, text/plain)
2023-12-21 21:45 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2023-12-21 21:45 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.46 KB, application/x-xz)
2023-12-21 21:45 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,67.93 KB, application/x-xz)
2023-12-21 21:45 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,50.31 KB, application/x-xz)
2023-12-21 21:46 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-12-21 21:45:51 UTC
too long lines were shrinked:

[248/472] /usr/bin/x86_64-pc-linux-gnu-g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DRELATIVE_PROJECT_SOURCE_DIR=\"../../../../bareos-Release-21.1.8/core/src/tests\" -D_FILE_OFFSET_BITS=64 -I/usr/include/tirpc -I/var/tmp/portage/app-backup/bareos-21.1.8/work/bareos-Release-21.1.8/core/src  -O2 -pipe -mar
[249/472] /usr/bin/x86_64-pc-linux-gnu-g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DRELATIVE_PROJECT_SOURCE_DIR=\"../../../../bareos-Release-21.1.8/core/src/tests\" -D_FILE_OFFSET_BITS=64 -I/usr/include/tirpc -I/var/tmp/portage/app-backup/bareos-21.1.8/work/bareos-Release-21.1.8/core/src  -O2 -pipe -mar
[250/472] /usr/bin/x86_64-pc-linux-gnu-g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DRELATIVE_PROJECT_SOURCE_DIR=\"../../../../bareos-Release-21.1.8/core/src/tests\" -D_FILE_OFFSET_BITS=64 -I/usr/include/tirpc -I/var/tmp/portage/app-backup/bareos-21.1.8/work/bareos-Release-21.1.8/core/src  -O2 -pipe -mar
FAILED: core/src/tests/CMakeFiles/addresses_and_ports.dir/addresses_and_ports.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DRELATIVE_PROJECT_SOURCE_DIR=\"../../../../bareos-Release-21.1.8/core/src/tests\" -D_FILE_OFFSET_BITS=64 -I/usr/include/tirpc -I/var/tmp/portage/app-backup/bareos-21.1.8/work/bareos-Release-21.1.8/core/src  -O2 -pipe -march=native 
/var/tmp/portage/app-backup/bareos-21.1.8/work/bareos-Release-21.1.8/core/src/tests/addresses_and_ports.cc: In function void check_addresses_list(std::string, std::vector<std::__cxx11::basic_string<char> >):
/var/tmp/portage/app-backup/bareos-21.1.8/work/bareos-Release-21.1.8/core/src/tests/addresses_and_ports.cc:208:8: error: sort is not a member of std; did you mean qsort?
  208 |   std::sort(director_addresses.begin(), director_addresses.end());
      |        ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231215-225005

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

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.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
Python 3.11.7
Available Ruby profiles:
  (none found)
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.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 130cd7e12985a9c464c34e6fc6edc982c8dd9b8f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 21 21:02:01 2023 +0000

    2023-12-21 21:02:01 UTC

emerge -qpvO app-backup/bareos
[ebuild  N    ] app-backup/bareos-21.1.8  USE="acl director ipv6 readline (split-usr) storage-daemon xattr -X -ceph -clientonly -glusterfs -lmdb -logwatch -ndmp -scsi-crypto -static -systemd -tcpd -test -vim-syntax -vmware"
Comment 1 Toralf Förster gentoo-dev 2023-12-21 21:45:52 UTC
Created attachment 880188 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-21 21:45:53 UTC
Created attachment 880189 [details]
app-backup:bareos-21.1.8:20231221-213132.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-21 21:45:54 UTC
Created attachment 880190 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-12-21 21:45:55 UTC
Created attachment 880191 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-21 21:45:56 UTC
Created attachment 880192 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-21 21:45:57 UTC
Created attachment 880193 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-21 21:45:59 UTC
Created attachment 880194 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-21 21:46:00 UTC
Created attachment 880195 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-01-29 09:50:57 UTC
The bug has been closed via the following commit(s):

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

commit accb96ccd7e9fb4acc0710eec5abba7a3b0e3c7f
Author:     Christopher Fore <csfore@posteo.net>
AuthorDate: 2024-01-27 21:52:18 +0000
Commit:     Marc Schiffbauer <mschiff@gentoo.org>
CommitDate: 2024-01-29 09:50:46 +0000

    app-backup/bareos: Include <algorithm> for GCC 14
    
    Also moved eapply's to a PATCHES array for app-backup/bareos.
    
    https://gcc.gnu.org/gcc-14/porting_to.html
    
    Closes: https://bugs.gentoo.org/920489
    Signed-off-by: Christopher Fore <csfore@posteo.net>
    Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>

 app-backup/bareos/bareos-22.1.2-r1.ebuild          | 15 ++++----
 .../files/bareos-22.1.2-include-algorithm.patch    | 41 ++++++++++++++++++++++
 2 files changed, 50 insertions(+), 6 deletions(-)