Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808793 - sci-libs/coinor-os-2.10.1 - OSCommandLineReader.h: error: ISO C++17 does not allow dynamic exception specifications (maybe gcc-11 related)
Summary: sci-libs/coinor-os-2.10.1 - OSCommandLineReader.h: error: ISO C++17 does not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-08-17 20:29 UTC by Toralf Förster
Modified: 2021-08-17 21:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.71 KB, text/plain)
2021-08-17 20:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,325.53 KB, text/plain)
2021-08-17 20:30 UTC, Toralf Förster
Details
environment (environment,94.04 KB, text/plain)
2021-08-17 20:30 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,37.67 KB, application/x-bzip)
2021-08-17 20:30 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.39 KB, application/x-bzip)
2021-08-17 20:30 UTC, Toralf Förster
Details
sci-libs:coinor-os-2.10.1:20210817-202258.log (sci-libs:coinor-os-2.10.1:20210817-202258.log,33.11 KB, text/plain)
2021-08-17 20:30 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-08-17 20:29:59 UTC
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./../OSUtils -I./../OSSolverInterfaces -I./../OSParsers -I/usr/include/coin -I/usr/include/coin -I/usr/include/coin -I/usr/include/coin -I/usr/include/coin -I/usr/include/coin -I/usr/include/coin -DLindo_Off -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -DOS_BUILD -c OSExpressionTree.cpp  -fPIC -DPIC -o .libs/OSExpressionTree.o
In file included from OSCommandLineReader.cpp:16:
OSCommandLineReader.h:69:61: error: ISO C++17 does not allow dynamic exception specifications
   69 |     OSCommandLine *readCommandLine(const std::string& osss) throw(ErrorClass);
      |                                                             ^~~~~
OSCommandLineReader.h:78:57: error: ISO C++17 does not allow dynamic exception specifications
   78 |     OSCommandLine *parseString(const std::string& osss) throw(ErrorClass);

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 74a0ac7f730776de2a8b72a976b3f3573ed6b5e1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 17 20:06:26 2021 +0000

    2021-08-17 20:06:25 UTC

emerge -qpvO sci-libs/coinor-os
[ebuild  N    ] sci-libs/coinor-os-2.10.1  USE="examples -doc -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2021-08-17 20:30:00 UTC
Created attachment 733629 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-17 20:30:02 UTC
Created attachment 733631 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-17 20:30:03 UTC
Created attachment 733633 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-17 20:30:04 UTC
Created attachment 733635 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-17 20:30:05 UTC
Created attachment 733637 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-17 20:30:07 UTC
Created attachment 733639 [details]
sci-libs:coinor-os-2.10.1:20210817-202258.log
Comment 7 Larry the Git Cow gentoo-dev 2021-08-17 21:29:06 UTC
The bug has been closed via the following commit(s):

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

commit affa9e263c66472d917f46bc2129054e0d6fdcee
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-17 21:10:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-17 21:11:17 +0000

    sci-libs/coinor-os: workaround build failure with GCC 11
    
    Not backporting the patches given they're large and awkward
    to rebase (they don't apply cleanly).
    
    Closes: https://bugs.gentoo.org/808793
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/coinor-os/coinor-os-2.10.1.ebuild | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
Comment 8 Sam James archtester gentoo-dev Security 2021-08-17 21:30:17 UTC
For the record, see:
https://github.com/coin-or/OS/commit/c83916f2ca306ba67113ec4cc1870b2900b7a140
https://github.com/coin-or/OS/commit/aaa9cada68a8520ec08651f04a023e0d20560ed2
... which don't apply cleanly to 2.10.1.

They might apply to the latest version upstream 2.10.3, but they should be in the next release _after_ that.