Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895094 - net-dns/dnsdist-1.7.3-r1 - lock.hh: error: runtime_error is not a member of std
Summary: net-dns/dnsdist-1.7.3-r1 - lock.hh: error: runtime_error is not a member of std
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas Schürch
URL:
Whiteboard:
Keywords:
: 895422 900096 (view as bug list)
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-17 09:58 UTC by Toralf Förster
Modified: 2023-04-19 03:12 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.84 KB, text/plain)
2023-02-17 09:58 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,53.61 KB, application/x-bzip)
2023-02-17 09:58 UTC, Toralf Förster
Details
environment (environment,95.80 KB, text/plain)
2023-02-17 09:58 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,707 bytes, application/x-bzip)
2023-02-17 09:58 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,36.90 KB, application/x-bzip)
2023-02-17 09:58 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,18.92 KB, application/x-bzip)
2023-02-17 09:58 UTC, Toralf Förster
Details
net-dns:dnsdist-1.7.3-r1:20230217-045603.log (net-dns:dnsdist-1.7.3-r1:20230217-045603.log,45.44 KB, text/plain)
2023-02-17 09:58 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,38.36 KB, application/x-bzip)
2023-02-17 09:58 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-02-17 09:58:45 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -I.  -I. -I. -pthread   -I/usr/include/lua5.1  -I/usr/include/editline    -I./ext/yahttp    -I./ext/protozero/include -DSYSCONFDIR=\"/etc/dnsdist\" -DBOOST_CONTAINER_USE_STD_EXCEPTIONS         -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE6
x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -I.  -I. -I. -pthread   -I/usr/include/lua5.1  -I/usr/include/editline    -I./ext/yahttp    -I./ext/protozero/include -DSYSCONFDIR=\"/etc/dnsdist\" -DBOOST_CONTAINER_USE_STD_EXCEPTIONS         -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE6
x86_64-pc-linux-gnu-g++ -std=c++17 -DHAVE_CONFIG_H -I.  -I. -I. -pthread   -I/usr/include/lua5.1  -I/usr/include/editline    -I./ext/yahttp    -I./ext/protozero/include -DSYSCONFDIR=\"/etc/dnsdist\" -DBOOST_CONTAINER_USE_STD_EXCEPTIONS         -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE6
In file included from dnsdist-session-cache.hh:27,
                 from dnsdist-tcp-downstream.cc:2:
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-11
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/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 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit 954f362760600b3c5b53ad8a90dc6b47ee5731ba
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Feb 17 03:32:12 2023 +0000

    2023-02-17 03:32:11 UTC

emerge -qpvO net-dns/dnsdist
[ebuild  N    ] net-dns/dnsdist-1.7.3-r1  USE="lmdb ssl systemd -dnscrypt -dnstap -doh -gnutls -regex -remote-logging -snmp -test" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit"
Comment 1 Toralf Förster gentoo-dev 2023-02-17 09:58:46 UTC
Created attachment 852080 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-17 09:58:47 UTC
Created attachment 852082 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-02-17 09:58:48 UTC
Created attachment 852084 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-17 09:58:49 UTC
Created attachment 852086 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-17 09:58:50 UTC
Created attachment 852088 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-17 09:58:51 UTC
Created attachment 852090 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-17 09:58:52 UTC
Created attachment 852092 [details]
net-dns:dnsdist-1.7.3-r1:20230217-045603.log
Comment 8 Toralf Förster gentoo-dev 2023-02-17 09:58:53 UTC
Created attachment 852094 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-18 08:29:34 UTC
ping, this should be a trivial missing include, and gcc 13 is about to be released
Comment 10 David Seifert gentoo-dev 2023-04-18 10:10:48 UTC
*** Bug 895422 has been marked as a duplicate of this bug. ***
Comment 11 Arsen Arsenović gentoo-dev 2023-04-19 00:27:04 UTC
I've backported the relevant patches from 1.8.0.  I'll push them in a sec, but maybe that version can be dropped.
Comment 12 Arsen Arsenović gentoo-dev 2023-04-19 00:27:27 UTC
Er - didn't mean to add the keyword.  Apologies.
Comment 13 Larry the Git Cow gentoo-dev 2023-04-19 00:34:34 UTC
The bug has been closed via the following commit(s):

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

commit 61450918ac12732055abb52082fba09837abab8e
Author:     Arsen Arsenović <arsen@gentoo.org>
AuthorDate: 2023-04-19 00:10:57 +0000
Commit:     Arsen Arsenović <arsen@gentoo.org>
CommitDate: 2023-04-19 00:19:00 +0000

    net-dns/dnsdist: Fix building on GCC 13
    
    Closes: https://bugs.gentoo.org/895094
    Signed-off-by: Arsen Arsenović <arsen@gentoo.org>

 net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild         |  4 ++
 net-dns/dnsdist/files/dnsdist-1.7.3-gcc13.patch | 62 +++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-19 03:12:42 UTC
*** Bug 900096 has been marked as a duplicate of this bug. ***