pkgsrc-Bugs archive

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

pkg/56774: Python 3.9 & 3.10 build fails with pkgsrc-2022Q1 on NetBSD-current on RPi4



>Number:         56774
>Category:       pkg
>Synopsis:       Python 3.9 & 3.10 build fails with pkgsrc-2022Q1 on NetBSD-current on RPi4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 31 16:50:00 +0000 2022
>Originator:     Malte Dehling
>Release:        NetBSD 9.99.96, pkgsrc 2022Q1
>Organization:
>Environment:
NetBSD retropi.local 9.99.96 NetBSD 9.99.96 (GENERIC64) #0: Wed Mar 30 00:06:50 UTC 2022  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64 evbarm
>Description:
On a clean NetBSD current install on my Raspberry Pi 4, trying to compile lang/python39 or lang/python310 from pkgsrc-2022Q1 leads to the following error:

--- sharedmods ---
LD_LIBRARY_PATH=/usr/pkg/obj/lang/python39/work/Python-3.9.12 CC='gcc -pthread' LDSHARED='gcc -pthread -shared -L. -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib  ' OPT='-DNDEBUG -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include'  _TCLTK_INCLUDES='' _TCLTK_LIBS=''  ./python -E ./setup.py  build
Traceback (most recent call last):
  File "/usr/pkg/obj/lang/python39/work/Python-3.9.12/./setup.py", line 17, in <module>
    import subprocess
ModuleNotFoundError: No module named 'subprocess'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/pkg/obj/lang/python39/work/Python-3.9.12/./setup.py", line 28, in <module>
    import _bootsubprocess
ModuleNotFoundError: No module named '_bootsubprocess'
*** [sharedmods] Error code 1

make: stopped in /usr/pkg/obj/lang/python39/work/Python-3.9.12
1 error
>How-To-Repeat:
see description
>Fix:
I don?t have a fix, but installing an older version of lang/python39 or lang/python310 from pkgsrc-2021Q4 works fine.


Home | Main Index | Thread Index | Old Index