[Buildroot] [Bug 14711] nodjs build problem missing bzip

bugzilla at busybox.net bugzilla at busybox.net
Wed Mar 30 05:33:06 UTC 2022


https://bugs.busybox.net/show_bug.cgi?id=14711

--- Comment #5 from Wim Meganck <w.meganck at televic.com> ---
I made following changes in the .config:
BR2_PACKAGE_HOST_PYTHON3=y
BR2_PACKAGE_HOST_PYTHON3_BZIP2=y
BR2_PACKAGE_BZIP2=y
BR2_PACKAGE_PYTHON3_BZIP2=y

Rebuild bzip and python3.
Run make
_bz2 is still in the list of DISABLED_EXTENSIONS
_bz2.*.so is still missing in output/host/lib/python3.10/lib-dynload

But still same error

Node.js configure: Found Python 3.10.2...
Traceback (most recent call last):
  File
"/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/./configure",
line 30, in <module>
    import configure
  File
"/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/configure.py",
line 14, in <module>
    import bz2
  File
"/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/lib/python3.10/bz2.py",
line 17, in <module>
    from _bz2 import BZ2Compressor, BZ2Decompressor
ModuleNotFoundError: No module named '_bz2'
package/pkg-generic.mk:272: recipe for target
'/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/.stamp_configured'
failed
make[1]: ***
[/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/.stamp_configured]
Error 1
Makefile:23: recipe for target '_all' failed
make: *** [_all] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list