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

Bug 682974

Summary: dev-python/symengine-0.3.0 : /.../symengine_wrapper.cpp:647:10: fatal error: symengine/codegen.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: RESOLVED FIXED    
Severity: normal CC: endymion+gentoo, lssndrbarbieri
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-python:symengine-0.3.0:20190409-131719.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-04-09 19:21:16 UTC
Scanning dependencies of target symengine_wrapper
[ 50%] Building CXX object symengine/lib/CMakeFiles/symengine_wrapper.dir/symengine_wrapper.cpp.o
/var/tmp/portage/dev-python/symengine-0.3.0/work/symengine.py-0.3.0-python2_7/lib/symengine/lib/symengine_wrapper.cpp:647:10: fatal error: symengine/codegen.h: No such file or directory
 #include <symengine/codegen.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-systemd_20190408-042704

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *




emerge -qpvO dev-python/symengine
[ebuild   R   ] dev-python/symengine-0.3.0  USE="-test" PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2019-04-09 19:21:18 UTC
Created attachment 572336 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-09 19:21:21 UTC
Created attachment 572338 [details]
dev-python:symengine-0.3.0:20190409-131719.log
Comment 3 Toralf Förster gentoo-dev 2019-04-09 19:21:24 UTC
Created attachment 572340 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-04-09 19:21:27 UTC
Created attachment 572342 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-04-09 19:21:30 UTC
Created attachment 572344 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-09 19:21:33 UTC
Created attachment 572346 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-04-09 19:21:36 UTC
Created attachment 572348 [details]
temp.tbz2
Comment 8 Petr Cerny [:hrosik] 2019-06-12 20:48:44 UTC
sci-libs/symengine seems to have changed API between 0.3.0 and 0.4.0 - dev-python/symengine needs to be aligned with it.

Maintainers, please upgrade dev-python/symengine to 0.4.0, it should be only question of changing version number in the ebuild (it worked for me).
Comment 9 Petr Cerny [:hrosik] 2019-06-22 10:21:43 UTC
There were also some file collisions with sci-libs/symengine (AUTHORS, iirc).
Comment 10 Andreas Sturmlechner gentoo-dev 2020-03-08 15:00:42 UTC
So, fixed in >=dev-python/symengine-0.4.0?
Comment 11 Toralf Förster gentoo-dev 2020-03-08 16:54:14 UTC
yep