Skip to content

Error "Argument list too long" in nodejs v12.19.0 #11846

@lexming

Description

@lexming

Build of OpenSSL bundled in nodejs-12.19.0-GCCcore-10.2.0.eb can fail if build path is too long:

make[1]: execvp: printf: Argument list too long
make[1]: *** [/theia/scratch/brussel/vo/000/bvo00005/vsc10122/easybuild/sl/build/nodejs/12.19.0/GCCcore-10.2.0/node-v12 .19.0/out/Release/obj.target/deps/openssl/libopenssl.a] Error 127
make[1]: *** Waiting for unfinished jobs....
rm 886ce9b06fdea5a81daa6b39ec211193ddb258ca.intermediate
make[1]: Leaving directory `/theia/scratch/brussel/vo/000/bvo00005/vsc10122/easybuild/sl/build/nodejs/12.19.0/GCCcore-1 0.2.0/node-v12.19.0/out'
make: *** [node] Error 2
(at easybuild/tools/run.py:533 in parse_cmd_output)

Easy workaround is to build somewehere else with a shorter path (--buildpath). Longterm, this could be fixed by building nodejs with an external OpenSSL from EB.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions