Skip to content

nodejs 12.14.1 requires icu4c from host ? #181

@MastaG

Description

@MastaG

When building nodejs-native on Fedora 31 x86_64 it will fail to configure because my host's libicu being too old.
Fedora 31 ships with: libicu-63.2-3.fc31.x86_64

Would it be possible to change the recipe so it depends on it's OE's version of icu instead of looking at my host OS?

Log data follows:
| DEBUG: Executing shell function do_configure
| ERROR: icu4c v63.1 is too old, v64.x or later is required.
| WARNING: /home/mastag/src/odroid-oe-core/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/temp/run.do_configure.1756515:1 exit 1 from 'python3 configure.py --prefix=/home/mastag/src/odroid-oe-core/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/recipe-sysroot-native/usr --without-snapshot --shared-openssl --dest-cpu="x64" --dest-os=linux --libdir=/home/mastag/src/odroid-oe-core/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/image/home/mastag/src/odroid-oe-core/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/recipe-sysroot-native/usr/lib --shared-cares --with-intl=system-icu --shared-libuv --shared-zlib'
| ERROR: Execution of '/home/mastag/src/odroid-oe-core/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/temp/run.do_configure.1756515' failed with exit code 1:
| ERROR: icu4c v63.1 is too old, v64.x or later is required.
| WARNING: /home/mastag/src/odroid-oe-core/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/temp/run.do_configure.1756515:1 exit 1 from 'python3 configure.py --prefix=/home/mastag/src/odroid-oe-core/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/recipe-sysroot-native/usr --without-snapshot --shared-openssl --dest-cpu="x64" --dest-os=linux --libdir=/home/mastag/src/odroid-oe-core/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/image/home/mastag/src/odroid-oe-core/build/tmp/work/x86_64-linux/nodejs-native/12.14.1-r0/recipe-sysroot-native/usr/lib --shared-cares --with-intl=system-icu --shared-libuv --shared-zlib'
|
ERROR: Task (virtual:native:/home/mastag/src/odroid-oe-core/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb:do_configure) failed with exit code '1'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions