Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917761 - app-backup/bareos-22.1.2-r1 - /.../sql_get.cc: error: cannot convert std::vector<std::_cxx11::basic_string<char> >::iterator to const char
Summary: app-backup/bareos-22.1.2-r1 - /.../sql_get.cc: error: cannot convert std::vec...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL: https://bugs.bareos.org/view.php?id=1572
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2023-11-22 18:49 UTC by Toralf Förster
Modified: 2023-12-20 08:13 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.12 KB, text/plain)
2023-11-22 18:49 UTC, Toralf Förster
Details
app-backup:bareos-22.1.0-r1:20231122-145448.log (app-backup:bareos-22.1.0-r1:20231122-145448.log,121.04 KB, text/plain)
2023-11-22 18:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,132.93 KB, text/plain)
2023-11-22 18:49 UTC, Toralf Förster
Details
environment (environment,148.72 KB, text/plain)
2023-11-22 18:49 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-22 18:49 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.78 KB, application/x-xz)
2023-11-22 18:49 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,226.35 KB, text/plain)
2023-11-22 18:49 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,46.42 KB, application/x-xz)
2023-11-22 18:49 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-22 18:49:03 UTC
too long lines were shrinked:

[34/510] /usr/bin/x86_64-pc-linux-gnu-g++ -D_BDB_PRIV_INTERFACE_ -D_FILE_OFFSET_BITS=64 -Dbareossql_EXPORTS -I/usr/include/tirpc -I/var/tmp/portage/app-backup/bareos-22.1.0-r1/work/bareos-Release-22.1.0/core/src -I/usr/include/postgresql  -O3 -pipe -march=native -fno-diagnostics-color -Wsuggest-over
[35/510] /usr/bin/x86_64-pc-linux-gnu-g++ -D_BDB_PRIV_INTERFACE_ -D_FILE_OFFSET_BITS=64 -Dbareossql_EXPORTS -I/usr/include/tirpc -I/var/tmp/portage/app-backup/bareos-22.1.0-r1/work/bareos-Release-22.1.0/core/src -I/usr/include/postgresql  -O3 -pipe -march=native -fno-diagnostics-color -Wsuggest-over
[36/510] /usr/bin/x86_64-pc-linux-gnu-g++ -D_BDB_PRIV_INTERFACE_ -D_FILE_OFFSET_BITS=64 -Dbareossql_EXPORTS -I/usr/include/tirpc -I/var/tmp/portage/app-backup/bareos-22.1.0-r1/work/bareos-Release-22.1.0/core/src -I/usr/include/postgresql  -O3 -pipe -march=native -fno-diagnostics-color -Wsuggest-over
FAILED: core/src/cats/CMakeFiles/bareossql.dir/sql_get.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -D_BDB_PRIV_INTERFACE_ -D_FILE_OFFSET_BITS=64 -Dbareossql_EXPORTS -I/usr/include/tirpc -I/var/tmp/portage/app-backup/bareos-22.1.0-r1/work/bareos-Release-22.1.0/core/src -I/usr/include/postgresql  -O3 -pipe -march=native -fno-diagnostics-color -Wsuggest-override -Wfo
/var/tmp/portage/app-backup/bareos-22.1.0-r1/work/bareos-Release-22.1.0/core/src/cats/sql_get.cc: In member function db_list_ctx BareosDb::FilterZeroFileJobs(db_list_ctx&):
/var/tmp/portage/app-backup/bareos-22.1.0-r1/work/bareos-Release-22.1.0/core/src/cats/sql_get.cc:1309:42: error: cannot convert std::vector<std::__cxx11::basic_string<char> >::iterator to const char*
 1309 |     jobids.erase(std::remove(jobids.begin(), jobids.end(), remove_jobid),
      |                              ~~~~~~~~~~~~^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20231120-022524

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

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

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 5a6f5a6d375c2f691005907cf3067aafa7a9b5e2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 22 14:31:58 2023 +0000

    2023-11-22 14:31:58 UTC

emerge -qpvO app-backup/bareos
[ebuild  N    ] app-backup/bareos-22.1.0-r1  USE="X acl director ipv6 readline (split-usr) storage-daemon xattr -ceph -clientonly -glusterfs -lmdb -logwatch -ndmp -scsi-crypto -static -systemd -tcpd -test -vim-syntax -vmware"
Comment 1 Toralf Förster gentoo-dev 2023-11-22 18:49:04 UTC
Created attachment 875393 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-22 18:49:06 UTC
Created attachment 875394 [details]
app-backup:bareos-22.1.0-r1:20231122-145448.log
Comment 3 Toralf Förster gentoo-dev 2023-11-22 18:49:07 UTC
Created attachment 875395 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-11-22 18:49:09 UTC
Created attachment 875396 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-22 18:49:09 UTC
Created attachment 875397 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-22 18:49:10 UTC
Created attachment 875398 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-22 18:49:12 UTC
Created attachment 875399 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-11-22 18:49:13 UTC
Created attachment 875400 [details]
temp.tar.xz
Comment 9 Agostino Sarubbo gentoo-dev 2023-12-20 08:13:14 UTC
gcc14_tinderbox has reproduced this issue with version 22.1.2-r1 - Updating summary.