Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721932 - sci-libs/coinor-cbc-2.10.5 : CbcCutGenerator.cpp: error: class CglTreeInfo has no member named parentSolver
Summary: sci-libs/coinor-cbc-2.10.5 : CbcCutGenerator.cpp: error: class CglTreeInfo ha...
Status: CONFIRMED
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:
 
Reported: 2020-05-09 17:25 UTC by Toralf Förster
Modified: 2020-05-09 18:51 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.06 KB, text/plain)
2020-05-09 17:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,288.29 KB, text/plain)
2020-05-09 17:25 UTC, Toralf Förster
Details
environment (environment,21.63 KB, text/plain)
2020-05-09 17:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.85 KB, application/x-bzip)
2020-05-09 17:25 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.97 KB, application/x-bzip)
2020-05-09 17:25 UTC, Toralf Förster
Details
sci-libs:coinor-cbc-2.10.5:20200509-165527.log (sci-libs:coinor-cbc-2.10.5:20200509-165527.log,23.41 KB, text/plain)
2020-05-09 17:25 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 2020-05-09 17:25:35 UTC
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../src -I/usr/include/coin -I/usr/include/coin -DCOIN_NO_CLP_MESSAGE -DUSE_CBCCONFIG -O2 -pipe -march=native -fno-common -DCBC_BUILD -c CbcCutGenerator.cpp  -fPIC -DPIC -o .libs/CbcCutGenerator.o
CbcCutGenerator.cpp: In member function bool CbcCutGenerator::generateCuts(OsiCuts&, int, OsiSolverInterface*, CbcNode*):
CbcCutGenerator.cpp:306:12: error: class CglTreeInfo has no member named parentSolver
  306 |       info.parentSolver = model_->parentModel()->continuousSolver();
      |            ^~~~~~~~~~~~
CbcCutGenerator.cpp:308:12: error: class CglTreeInfo has no member named hasParent

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200502-160513

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.43.0
  [2]   rust-1.43.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.252_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat 09 May 2020 04:05:17 PM UTC

emerge -qpvO sci-libs/coinor-cbc
[ebuild     U ] sci-libs/coinor-cbc-2.10.5 [2.8.9] USE="-doc -examples -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2020-05-09 17:25:38 UTC
Created attachment 637160 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-09 17:25:41 UTC
Created attachment 637162 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-09 17:25:44 UTC
Created attachment 637164 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-09 17:25:47 UTC
Created attachment 637166 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-09 17:25:50 UTC
Created attachment 637168 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-09 17:25:53 UTC
Created attachment 637170 [details]
sci-libs:coinor-cbc-2.10.5:20200509-165527.log
Comment 7 Michael Orlitzky gentoo-dev 2020-05-09 18:51:27 UTC
I think this is due to some old dependencies being installed. While technically it's an ebuild bug, upstream doesn't let us know when they break their API (soname doesn't change). And I would rather not try 100 versions by hand to see where the breakage starts.

Can you try with "emerge -uDN coinor-cbc" to pull in the latest versions of its dependencies? I think that will solve it.