Files
poky/meta/recipes-devtools
Changqing Li f5a2ea77ca automake: fix do_compile error when perl is under a very long path
Fixed:
bitbake automake-native failed with error:
| :; HELP2MAN_NAME="Generate Makefile.in files for configure from Makefile.am"; export HELP2MAN_NAME; LONGPATH/tmp/hosttools/mkdir -p doc && AUTOMAKE_HELP2MAN=true ./pre-inst-env LONGPATH/tmp/hosttools/perl ../automake-1.17/doc/help2man --output=doc/automake-1.17.1 --info-page=automake --name="${HELP2MAN_NAME}" bin/automake-1.17
| help2man: can't get `--help' info from bin/aclocal-1.17
| Try `--no-discard-stderr' if option outputs to stderr
| make: *** [Makefile:3818: doc/aclocal-1.17.1] Error 2

In above command,  `bin/aclocal-1.17 --help` will be runned, since
@PERL@ is replaced as the full path of perl, it is possible that the
shebang line exceeds the max limit and causes above error, because the
kernel imposes a maximum length on the text that follows the "#!"
characters at the start of a script; characters beyond the limit are
ignored.  Before Linux 5.1, the limit is 127 characters.  Since Linux
5.1, the limit is 255 characters.

Add back the forced perl settings and add a patch for workaround the
fatal error caused by space in perl path

(From OE-Core rev: 0061f441501be923ddf326dcc5b3f25b59ac86d4)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-03 11:42:35 +00:00
..
2024-01-21 12:27:12 +00:00
2023-07-30 07:54:44 +01:00
2024-11-25 22:23:25 +00:00
2024-08-23 09:12:37 +01:00
2024-11-27 14:58:48 +00:00
2024-11-27 14:58:48 +00:00
2024-09-03 10:21:38 +01:00
2024-11-27 14:58:48 +00:00
2024-05-28 09:38:23 +01:00
2024-08-23 09:12:37 +01:00
2024-04-16 08:07:01 +01:00
2024-08-30 21:59:38 +01:00
2024-10-08 13:26:39 +01:00
2024-10-11 12:17:02 +01:00
2024-10-29 11:19:57 +00:00
2024-10-29 11:19:57 +00:00
2023-09-26 10:35:27 +01:00
2024-09-30 17:00:50 +01:00
2024-11-27 14:58:48 +00:00
2024-11-18 22:09:02 +00:00
2024-09-04 12:38:44 +01:00
2024-11-27 16:44:48 +00:00
2024-08-23 09:12:37 +01:00
2024-08-08 08:26:14 +01:00
2023-03-11 00:08:41 +00:00
2024-08-28 09:14:26 +01:00
2024-11-18 22:09:02 +00:00
2024-11-28 12:27:12 +00:00
2024-11-27 16:44:48 +00:00
2024-06-04 12:04:52 +01:00
2024-05-28 09:38:24 +01:00
2024-08-29 21:58:19 +01:00
2024-09-30 17:00:51 +01:00
2024-11-27 14:58:48 +00:00
2024-08-28 09:14:26 +01:00
2024-08-21 21:51:49 +01:00
2024-11-28 12:27:12 +00:00
2024-11-18 22:09:02 +00:00
2024-11-18 22:09:02 +00:00
2024-11-21 12:16:28 +00:00
2024-11-22 16:53:37 +00:00
2024-04-25 10:06:03 +01:00