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

Bug 894618

Summary: net-dns/pdns-4.7.3 - lock.hh: error: runtime_error is not a member of std
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 865117    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-dns:pdns-4.7.3:20230215-051757.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2023-02-15 18:29:59 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I..  -I.. -I.. -pthread  -I../ext/json11 -I../ext/yahttp     -I../ext/protozero/include -DBOOST_CONTAINER_USE_STD_EXCEPTIONS   -I/usr/include/lua5.1     -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_TIME_BITS=64 -DSYSCONFD
x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I..  -I.. -I.. -pthread  -I../ext/json11 -I../ext/yahttp     -I../ext/protozero/include -DBOOST_CONTAINER_USE_STD_EXCEPTIONS   -I/usr/include/lua5.1     -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_TIME_BITS=64 -DSYSCONFD
x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I..  -I.. -I.. -pthread  -I../ext/json11 -I../ext/yahttp     -I../ext/protozero/include -DBOOST_CONTAINER_USE_STD_EXCEPTIONS   -I/usr/include/lua5.1     -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_TIME_BITS=64 -DSYSCONFD
In file included from statbag.hh:27,
                 from auth-carbon.cc:25:
lock.hh: In member function T& LockGuardedTryHolder<T>::operator*() const:
lock.hh:235:18: error: runtime_error is not a member of std
  235 |       throw std::runtime_error("Trying to access data protected by a mutex while the lock has not been acquired");
      |                  ^~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20230214-230019

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
php cli (if any):

  HEAD of ::gentoo
commit 81eae029b56f5d0cfae8b59285244792d340f25a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Feb 15 04:46:53 2023 +0000

    2023-02-15 04:46:53 UTC

emerge -qpvO net-dns/pdns
[ebuild  N    ] net-dns/pdns-4.7.3  USE="systemd -debug -doc -geoip -ldap -lmdb -lua-records -mydns -mysql -postgres -remote -sodium -sqlite -test -tinydns -tools" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit"
Comment 1 Toralf Förster gentoo-dev 2023-02-15 18:30:00 UTC
Created attachment 851324 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-15 18:30:01 UTC
Created attachment 851326 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-15 18:30:04 UTC
Created attachment 851328 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-15 18:30:05 UTC
Created attachment 851330 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-15 18:30:07 UTC
Created attachment 851332 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-15 18:30:08 UTC
Created attachment 851334 [details]
net-dns:pdns-4.7.3:20230215-051757.log
Comment 7 Toralf Förster gentoo-dev 2023-02-15 18:30:09 UTC
Created attachment 851336 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-02-16 21:20:05 UTC
The bug has been closed via the following commit(s):

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

commit aea82df28d2def080c1aa982ea5dc1e7560120c0
Author:     Sven Wegener <swegener@gentoo.org>
AuthorDate: 2023-02-16 21:09:23 +0000
Commit:     Sven Wegener <swegener@gentoo.org>
CommitDate: 2023-02-16 21:19:43 +0000

    net-dns/pdns-recursor: Fix building with gcc-13, bug #894618
    
    Closes: https://bugs.gentoo.org/894618
    Signed-off-by: Sven Wegener <swegener@gentoo.org>

 .../files/pdns-recursor-4.7.4-gcc-13.patch             | 18 ++++++++++++++++++
 net-dns/pdns-recursor/pdns-recursor-4.7.4.ebuild       |  4 ++++
 2 files changed, 22 insertions(+)

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

commit 3e1de490b4309384543bf177e93b062f2756bad0
Author:     Sven Wegener <swegener@gentoo.org>
AuthorDate: 2023-02-16 21:08:39 +0000
Commit:     Sven Wegener <swegener@gentoo.org>
CommitDate: 2023-02-16 21:19:43 +0000

    net-dns/pdns: Fix building with gcc-13, bug #894618
    
    Closes: https://bugs.gentoo.org/894618
    Signed-off-by: Sven Wegener <swegener@gentoo.org>

 net-dns/pdns/files/pdns-4.7.3-gcc-13.patch | 18 ++++++++++++++++++
 net-dns/pdns/pdns-4.7.3.ebuild             |  4 ++++
 2 files changed, 22 insertions(+)