pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/59426: python 3.12 does not build on MIPS



>Number:         59426
>Category:       pkg
>Synopsis:       python 3.12 does not build on MIPS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 16 12:30:00 +0000 2025
>Originator:     Martin Husemann
>Release:        NetBSD 10.99.14
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD supremacy.duskware.de 10.99.14 NetBSD 10.99.14 (OCTEON) #29: Thu May 15 10:15:31 CEST 2025 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbmips/compile/OCTEON evbmips
Architecture: mipsn64eb
Machine: evbmips
>Description:

On mips64 (with 64bit userland) I tried to build lang/python312 and failed.
To make things worse, the build did not stop at the first error:

PYTHONPATH=/usr/pkgobj/lang/python312/work/.destdir/usr/pkg/lib/python3.12 LD_LI
BRARY_PATH=/usr/pkgobj/lang/python312/work/Python-3.12.10  ./python -E -Wi /usr/
pkgobj/lang/python312/work/.destdir/usr/pkg/lib/python3.12/compileall.py  -o 0 -
o 1 -j0 -d /usr/pkg/lib/python3.12 -f  -x 'bad_coding|badsyntax|site-packages|te
st/test_lib2to3/data'  /usr/pkgobj/lang/python312/work/.destdir/usr/pkg/lib/pyth
on3.12
Listing '/usr/pkgobj/lang/python312/work/.destdir/usr/pkg/lib/python3.12'...
*** Signal 11 (ignored)

so the pkg tried to continue building and only fails later at the install
phase:

=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat `/usr/pkgobj/lang/python312/work/.destdir/usr/pkg/lib/python3.12/__pycache__/__future__.cpython-312.pyc'
pkg_create: can't stat `/usr/pkgobj/lang/python312/work/.destdir/usr/pkg/lib/python3.12/__pycache__/__future__.cpython-312.opt-1.pyc'
[..]
=> Checking file-check results for python312-3.12.10nb1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkgobj/lang/python312/work/.destdir/usr/pkg:
ERROR:         /usr/pkgobj/lang/python312/work/.destdir/usr/pkg/lib/python3.12/__phello__/__pycache__/__init__.cpython-312.opt-1.pyc
ERROR:         /usr/pkgobj/lang/python312/work/.destdir/usr/pkg/lib/python3.12/__phello__/__pycache__/__init__.cpython-312.pyc


>How-To-Repeat:
Build lang/python312 on mipsn64eb.

>Fix:
n/a



Home | Main Index | Thread Index | Old Index