diff options
21 files changed, 117 insertions, 38 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index 18d5574a31..4a96f5b313 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
@@ -441,7 +441,7 @@ class Cache(object): | |||
441 | else: | 441 | else: |
442 | symlink = os.path.join(self.cachedir, "bb_cache.dat") | 442 | symlink = os.path.join(self.cachedir, "bb_cache.dat") |
443 | 443 | ||
444 | if os.path.exists(symlink): | 444 | if os.path.exists(symlink) or os.path.islink(symlink): |
445 | bb.utils.remove(symlink) | 445 | bb.utils.remove(symlink) |
446 | try: | 446 | try: |
447 | os.symlink(os.path.basename(self.cachefile), symlink) | 447 | os.symlink(os.path.basename(self.cachefile), symlink) |
diff --git a/meta/classes-global/mirrors.bbclass b/meta/classes-global/mirrors.bbclass index 862648eec5..d68d30b0f2 100644 --- a/meta/classes-global/mirrors.bbclass +++ b/meta/classes-global/mirrors.bbclass | |||
@@ -88,7 +88,7 @@ git://.*/.* git://HOST/git/PATH;protocol=https \ | |||
88 | BB_GIT_SHALLOW:pn-binutils = "1" | 88 | BB_GIT_SHALLOW:pn-binutils = "1" |
89 | BB_GIT_SHALLOW:pn-binutils-cross-${TARGET_ARCH} = "1" | 89 | BB_GIT_SHALLOW:pn-binutils-cross-${TARGET_ARCH} = "1" |
90 | BB_GIT_SHALLOW:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "1" | 90 | BB_GIT_SHALLOW:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "1" |
91 | BB_GIT_SHALLOW:pn-binutils-cross-testsuite = "1" | 91 | BB_GIT_SHALLOW:pn-binutils-testsuite = "1" |
92 | BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1" | 92 | BB_GIT_SHALLOW:pn-binutils-crosssdk-${SDK_SYS} = "1" |
93 | BB_GIT_SHALLOW:pn-binutils-native = "1" | 93 | BB_GIT_SHALLOW:pn-binutils-native = "1" |
94 | BB_GIT_SHALLOW:pn-nativesdk-binutils = "1" | 94 | BB_GIT_SHALLOW:pn-nativesdk-binutils = "1" |
diff --git a/meta/classes-recipe/cargo_common.bbclass b/meta/classes-recipe/cargo_common.bbclass index 78440c810b..2386cc3d77 100644 --- a/meta/classes-recipe/cargo_common.bbclass +++ b/meta/classes-recipe/cargo_common.bbclass | |||
@@ -41,7 +41,7 @@ CARGO_SRC_DIR ??= "" | |||
41 | CARGO_MANIFEST_PATH ??= "${S}/${CARGO_SRC_DIR}/Cargo.toml" | 41 | CARGO_MANIFEST_PATH ??= "${S}/${CARGO_SRC_DIR}/Cargo.toml" |
42 | 42 | ||
43 | # Path to Cargo.lock | 43 | # Path to Cargo.lock |
44 | CARGO_LOCK_PATH ??= "${@ os.path.join(os.path.dirname(d.getVar('CARGO_MANIFEST_PATH', True)), 'Cargo.lock')}" | 44 | CARGO_LOCK_PATH ??= "${@ os.path.join(os.path.dirname(d.getVar('CARGO_MANIFEST_PATH')), 'Cargo.lock')}" |
45 | 45 | ||
46 | CARGO_RUST_TARGET_CCLD ??= "${RUST_TARGET_CCLD}" | 46 | CARGO_RUST_TARGET_CCLD ??= "${RUST_TARGET_CCLD}" |
47 | cargo_common_do_configure () { | 47 | cargo_common_do_configure () { |
@@ -171,7 +171,7 @@ python cargo_common_do_patch_paths() { | |||
171 | # here is better than letting cargo tell (in case the file is missing) | 171 | # here is better than letting cargo tell (in case the file is missing) |
172 | # "Cargo.lock should be modified but --frozen was given" | 172 | # "Cargo.lock should be modified but --frozen was given" |
173 | 173 | ||
174 | lockfile = d.getVar("CARGO_LOCK_PATH", True) | 174 | lockfile = d.getVar("CARGO_LOCK_PATH") |
175 | if not os.path.exists(lockfile): | 175 | if not os.path.exists(lockfile): |
176 | bb.fatal(f"{lockfile} file doesn't exist") | 176 | bb.fatal(f"{lockfile} file doesn't exist") |
177 | 177 | ||
diff --git a/meta/classes-recipe/ptest-cargo.bbclass b/meta/classes-recipe/ptest-cargo.bbclass index c46df362bf..fd1df9d7c9 100644 --- a/meta/classes-recipe/ptest-cargo.bbclass +++ b/meta/classes-recipe/ptest-cargo.bbclass | |||
@@ -12,10 +12,10 @@ python do_compile_ptest_cargo() { | |||
12 | import subprocess | 12 | import subprocess |
13 | import json | 13 | import json |
14 | 14 | ||
15 | cargo = bb.utils.which(d.getVar("PATH"), d.getVar("CARGO", True)) | 15 | cargo = bb.utils.which(d.getVar("PATH"), d.getVar("CARGO")) |
16 | cargo_build_flags = d.getVar("CARGO_BUILD_FLAGS", True) | 16 | cargo_build_flags = d.getVar("CARGO_BUILD_FLAGS") |
17 | rust_flags = d.getVar("RUSTFLAGS", True) | 17 | rust_flags = d.getVar("RUSTFLAGS") |
18 | manifest_path = d.getVar("CARGO_MANIFEST_PATH", True) | 18 | manifest_path = d.getVar("CARGO_MANIFEST_PATH") |
19 | project_manifest_path = os.path.normpath(manifest_path) | 19 | project_manifest_path = os.path.normpath(manifest_path) |
20 | manifest_dir = os.path.dirname(manifest_path) | 20 | manifest_dir = os.path.dirname(manifest_path) |
21 | 21 | ||
@@ -66,7 +66,7 @@ python do_compile_ptest_cargo() { | |||
66 | if not test_bins: | 66 | if not test_bins: |
67 | bb.fatal("Unable to find any test binaries") | 67 | bb.fatal("Unable to find any test binaries") |
68 | 68 | ||
69 | cargo_test_binaries_file = d.getVar('CARGO_TEST_BINARIES_FILES', True) | 69 | cargo_test_binaries_file = d.getVar('CARGO_TEST_BINARIES_FILES') |
70 | bb.note(f"Found {len(test_bins)} tests, write their paths into {cargo_test_binaries_file}") | 70 | bb.note(f"Found {len(test_bins)} tests, write their paths into {cargo_test_binaries_file}") |
71 | with open(cargo_test_binaries_file, "w") as f: | 71 | with open(cargo_test_binaries_file, "w") as f: |
72 | for test_bin in test_bins: | 72 | for test_bin in test_bins: |
@@ -77,10 +77,10 @@ python do_compile_ptest_cargo() { | |||
77 | python do_install_ptest_cargo() { | 77 | python do_install_ptest_cargo() { |
78 | import shutil | 78 | import shutil |
79 | 79 | ||
80 | dest_dir = d.getVar("D", True) | 80 | dest_dir = d.getVar("D") |
81 | pn = d.getVar("PN", True) | 81 | pn = d.getVar("PN") |
82 | ptest_path = d.getVar("PTEST_PATH", True) | 82 | ptest_path = d.getVar("PTEST_PATH") |
83 | cargo_test_binaries_file = d.getVar('CARGO_TEST_BINARIES_FILES', True) | 83 | cargo_test_binaries_file = d.getVar('CARGO_TEST_BINARIES_FILES') |
84 | rust_test_args = d.getVar('RUST_TEST_ARGS') or "" | 84 | rust_test_args = d.getVar('RUST_TEST_ARGS') or "" |
85 | 85 | ||
86 | ptest_dir = os.path.join(dest_dir, ptest_path.lstrip('/')) | 86 | ptest_dir = os.path.join(dest_dir, ptest_path.lstrip('/')) |
diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index 330ad8a3f5..334f2e7d5f 100644 --- a/meta/classes-recipe/rust-target-config.bbclass +++ b/meta/classes-recipe/rust-target-config.bbclass | |||
@@ -130,7 +130,7 @@ def llvm_features(d): | |||
130 | llvm_features[vardepvalue] = "${@llvm_features(d)}" | 130 | llvm_features[vardepvalue] = "${@llvm_features(d)}" |
131 | 131 | ||
132 | ## arm-unknown-linux-gnueabihf | 132 | ## arm-unknown-linux-gnueabihf |
133 | DATA_LAYOUT[arm-eabi] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" | 133 | DATA_LAYOUT[arm-eabi] = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64" |
134 | TARGET_ENDIAN[arm-eabi] = "little" | 134 | TARGET_ENDIAN[arm-eabi] = "little" |
135 | TARGET_POINTER_WIDTH[arm-eabi] = "32" | 135 | TARGET_POINTER_WIDTH[arm-eabi] = "32" |
136 | TARGET_C_INT_WIDTH[arm-eabi] = "32" | 136 | TARGET_C_INT_WIDTH[arm-eabi] = "32" |
@@ -138,7 +138,7 @@ MAX_ATOMIC_WIDTH[arm-eabi] = "64" | |||
138 | FEATURES[arm-eabi] = "+v6,+vfp2" | 138 | FEATURES[arm-eabi] = "+v6,+vfp2" |
139 | 139 | ||
140 | ## armv7-unknown-linux-gnueabihf | 140 | ## armv7-unknown-linux-gnueabihf |
141 | DATA_LAYOUT[armv7-eabi] = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" | 141 | DATA_LAYOUT[armv7-eabi] = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64" |
142 | TARGET_ENDIAN[armv7-eabi] = "little" | 142 | TARGET_ENDIAN[armv7-eabi] = "little" |
143 | TARGET_POINTER_WIDTH[armv7-eabi] = "32" | 143 | TARGET_POINTER_WIDTH[armv7-eabi] = "32" |
144 | TARGET_C_INT_WIDTH[armv7-eabi] = "32" | 144 | TARGET_C_INT_WIDTH[armv7-eabi] = "32" |
diff --git a/meta/classes/create-spdx-2.2.bbclass b/meta/classes/create-spdx-2.2.bbclass index 3ebf92b5e1..99061320e5 100644 --- a/meta/classes/create-spdx-2.2.bbclass +++ b/meta/classes/create-spdx-2.2.bbclass | |||
@@ -8,6 +8,14 @@ inherit spdx-common | |||
8 | 8 | ||
9 | SPDX_VERSION = "2.2" | 9 | SPDX_VERSION = "2.2" |
10 | 10 | ||
11 | SPDX_ORG ??= "OpenEmbedded ()" | ||
12 | SPDX_SUPPLIER ??= "Organization: ${SPDX_ORG}" | ||
13 | SPDX_SUPPLIER[doc] = "The SPDX PackageSupplier field for SPDX packages created from \ | ||
14 | this recipe. For SPDX documents create using this class during the build, this \ | ||
15 | is the contact information for the person or organization who is doing the \ | ||
16 | build." | ||
17 | |||
18 | |||
11 | def get_namespace(d, name): | 19 | def get_namespace(d, name): |
12 | import uuid | 20 | import uuid |
13 | namespace_uuid = uuid.uuid5(uuid.NAMESPACE_DNS, d.getVar("SPDX_UUID_NAMESPACE")) | 21 | namespace_uuid = uuid.uuid5(uuid.NAMESPACE_DNS, d.getVar("SPDX_UUID_NAMESPACE")) |
diff --git a/meta/classes/spdx-common.bbclass b/meta/classes/spdx-common.bbclass index 03f1d0cc27..18254c36aa 100644 --- a/meta/classes/spdx-common.bbclass +++ b/meta/classes/spdx-common.bbclass | |||
@@ -36,13 +36,6 @@ SPDX_LICENSES ??= "${COREBASE}/meta/files/spdx-licenses.json" | |||
36 | 36 | ||
37 | SPDX_CUSTOM_ANNOTATION_VARS ??= "" | 37 | SPDX_CUSTOM_ANNOTATION_VARS ??= "" |
38 | 38 | ||
39 | SPDX_ORG ??= "OpenEmbedded ()" | ||
40 | SPDX_SUPPLIER ??= "Organization: ${SPDX_ORG}" | ||
41 | SPDX_SUPPLIER[doc] = "The SPDX PackageSupplier field for SPDX packages created from \ | ||
42 | this recipe. For SPDX documents create using this class during the build, this \ | ||
43 | is the contact information for the person or organization who is doing the \ | ||
44 | build." | ||
45 | |||
46 | def extract_licenses(filename): | 39 | def extract_licenses(filename): |
47 | import re | 40 | import re |
48 | 41 | ||
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 73b242060e..37ad293e32 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
@@ -64,7 +64,7 @@ RECIPE_MAINTAINER:pn-bind = "Unassigned <unassigned@yoctoproject.org>" | |||
64 | RECIPE_MAINTAINER:pn-binutils = "Khem Raj <raj.khem@gmail.com>" | 64 | RECIPE_MAINTAINER:pn-binutils = "Khem Raj <raj.khem@gmail.com>" |
65 | RECIPE_MAINTAINER:pn-binutils-cross-${TARGET_ARCH} = "Khem Raj <raj.khem@gmail.com>" | 65 | RECIPE_MAINTAINER:pn-binutils-cross-${TARGET_ARCH} = "Khem Raj <raj.khem@gmail.com>" |
66 | RECIPE_MAINTAINER:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Khem Raj <raj.khem@gmail.com>" | 66 | RECIPE_MAINTAINER:pn-binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Khem Raj <raj.khem@gmail.com>" |
67 | RECIPE_MAINTAINER:pn-binutils-cross-testsuite = "Khem Raj <raj.khem@gmail.com>" | 67 | RECIPE_MAINTAINER:pn-binutils-testsuite = "Khem Raj <raj.khem@gmail.com>" |
68 | RECIPE_MAINTAINER:pn-binutils-crosssdk-${SDK_SYS} = "Khem Raj <raj.khem@gmail.com>" | 68 | RECIPE_MAINTAINER:pn-binutils-crosssdk-${SDK_SYS} = "Khem Raj <raj.khem@gmail.com>" |
69 | RECIPE_MAINTAINER:pn-bison = "Chen Qi <Qi.Chen@windriver.com>" | 69 | RECIPE_MAINTAINER:pn-bison = "Chen Qi <Qi.Chen@windriver.com>" |
70 | RECIPE_MAINTAINER:pn-blktool = "Yi Zhao <yi.zhao@windriver.com>" | 70 | RECIPE_MAINTAINER:pn-blktool = "Yi Zhao <yi.zhao@windriver.com>" |
@@ -227,7 +227,6 @@ RECIPE_MAINTAINER:pn-go-cross-${TUNE_PKGARCH} = "Khem Raj <raj.khem@gmail.com>" | |||
227 | RECIPE_MAINTAINER:pn-go-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Khem Raj <raj.khem@gmail.com>" | 227 | RECIPE_MAINTAINER:pn-go-cross-canadian-${TRANSLATED_TARGET_ARCH} = "Khem Raj <raj.khem@gmail.com>" |
228 | RECIPE_MAINTAINER:pn-go-crosssdk-${SDK_SYS} = "Khem Raj <raj.khem@gmail.com>" | 228 | RECIPE_MAINTAINER:pn-go-crosssdk-${SDK_SYS} = "Khem Raj <raj.khem@gmail.com>" |
229 | RECIPE_MAINTAINER:pn-go-helloworld = "Khem Raj <raj.khem@gmail.com>" | 229 | RECIPE_MAINTAINER:pn-go-helloworld = "Khem Raj <raj.khem@gmail.com>" |
230 | RECIPE_MAINTAINER:pn-go-native = "Khem Raj <raj.khem@gmail.com>" | ||
231 | RECIPE_MAINTAINER:pn-go-runtime = "Khem Raj <raj.khem@gmail.com>" | 230 | RECIPE_MAINTAINER:pn-go-runtime = "Khem Raj <raj.khem@gmail.com>" |
232 | RECIPE_MAINTAINER:pn-gobject-introspection = "Alexander Kanavin <alex.kanavin@gmail.com>" | 231 | RECIPE_MAINTAINER:pn-gobject-introspection = "Alexander Kanavin <alex.kanavin@gmail.com>" |
233 | RECIPE_MAINTAINER:pn-gperf = "Alexander Kanavin <alex.kanavin@gmail.com>" | 232 | RECIPE_MAINTAINER:pn-gperf = "Alexander Kanavin <alex.kanavin@gmail.com>" |
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py index d1303f32bf..e6b46a0dc5 100644 --- a/meta/lib/oe/package.py +++ b/meta/lib/oe/package.py | |||
@@ -1853,7 +1853,7 @@ def process_pkgconfig(pkgfiles, d): | |||
1853 | if m: | 1853 | if m: |
1854 | hdr = m.group(1) | 1854 | hdr = m.group(1) |
1855 | exp = pd.expand(m.group(2)) | 1855 | exp = pd.expand(m.group(2)) |
1856 | if hdr == 'Requires': | 1856 | if hdr == 'Requires' or hdr == 'Requires.private': |
1857 | pkgconfig_needed[pkg] += exp.replace(',', ' ').split() | 1857 | pkgconfig_needed[pkg] += exp.replace(',', ' ').split() |
1858 | continue | 1858 | continue |
1859 | m = var_re.match(l) | 1859 | m = var_re.match(l) |
diff --git a/meta/lib/oeqa/runtime/cases/parselogs.py b/meta/lib/oeqa/runtime/cases/parselogs.py index 6966923c94..47c77fccd5 100644 --- a/meta/lib/oeqa/runtime/cases/parselogs.py +++ b/meta/lib/oeqa/runtime/cases/parselogs.py | |||
@@ -34,7 +34,7 @@ class ParseLogsTest(OERuntimeTestCase): | |||
34 | log_locations = ["/var/log/", "/var/log/dmesg", "/tmp/dmesg_output.log"] | 34 | log_locations = ["/var/log/", "/var/log/dmesg", "/tmp/dmesg_output.log"] |
35 | 35 | ||
36 | # The keywords that identify error messages in the log files | 36 | # The keywords that identify error messages in the log files |
37 | errors = ["error", "cannot", "can't", "failed"] | 37 | errors = ["error", "cannot", "can't", "failed", "---[ cut here ]---", "No irq handler for vector"] |
38 | 38 | ||
39 | # A list of error messages that should be ignored | 39 | # A list of error messages that should be ignored |
40 | ignore_errors = [] | 40 | ignore_errors = [] |
diff --git a/meta/lib/oeqa/selftest/cases/binutils.py b/meta/lib/oeqa/selftest/cases/binutils.py index 1688eabe4e..5ff263d342 100644 --- a/meta/lib/oeqa/selftest/cases/binutils.py +++ b/meta/lib/oeqa/selftest/cases/binutils.py | |||
@@ -33,7 +33,7 @@ class BinutilsCrossSelfTest(OESelftestTestCase, OEPTestResultTestCase): | |||
33 | features.append('CHECK_TARGETS = "{0}"'.format(suite)) | 33 | features.append('CHECK_TARGETS = "{0}"'.format(suite)) |
34 | self.write_config("\n".join(features)) | 34 | self.write_config("\n".join(features)) |
35 | 35 | ||
36 | recipe = "binutils-cross-testsuite" | 36 | recipe = "binutils-testsuite" |
37 | bb_vars = get_bb_vars(["B", "TARGET_SYS", "T"], recipe) | 37 | bb_vars = get_bb_vars(["B", "TARGET_SYS", "T"], recipe) |
38 | builddir, target_sys, tdir = bb_vars["B"], bb_vars["TARGET_SYS"], bb_vars["T"] | 38 | builddir, target_sys, tdir = bb_vars["B"], bb_vars["TARGET_SYS"], bb_vars["T"] |
39 | 39 | ||
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index 0c5e3b4c3d..3352f3e2f5 100644 --- a/meta/recipes-core/glibc/glibc-package.inc +++ b/meta/recipes-core/glibc/glibc-package.inc | |||
@@ -39,7 +39,7 @@ FILES:sln = "${base_sbindir}/sln" | |||
39 | FILES:${PN}-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/*.o" | 39 | FILES:${PN}-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/*.o" |
40 | FILES:libsotruss = "${libdir}/audit/sotruss-lib.so" | 40 | FILES:libsotruss = "${libdir}/audit/sotruss-lib.so" |
41 | FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}" | 41 | FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}" |
42 | FILES:${PN}-dev += "${libdir}/libpthread.a ${libdir}/libdl.a ${libdir}/libutil.a ${libdir}/libanl.a ${libdir}/*_nonshared.a ${base_libdir}/*_nonshared.a ${base_libdir}/*.o ${datadir}/aclocal" | 42 | FILES:${PN}-dev += "${libdir}/libpthread.a ${libdir}/libdl.a ${libdir}/libutil.a ${libdir}/libanl.a ${libdir}/*_nonshared.a ${base_libdir}/*_nonshared.a ${base_libdir}/*.o ${datadir}/aclocal ${libdir}/gcc/${TARGET_SYS}/*/finclude" |
43 | RDEPENDS:${PN}-dev = "linux-libc-headers-dev" | 43 | RDEPENDS:${PN}-dev = "linux-libc-headers-dev" |
44 | FILES:${PN}-staticdev += "${libdir}/*.a ${base_libdir}/*.a" | 44 | FILES:${PN}-staticdev += "${libdir}/*.a ${base_libdir}/*.a" |
45 | FILES:nscd = "${sbindir}/nscd* ${sysconfdir}/init.d/nscd ${systemd_system_unitdir}/nscd* ${nonarch_libdir}/tmpfiles.d/nscd.conf \ | 45 | FILES:nscd = "${sbindir}/nscd* ${sysconfdir}/init.d/nscd ${systemd_system_unitdir}/nscd* ${nonarch_libdir}/tmpfiles.d/nscd.conf \ |
@@ -169,6 +169,12 @@ do_install_armmultilib () { | |||
169 | oe_multilib_header sys/elf.h sys/procfs.h sys/ptrace.h sys/ucontext.h sys/user.h | 169 | oe_multilib_header sys/elf.h sys/procfs.h sys/ptrace.h sys/ucontext.h sys/user.h |
170 | } | 170 | } |
171 | 171 | ||
172 | do_install_armmultilib:append:class-target() { | ||
173 | gcc_version=$($CC -dumpversion) | ||
174 | mkdir -p ${D}${libdir}/gcc/${TARGET_SYS}/${gcc_version}/finclude | ||
175 | mv ${D}${includedir}/finclude/math-vector-fortran.h ${D}${libdir}/gcc/${TARGET_SYS}/${gcc_version}/finclude/ | ||
176 | rmdir --ignore-fail-on-non-empty ${D}${includedir}/finclude | ||
177 | } | ||
172 | 178 | ||
173 | LOCALESTASH = "${WORKDIR}/stashed-locale" | 179 | LOCALESTASH = "${WORKDIR}/stashed-locale" |
174 | bashscripts = "mtrace sotruss xtrace" | 180 | bashscripts = "mtrace sotruss xtrace" |
diff --git a/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.42.bb b/meta/recipes-devtools/binutils/binutils-testsuite_2.42.bb index 630815c7a3..f2facd52c3 100644 --- a/meta/recipes-devtools/binutils/binutils-cross-testsuite_2.42.bb +++ b/meta/recipes-devtools/binutils/binutils-testsuite_2.42.bb | |||
@@ -1,3 +1,6 @@ | |||
1 | # NOTE: This recipe cannot have -cross- in the file name because it triggers | ||
2 | # the cross build detection in sstate which causes it to use the wrong | ||
3 | # architecture | ||
1 | require binutils.inc | 4 | require binutils.inc |
2 | require binutils-${PV}.inc | 5 | require binutils-${PV}.inc |
3 | 6 | ||
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-convert-handle-rename-of-inode_includes-from-e2fspro.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-convert-handle-rename-of-inode_includes-from-e2fspro.patch new file mode 100644 index 0000000000..6fefbb2bca --- /dev/null +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-convert-handle-rename-of-inode_includes-from-e2fspro.patch | |||
@@ -0,0 +1,64 @@ | |||
1 | From f9ba9752ba5fd72441bc2018b2453967e75460d4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Wang Mingyu <wangmy@fujitsu.com> | ||
3 | Date: Mon, 24 Jun 2024 02:00:11 +0000 | ||
4 | Subject: [PATCH] convert: handle rename of inode_includes() from e2fsprogs | ||
5 | 1.47.1 | ||
6 | |||
7 | Upstream-Status: Backport | ||
8 | [https://kernel.googlesource.com/pub/scm/linux/kernel/git/kdave/btrfs-progs/+/bcb887a4de2c56426a7a7de8d440b6ad75579f10%5E%21/#F0] | ||
9 | |||
10 | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> | ||
11 | --- | ||
12 | configure.ac | 3 ++- | ||
13 | convert/source-ext2.c | 11 +++++++++-- | ||
14 | 2 files changed, 11 insertions(+), 3 deletions(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index 007d29b..816dd36 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -312,7 +312,8 @@ AS_IF([test "x$have_ext4_epoch_mask_define" = xno], [ | ||
21 | AC_DEFINE([EXT4_EPOCH_BITS], [2],[for encode and decode tv_nsec in ext2 inode]) | ||
22 | AC_DEFINE([EXT4_EPOCH_MASK], [((1U << EXT4_EPOCH_BITS) - 1)], [For encode and decode tv_nsec info in ext2 inode]) | ||
23 | AC_DEFINE([EXT4_NSEC_MASK], [(~0UL << EXT4_EPOCH_BITS)], [For encode and decode tv_nsec info in ext2 inode]) | ||
24 | - AC_DEFINE([inode_includes(size, field)],[m4_normalize[(size >= (sizeof(((struct ext2_inode_large *)0)->field) + offsetof(struct ext2_inode_large, field)))]], | ||
25 | + # Use name from 1.47.1, backward compatibility is handled in convert/source-ext2.c | ||
26 | + AC_DEFINE([ext2fs_inode_includes(size, field)],[m4_normalize[(size >= (sizeof(((struct ext2_inode_large *)0)->field) + offsetof(struct ext2_inode_large, field)))]], | ||
27 | [For encode and decode tv_nsec info in ext2 inode]) | ||
28 | ], | ||
29 | [AC_MSG_WARN([It seems that ext2_inode_large don't includes tv_nsec related info, probably old e2fsprogs, no 64bit time precision of converted images])], | ||
30 | diff --git a/convert/source-ext2.c b/convert/source-ext2.c | ||
31 | index 2186b25..bba81e4 100644 | ||
32 | --- a/convert/source-ext2.c | ||
33 | +++ b/convert/source-ext2.c | ||
34 | @@ -727,10 +727,17 @@ static inline void ext4_decode_extra_time(__le32 * tv_sec, __le32 * tv_nsec, | ||
35 | *tv_nsec = (le32_to_cpu(extra) & EXT4_NSEC_MASK) >> EXT4_EPOCH_BITS; | ||
36 | } | ||
37 | |||
38 | +/* | ||
39 | + * In e2fsprogs < 1.47.1 it's inode_includes, from >= on it's with ext2fs_ prefix. | ||
40 | + */ | ||
41 | +#ifndef ext2fs_inode_includes | ||
42 | +#define ext2fs_inode_includes(size, field) inode_includes(size, field) | ||
43 | +#endif | ||
44 | + | ||
45 | #define EXT4_COPY_XTIME(xtime, dst, tv_sec, tv_nsec) \ | ||
46 | do { \ | ||
47 | tv_sec = src->i_ ## xtime ; \ | ||
48 | - if (inode_includes(inode_size, i_ ## xtime ## _extra)) { \ | ||
49 | + if (ext2fs_inode_includes(inode_size, i_ ## xtime ## _extra)) { \ | ||
50 | tv_sec = src->i_ ## xtime ; \ | ||
51 | ext4_decode_extra_time(&tv_sec, &tv_nsec, src->i_ ## xtime ## _extra); \ | ||
52 | btrfs_set_stack_timespec_sec(&dst->xtime , tv_sec); \ | ||
53 | @@ -771,7 +778,7 @@ static int ext4_copy_inode_timespec_extra(struct btrfs_inode_item *dst, | ||
54 | EXT4_COPY_XTIME(ctime, dst, tv_sec, tv_nsec); | ||
55 | |||
56 | tv_sec = src->i_crtime; | ||
57 | - if (inode_includes(inode_size, i_crtime_extra)) { | ||
58 | + if (ext2fs_inode_includes(inode_size, i_crtime_extra)) { | ||
59 | tv_sec = src->i_crtime; | ||
60 | ext4_decode_extra_time(&tv_sec, &tv_nsec, src->i_crtime_extra); | ||
61 | btrfs_set_stack_timespec_sec(&dst->otime, tv_sec); | ||
62 | -- | ||
63 | 2.34.1 | ||
64 | |||
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.1.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.1.bb index fac9f8f7ef..d61d956a70 100644 --- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.1.bb +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_6.8.1.bb | |||
@@ -17,6 +17,7 @@ DEPENDS = "util-linux zlib" | |||
17 | 17 | ||
18 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git;branch=master;protocol=https \ | 18 | SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git;branch=master;protocol=https \ |
19 | file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ | 19 | file://0001-Add-a-possibility-to-specify-where-python-modules-ar.patch \ |
20 | file://0001-convert-handle-rename-of-inode_includes-from-e2fspro.patch \ | ||
20 | " | 21 | " |
21 | SRCREV = "5d97c32d6f94cf6f473a5f82964e3edaeb1b146e" | 22 | SRCREV = "5d97c32d6f94cf6f473a5f82964e3edaeb1b146e" |
22 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
diff --git a/meta/recipes-devtools/llvm/llvm_18.1.6.bb b/meta/recipes-devtools/llvm/llvm_18.1.8.bb index 189f5b1146..3c804eddd2 100644 --- a/meta/recipes-devtools/llvm/llvm_18.1.6.bb +++ b/meta/recipes-devtools/llvm/llvm_18.1.8.bb | |||
@@ -27,8 +27,7 @@ SRC_URI = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${PV}/ | |||
27 | file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ | 27 | file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ |
28 | file://llvm-config \ | 28 | file://llvm-config \ |
29 | " | 29 | " |
30 | SRC_URI[sha256sum] = "bd4b4cb6374bcd5fc5a3ba60cb80425d29da34f316b8821abc12c0db225cf6b4" | 30 | SRC_URI[sha256sum] = "0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a" |
31 | |||
32 | UPSTREAM_CHECK_URI = "https://github.com/llvm/llvm-project" | 31 | UPSTREAM_CHECK_URI = "https://github.com/llvm/llvm-project" |
33 | UPSTREAM_CHECK_REGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)" | 32 | UPSTREAM_CHECK_REGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)" |
34 | 33 | ||
diff --git a/meta/recipes-devtools/python/python3-websockets_12.0.bb b/meta/recipes-devtools/python/python3-websockets_12.0.bb index f89c3b629e..1bebcb4ce6 100644 --- a/meta/recipes-devtools/python/python3-websockets_12.0.bb +++ b/meta/recipes-devtools/python/python3-websockets_12.0.bb | |||
@@ -13,4 +13,5 @@ BBCLASSEXTEND = "native nativesdk" | |||
13 | RDEPENDS:${PN} = " \ | 13 | RDEPENDS:${PN} = " \ |
14 | python3-asyncio \ | 14 | python3-asyncio \ |
15 | python3-profile \ | 15 | python3-profile \ |
16 | python3-zipp \ | ||
16 | " | 17 | " |
diff --git a/meta/recipes-extended/xz/xz_5.4.6.bb b/meta/recipes-extended/xz/xz_5.4.6.bb index da3b75a10b..3f82e476bf 100644 --- a/meta/recipes-extended/xz/xz_5.4.6.bb +++ b/meta/recipes-extended/xz/xz_5.4.6.bb | |||
@@ -9,10 +9,10 @@ SECTION = "base" | |||
9 | # libgnu, which appears to be used for DOS builds. So we're left with | 9 | # libgnu, which appears to be used for DOS builds. So we're left with |
10 | # GPL-2.0-or-later and PD. | 10 | # GPL-2.0-or-later and PD. |
11 | LICENSE = "GPL-2.0-or-later & GPL-3.0-with-autoconf-exception & LGPL-2.1-or-later & PD" | 11 | LICENSE = "GPL-2.0-or-later & GPL-3.0-with-autoconf-exception & LGPL-2.1-or-later & PD" |
12 | LICENSE:${PN} = "GPL-2.0-or-later" | 12 | LICENSE:${PN} = "PD & GPL-2.0-or-later" |
13 | LICENSE:${PN}-dev = "GPL-2.0-or-later" | 13 | LICENSE:${PN}-dev = "PD & GPL-2.0-or-later" |
14 | LICENSE:${PN}-staticdev = "GPL-2.0-or-later" | 14 | LICENSE:${PN}-staticdev = "GPL-2.0-or-later" |
15 | LICENSE:${PN}-doc = "GPL-2.0-or-later" | 15 | LICENSE:${PN}-doc = "PD & GPL-2.0-or-later" |
16 | LICENSE:${PN}-dbg = "GPL-2.0-or-later" | 16 | LICENSE:${PN}-dbg = "GPL-2.0-or-later" |
17 | LICENSE:${PN}-locale = "GPL-2.0-or-later" | 17 | LICENSE:${PN}-locale = "GPL-2.0-or-later" |
18 | LICENSE:liblzma = "PD" | 18 | LICENSE:liblzma = "PD" |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest b/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest index ab2df80dcc..7fee5a3d09 100755 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest | |||
@@ -16,6 +16,11 @@ GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,test_functioning" | |||
16 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,test_infinite_seek_50_src_live" | 16 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,test_infinite_seek_50_src_live" |
17 | 17 | ||
18 | # Known unreliable tests as per subprojects/gst-devtools/validate/launcher/testsuites/check.py: | 18 | # Known unreliable tests as per subprojects/gst-devtools/validate/launcher/testsuites/check.py: |
19 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE:parser_pull_short_read" | 19 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,parser_pull_short_read" |
20 | |||
21 | # These tests are fragile | ||
22 | # https://bugzilla.yoctoproject.org/show_bug.cgi?id=14884 | ||
23 | # https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3524 | ||
24 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,parser_convert_duration,parser_pull_frame_growth,parser_reverse_playback" | ||
20 | 25 | ||
21 | gnome-desktop-testing-runner gstreamer | 26 | gnome-desktop-testing-runner gstreamer |
diff --git a/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch b/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch index a1fc9e26a0..d5bd7fe523 100644 --- a/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch +++ b/meta/recipes-rt/rt-tests/files/0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch | |||
@@ -18,8 +18,8 @@ diff --git a/Makefile b/Makefile | |||
18 | index 223a839..a735584 100644 | 18 | index 223a839..a735584 100644 |
19 | --- a/Makefile | 19 | --- a/Makefile |
20 | +++ b/Makefile | 20 | +++ b/Makefile |
21 | @@ -1,6 +1,6 @@ | 21 | @@ -2,6 +2,6 @@ |
22 | VERSION = 2.6 | 22 | VERSION = 2.7 |
23 | -CC = $(CROSS_COMPILE)gcc | 23 | -CC = $(CROSS_COMPILE)gcc |
24 | -AR = $(CROSS_COMPILE)ar | 24 | -AR = $(CROSS_COMPILE)ar |
25 | +CC ?= $(CROSS_COMPILE)gcc | 25 | +CC ?= $(CROSS_COMPILE)gcc |
diff --git a/meta/recipes-rt/rt-tests/rt-tests.inc b/meta/recipes-rt/rt-tests/rt-tests.inc index 70315c4694..3fbdfa2038 100644 --- a/meta/recipes-rt/rt-tests/rt-tests.inc +++ b/meta/recipes-rt/rt-tests/rt-tests.inc | |||
@@ -1,5 +1,5 @@ | |||
1 | SRCREV = "217cd8518c5f7777d490892aa9c765a6b2782cb5" | 1 | SRCREV = "5bd94923ffda2ab326d081926dbfc6775fb5050b" |
2 | PV = "2.6" | 2 | PV = "2.7" |
3 | PE = "1" | 3 | PE = "1" |
4 | 4 | ||
5 | SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git;branch=main;protocol=https" | 5 | SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git;branch=main;protocol=https" |