Files
meta-openembedded/meta-oe/recipes-devtools
André Draszik 5734546728 nodejs: support long directory names for ${B} / ${S}
Part of the NodeJS build builds V8, which at some stage tries to call
ar with all objects with *absolute* paths (and printf the command line
first).

This will fail if the build path is too long:
    make[1]: execvp: printf: Argument list too long
when trying to create Release/obj.target/deps/v8/gypfiles/libv8_base.a
via below gyp-generated out/Makefile rule:
    cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^)
i.e. something like
    printf rm -f Release/obj.target/deps/v8/gypfiles/libv8_base.a && arm-poky-linux-musleabi-gcc-ar crsT Release/obj.target/deps/v8/gypfiles/libv8_base.a ...

The above failure happened on a build-directory S with 204 characters
on a Jenkins machine.

While one could probably increase the ulimit on that specific machine,
that would be a pretty specific build machine fix which would need to
be applied everywhere, or switch to non-verbose builds / compilation,
but fortunately we can change all object references to be relative to
the build directory itself by setting the builddir_name make variable
and thus avoid the other two possible work-arounds.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-13 07:17:03 -08:00
..
2016-04-28 10:38:37 +02:00
2019-09-12 21:34:18 -07:00
2019-11-01 17:22:52 -07:00
2018-10-14 11:14:35 -07:00
2016-12-13 11:19:11 +01:00
2019-11-01 17:22:52 -07:00
2018-12-18 18:44:59 -08:00
2019-10-25 10:42:44 -07:00
2016-05-10 20:18:29 +02:00
2018-06-27 22:17:33 -07:00
2019-11-13 07:15:17 -08:00
2017-09-07 10:57:36 +02:00
2019-01-30 13:34:49 -08:00
2018-05-29 12:56:19 -07:00
2019-05-10 14:10:13 -07:00
2018-08-19 16:09:28 -07:00
2016-01-06 13:25:54 +01:00
2019-08-19 18:20:38 -07:00
2017-07-14 23:44:33 +02:00
2017-01-25 16:00:00 +01:00
2019-02-03 10:46:42 -08:00
2019-10-25 10:29:51 -07:00
2017-03-31 13:25:58 +02:00
2018-06-14 09:01:12 -07:00
2019-03-06 11:32:27 -08:00
2019-10-17 08:33:52 -07:00
2018-07-27 19:26:51 -07:00
2019-11-01 17:22:52 -07:00
2019-11-10 07:52:39 -08:00
2019-09-16 07:10:03 -07:00
2019-11-10 07:52:39 -08:00
2018-07-20 16:07:12 -07:00
2019-07-18 11:21:57 -07:00
2018-10-12 13:08:38 -07:00
2018-09-24 11:49:45 -07:00
2019-10-25 10:29:51 -07:00