Files
poky/meta/recipes-devtools
Mingli Yu 03ebf4c1c4 tcl: adapt to potential pseudo changes
It failed as below when rerun do_install for tcl:
 $ bitbake tcl
 $ bitbake tcl -f -cinstall
 [snip]
 | NOTE: make -j 72 DESTDIR=/build/tmp/work/core2-64-wrs-linux/tcl/8.6.10-r0/image install
 | abort()ing pseudo client by server request. See https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.
 | /build/tmp/work/core2-64-wrs-linux/tcl/8.6.10-r0/temp/run.do_install.3490694: line 184: 3499214 Aborted                 (core dumped) make -j 72 "$@"

By default the S is ${WORKDIR}/${BPN}-${PV}, but after unpack,
the tcl source [1] unpacked to ${WORKDIR}/${BPN}${PV} and all the
files under ${WORKDIR}/${BPN}${PV} are acutally the source files.

But the the main Makefile.in is under ${WORKDIR}/${BPN}${PV}/unix
for tcl, so there is below logic in tcl recipe:
S = "${WORKDIR}/${BPN}${PV}/unix"

To adapt the potential pseudo changes, there is a general logic to
exclude ${S} from pseudo database in base.bbclass in [2]. That's to
say, just the dir ${WORKDIR}/${BPN}${PV}/unix is excluded from the
pseudo database.

But it's not enough for tcl, we need to exclude the actual source dir
${WORKDIR}/${BPN}${PV} from pseudo database specifically to fix the
above do_install failure.

[1] https://downloads.sourceforge.net/tcl/tcl8.6.0-src.tar.gz
[2] https://git.openembedded.org/openembedded-core/tree/meta/classes/base.bbclass#n396

(From OE-Core rev: 761079481f1a2517157f7f1551106ee0daee3a74)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d835f8069a336fd6bab1058d4e605a81c844212)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 14:13:53 +00:00
..
2020-09-17 12:51:24 +01:00
2020-02-03 13:03:31 +00:00
2020-09-17 12:51:24 +01:00
2020-03-12 22:49:28 +00:00
2019-12-09 12:00:43 +00:00
2021-01-13 08:57:57 +00:00
2020-02-15 10:26:42 +00:00
2020-05-28 18:15:29 +01:00
2020-12-09 23:49:01 +00:00
2019-10-19 23:18:33 +01:00
2018-03-09 09:17:03 -08:00
2020-09-10 19:07:40 +01:00
2020-06-23 11:40:46 +01:00
2020-02-14 13:07:23 +00:00
2019-05-27 17:06:34 +01:00
2020-03-08 08:21:11 +00:00
2020-05-22 16:23:23 +01:00
2019-02-15 16:05:37 +00:00
2019-12-28 23:25:42 +00:00
2019-12-09 12:00:43 +00:00
2021-01-09 09:17:17 +00:00
2020-06-26 18:26:48 +01:00
2018-11-14 11:14:39 +00:00
2020-12-18 14:20:19 +00:00
2020-12-18 14:20:19 +00:00
2020-02-04 15:56:29 +00:00
2021-01-13 08:57:57 +00:00
2020-03-12 22:49:28 +00:00
2020-02-28 23:11:28 +00:00
2020-02-21 09:39:00 +00:00
2020-01-27 16:48:08 +00:00