Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932642 - sci-libs/plplot-5.15.0_p6-r1 - [gcc-15] /.../_multiarray_api.h: fatal error: numpy/_public_dtype_api_table.h: No such file or directory
Summary: sci-libs/plplot-5.15.0_p6-r1 - [gcc-15] /.../_multiarray_api.h: fatal error: ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 930951
  Show dependency tree
 
Reported: 2024-05-24 15:25 UTC by Toralf Förster
Modified: 2024-07-25 20:23 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.65 KB, text/plain)
2024-05-24 15:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,164.85 KB, text/plain)
2024-05-24 15:25 UTC, Toralf Förster
Details
environment (environment,212.45 KB, text/plain)
2024-05-24 15:25 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1020 bytes, application/x-xz)
2024-05-24 15:25 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.05 KB, application/x-xz)
2024-05-24 15:25 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,5.60 KB, application/x-xz)
2024-05-24 15:25 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,45.98 KB, application/x-xz)
2024-05-24 15:25 UTC, Toralf Förster
Details
sci-libs:plplot-5.15.0_p6-r1:20240524-144326.log (sci-libs:plplot-5.15.0_p6-r1:20240524-144326.log,144.84 KB, text/plain)
2024-05-24 15:25 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,44.52 KB, application/x-xz)
2024-05-24 15: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 2024-05-24 15:25:03 UTC
too long lines were shrinked:

make[2]: Entering directory '/var/tmp/portage/sci-libs/plplot-5.15.0_p6-r1/work/plplot-5.15.0_build'
[ 50%] Building C object bindings/tcl/CMakeFiles/plplottcltk.dir/tclAPI.c.o
cd /var/tmp/portage/sci-libs/plplot-5.15.0_p6-r1/work/plplot-5.15.0_build/bindings/tcl && /usr/bin/x86_64-pc-linux-gnu-gcc -DPLPLOT_HAVE_CONFIG_H -DUSINGDLL -Dplplottcltk_EXPORTS -I/var/tmp/portage/sci-libs/plplot-5.15.0_p6-r1/work/plplot-5.15.0/include -I/var/tmp/portage/sci-libs/plplot-5.15.0_p6-r
In file included from /usr/lib/python3.11/site-packages/numpy/_core/include/numpy/ndarrayobject.h:22,
                 from /usr/lib/python3.11/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
                 from /var/tmp/portage/sci-libs/plplot-5.15.0_p6-r1/work/plplot-5.15.0_build/bindings/python/plplotcPYTHON_wrap.c:3201:
/usr/lib/python3.11/site-packages/numpy/_core/include/numpy/__multiarray_api.h:1475:10: fatal error: numpy/_public_dtype_api_table.h: No such file or directory
 1475 | #include "numpy/_public_dtype_api_table.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib-20240521-204002

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
GENTOO_VM=openjdk-bin-8  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.412_p08"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 0390ba27b80a0f9e5b1a732bc0bdc1a417229c05
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri May 24 14:07:39 2024 +0000

    2024-05-24 14:07:39 UTC

emerge -qpvO sci-libs/plplot
[ebuild  N    ] sci-libs/plplot-5.15.0_p6-r1  USE="dynamic fortran gd java lua png python tcl threads -X -cairo -cxx -doc -examples -jpeg -latex -ocaml -octave -pdf -qhull -qt5 -shapefile -svg -test -tk -truetype -wxwidgets" LUA_SINGLE_TARGET="lua5-1" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2024-05-24 15:25:04 UTC
Created attachment 894239 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-24 15:25:05 UTC
Created attachment 894240 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-05-24 15:25:07 UTC
Created attachment 894241 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-05-24 15:25:07 UTC
Created attachment 894242 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-05-24 15:25:08 UTC
Created attachment 894243 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-24 15:25:09 UTC
Created attachment 894244 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-24 15:25:10 UTC
Created attachment 894245 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-24 15:25:11 UTC
Created attachment 894246 [details]
sci-libs:plplot-5.15.0_p6-r1:20240524-144326.log
Comment 9 Toralf Förster gentoo-dev 2024-05-24 15:25:12 UTC
Created attachment 894247 [details]
temp.tar.xz
Comment 10 Jan Kohnert 2024-07-25 18:17:06 UTC
Hi,

I created a bug report upstream originally for numpy [1] since the issue occurs when switching to numpy-2.0.0. It turned out the package affected really is plplot using wrong include paths. So I created a patch PR [2] fixing this issue to be included in PLplot. But I'm not really sure the upstream package is actively maintained at the moment. You can try to apply the patch and see if it works for you, too. If needed, I can include the patch as a file attachment here, too.

Best, Jan

[1] https://github.com/numpy/numpy/issues/26854
[2] https://github.com/PLplot/PLplot/pull/10
Comment 11 Attila Tóth 2024-07-25 20:23:33 UTC
(In reply to Jan Kohnert from comment #10)
> Hi,
> 
> I created a bug report upstream originally for numpy [1] since the issue
> occurs when switching to numpy-2.0.0. It turned out the package affected
> really is plplot using wrong include paths. So I created a patch PR [2]
> fixing this issue to be included in PLplot. But I'm not really sure the
> upstream package is actively maintained at the moment. You can try to apply
> the patch and see if it works for you, too. If needed, I can include the
> patch as a file attachment here, too.
> 
> Best, Jan
> 
> [1] https://github.com/numpy/numpy/issues/26854
> [2] https://github.com/PLplot/PLplot/pull/10

The patch works for me. Thanks!