Bug 15667 - AB-INT: python3-numpy: ERROR: Python dependency not found
Summary: AB-INT: python3-numpy: ERROR: Python dependency not found
Status: RESOLVED FIXED
Alias: None
Product: AutoBuilder
Classification: Infrastructure
Component: autobuilder (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.0.0
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2024-11-27 09:36 UTC by Mathieu Dubois-Briand
Modified: 2024-11-28 15:57 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Dubois-Briand 2024-11-27 09:36:43 UTC
Got this issue on the autobuilder, I tried to reproduce but without any luck:

  42427 | Program python3 found: YES (/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/recipe-sysroot-native/usr/bin/nativepython3)
  42428 | Did not find pkg-config by name 'pkg-config'
  42429 | Found pkg-config: NO
  42430 | Run-time dependency python found: NO (tried pkgconfig, pkgconfig and sysconfig)
  42431 | 
  42432 | ../numpy-2.1.3/meson.build:41:12: ERROR: Python dependency not found
  42433 | 
  42434 | A full log can be found at /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/build/meson-logs/meson-log.txt
  42435 | 
  42436 | ERROR Backend subprocess exited when trying to invoke build_wheel
  42437 | WARNING: /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/temp/run.do_compile.3798855:170 exit 1 from 'nativepython3 -m build --no-isolation --wheel --outdir /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/dist /srv/pokybuild/yocto-worker/musl-qemux86
  42437 -64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/numpy-2.1.3 -Cbuilddir='/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/build' -Csetup-args=--prefix -Csetup-args=/usr -Csetup-args=--bindir -Csetup-args=bin -Csetup-args=--sbindir -Csetup-args=sbin -Csetup-args=--datadir -Csetup-args=share -Cs
  42437 etup-args=--libdir -Csetup-args=lib -Csetup-args=--libexecdir -Csetup-args=libexec -Csetup-args=--includedir -Csetup-args=include -Csetup-args=--mandir -Csetup-args=share/man -Csetup-args=--infodir -Csetup-args=share/info -Csetup-args=--sysconfdir -Csetup-args=/etc -Csetup-args=--localstatedir -Csetup-args=/var -Csetup-args=--sharedstatedir -Csetup-args=/com -Csetup-args=--
  42437 wrap-mode -Csetup-args=nodownload -Csetup-args=--native-file -Csetup-args=/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/meson.native -Csetup-args=--cross-file -Csetup-args=/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/meson.cross'
  42438 | WARNING: Backtrace (BB generated script):
  42439 |       #1: python_pep517_do_compile, /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/temp/run.do_compile.3798855, line 170
  42440 |       #2: python_mesonpy_do_compile, /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/temp/run.do_compile.3798855, line 158
  42441 |       #3: do_compile, /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/temp/run.do_compile.3798855, line 153
  42442 |       #4: main, /srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/python3-numpy/2.1.3/temp/run.do_compile.3798855, line 174
  42443 NOTE: recipe python3-numpy-2.1.3-r0: task do_compile: Failed
  42444 ERROR: Task (/srv/pokybuild/yocto-worker/musl-qemux86-64/build/meta/recipes-devtools/python/python3-numpy_2.1.3.bb:do_compile) failed with exit code '1'

https://valkyrie.yoctoproject.org/#/builders/3/builds/545/steps/11/logs/stdio
Comment 1 Mathieu Dubois-Briand 2024-11-27 09:40:43 UTC
musl-qemux86-64 fedora41-vk-1 mathieu/master-next completed at 2024-11-26T14:56:31Z
https://valkyrie.yoctoproject.org/#/builders/3/builds/545/steps/11/logs/stdio
Comment 2 Mathieu Dubois-Briand 2024-11-28 15:05:19 UTC
qemux86-world-alt fedora41-vk-1 master-next completed at 2024-11-27T12:10:55Z
https://valkyrie.yoctoproject.org/#/builders/17/builds/475/steps/11/logs/stdio