Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 853955 - dev-python/numexpr-2.8.1-r1 - numexpr/interpreter.cpp: error: NPY_ARRAY_UPDATEIFCOPY was not declared in this scope
Summary: dev-python/numexpr-2.8.1-r1 - numexpr/interpreter.cpp: error: NPY_ARRAY_UPDAT...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-06-23 21:22 UTC by Toralf Förster
Modified: 2022-06-24 03:54 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.48 KB, text/plain)
2022-06-23 21:22 UTC, Toralf Förster
Details
dev-python:numexpr-2.8.1-r1:20220623-211048.log (dev-python:numexpr-2.8.1-r1:20220623-211048.log,4.42 KB, text/plain)
2022-06-23 21:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,166.86 KB, text/plain)
2022-06-23 21:22 UTC, Toralf Förster
Details
environment (environment,132.67 KB, text/plain)
2022-06-23 21:22 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.82 KB, application/x-bzip)
2022-06-23 21:22 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.76 KB, application/x-bzip)
2022-06-23 21:22 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 2022-06-23 21:22:07 UTC
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/numexpr
x86_64-pc-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I/usr/lib/python3.9/site-packages/numpy/core/include -Iframestream -I/usr/include/python3.9 -c numexpr/interpreter.cpp -o build/temp.linux-x86_64-cpython-39/numexpr/interpreter.o
numexpr/interpreter.cpp: In function PyObject* NumExpr_run(NumExprObject*, PyObject*, PyObject*)’:
numexpr/interpreter.cpp:1272:59: error: NPY_ARRAY_UPDATEIFCOPY’ was not declared in this scope; did you mean NPY_ITER_UPDATEIFCOPY’?
 1272 |                                         NPY_ARRAY_ALIGNED|NPY_ARRAY_UPDATEIFCOPY);
      |                                                           ^~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20220622-000016

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.5
Python 3.9.13
Available Rust versions:
  [1]   rust-1.61.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php8.1 *

  HEAD of ::gentoo
commit 6531fc4af1608d02ee6942cf729024d9cd18168c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jun 23 20:32:52 2022 +0000

    2022-06-23 20:32:52 UTC

emerge -qpvO dev-python/numexpr
[ebuild  N    ] dev-python/numexpr-2.8.1-r1  PYTHON_TARGETS="python3_9 -python3_8 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-06-23 21:22:08 UTC
Created attachment 787271 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-23 21:22:09 UTC
Created attachment 787274 [details]
dev-python:numexpr-2.8.1-r1:20220623-211048.log
Comment 3 Toralf Förster gentoo-dev 2022-06-23 21:22:11 UTC
Created attachment 787277 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-06-23 21:22:13 UTC
Created attachment 787280 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-23 21:22:14 UTC
Created attachment 787283 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-23 21:22:15 UTC
Created attachment 787286 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-06-24 03:53:18 UTC
The bug has been closed via the following commit(s):

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

commit 2a6dc1335a46d15eafd97470097668dfa1af74d6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-24 03:52:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-24 03:52:50 +0000

    dev-python/numexpr: fix build with numpy 1.23.0
    
    Closes: https://bugs.gentoo.org/853955
    Signed-off-by: Sam James <sam@gentoo.org>

 .../numexpr/files/numexpr-2.8.1-numpy-1.23.0.patch | 22 ++++++++++++++++++++++
 dev-python/numexpr/numexpr-2.8.1-r1.ebuild         |  4 ++++
 2 files changed, 26 insertions(+)