Richard Purdie
a819c88b87
staging: Handle races between binaries and their libs
...
There is a long standing issue where a binary could be installed into the
sysroot before its library dependencies. We've always argued nothing should
use the binary until it has been installed by a dependency but there are issues
around binaries which conflict with the host system, for example patch,
python3, gzip and more.
With the recent patch changes we've seen issues like:
ERROR: gdb-cross-canadian-powerpc-8.3.1-r0 do_patch: Command Error: 'quilt --quiltrc /home/pokybuild/yocto-worker/qemuppc/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/gdb-cross-canadian-powerpc/8.3.1-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0009-Change-order-of-CFLAGS.patch
patch: /lib64/libattr.so.1: version `ATTR_1.3' not found (required by patch)
Patch 0009-Change-order-of-CFLAGS.patch does not apply (enforce with -f)
which is a symptom of this issue (libattr-native is a dependency of patch-native).
There are other ways to fix this such as disabling libattr in patch, installing
patch to a subdirectory and requiring PATH manipulation and so on.
We can simply fix the staging code to handle /bin/ after everything else so
do that and avoid all these other complications.
(From OE-Core rev: 29d17fe23265bf0c7defa14ffc0f677af15c6818)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2020-02-15 10:26:42 +00:00
..
2018-09-13 07:42:28 +01:00
2020-01-10 21:18:22 +00:00
2020-01-28 11:11:20 +00:00
2020-01-27 16:48:10 +00:00
2017-12-02 11:25:32 +00:00
2019-06-19 12:46:44 +01:00
2018-01-26 13:09:09 +00:00
2020-02-04 15:56:29 +00:00
2019-12-15 09:10:46 +00:00
2019-01-14 11:35:55 +00:00
2019-04-12 09:29:06 +01:00
2019-12-29 09:27:16 +00:00
2019-02-19 16:14:57 +00:00
2020-02-04 15:56:29 +00:00
2019-05-08 12:15:17 +01:00
2019-01-16 15:35:07 +00:00
2017-06-28 20:55:08 +01:00
2019-10-02 20:22:25 +01:00
2019-01-11 10:39:09 +00:00
2019-01-11 10:39:09 +00:00
2019-01-11 10:39:09 +00:00
2018-12-26 11:12:12 +00:00
2020-01-27 16:48:10 +00:00
2020-02-14 13:07:23 +00:00
2019-12-28 23:25:41 +00:00
2019-01-16 15:35:07 +00:00
2018-04-10 09:10:36 +01:00
2020-02-14 13:07:23 +00:00
2019-10-23 16:30:36 +01:00
2019-11-21 23:08:19 +00:00
2017-07-17 14:01:36 +01:00
2019-12-28 23:25:41 +00:00
2018-09-04 11:03:55 +01:00
2018-08-20 17:38:22 +01:00
2019-12-28 23:25:42 +00:00
2019-01-18 16:24:40 +00:00
2020-01-27 16:48:10 +00:00
2020-01-27 16:48:08 +00:00
2019-01-16 15:35:07 +00:00
2018-01-14 09:11:58 +00:00
2018-04-05 14:49:07 +01:00
2018-03-25 09:40:42 +01:00
2018-01-05 12:02:36 +00:00
2019-07-09 23:30:44 +01:00
2020-01-27 16:48:09 +00:00
2020-01-21 12:52:53 +00:00
2019-04-11 21:15:56 +01:00
2018-03-06 06:43:10 -08:00
2019-09-19 10:54:32 +01:00
2019-09-19 10:54:32 +01:00
2019-01-11 10:39:09 +00:00
2019-04-25 00:05:20 +01:00
2019-06-27 12:20:36 +01:00
2018-06-18 11:07:58 +01:00
2020-02-14 13:07:23 +00:00
2020-01-10 21:18:22 +00:00
2019-12-04 12:30:58 +00:00
2018-12-08 17:17:01 +00:00
2018-04-07 11:44:50 +01:00
2019-09-27 13:02:16 +01:00
2018-08-23 17:58:59 +01:00
2018-08-16 09:49:39 +01:00
2018-08-23 17:58:59 +01:00
2019-10-31 16:09:34 +00:00
2020-02-08 13:20:02 +00:00
2018-10-08 14:13:54 +01:00
2018-08-21 14:49:42 +01:00
2019-10-23 16:30:36 +01:00
2020-02-14 13:07:23 +00:00
2019-04-26 10:09:08 +01:00
2019-07-26 08:41:38 +01:00
2018-11-23 23:35:19 +00:00
2020-02-08 13:20:02 +00:00
2020-02-04 15:56:29 +00:00
2020-01-19 23:49:39 +00:00
2019-12-16 23:25:50 +00:00
2019-12-16 23:25:50 +00:00
2018-11-23 23:35:19 +00:00
2019-12-30 23:39:09 +00:00
2019-09-19 10:54:32 +01:00
2018-02-24 10:31:48 +00:00
2020-01-27 16:48:08 +00:00
2019-03-03 15:38:13 +00:00
2020-02-06 12:16:34 +00:00
2018-11-14 11:14:39 +00:00
2020-01-19 13:24:38 +00:00
2020-01-19 13:24:38 +00:00
2018-09-04 11:03:56 +01:00
2018-02-24 10:31:44 +00:00
2018-11-16 11:46:07 +00:00
2019-06-27 12:20:36 +01:00
2019-07-03 17:00:57 +01:00
2019-11-29 17:43:39 +00:00
2020-01-27 16:48:10 +00:00
2020-01-27 16:48:10 +00:00
2020-01-27 16:48:09 +00:00
2017-10-16 23:52:44 +01:00
2019-08-12 16:23:57 +01:00
2020-02-13 14:09:17 +00:00
2019-06-30 22:40:52 +01:00
2019-09-19 20:30:35 +01:00
2020-02-08 13:20:02 +00:00
2017-08-18 10:40:27 +01:00
2019-10-02 20:22:25 +01:00
2020-02-06 12:16:34 +00:00
2019-01-11 10:39:09 +00:00
2019-04-05 17:32:50 +01:00
2020-02-13 12:19:14 +00:00
2020-01-10 21:18:22 +00:00
2018-03-06 06:19:18 -08:00
2019-05-15 17:53:29 +01:00
2017-12-13 14:00:51 +00:00
2020-01-21 12:52:52 +00:00
2019-12-04 12:30:59 +00:00
2020-01-22 15:56:14 +00:00
2017-11-21 13:11:03 +00:00
2019-10-23 16:30:36 +01:00
2020-02-04 15:56:29 +00:00
2020-02-03 00:10:10 +00:00
2019-11-10 14:06:10 +00:00
2018-10-09 19:04:02 +01:00
2019-07-17 19:25:02 +01:00
2018-10-09 19:04:02 +01:00
2020-01-19 23:49:39 +00:00
2017-07-30 08:46:19 +01:00
2020-02-03 00:10:11 +00:00
2019-06-14 22:48:22 +01:00
2018-07-26 13:16:40 +01:00
2018-01-11 10:26:07 +00:00
2018-01-11 10:26:07 +00:00
2018-11-23 23:35:19 +00:00
2020-02-06 12:16:34 +00:00
2018-07-18 10:18:42 +01:00
2020-02-08 13:20:02 +00:00
2020-02-15 10:26:42 +00:00
2019-07-26 08:41:38 +01:00
2019-05-16 16:35:12 +01:00
2019-09-19 10:54:32 +01:00
2019-10-19 23:18:33 +01:00
2019-04-03 14:50:13 +01:00
2018-10-18 23:26:35 +01:00
2020-02-13 12:19:14 +00:00
2018-11-21 11:54:14 +00:00
2020-02-03 00:10:11 +00:00
2020-02-02 16:57:21 +00:00
2019-10-09 14:07:43 +01:00
2018-01-26 13:09:09 +00:00
2019-08-14 17:33:49 +01:00
2019-07-18 12:16:19 +01:00
2020-02-02 16:57:21 +00:00
2019-06-27 12:20:36 +01:00
2019-06-21 15:32:36 +01:00
2018-10-16 20:35:43 +01:00
2019-05-07 10:12:53 +01:00
2019-06-01 11:27:06 +01:00
2018-02-15 11:23:10 +00:00
2019-03-06 23:12:27 +00:00
2019-04-23 23:30:20 +01:00
2019-07-11 09:32:50 +01:00