Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787113 - dev-cpp/libxsd-frontend-2.0.0 - /.../base.hxx: error: ISO C++17 does not allow dynamic exception specifications (maybe gcc-11 related)
Summary: dev-cpp/libxsd-frontend-2.0.0 - /.../base.hxx: error: ISO C++17 does not allo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-30 13:16 UTC by Toralf Förster
Modified: 2021-08-24 12:39 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.96 KB, text/plain)
2021-04-30 13:16 UTC, Toralf Förster
Details
dev-cpp:libxsd-frontend-2.0.0:20210429-214238.log (dev-cpp:libxsd-frontend-2.0.0:20210429-214238.log,82.65 KB, text/plain)
2021-04-30 13:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,423.87 KB, text/plain)
2021-04-30 13:16 UTC, Toralf Förster
Details
environment (environment,62.61 KB, text/plain)
2021-04-30 13:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.71 KB, application/x-bzip)
2021-04-30 13:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.61 KB, application/x-bzip)
2021-04-30 13:16 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 2021-04-30 13:16:30 UTC
                 from /var/tmp/portage/dev-cpp/libxsd-frontend-2.0.0/work/libxsd-frontend-2.0.0/xsd-frontend/semantic-graph/annotation.hxx:8,
                 from /var/tmp/portage/dev-cpp/libxsd-frontend-2.0.0/work/libxsd-frontend-2.0.0/xsd-frontend/semantic-graph/annotation.cxx:7:
/usr/include/cutl/shared-ptr/base.hxx:34:41: error: ISO C++17 does not allow dynamic exception specifications
   34 | operator new (std::size_t, cutl::share) throw (std::bad_alloc);
      |                                         ^~~~~
/usr/include/cutl/shared-ptr/base.hxx:64:39: error: ISO C++17 does not allow dynamic exception specifications
   64 |     operator new (std::size_t, share) throw (std::bad_alloc);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210419-131016

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr 29 21:05:18 UTC 2021

emerge -qpvO dev-cpp/libxsd-frontend
[ebuild  N    ] dev-cpp/libxsd-frontend-2.0.0
Comment 1 Toralf Förster gentoo-dev 2021-04-30 13:16:31 UTC
Created attachment 704292 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-30 13:16:33 UTC
Created attachment 704295 [details]
dev-cpp:libxsd-frontend-2.0.0:20210429-214238.log
Comment 3 Toralf Förster gentoo-dev 2021-04-30 13:16:35 UTC
Created attachment 704298 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-30 13:16:36 UTC
Created attachment 704301 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-30 13:16:37 UTC
Created attachment 704304 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-30 13:16:39 UTC
Created attachment 704307 [details]
temp.tar.bz2
Comment 7 Jaak Ristioja 2021-06-05 14:23:28 UTC
Patching the ebuild with something like the following will likely work around this:

--- libxsd-frontend-2.0.0.ebuild    2021-06-05 17:20:38.430617138 +0300
+++ libxsd-frontend-2.0.0.ebuild    2021-06-05 17:20:49.676633078 +0300
@@ -31,7 +31,7 @@
                cxx_debug    := n
                cxx_rpath    := n
                cxx_pp_extra_options :=
-               cxx_extra_options    := ${CXXFLAGS}
+               cxx_extra_options    := -std=c++14 ${CXXFLAGS}
                cxx_ld_extra_options := ${LDFLAGS}
                cxx_extra_libs       :=
                cxx_extra_lib_paths  :=
Comment 8 Larry the Git Cow gentoo-dev 2021-07-26 05:14:35 UTC
The bug has been referenced in the following commit(s):

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

commit 0d6d7857f65b41057bce971d6c30923179cc2c53
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-07-26 04:46:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-07-26 05:13:19 +0000

    profiles: last-rite dev-cpp/libxsd-frontend
    
    Bug: https://bugs.gentoo.org/787113
    Bug: https://bugs.gentoo.org/735714
    Bug: https://bugs.gentoo.org/657510
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2021-08-24 12:39:17 UTC
The bug has been closed via the following commit(s):

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

commit f9898a7201e1941a79bd29a44baf765389f3f033
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-08-24 12:38:38 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-08-24 12:38:38 +0000

    dev-cpp/libxsd-frontend: Remove last-rited package
    
    Closes: https://bugs.gentoo.org/735714
    Closes: https://bugs.gentoo.org/787113
    Closes: https://bugs.gentoo.org/657510
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-cpp/libxsd-frontend/Manifest                   |  1 -
 .../libxsd-frontend-2.0.0-r1.ebuild                | 87 ----------------------
 dev-cpp/libxsd-frontend/metadata.xml               |  5 --
 profiles/package.mask                              |  6 --
 4 files changed, 99 deletions(-)