Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841734 - app-backup/bareos-21.1.2 - cc1plus: all warnings being treated as errors
Summary: app-backup/bareos-21.1.2 - cc1plus: all warnings being treated as errors
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:
Depends on:
Blocks: werror gcc-12
  Show dependency tree
 
Reported: 2022-04-29 16:31 UTC by Toralf Förster
Modified: 2022-06-10 11:16 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.74 KB, text/plain)
2022-04-29 16:31 UTC, Toralf Förster
Details
app-backup:bareos-21.1.2:20220429-070231.log.bz2 (app-backup:bareos-21.1.2:20220429-070231.log.bz2,20.47 KB, application/x-bzip)
2022-04-29 16:32 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,72.67 KB, application/x-bzip)
2022-04-29 16:32 UTC, Toralf Förster
Details
environment (environment,142.60 KB, text/plain)
2022-04-29 16:32 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.05 KB, application/x-bzip)
2022-04-29 16:32 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.21 KB, application/x-bzip)
2022-04-29 16:32 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,53.01 KB, application/x-bzip)
2022-04-29 16:32 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 2022-04-29 16:31:58 UTC
too long lines were shrinked:

    inlined from void TimerThread::TimerThread()’ at /var/tmp/portage/app-backup/bareos-21.1.2/work/bareos-Release-21.1.2/core/src/lib/timer_thread.cc:249:37:
/var/tmp/portage/app-backup/bareos-21.1.2/work/bareos-Release-21.1.2/core/src/lib/timer_thread.cc:212:14: note: call to void operator delete(void*, std::size_t)’ here
  212 |       delete p;
      |              ^
cc1plus: all warnings being treated as errors
[332/473] ccache /usr/bin/x86_64-pc-linux-gnu-g++ -D_FILE_OFFSET_BITS=64 -Dbareos_EXPORTS -I/usr/include/tirpc -I/var/tmp/portage/app-backup/bareos-21.1.2/work/bareos-Release-21.1.2/core/src -I/var/tmp/portage/app-backup/bareos-21.1.2/work/bareos-Release-21.1.2/core/src/fastlz/include  -pipe -march=
[333/473] ccache /usr/bin/x86_64-pc-linux-gnu-g++ -D_FILE_OFFSET_BITS=64 -Dbareos_EXPORTS -I/usr/include/tirpc -I/var/tmp/portage/app-backup/bareos-21.1.2/work/bareos-Release-21.1.2/core/src -I/var/tmp/portage/app-backup/bareos-21.1.2/work/bareos-Release-21.1.2/core/src/fastlz/include  -pipe -march=

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20220426-020009

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
clang version 14.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 7f78cd8c04c7950de760ea152a10b2f380ef3fa5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 29 06:48:13 2022 +0000

    2022-04-29 06:48:13 UTC

emerge -qpvO app-backup/bareos
[ebuild  N    ] app-backup/bareos-21.1.2  USE="acl director ipv6 readline 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 2022-04-29 16:31:59 UTC
Created attachment 775407 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-29 16:32:00 UTC
Created attachment 775410 [details]
app-backup:bareos-21.1.2:20220429-070231.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-04-29 16:32:01 UTC
Created attachment 775413 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-04-29 16:32:02 UTC
Created attachment 775416 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-29 16:32:03 UTC
Created attachment 775419 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-29 16:32:04 UTC
Created attachment 775422 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-29 16:32:06 UTC
Created attachment 775425 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 10:26:30 UTC
ping
Comment 9 Larry the Git Cow gentoo-dev 2022-06-10 11:16:43 UTC
The bug has been closed via the following commit(s):

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

commit e7fd214864c67de1c11ecbc39fc726b8aae89b73
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-10 11:14:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-10 11:16:38 +0000

    app-backup/bareos: drop -Werror; fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/841734
    Signed-off-by: Sam James <sam@gentoo.org>

 app-backup/bareos/bareos-21.1.2.ebuild             |  2 ++
 .../files/bareos-21.1.2-no-automagic-ccache.patch  | 25 ++++++++++++++++++++++
 app-backup/bareos/files/bareos-21.1.2-werror.patch | 23 ++++++++++++++++++++
 3 files changed, 50 insertions(+)