* [Buildroot] [Bug 14711] New: nodjs build problem missing bzip
@ 2022-03-28 13:46 bugzilla
2022-03-28 13:50 ` [Buildroot] [Bug 14711] " bugzilla
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: bugzilla @ 2022-03-28 13:46 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14711
Bug ID: 14711
Summary: nodjs build problem missing bzip
Product: buildroot
Version: 2022.02
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: w.meganck@televic.com
CC: buildroot@uclibc.org
Target Milestone: ---
>>> host-nodejs 14.18.3 Configuring
mkdir -p
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/bin
ln -sf
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin/python3
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/bin/python
/bin/sed -i -e "s%@MAYBE_WRAPPER@%%g"
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/node.gyp
/bin/sed -i -e "s%@MAYBE_WRAPPER@%%g"
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/tools/v8_gypfiles/v8.gyp
(cd
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3;
PATH="/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin:/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/microchip/xc16/v1.41/bin:/opt/microchip/xc16/v1.41/bin"
PKG_CONFIG="/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG_LIBDIR="/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/lib/pkgconfig:/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/share/pkgconfig"
AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm"
CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp"
OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib"
CPPFLAGS="-I/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/include"
CFLAGS="-O2
-I/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/include"
CXXFLAGS="-O2
-I/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/include"
LDFLAGS="-L/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/lib
-Wl,-rpath,/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/lib"
INTLTOOL_PERL=/usr/bin/perl
PATH=/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/bin:"/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin:/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/microchip/xc16/v1.41/bin:/opt/microchip/xc16/v1.41/bin"
PYTHON=/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin/python3
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin/python3
./configure
--prefix=/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host
--without-dtrace --without-etw --shared-openssl
--shared-openssl-includes=/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/include
--shared-openssl-libpath=/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/lib
--shared-zlib --no-cross-compiling --with-intl=system-icu )
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.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 14711] nodjs build problem missing bzip
2022-03-28 13:46 [Buildroot] [Bug 14711] New: nodjs build problem missing bzip bugzilla
@ 2022-03-28 13:50 ` bugzilla
2022-03-28 19:03 ` bugzilla
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2022-03-28 13:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14711
--- Comment #1 from Wim Meganck <w.meganck@televic.com> ---
>>> host-nodejs 14.18.3 Configuring
mkdir -p
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/bin
ln -sf
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin/python3
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/bin/python
/bin/sed -i -e "s%@MAYBE_WRAPPER@%%g"
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/node.gyp
/bin/sed -i -e "s%@MAYBE_WRAPPER@%%g"
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/tools/v8_gypfiles/v8.gyp
(cd
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3;
PATH="/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin:/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/microchip/xc16/v1.41/bin:/opt/microchip/xc16/v1.41/bin"
PKG_CONFIG="/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG_LIBDIR="/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/lib/pkgconfig:/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/share/pkgconfig"
AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm"
CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp"
OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib"
CPPFLAGS="-I/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/include"
CFLAGS="-O2
-I/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/include"
CXXFLAGS="-O2
-I/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/include"
LDFLAGS="-L/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/lib
-Wl,-rpath,/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/lib"
INTLTOOL_PERL=/usr/bin/perl
PATH=/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/build/host-nodejs-14.18.3/bin:"/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin:/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/microchip/xc16/v1.41/bin:/opt/microchip/xc16/v1.41/bin"
PYTHON=/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin/python3
/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/bin/python3
./configure
--prefix=/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host
--without-dtrace --without-etw --shared-openssl
--shared-openssl-includes=/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/include
--shared-openssl-libpath=/home/wm/projects/televic/dev/buildroot-new4/output_confidea_g4_wcap/host/lib
--shared-zlib --no-cross-compiling --with-intl=system-icu )
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.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 14711] nodjs build problem missing bzip
2022-03-28 13:46 [Buildroot] [Bug 14711] New: nodjs build problem missing bzip bugzilla
2022-03-28 13:50 ` [Buildroot] [Bug 14711] " bugzilla
@ 2022-03-28 19:03 ` bugzilla
2022-03-28 19:17 ` bugzilla
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2022-03-28 19:03 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14711
--- Comment #2 from Arnout Vandecappelle <arnout@mind.be> ---
*** Bug 14706 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 14711] nodjs build problem missing bzip
2022-03-28 13:46 [Buildroot] [Bug 14711] New: nodjs build problem missing bzip bugzilla
2022-03-28 13:50 ` [Buildroot] [Bug 14711] " bugzilla
2022-03-28 19:03 ` bugzilla
@ 2022-03-28 19:17 ` bugzilla
2022-03-30 5:15 ` bugzilla
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2022-03-28 19:17 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14711
--- Comment #3 from Arnout Vandecappelle <arnout@mind.be> ---
This shouldn't happen, BR2_PACKAGE_HOST_NODEJS should cause python3 to be built
with bzip2 support. Can you check if BR2_PACKAGE_HOST_PYTHON3_BZIP2=y is set in
.config? Can you check if _bz2 is in DISABLED_EXTENSIONS in
output/build/host-python3-3.10.2? Can you check if _bz2.*.so is indeed missing
in output/host/lib/python3.10/lib-dynload?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 14711] nodjs build problem missing bzip
2022-03-28 13:46 [Buildroot] [Bug 14711] New: nodjs build problem missing bzip bugzilla
` (2 preceding siblings ...)
2022-03-28 19:17 ` bugzilla
@ 2022-03-30 5:15 ` bugzilla
2022-03-30 5:33 ` bugzilla
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2022-03-30 5:15 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14711
--- Comment #4 from Wim Meganck <w.meganck@televic.com> ---
If I add BR2_PACKAGE_HOST_PYTHON3_BZIP2=y in the .config file is it gone after
make.
_bz2 is in the list of DISABLED_EXTENSIONS
_bz2.*.so is indeed missing in output/host/lib/python3.10/lib-dynload
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 14711] nodjs build problem missing bzip
2022-03-28 13:46 [Buildroot] [Bug 14711] New: nodjs build problem missing bzip bugzilla
` (3 preceding siblings ...)
2022-03-30 5:15 ` bugzilla
@ 2022-03-30 5:33 ` bugzilla
2022-03-31 4:16 ` bugzilla
2022-04-09 17:02 ` bugzilla
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2022-03-30 5:33 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14711
--- Comment #5 from Wim Meganck <w.meganck@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.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 14711] nodjs build problem missing bzip
2022-03-28 13:46 [Buildroot] [Bug 14711] New: nodjs build problem missing bzip bugzilla
` (4 preceding siblings ...)
2022-03-30 5:33 ` bugzilla
@ 2022-03-31 4:16 ` bugzilla
2022-04-09 17:02 ` bugzilla
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2022-03-31 4:16 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14711
--- Comment #6 from Wim Meganck <w.meganck@televic.com> ---
Problem solved by adding BR2_PACKAGE_HOST_PYTHON3=y and
BR2_PACKAGE_HOST_PYTHON3_BZIP2=y in the config file and did a full rebuild.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 14711] nodjs build problem missing bzip
2022-03-28 13:46 [Buildroot] [Bug 14711] New: nodjs build problem missing bzip bugzilla
` (5 preceding siblings ...)
2022-03-31 4:16 ` bugzilla
@ 2022-04-09 17:02 ` bugzilla
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2022-04-09 17:02 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14711
Arnout Vandecappelle <arnout@mind.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #7 from Arnout Vandecappelle <arnout@mind.be> ---
> Problem solved by adding BR2_PACKAGE_HOST_PYTHON3=y and BR2_PACKAGE_HOST_PYTHON3_BZIP2=y in the config file and did a full rebuild.
These should be enabled automatically when BR2_PACKAGE_HOST_NODEJS is enabled.
So I'm going to assume that you did 'make host-nodejs' without selecting
BR2_PACKAGE_HOST_NODEJS, and close this bug as invalid.
If, however, you somehow did run into this problem without running 'make
host-nodejs' (and without an external package that depends on host-nodejs
without selecting it), please reopen.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-04-09 17:02 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-28 13:46 [Buildroot] [Bug 14711] New: nodjs build problem missing bzip bugzilla
2022-03-28 13:50 ` [Buildroot] [Bug 14711] " bugzilla
2022-03-28 19:03 ` bugzilla
2022-03-28 19:17 ` bugzilla
2022-03-30 5:15 ` bugzilla
2022-03-30 5:33 ` bugzilla
2022-03-31 4:16 ` bugzilla
2022-04-09 17:02 ` bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox