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

Bug 917761

Summary: app-backup/bareos-22.1.2-r1 - /.../sql_get.cc: error: cannot convert std::vector<std::_cxx11::basic_string<char> >::iterator to const char
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: CONFIRMED ---    
Severity: normal Keywords: UPSTREAM
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.bareos.org/view.php?id=1572
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 914580    
Attachments: emerge-info.txt
app-backup:bareos-22.1.0-r1:20231122-145448.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
temp.tar.xz

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.
Comment 10 Larry the Git Cow gentoo-dev 2024-05-08 21:58:17 UTC
The bug has been referenced in the following commit(s):

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

commit c4d82cbcdf075acb02a359d685df9712ec01fce9
Author:     Marc Schiffbauer <mschiff@gentoo.org>
AuthorDate: 2024-05-08 21:54:33 +0000
Commit:     Marc Schiffbauer <mschiff@gentoo.org>
CommitDate: 2024-05-08 21:58:09 +0000

    app-backup/bareos: add 21.1.9, 22.1.4
    
    Bug: https://bugs.gentoo.org/917761
    Bug: https://bugs.gentoo.org/830293
    Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>

 app-backup/bareos/Manifest             |   2 +
 app-backup/bareos/bareos-21.1.9.ebuild | 414 +++++++++++++++++++++++++++++++
 app-backup/bareos/bareos-22.1.4.ebuild | 434 +++++++++++++++++++++++++++++++++
 3 files changed, 850 insertions(+)