Re: [oe] [meta-networking][PATCH] freeradius: upgrade 3.0.21 -> 3.0.26 --> Should we update to 3.2.x?
On 3/31/24 1:03 AM, Khem Raj wrote: last three point releases of 3.2.x series has been stability releases, and I think it will become next stable following the release pattern, so I am fine with upgrading to 3.2.3, please rebase the patch on top of master-next and send here please. Thanks Khem and Randy, I've sent the patch based on master-next to the mailing list just now: freeradius: 3.0.26 -> 3.2.3 A lot of lines are changed: .../recipes-connectivity/freeradius/files/0003-configure.ac-allow-cross-compilation.patch | 32 ++-- .../recipes-connectivity/freeradius/files/0006-Avoid-searching-host-dirs.patch | 331 + .../freeradius/files/0007-rlm_python-add-PY_INC_DIR-in-search-dir.patch | 19 +- .../freeradius/files/0011-rlm_mschap-Use-includedir-instead-of-hardcoding-usr-.patch | 21 +-- .../freeradius/files/0017-Add-acinclude.m4-to-include-required-macros.patch | 61 +++ .../freeradius/files/0017-add-python.m4-for-detecting-python-3.10.patch | 427 --- .../recipes-connectivity/freeradius/{freeradius_3.0.26.bb => freeradius_3.2.3.bb} | 9 +- 7 files changed, 278 insertions(+), 622 deletions(-) I've tested it on both qemux86-64/qemuarm64 + glibc/musl, all the builds are OK. // Robert On Sat, Mar 30, 2024 at 8:05 AM Randy MacLeod wrote: Robert and I had an internal discussion about whether we should update freeradius to the 3.2.x branch. See below. If there's no objection, Robert please send you local update to the list so that it makes it into 5.0. Robert said: I've updated it to 3.2.3 in my local repo, but 3.2.x are 'Features' release, and 3.0.x are 'Stable' release: https://freeradius.org/releases/ I think that keep it as 3.0.x is better than 3.2.x for LTS24 (YP-5.0)? I think it's a judgment call. You are right that there are new features being introduced: https://freeradius.org/release_notes/?br=3.2.x but there is also a dedciated branch for 3.2.x: https://github.com/FreeRADIUS/freeradius-server/tree/v3.2.x separate from the master branch and there's talk of a major update happening for the 4.0 release: https://freeradius.org/4.0/alpha.html If you look around at what other distros are carrying, the more recently updated/released distros (Fedora 39, Debian 12) have 3.2.x: https://pkgs.org/download/freeradius and ubuntu-24.04, will ship 3.2: https://repology.org/project/freeradius/versions I wasn't able to find a document about FR's release schedule or EOL dates but it seems to me that we should add 3.2.x. ../Randy -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109698): https://lists.openembedded.org/g/openembedded-devel/message/109698 Mute This Topic: https://lists.openembedded.org/mt/105233195/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-networking][PATCH] freeradius: 3.0.26 -> 3.2.3
From: Robert Yang * Add --without-rlm_json to fix: configure: error: set --without-rlm_json to disable it explicitly * Add --without-rlm_cache_redis to fix: configure: error: set --without-rlm_cache_redis to disable it explicitly. * Drop 0017-add-python.m4-for-detecting-python-3.10.patch and add 0017-Add-acinclude.m4-to-include-required-macros.patch to fix python3 related build errors * Rebased other patches for 3.2.3. Signed-off-by: Robert Yang --- ...configure.ac-allow-cross-compilation.patch | 32 +- .../0006-Avoid-searching-host-dirs.patch | 331 +++--- ..._python-add-PY_INC_DIR-in-search-dir.patch | 19 +- ...ncludedir-instead-of-hardcoding-usr-.patch | 21 +- ...nclude.m4-to-include-required-macros.patch | 61 +++ ...-python.m4-for-detecting-python-3.10.patch | 427 -- ...eeradius_3.0.26.bb => freeradius_3.2.3.bb} | 9 +- 7 files changed, 278 insertions(+), 622 deletions(-) create mode 100644 meta-networking/recipes-connectivity/freeradius/files/0017-Add-acinclude.m4-to-include-required-macros.patch delete mode 100644 meta-networking/recipes-connectivity/freeradius/files/0017-add-python.m4-for-detecting-python-3.10.patch rename meta-networking/recipes-connectivity/freeradius/{freeradius_3.0.26.bb => freeradius_3.2.3.bb} (97%) diff --git a/meta-networking/recipes-connectivity/freeradius/files/0003-configure.ac-allow-cross-compilation.patch b/meta-networking/recipes-connectivity/freeradius/files/0003-configure.ac-allow-cross-compilation.patch index e5442360b..3635412d3 100644 --- a/meta-networking/recipes-connectivity/freeradius/files/0003-configure.ac-allow-cross-compilation.patch +++ b/meta-networking/recipes-connectivity/freeradius/files/0003-configure.ac-allow-cross-compilation.patch @@ -12,26 +12,28 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Jackie Huang Signed-off-by: Yi Zhao -update to new version 3.0.17 to fix patch warning +Update to new version 3.0.17 to fix patch warning Signed-off-by: Changqing Li + +Rebased for 3.2.3 +Signed-off-by: Randy MacLeod +Signed-off-by: Robert Yang + --- src/modules/rlm_krb5/configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/rlm_krb5/configure.ac b/src/modules/rlm_krb5/configure.ac -index a0f510cfb3..d2f3eca03e 100644 +index 9ee6379ea4..1dad481da8 100644 --- a/src/modules/rlm_krb5/configure.ac +++ b/src/modules/rlm_krb5/configure.ac -@@ -140,7 +140,8 @@ if test x$with_[]modname != xno; then - FR_SMART_CHECK_LIB(krb5, krb5_is_thread_safe) - if test "x$ac_cv_lib_krb5_krb5_is_thread_safe" = xyes; then - AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include ]], [[return krb5_is_thread_safe() ? 0 : 1]])], -- [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])]) -+ [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])], -+ [AC_MSG_WARN(cross compiling: not checking)]) - fi - else - krb5threadsafe="" --- -2.25.1 - +@@ -143,7 +143,8 @@ if test "$krb5threadsafe" != "no"; then + FR_SMART_CHECK_LIB(krb5, krb5_is_thread_safe) + if test "x$ac_cv_lib_krb5_krb5_is_thread_safe" = xyes; then + AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include ]], [[return krb5_is_thread_safe() ? 0 : 1]])], +- [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])]) ++ [krb5threadsafe="-DKRB5_IS_THREAD_SAFE"], [AC_MSG_WARN([[libkrb5 is not threadsafe]])], ++ [AC_MSG_WARN(cross compiling: not checking)]) + fi + else + krb5threadsafe="" diff --git a/meta-networking/recipes-connectivity/freeradius/files/0006-Avoid-searching-host-dirs.patch b/meta-networking/recipes-connectivity/freeradius/files/0006-Avoid-searching-host-dirs.patch index 8fd0dca44..510136da1 100644 --- a/meta-networking/recipes-connectivity/freeradius/files/0006-Avoid-searching-host-dirs.patch +++ b/meta-networking/recipes-connectivity/freeradius/files/0006-Avoid-searching-host-dirs.patch @@ -10,189 +10,214 @@ Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Jackie Huang Signed-off-by: Yi Zhao + +Rebased for 3.2.3 +Signed-off-by: Robert Yang --- - acinclude.m4| 4 ++-- - src/modules/rlm_sql/drivers/rlm_sql_db2/configure.ac| 4 ++-- - src/modules/rlm_sql/drivers/rlm_sql_firebird/configure.ac | 4 ++-- - src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure.ac | 4 ++-- - src/modules/rlm_sql/drivers/rlm_sql_mysql/configure.ac | 6 +++--- - src/modules/rlm_sql/drivers/rlm_sql_oracle/configure.ac | 2 +- - src/modules/rlm_sql/drivers/rlm_sql_p
[oe] [meta-oe][PATCH] gperftools: 2.10 -> 2.15
From: Robert Yang * Remove 0001-Support-Atomic-ops-on-clang.patch because of: commit 54605b8a5807fe893a4b9ff8def982a264cdc6c9 Author: Aliaksey Kandratsenka Date: Wed Jun 21 10:39:18 2023 -0400 amputate old atomic ops implementation * Remove sgidef.patch because of: commit e78238d94d41764dc72edb37e3d6510255d3dcd4 Author: Aliaksey Kandratsenka Date: Wed Jun 21 10:39:38 2023 -0400 reworked heap leak checker for more portability * Remove 0001-Define-off64_t-as-off_t-on-musl.patch because of: commit 8be84e4a5c28c33bfdb7da3ee0c92d9620cd552f Author: Aliaksey Kandratsenka Date: Fri Jul 21 14:18:12 2023 -0400 drop old mmap hooks and introduce internal & simpler mmap_hook.h * Rebased 0001-Support-Atomic-ops-on-clang.patch for 2.15 * Rebased ppc-musl.patch for 2.15 * Add 0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch to fix build error for 32bit machine. Signed-off-by: Robert Yang --- ...0001-Define-off64_t-as-off_t-on-musl.patch | 33 --- .../0001-Support-Atomic-ops-on-clang.patch| 31 -- ...checkers-and-debug-allocator-on-musl.patch | 8 ++- ..._hook.cc-Fix-build-for-32bit-machine.patch | 59 +++ .../gperftools/gperftools/ppc-musl.patch | 38 +++- .../gperftools/gperftools/sgidef.patch| 23 ...{gperftools_2.10.bb => gperftools_2.15.bb} | 6 +- 7 files changed, 74 insertions(+), 124 deletions(-) delete mode 100644 meta-oe/recipes-support/gperftools/gperftools/0001-Define-off64_t-as-off_t-on-musl.patch delete mode 100644 meta-oe/recipes-support/gperftools/gperftools/0001-Support-Atomic-ops-on-clang.patch create mode 100644 meta-oe/recipes-support/gperftools/gperftools/0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch delete mode 100644 meta-oe/recipes-support/gperftools/gperftools/sgidef.patch rename meta-oe/recipes-support/gperftools/{gperftools_2.10.bb => gperftools_2.15.bb} (91%) diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-Define-off64_t-as-off_t-on-musl.patch b/meta-oe/recipes-support/gperftools/gperftools/0001-Define-off64_t-as-off_t-on-musl.patch deleted file mode 100644 index 2b782c2040..00 --- a/meta-oe/recipes-support/gperftools/gperftools/0001-Define-off64_t-as-off_t-on-musl.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 41260e21e271eb1dc8b34f952ea3f90a0dc35e9e Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 25 Dec 2022 20:01:29 -0800 -Subject: [PATCH] Define off64_t as off_t on musl - -Musl's default bitlength for off_t is always 64bit therefore define -off64_t as off_t on musl - -Upstream-Status: Submitted [https://github.com/gperftools/gperftools/pull/1379] -Signed-off-by: Khem Raj - src/malloc_hook_mmap_linux.h | 5 + - 1 file changed, 5 insertions(+) - -diff --git a/src/malloc_hook_mmap_linux.h b/src/malloc_hook_mmap_linux.h -index c7d8b4b..a10687e 100644 a/src/malloc_hook_mmap_linux.h -+++ b/src/malloc_hook_mmap_linux.h -@@ -45,6 +45,11 @@ - #include - #include - -+// musl's off_t is already 64-bit -+#if defined(__linux__) && !defined(__GLIBC__) -+typedef off_t off64_t; -+#endif -+ - // The x86-32 case and the x86-64 case differ: - // 32b has a mmap2() syscall, 64b does not. - // 64b and 32b have different calling conventions for mmap(). --- -2.39.0 - diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-Support-Atomic-ops-on-clang.patch b/meta-oe/recipes-support/gperftools/gperftools/0001-Support-Atomic-ops-on-clang.patch deleted file mode 100644 index 2fd21c2783..00 --- a/meta-oe/recipes-support/gperftools/gperftools/0001-Support-Atomic-ops-on-clang.patch +++ /dev/null @@ -1,31 +0,0 @@ -From aa0a63209af6813d87255ec3ab339f2dbbf27d6d Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Mon, 6 Mar 2017 13:38:46 -0800 -Subject: [PATCH] Support Atomic ops on clang - -clang pretends to be gcc 4.2 which is a lie -it actually supports a lot more features then -gcc 4.2, here it depends on gcc 4.7 to enable -the atomics and fails for clang - -Signed-off-by: Khem Raj - -Upstream-Status: Pending - - src/base/atomicops.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/base/atomicops.h b/src/base/atomicops.h -index dac95be..390733c 100644 a/src/base/atomicops.h -+++ b/src/base/atomicops.h -@@ -124,7 +124,7 @@ - #include "base/atomicops-internals-linuxppc.h" - #elif defined(__GNUC__) && defined(__mips__) - #include "base/atomicops-internals-mips.h" --#elif defined(__GNUC__) && GCC_VERSION >= 40700 -+#elif defined(__GNUC__) && GCC_VERSION >= 40700 || defined(__clang__) - #include "base/atomicops-internals-gcc.h" - #elif defined(__clang__) && CLANG_VERSION >= 30400 - #include "base/atomicops-internals-gcc.h" diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch b/meta-oe/recipes-support/
[oe] [meta-oe][PATCH 1/1] thin-provisioning-tools: 1.0.9 -> 1.0.12
From: Robert Yang Signed-off-by: Robert Yang --- .../thin-provisioning-tools-crates.inc| 242 +++--- ...9.bb => thin-provisioning-tools_1.0.12.bb} | 2 +- 2 files changed, 97 insertions(+), 147 deletions(-) rename meta-oe/recipes-support/thin-provisioning-tools/{thin-provisioning-tools_1.0.9.bb => thin-provisioning-tools_1.0.12.bb} (95%) diff --git a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc index 52a8180d2..d71aa442f 100644 --- a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc +++ b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc @@ -4,28 +4,26 @@ SRC_URI += " \ crate://crates.io/adler/1.0.2 \ crate://crates.io/aho-corasick/1.1.2 \ -crate://crates.io/anstyle/1.0.4 \ -crate://crates.io/anyhow/1.0.75 \ +crate://crates.io/anstyle/1.0.6 \ +crate://crates.io/anyhow/1.0.80 \ crate://crates.io/atty/0.2.14 \ crate://crates.io/autocfg/1.1.0 \ -crate://crates.io/base64/0.21.5 \ +crate://crates.io/base64/0.21.7 \ crate://crates.io/bitflags/1.3.2 \ -crate://crates.io/bitflags/2.4.1 \ -crate://crates.io/bytemuck/1.14.0 \ +crate://crates.io/bitflags/2.4.2 \ +crate://crates.io/bytemuck/1.14.3 \ crate://crates.io/byteorder/1.5.0 \ crate://crates.io/cassowary/0.3.0 \ crate://crates.io/cfg-if/1.0.0 \ -crate://crates.io/clap/4.4.11 \ -crate://crates.io/clap_builder/4.4.11 \ -crate://crates.io/clap_lex/0.6.0 \ -crate://crates.io/console/0.15.7 \ -crate://crates.io/crc32c/0.6.4 \ -crate://crates.io/crc32fast/1.3.2 \ +crate://crates.io/clap/4.5.1 \ +crate://crates.io/clap_builder/4.5.1 \ +crate://crates.io/clap_lex/0.7.0 \ +crate://crates.io/console/0.15.8 \ +crate://crates.io/crc32c/0.6.5 \ +crate://crates.io/crc32fast/1.4.0 \ crate://crates.io/data-encoding/2.5.0 \ -crate://crates.io/difflib/0.4.0 \ crate://crates.io/downcast/0.11.0 \ -crate://crates.io/duct/0.13.6 \ -crate://crates.io/either/1.9.0 \ +crate://crates.io/duct/0.13.7 \ crate://crates.io/encode_unicode/0.3.6 \ crate://crates.io/env_logger/0.8.4 \ crate://crates.io/errno/0.3.8 \ @@ -33,130 +31,105 @@ SRC_URI += " \ crate://crates.io/fastrand/2.0.1 \ crate://crates.io/fixedbitset/0.4.2 \ crate://crates.io/flate2/1.0.28 \ -crate://crates.io/float-cmp/0.9.0 \ crate://crates.io/fragile/2.0.0 \ -crate://crates.io/getrandom/0.2.11 \ +crate://crates.io/getrandom/0.2.12 \ crate://crates.io/hermit-abi/0.1.19 \ -crate://crates.io/hermit-abi/0.3.3 \ -crate://crates.io/indicatif/0.17.7 \ +crate://crates.io/hermit-abi/0.3.6 \ +crate://crates.io/indicatif/0.17.8 \ crate://crates.io/instant/0.1.12 \ crate://crates.io/iovec/0.1.4 \ -crate://crates.io/itertools/0.10.5 \ crate://crates.io/lazy_static/1.4.0 \ -crate://crates.io/libc/0.2.150 \ -crate://crates.io/linux-raw-sys/0.4.12 \ +crate://crates.io/libc/0.2.153 \ +crate://crates.io/linux-raw-sys/0.4.13 \ crate://crates.io/log/0.4.20 \ -crate://crates.io/memchr/2.6.4 \ +crate://crates.io/memchr/2.7.1 \ crate://crates.io/minimal-lexical/0.2.1 \ -crate://crates.io/miniz_oxide/0.7.1 \ -crate://crates.io/mockall/0.11.4 \ -crate://crates.io/mockall_derive/0.11.4 \ +crate://crates.io/miniz_oxide/0.7.2 \ +crate://crates.io/mockall/0.12.1 \ +crate://crates.io/mockall_derive/0.12.1 \ crate://crates.io/nom/7.1.3 \ -crate://crates.io/normalize-line-endings/0.3.0 \ -crate://crates.io/num-derive/0.4.1 \ -crate://crates.io/num-traits/0.2.17 \ +crate://crates.io/num-derive/0.4.2 \ +crate://crates.io/num-traits/0.2.18 \ crate://crates.io/num_cpus/1.16.0 \ crate://crates.io/number_prefix/0.4.0 \ crate://crates.io/numtoa/0.1.0 \ crate://crates.io/once_cell/1.19.0 \ -crate://crates.io/os_pipe/1.1.4 \ +crate://crates.io/os_pipe/1.1.5 \ crate://crates.io/portable-atomic/1.6.0 \ crate://crates.io/ppv-lite86/0.2.17 \ -crate://crates.io/predicates/2.1.5 \ +crate://crates.io/predicates/3.1.0 \ crate://crates.io/predicates-core/1.0.6 \ crate://crates.io/predicates-tree/1.0.9 \ -crate://crates.io/proc-macro2/1.0.70 \ -crate://crates.io/quick-xml/0.29.0 \ +crate://crates.io/proc-macro2/1.0.78 \ +crate://crates.io/quick-xml/0.31.0 \ crate://crates.io/quickcheck/1.0.3 \ crate://crates.io/quickcheck_macros/1.0.0 \ -crate://crates.io/quote/1.0.33 \ +crate://crates.io/quote/1.0.35 \ crate://crates.io/rand/0.8.5 \ crate://crates.io/rand_chacha/0.3.1 \ crate://crates.io/rand_core/0.6.4 \ -crate://crates.io/rangemap/1.4.0 \ +crate://crates.io/rangemap/1.5.0 \ crate://crates.io/redo
[oe] [meta-oe][PATCH 1/1] gnulib: 2018-12-18 -> 202401
From: Robert Yang Change version format to keep align with upstream branch name stable-${PV}. Signed-off-by: Robert Yang --- .../gnulib/{gnulib_2018-12-18.bb => gnulib_202401.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-support/gnulib/{gnulib_2018-12-18.bb => gnulib_202401.bb} (88%) diff --git a/meta-oe/recipes-support/gnulib/gnulib_2018-12-18.bb b/meta-oe/recipes-support/gnulib/gnulib_202401.bb similarity index 88% rename from meta-oe/recipes-support/gnulib/gnulib_2018-12-18.bb rename to meta-oe/recipes-support/gnulib/gnulib_202401.bb index 9e09b971c..41675d358 100644 --- a/meta-oe/recipes-support/gnulib/gnulib_2018-12-18.bb +++ b/meta-oe/recipes-support/gnulib/gnulib_202401.bb @@ -11,9 +11,9 @@ SECTION = "devel" LICENSE = "LGPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=56a22a6e5bcce45e2c8ac184f81412b5" -SRCREV = "0d6e3307bbdb8df4d56043d5f373eeeffe4cbef3" +SRCREV = "c99c8d491850dc3a6e0b8604a2729d8bc5c0eff1" -SRC_URI = "git://git.savannah.gnu.org/git/gnulib.git;branch=master;protocol=https \ +SRC_URI = "git://git.savannah.gnu.org/git/gnulib.git;branch=stable-${PV};protocol=https \ " S = "${WORKDIR}/git" -- 2.42.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109229): https://lists.openembedded.org/g/openembedded-devel/message/109229 Mute This Topic: https://lists.openembedded.org/mt/104805726/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-filesystems][PATCH 1/1] xfsprogs: 6.5.0 -> 6.6.0
From: Robert Yang Rebased 0005-Replace-off64_t-stat64-with-off_t-stat.patch for 6.6.0. Signed-off-by: Robert Yang --- ...place-off64_t-stat64-with-off_t-stat.patch | 40 +-- .../{xfsprogs_6.5.0.bb => xfsprogs_6.6.0.bb} | 2 +- 2 files changed, 21 insertions(+), 21 deletions(-) rename meta-filesystems/recipes-utils/xfsprogs/{xfsprogs_6.5.0.bb => xfsprogs_6.6.0.bb} (96%) diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/0005-Replace-off64_t-stat64-with-off_t-stat.patch b/meta-filesystems/recipes-utils/xfsprogs/files/0005-Replace-off64_t-stat64-with-off_t-stat.patch index 731c001e1..940d63c01 100644 --- a/meta-filesystems/recipes-utils/xfsprogs/files/0005-Replace-off64_t-stat64-with-off_t-stat.patch +++ b/meta-filesystems/recipes-utils/xfsprogs/files/0005-Replace-off64_t-stat64-with-off_t-stat.patch @@ -42,18 +42,18 @@ Signed-off-by: Khem Raj 26 files changed, 74 insertions(+), 74 deletions(-) diff --git a/copy/xfs_copy.c b/copy/xfs_copy.c -index 79f6594..854fd7f 100644 +index 0420649..98a578a 100644 --- a/copy/xfs_copy.c +++ b/copy/xfs_copy.c -@@ -888,7 +888,7 @@ main(int argc, char **argv) +@@ -881,7 +881,7 @@ main(int argc, char **argv) } } else { - char*lb[XFS_MAX_SECTORSIZE] = { NULL }; + char*lb = memalign(wbuf_align, XFS_MAX_SECTORSIZE); - off64_t off; + off_t off; + ssize_t len; /* ensure device files are sufficiently large */ - diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c index ba02506..12fffbd 100644 --- a/fsr/xfs_fsr.c @@ -68,7 +68,7 @@ index ba02506..12fffbd 100644 int ct, wc, wc_b4; charffname[SMBUFSZ]; diff --git a/io/bmap.c b/io/bmap.c -index 27383ca..0b14bb7 100644 +index 722a389..6182e1c 100644 --- a/io/bmap.c +++ b/io/bmap.c @@ -257,7 +257,7 @@ bmap_f( @@ -186,7 +186,7 @@ index 7db5184..bf11963 100644 swidth = (fsgeo->swidth * fsgeo->blocksize); diff --git a/io/io.h b/io/io.h -index 64b7a66..5f42301 100644 +index fe474fa..68e5e48 100644 --- a/io/io.h +++ b/io/io.h @@ -53,7 +53,7 @@ extern int stat_f(int argc, char **argv); @@ -603,7 +603,7 @@ index 1d04919..a74b613 100644 init_cvtnum(, ); diff --git a/libxfs/rdwr.c b/libxfs/rdwr.c -index d5aad3e..0faa05b 100644 +index 0e33211..153007d 100644 --- a/libxfs/rdwr.c +++ b/libxfs/rdwr.c @@ -576,7 +576,7 @@ libxfs_balloc( @@ -615,8 +615,8 @@ index d5aad3e..0faa05b 100644 { int sts; -@@ -639,7 +639,7 @@ libxfs_readbufr_map(struct xfs_buftarg *btp, struct xfs_buf *bp, int flags) - fd = libxfs_device_to_fd(btp->bt_bdev); +@@ -638,7 +638,7 @@ libxfs_readbufr_map(struct xfs_buftarg *btp, struct xfs_buf *bp, int flags) + buf = bp->b_addr; for (i = 0; i < bp->b_nmaps; i++) { - off64_t offset = LIBXFS_BBTOOFF64(bp->b_maps[i].bm_bn); @@ -624,7 +624,7 @@ index d5aad3e..0faa05b 100644 int len = BBTOB(bp->b_maps[i].bm_len); error = __read_buf(fd, buf, len, offset, flags); -@@ -798,7 +798,7 @@ err: +@@ -797,7 +797,7 @@ err: } static int @@ -633,7 +633,7 @@ index d5aad3e..0faa05b 100644 { int sts; -@@ -864,7 +864,7 @@ libxfs_bwrite( +@@ -863,7 +863,7 @@ libxfs_bwrite( void*buf = bp->b_addr; for (i = 0; i < bp->b_nmaps; i++) { @@ -643,20 +643,20 @@ index d5aad3e..0faa05b 100644 bp->b_error = __write_buf(fd, buf, len, offset, diff --git a/mdrestore/xfs_mdrestore.c b/mdrestore/xfs_mdrestore.c -index 7c1a66c..bb54e38 100644 +index 8e3998d..334bdd2 100644 --- a/mdrestore/xfs_mdrestore.c +++ b/mdrestore/xfs_mdrestore.c -@@ -116,7 +116,7 @@ perform_restore( +@@ -160,7 +160,7 @@ verify_device_size( + } else { /* ensure device is sufficiently large enough */ - - char*lb[XFS_MAX_SECTORSIZE] = { NULL }; + charlb[XFS_MAX_SECTORSIZE] = { 0 }; - off64_t off; + off_t off; - off = sb.sb_dblocks * sb.sb_blocksize - sizeof(lb); - if (pwrite(dst_fd, lb, sizeof(lb), off) < 0) + off = nr_blocks * blocksize - sizeof(lb); + if (pwrite(dev_fd, lb, sizeof(lb), off) < 0) diff --git a/repair/prefetch.c b/repair/prefetch.c -index 017750e..35b5013 100644 +index 78c1e39..b0dd197 100644 --- a/repair/prefetch.c +++ b/repair/prefetch.c @@ -475,7 +475,7 @@ pf_batch_read( @@ -669,7 +669,7 @@ index 017750e..35b5013 100644 int i; int inode_bufs; diff --git a/scrub/spacemap.c b/scrub/spacemap.c -index 03440d3..00bee17 100644 +index b6fd411..9cefe07 100644 --- a/scrub/spacemap.c +++ b/scrub/spacemap.c @@ -97,11 +97,11 @@
[oe] [meta-filesystems][PATCH 1/1] yaffs2-utils: Upgrade to 20221209
From: Robert Yang * The 20221209 is the commit date of SRCREV since this recipe has no version. * Add 0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch to fix build error: yaffs_guts.h:501:9: error: unknown type name 'YTIME_T' Signed-off-by: Robert Yang --- ...efine-YTIME_T-if-not-already-defined.patch | 34 +++ .../yaffs2/yaffs2-utils_git.bb| 6 ++-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch new file mode 100644 index 0..98c27d265 --- /dev/null +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils/0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch @@ -0,0 +1,34 @@ +From 05cc2b958090f96d6fa128da43aa69669625e529 Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 5 Mar 2024 12:03:23 + +Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined + +Fixed: +yaffs_guts.h:501:9: error: unknown type name 'YTIME_T' + 501 | YTIME_T yst_uid; + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + yaffs_guts.h | 4 + 1 file changed, 4 insertions(+) + +diff --git a/yaffs_guts.h b/yaffs_guts.h +index 74ded0b..598271b 100644 +--- a/yaffs_guts.h b/yaffs_guts.h +@@ -487,6 +487,10 @@ struct yaffs_obj { + + YCHAR short_name[YAFFS_SHORT_NAME_LENGTH + 1]; + ++#ifndef YTIME_T ++#define YTIME_T time_t ++#endif ++ + #ifdef CONFIG_YAFFS_WINCE + //these are always 64 bits + u32 win_ctime[2]; +-- +2.35.5 + diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb index 7228172b8..ca5e3302b 100644 --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb @@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=11;endline=13;md5=5f5 file://utils/mkyaffsimage.c;beginline=10;endline=12;md5=5f5464f9b3e981ca574e65b00e438561 \ " -PV = "0.0+git" +# The commit date of SRCREV +PV = "20221209" DEPENDS = "mtd-utils" @@ -17,9 +18,10 @@ DEPENDS = "mtd-utils" SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \ file://makefile-add-ldflags.patch \ file://0001-define-loff_t-if-not-already-defined.patch \ + file://0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch \ " -SRCREV = "9a6f486e56f927eeb8dc7e4e0d84f6bb95eeaa0f" +SRCREV = "613a901a229e8a701c18f003dd0aee18453e0670" UPSTREAM_CHECK_COMMITS = "1" -- 2.42.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#109227): https://lists.openembedded.org/g/openembedded-devel/message/109227 Mute This Topic: https://lists.openembedded.org/mt/104805700/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe][PATCH] v4l-utils: Add PACKAGECONFIG for v4l2-tracer to fix determinstic build
From: Robert Yang Fixed do_package error when json-c is in the build dependencies chain: ERROR: QA Issue: -dev package libv4l-dev contains non-symlink .so '/usr/lib/libv4l2tracer.so' [dev-elf] This recipe builds out files such as av4l1compat.so v4l2convert.so and libv4l2tracer.so which are not symlinks. Signed-off-by: Robert Yang --- meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb index c02645a6b8..f314d9b6ae 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.24.1.bb @@ -24,6 +24,7 @@ PACKAGECONFIG ??= "media-ctl" PACKAGECONFIG[media-ctl] = "--enable-v4l-utils,--disable-v4l-utils,," PACKAGECONFIG[qv4l2] = ",--disable-qv4l2" PACKAGECONFIG[qvidcap] = ",--disable-qvidcap" +PACKAGECONFIG[v4l2-tracer] = ",--disable-v4l2-tracer,json-c" SRC_URI = "\ git://git.linuxtv.org/v4l-utils.git;protocol=https;branch=stable-1.24 \ @@ -77,7 +78,9 @@ FILES:${PN} = "${bindir} ${sbindir}" FILES:libv4l += "${libdir}/libv4l*${SOLIBS} ${libdir}/libv4l/*.so ${libdir}/libv4l/plugins/*.so \ ${libdir}/libdvbv5*${SOLIBS} \ - ${libdir}/libv4l/*-decomp" + ${libdir}/libv4l/*-decomp \ + ${libdir}/libv4l2tracer.so \ +" FILES:libv4l-dev += "${includedir} ${libdir}/pkgconfig \ ${libdir}/libv4l*${SOLIBSDEV} ${libdir}/*.la \ -- 2.42.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#108006): https://lists.openembedded.org/g/openembedded-devel/message/108006 Mute This Topic: https://lists.openembedded.org/mt/103478327/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe] [PATCH] minifi-cpp: Fix do_configure error builder aarch64
Hi Khem and Ross, On 12/14/23 07:42, Khem Raj wrote: Robert, can you test and send improvements that Ross is suggesting here. I'm working on upgrade minifi-cpp from 0.7.0 to 0.15.0, I think that the patch is not needed after upgrade, but the upgrade is not easy. // Robert. On Wed, Dec 13, 2023 at 7:55 AM Khem Raj wrote: On Wed, Dec 13, 2023 at 3:31 AM Ross Burton wrote: On 13 Dec 2023, at 07:07, Khem Raj via lists.openembedded.org wrote: On Tue, 12 Dec 2023 17:38:04 +0800, liezhi.y...@windriver.com wrote: Fixed do_configure error when build on aarch64 host: error: cannot guess build type; you must specify one Applied, thanks! [1/1] minifi-cpp: Fix do_configure error builder aarch64 commit: adecc463a3c090e5a9c54875a42047a427384f71 I stand by my comment that patching the config.guess is the wrong thing when we explicitly have a command whose job is to install updated config.guess files. This is vendored code but I think overwriting config.guess might be better way still. Ross -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#107449): https://lists.openembedded.org/g/openembedded-devel/message/107449 Mute This Topic: https://lists.openembedded.org/mt/103126866/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe] [PATCH] minifi-cpp: Fix do_configure error builder aarch64
From: Robert Yang Fixed do_configure error when build on aarch64 host: error: cannot guess build type; you must specify one Signed-off-by: Robert Yang --- ...onfig.guess-Support-build-on-aarch64.patch | 31 +++ .../minifi-cpp/minifi-cpp_0.7.0.bb| 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-extended/minifi-cpp/files/0001-config.guess-Support-build-on-aarch64.patch diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0001-config.guess-Support-build-on-aarch64.patch b/meta-oe/recipes-extended/minifi-cpp/files/0001-config.guess-Support-build-on-aarch64.patch new file mode 100644 index 00..3086a70455 --- /dev/null +++ b/meta-oe/recipes-extended/minifi-cpp/files/0001-config.guess-Support-build-on-aarch64.patch @@ -0,0 +1,31 @@ +From 92fdbfdd6b55ff0b65edd9a283ac85ad349e325b Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 12 Dec 2023 07:27:52 + +Subject: [PATCH] config.guess: Fix do_configure error builder aarch64 + +Fixed configure error when build on aarch64 host: +error: cannot guess build type; you must specify one + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + config.guess | 2 +- + 1 files changed, 1 insertion(+), 1 deletion(-) + +diff --git a/thirdparty/uuid-1.6.2/config.guess b/thirdparty/uuid-1.6.2/config.guess +index ca2a03c..a858bfd 100755 +--- a/thirdparty/uuid-1.6.2/config.guess b/thirdparty/uuid-1.6.2/config.guess +@@ -835,7 +835,7 @@ EOF + i*86:Minix:*:*) + echo ${UNAME_MACHINE}-pc-minix + exit ;; +-arm*:Linux:*:*) ++arm*:Linux:*:*|aarch64:Linux:*:*) + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ +-- +2.34.1 + diff --git a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb index 67a2d9fa5f..5059b63212 100644 --- a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb +++ b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.7.0.bb @@ -40,6 +40,7 @@ SRC_URI = "git://github.com/apache/nifi-minifi-cpp.git;branch=master;protocol=ht file://minifi.service \ file://systemd-volatile.conf \ file://sysvinit-volatile.conf \ +file://0001-config.guess-Support-build-on-aarch64.patch \ " SRC_URI[curl.md5sum] = "d0bcc586873cfef08b4b9594e5395a33" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#107331): https://lists.openembedded.org/g/openembedded-devel/message/107331 Mute This Topic: https://lists.openembedded.org/mt/103126866/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-python][PATCH] tftpy: Add it for python tftp server and client
Tftpy is a TFTP library for the Python programming language. It includes client and server classes, with sample implementations. Hooks are included for easy inclusion in a UI for populating progress indicators. It supports RFCs 1350, 2347, 2348 and the tsize option from RFC 2349. Signed-off-by: Robert Yang --- meta-python/recipes-devtools/python/tftpy_0.8.2.bb | 13 + 1 file changed, 13 insertions(+) create mode 100644 meta-python/recipes-devtools/python/tftpy_0.8.2.bb diff --git a/meta-python/recipes-devtools/python/tftpy_0.8.2.bb b/meta-python/recipes-devtools/python/tftpy_0.8.2.bb new file mode 100644 index 0..c1b3234f7 --- /dev/null +++ b/meta-python/recipes-devtools/python/tftpy_0.8.2.bb @@ -0,0 +1,13 @@ +SUMMARY = "Tftpy is a TFTP library for the Python programming language. It includes client and server classes, with sample implementations." +DESCRIPTION = "Tftpy is a TFTP library for the Python programming language. It \ +includes client and server classes, with sample implementations. Hooks are \ +included for easy inclusion in a UI for populating progress indicators. It \ +supports RFCs 1350, 2347, 2348 and the tsize option from RFC 2349." + +HOMEPAGE = "https://github.com/msoulier/tftpy; +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=22770e72ae03c61f5bcc4e333b61368d" + +SRC_URI[sha256sum] = "e1d1a680efd88eba176b351175844253067392a9b0f8b81588e3ff2b9e7bbb5b" + +inherit pypi setuptools3 -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#100561): https://lists.openembedded.org/g/openembedded-devel/message/100561 Mute This Topic: https://lists.openembedded.org/mt/96242288/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [kirtstone][master][meta-oe][PATCH] redis: fix do_patch fuzz warning
Please hold on this patch, we need a V2 to fix the multilib do_fetch error. // Robert On 8/12/22 17:14, Changqing Li wrote: From: Changqing Li Fix: WARNING: lib32-redis-7.0.4-r0 do_patch: Fuzz detected: Applying patch GNU_SOURCE.patch patching file src/zmalloc.c Hunk #1 succeeded at 32 with fuzz 2 (offset 4 lines). There are two version of redis, and need different GNU_SOURCE.patch Signed-off-by: Changqing Li --- .../redis/redis-7/{GNU_SOURCE.patch => GNU_SOURCE-7.patch} | 0 meta-oe/recipes-extended/redis/redis_7.0.4.bb | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-extended/redis/redis-7/{GNU_SOURCE.patch => GNU_SOURCE-7.patch} (100%) diff --git a/meta-oe/recipes-extended/redis/redis-7/GNU_SOURCE.patch b/meta-oe/recipes-extended/redis/redis-7/GNU_SOURCE-7.patch similarity index 100% rename from meta-oe/recipes-extended/redis/redis-7/GNU_SOURCE.patch rename to meta-oe/recipes-extended/redis/redis-7/GNU_SOURCE-7.patch diff --git a/meta-oe/recipes-extended/redis/redis_7.0.4.bb b/meta-oe/recipes-extended/redis/redis_7.0.4.bb index 993ff34b10..e292237097 100644 --- a/meta-oe/recipes-extended/redis/redis_7.0.4.bb +++ b/meta-oe/recipes-extended/redis/redis_7.0.4.bb @@ -16,7 +16,7 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \ file://lua-update-Makefile-to-use-environment-build-setting.patch \ file://oe-use-libc-malloc.patch \ file://0001-src-Do-not-reset-FINAL_LIBS.patch \ - file://GNU_SOURCE.patch \ + file://GNU_SOURCE-7.patch \ file://0006-Define-correct-gregs-for-RISCV32.patch \ " SRC_URI[sha256sum] = "f0e65fda74c44a3dd4fa9d512d4d4d833dd0939c934e946a5c622a630d057f2f" -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#98227): https://lists.openembedded.org/g/openembedded-devel/message/98227 Mute This Topic: https://lists.openembedded.org/mt/92976372/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-networking][PATCH] libldb: Fix installed-vs-shipped and rebuild error
Fixed when multilib is disabled on intel-x86-64: MULITLIBS = "" $ bitbake sssd ERROR: sssd-2.5.2-r0 do_package: QA Issue: sssd: Files/directories were installed but not shipped in any package: /usr/lib/ldb /usr/lib64/ldb/modules/ldb/memberof.so Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. sssd: 2 installed and not shipped files. [installed-vs-shipped] And also remove bin/ got get a clean rebuild, otherwise, the rebuild result may be incorrect. Signed-off-by: Robert Yang --- .../recipes-support/libldb/libldb_2.3.3.bb| 11 +++ 1 file changed, 11 insertions(+) diff --git a/meta-networking/recipes-support/libldb/libldb_2.3.3.bb b/meta-networking/recipes-support/libldb/libldb_2.3.3.bb index c46a9784e..6dd3ec3a9 100644 --- a/meta-networking/recipes-support/libldb/libldb_2.3.3.bb +++ b/meta-networking/recipes-support/libldb/libldb_2.3.3.bb @@ -68,3 +68,14 @@ FILES:pyldb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ FILES:pyldb-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \ ${libdir}/.debug/libpyldb-util.*.so.*" FILES:pyldb-dev = "${libdir}/libpyldb-util.*.so" + +# Prevent third_party/waf/waflib/Configure.py checking host's path which is +# incorrect for cross building. +export PREFIX = "/" +export LIBDIR = "${libdir}" +export BINDIR = "${bindir}" + +do_configure:prepend() { +# For a clean rebuild +rm -fr bin/ +} -- 2.33.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#96752): https://lists.openembedded.org/g/openembedded-devel/message/96752 Mute This Topic: https://lists.openembedded.org/mt/90662261/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-python][PATCH] python3-wxgtk4: Require DISTRO_FEATURES as gtk3
It can't be built without gtk3: No package 'gtk+-3.0' found So make it have the same DISTRO_FEATURES as gtk3. It may also support gtk2, but it depends on wxwidgets which doesn't support gtk2, so we don't have to consider that. And python3-wxgtk4 doesn't have PACKAGECONFIG, so remove the checking for PACKAGECONFIG. Signed-off-by: Robert Yang --- .../python3-wxgtk4/python3-wxgtk4_4.1.1.bb| 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb index dcb373a1f..cbe3aedd1 100644 --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb @@ -4,10 +4,6 @@ HOMEPAGE = "http://www.wxpython.org; LICENSE = "WXwindows" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce1d18e2d633d41786c0a8dfbc80917" -inherit features_check - -REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'no_gui', '', 'x11', d)}" - DEPENDS = "wxwidgets-native wxwidgets" PYPI_PACKAGE = "wxPython" @@ -20,7 +16,9 @@ SRC_URI[sha256sum] = "00e5e3180ac7f2852f342ad341d57c44e7e4326de0b550b9a5c4a8361b S = "${WORKDIR}/wxPython-${PV}" -inherit pypi setuptools3 pkgconfig +inherit pypi setuptools3 pkgconfig features_check + +ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" export WX_CONFIG = "'${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config --prefix=${STAGING_EXECPREFIXDIR}'" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#96495): https://lists.openembedded.org/g/openembedded-devel/message/96495 Mute This Topic: https://lists.openembedded.org/mt/90352867/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-python][PATCH] python3-wxgtk4: add distro feature check to match dependency
Hello, On 4/4/22 20:44, Davide Gardenal wrote: Add REQUIRED_DISTRO_FEATURE to match wxwidgets, this fix build error (not buildable target) when x11 is not supported Signed-off-by: Davide Gardenal --- .../recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb index e61b00efa..dcb373a1f 100644 --- a/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb +++ b/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.1.1.bb @@ -4,6 +4,10 @@ HOMEPAGE = "http://www.wxpython.org; LICENSE = "WXwindows" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce1d18e2d633d41786c0a8dfbc80917" +inherit features_check + +REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'no_gui', '', 'x11', d)}" The fix isn't correct enough since there is no PACKAGECONFIG for python3-wxgtk4, I will send another patch based on this. // Robert + DEPENDS = "wxwidgets-native wxwidgets" PYPI_PACKAGE = "wxPython" -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#96494): https://lists.openembedded.org/g/openembedded-devel/message/96494 Mute This Topic: https://lists.openembedded.org/mt/90240535/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [PATCH] wxwidgets: Fix building without x11
On 4/9/22 01:41, Khem Raj wrote: On Fri, Apr 8, 2022 at 10:36 AM Scott Murray wrote: On Fri, 8 Apr 2022, Scott Murray via lists.openembedded.org wrote: Building with wayland and opengl in DISTRO_FEATURES without x11 as well was giving the error: wxwidgets: PACKAGECONFIG[no_gui] Conflict package config 'opengl' set in PACKAGECONFIG. Upon some investigation, it looks like wxwidgets now supports building against Gtk's Wayland support, so we can also enable it if wayland is in DISTRO_FEATURES. For OpenGL, however, wxwidgets seems to have a dependency on libglu, so the DISTRO_FEATURES check has been changed to only enable it by default if both x11 and opengl are configured. Signed-off-by: Scott Murray --- meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) I hadn't checked the list before sending this, I'd be okay with Robert's similar fix instead, though enabling building with wayland support seems like it potentially could be useful to somebody. I have taken the latter fix since it was fixing wayland too. The fix looks good to me, thanks. // Robert diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb index e82143040..e7e89d64a 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb @@ -43,9 +43,9 @@ EXTRA_OECMAKE:append:libc-musl = " \ -DHAVE_LOCALE_T=OFF \ " -# All toolkit-configs except 'no_gui' require x11 explicitly (see toolkit.cmake) -PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', 'no_gui', d)} \ -${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} \ +# OpenGL support currently seems tied to using libglu, which requires x11 +PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'gtk', 'no_gui', d)} \ +${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)} \ " PACKAGECONFIG:remove:class-native = "opengl" -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#96492): https://lists.openembedded.org/g/openembedded-devel/message/96492 Mute This Topic: https://lists.openembedded.org/mt/90338460/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe][PATCH] wxwidgets: Only enable opengl when both x11 and opengl are in DISTRO_FEATURES
The opengl can't work without x11 since it depends on libglu, and oe-core/meta/recipes-graphics/mesa/libglu_9.0.2.bb requires both x11 and opengl. Signed-off-by: Robert Yang --- meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb index e82143040..a824893a4 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb @@ -45,7 +45,7 @@ EXTRA_OECMAKE:append:libc-musl = " \ # All toolkit-configs except 'no_gui' require x11 explicitly (see toolkit.cmake) PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', 'no_gui', d)} \ -${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} \ +${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'opengl', '', d)} \ " PACKAGECONFIG:remove:class-native = "opengl" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#96471): https://lists.openembedded.org/g/openembedded-devel/message/96471 Mute This Topic: https://lists.openembedded.org/mt/90330657/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe][PATCH] wxwidgets: Fix checking for PACKAGECONFIG and DISTRO_FEATURES
Hi Denys, On 4/8/22 8:45 AM, Denys Dmytriyenko wrote: On Thu, Apr 07, 2022 at 09:55:41AM +0300, Samuli Piippo wrote: This commit breaks builds when DISTRO_FEATURES has opengl, but not x11. Same here! Moreover, it does not simply breaks the build, it breaks *parsing* even when not building wxwidgets! Please fix ASAP or revert. Sorry for the problem. I think that the fix should be only enable opengl when both opengl and x11 are in DISTRO_FEATURES, the opengl can't work without x11 since it depends on libglu, and oe-core/meta/recipes-graphics/mesa/libglu_9.0.2.bb requires both x11 and opengl. I will send a patch to fix it. // Robert ERROR: //meta-openembedded/meta-oe/recipes-extended/wxwidgets/ wxwidgets_3.1.5.bb: wxwidgets: PACKAGECONFIG[no_gui] Conflict package config 'opengl' set in PACKAGECONFIG. On Sat, 2 Apr 2022 at 06:26, Robert Yang wrote: The PACKAGECONFIG depends on DISTRO_FEATURES, not DISTRO_FEATURES depends on PACKAGECONFIG. And the REQUIRED_DISTRO_FEATURES is not needed since it can work with gtk or x11. Fixed when x11 is not in DISTRO_FEATURES: $ bitbake wxwidgets ERROR: Nothing PROVIDES 'wxwidgets' wxwidgets was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) Signed-off-by: Robert Yang --- meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb index f9349b02a..b10742eac 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb @@ -10,10 +10,7 @@ LICENSE = "WXwindows" LIC_FILES_CHKSUM = "file://docs/licence.txt;md5=981f50a934828620b08f44d75db557c6" inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt', 'cmake_qt5', 'cmake', d)} -inherit features_check lib_package binconfig pkgconfig - -# All toolkit-configs except 'no_gui' require x11 explicitly (see toolkit.cmake) -REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'no_gui', '', 'x11', d)}" +inherit lib_package binconfig pkgconfig DEPENDS += " \ jpeg \ @@ -46,7 +43,11 @@ EXTRA_OECMAKE:append:libc-musl = " \ -DHAVE_LOCALE_T=OFF \ " -PACKAGECONFIG ?= "gtk ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" +# All toolkit-configs except 'no_gui' require x11 explicitly (see toolkit.cmake) +PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', 'no_gui', d)} \ +${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} \ +" + PACKAGECONFIG:remove:class-native = "opengl" # Note on toolkit-PACKAGECONFIGs: select exactly one of 'no_gui' / 'gtk' / 'qt' -- 2.31.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#96469): https://lists.openembedded.org/g/openembedded-devel/message/96469 Mute This Topic: https://lists.openembedded.org/mt/90194835/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe][PATCH] wxwidgets: git -> gitsm to fix build when no x11
Fixed when x11 is not in DISTRO_FEATURES: $ bitbake wxwidgets CMake Error at build/cmake/functions.cmake:542 (add_library): Cannot find source file: /path/to/core2-64-wrs-linux/wxwidgets/3.1.5-r0/git/src/expat/expat/lib/xmlparse.c Signed-off-by: Robert Yang --- meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb index b10742eac..e82143040 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb @@ -19,7 +19,7 @@ DEPENDS += " \ " SRC_URI = " \ -git://github.com/wxWidgets/wxWidgets.git;branch=master;protocol=https \ +gitsm://github.com/wxWidgets/wxWidgets.git;branch=master;protocol=https \ file://0001-wx-config.in-Disable-cross-magic-it-does-not-work-fo.patch \ file://fix-libdir-for-multilib.patch \ file://respect-DESTDIR-when-create-link.patch \ -- 2.31.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#96344): https://lists.openembedded.org/g/openembedded-devel/message/96344 Mute This Topic: https://lists.openembedded.org/mt/90196921/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe][PATCH] wxwidgets: Fix checking for PACKAGECONFIG and DISTRO_FEATURES
The PACKAGECONFIG depends on DISTRO_FEATURES, not DISTRO_FEATURES depends on PACKAGECONFIG. And the REQUIRED_DISTRO_FEATURES is not needed since it can work with gtk or x11. Fixed when x11 is not in DISTRO_FEATURES: $ bitbake wxwidgets ERROR: Nothing PROVIDES 'wxwidgets' wxwidgets was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) Signed-off-by: Robert Yang --- meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb index f9349b02a..b10742eac 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb @@ -10,10 +10,7 @@ LICENSE = "WXwindows" LIC_FILES_CHKSUM = "file://docs/licence.txt;md5=981f50a934828620b08f44d75db557c6" inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt', 'cmake_qt5', 'cmake', d)} -inherit features_check lib_package binconfig pkgconfig - -# All toolkit-configs except 'no_gui' require x11 explicitly (see toolkit.cmake) -REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'no_gui', '', 'x11', d)}" +inherit lib_package binconfig pkgconfig DEPENDS += " \ jpeg \ @@ -46,7 +43,11 @@ EXTRA_OECMAKE:append:libc-musl = " \ -DHAVE_LOCALE_T=OFF \ " -PACKAGECONFIG ?= "gtk ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" +# All toolkit-configs except 'no_gui' require x11 explicitly (see toolkit.cmake) +PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', 'no_gui', d)} \ +${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} \ +" + PACKAGECONFIG:remove:class-native = "opengl" # Note on toolkit-PACKAGECONFIGs: select exactly one of 'no_gui' / 'gtk' / 'qt' -- 2.31.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#96342): https://lists.openembedded.org/g/openembedded-devel/message/96342 Mute This Topic: https://lists.openembedded.org/mt/90194835/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-oe][PATCH] nspr: Fix build with nativesdk-gcc from buildtools-extended-tarball
Fixed when built with nativesdk-gcc from buildtools-extended-tarball: $ bitbake nspr-native gcc abstract.o -Xlinker -L../../dist/lib -lplc4 -L../../dist/lib -lnspr4 -lpthread -o abstract /path/to/x86_64-wrlinuxsdk-linux/bin/ld: /lib/x86_64-linux-gnu/librt.so.1: undefined reference to `__clock_getcpuclockid@GLIBC_PRIVATE' /path/to/x86_64-wrlinuxsdk-linux/bin/ld: /lib/x86_64-linux-gnu/librt.so.1: undefined reference to `__clock_nanosleep@GLIBC_PRIVATE' /path/to/x86_64-wrlinuxsdk-linux/bin/ld: /lib/x86_64-linux-gnu/librt.so.1: undefined reference to `__clock_settime@GLIBC_PRIVATE' /path/to/x86_64-wrlinuxsdk-linux/bin/ld: /lib/x86_64-linux-gnu/librt.so.1: undefined reference to `__clock_getres@GLIBC_PRIVATE' Referred to: https://github.com/linux-test-project/ltp/issues/255 There should be a bug hidden in nativesdk-gcc or other toolchains, but it's very had to figure it out. The quick workaround is using "-lpthread -lrt" Signed-off-by: Robert Yang --- ...ts-Makefile.in-Add-lrt-to-EXTRA_LIBS.patch | 47 +++ meta-oe/recipes-support/nspr/nspr_4.29.bb | 1 + 2 files changed, 48 insertions(+) create mode 100644 meta-oe/recipes-support/nspr/nspr/0001-nspr-pr-tests-Makefile.in-Add-lrt-to-EXTRA_LIBS.patch diff --git a/meta-oe/recipes-support/nspr/nspr/0001-nspr-pr-tests-Makefile.in-Add-lrt-to-EXTRA_LIBS.patch b/meta-oe/recipes-support/nspr/nspr/0001-nspr-pr-tests-Makefile.in-Add-lrt-to-EXTRA_LIBS.patch new file mode 100644 index 0..c71871c34 --- /dev/null +++ b/meta-oe/recipes-support/nspr/nspr/0001-nspr-pr-tests-Makefile.in-Add-lrt-to-EXTRA_LIBS.patch @@ -0,0 +1,47 @@ +From 4441e9c15684623adb3d5cbd6c2f27c1f3d212ac Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 29 Dec 2020 03:57:07 + +Subject: [PATCH] nspr/pr/tests/Makefile.in: Add -lrt to EXTRA_LIBS + +Fixed when built with nativesdk-gcc from buildtools-extended-tarball: +$ bitbake nspr-native + +gcc abstract.o -Xlinker -L../../dist/lib -lplc4 -L../../dist/lib -lnspr4 -lpthread -o abstract +/path/to/x86_64-wrlinuxsdk-linux/bin/ld: +/lib/x86_64-linux-gnu/librt.so.1: undefined reference to `__clock_getcpuclockid@GLIBC_PRIVATE' +/path/to/x86_64-wrlinuxsdk-linux/bin/ld: +/lib/x86_64-linux-gnu/librt.so.1: undefined reference to `__clock_nanosleep@GLIBC_PRIVATE' +/path/to/x86_64-wrlinuxsdk-linux/bin/ld: +/lib/x86_64-linux-gnu/librt.so.1: undefined reference to `__clock_settime@GLIBC_PRIVATE' +/path/to/x86_64-wrlinuxsdk-linux/bin/ld: +/lib/x86_64-linux-gnu/librt.so.1: undefined reference to `__clock_getres@GLIBC_PRIVATE' + +Referred to: +https://github.com/linux-test-project/ltp/issues/255 + +There should be a bug hidden in nativesdk-gcc or other toolchains, but it's +very had to figure it out. The quick workaround is using "-lpthread -lrt" + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Robert Yang +--- + nspr/pr/tests/Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pr/tests/Makefile.in b/pr/tests/Makefile.in +index 2ccb992..45270e9 100644 +--- a/pr/tests/Makefile.in b/pr/tests/Makefile.in +@@ -274,7 +274,7 @@ endif # SunOS + ifeq (,$(filter-out Linux GNU GNU_%,$(OS_ARCH))) + LDOPTS += -Xlinker + ifeq ($(USE_PTHREADS),1) +-EXTRA_LIBS = -lpthread ++EXTRA_LIBS = -lpthread -lrt + endif + endif + +-- +2.29.2 + diff --git a/meta-oe/recipes-support/nspr/nspr_4.29.bb b/meta-oe/recipes-support/nspr/nspr_4.29.bb index 6307c159e..fa05bc022 100644 --- a/meta-oe/recipes-support/nspr/nspr_4.29.bb +++ b/meta-oe/recipes-support/nspr/nspr_4.29.bb @@ -13,6 +13,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz file://0001-md-Fix-build-with-musl.patch \ file://Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch \ file://nspr.pc.in \ + file://0001-nspr-pr-tests-Makefile.in-Add-lrt-to-EXTRA_LIBS.patch \ " CACHED_CONFIGUREVARS_append_libc-musl = " CFLAGS='${CFLAGS} -D_PR_POLL_AVAILABLE \ -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#88550): https://lists.openembedded.org/g/openembedded-devel/message/88550 Mute This Topic: https://lists.openembedded.org/mt/79473143/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[oe] [meta-networking][PATCH] drbd-utils: Add CLEANBROKEN to fix rebuild errors
Fixed when rebuild: DEBUG: Executing shell function autotools_preconfigure NOTE: make clean aclocal autoheader autoconf You need to call ./configure with appropriate arguments (again). make: *** [Makefile:287: config.status] Error 1 Signed-off-by: Robert Yang --- meta-networking/recipes-support/drbd/drbd-utils_9.12.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-support/drbd/drbd-utils_9.12.0.bb b/meta-networking/recipes-support/drbd/drbd-utils_9.12.0.bb index b83f68f8c..5dabdd51d 100644 --- a/meta-networking/recipes-support/drbd/drbd-utils_9.12.0.bb +++ b/meta-networking/recipes-support/drbd/drbd-utils_9.12.0.bb @@ -56,3 +56,5 @@ FILES_${PN} += "${nonarch_base_libdir}/drbd \ ${nonarch_libdir}/drbd \ ${nonarch_libdir}/tmpfiles.d" FILES_${PN}-dbg += "${nonarch_base_libdir}/drbd/.debug" + +CLEANBROKEN = "1" -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#85655): https://lists.openembedded.org/g/openembedded-devel/message/85655 Mute This Topic: https://lists.openembedded.org/mt/75372985/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [PATCH] rocksdb: Fix compile error for DEBUG_BUILD
On 1/9/20 4:14 PM, Adrian Bunk wrote: On Thu, Jan 09, 2020 at 03:13:57PM +0800, Robert Yang wrote: On 1/8/20 5:27 PM, Adrian Bunk wrote: On Wed, Jan 08, 2020 at 02:09:03PM +0800, Robert Yang wrote: Fixed do_compile error when DEBUG_BUILD = "1": db/write_thread.cc:183:14: error: 'state' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... -Og warnings are not 100% reliable, and in general -Werror is problematic for distributions. Does building with -DFAIL_ON_WARNINGS=OFF fix this problem? Yes, it works. I think that the correct way to fix it is initialize it rather than ignore the error. Is the error a bug in the code, or is it a bogus warning from the compiler? When the warning happens only with -Og this is a known case of bogus warnings in gcc, and the correct way to fix it is to ignore the bogus warning. I checked the code, it won't be used before uninitialized. But I still think that assign it an initial value is better than ignore the warnings, there might be other vars really have this issue. // Robert // Robert cu Adrian -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] rocksdb: Fix compile error for DEBUG_BUILD
On 1/8/20 5:27 PM, Adrian Bunk wrote: On Wed, Jan 08, 2020 at 02:09:03PM +0800, Robert Yang wrote: Fixed do_compile error when DEBUG_BUILD = "1": db/write_thread.cc:183:14: error: 'state' may be used uninitialized in this function [-Werror=maybe-uninitialized] ... -Og warnings are not 100% reliable, and in general -Werror is problematic for distributions. Does building with -DFAIL_ON_WARNINGS=OFF fix this problem? Yes, it works. I think that the correct way to fix it is initialize it rather than ignore the error. // Robert cu Adrian -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH] rocksdb: Fix compile error for DEBUG_BUILD
Fixed do_compile error when DEBUG_BUILD = "1": db/write_thread.cc:183:14: error: 'state' may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Robert Yang --- .../0001-db-write_thread.cc-Initialize-state.patch | 31 ++ meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-dbs/rocksdb/files/0001-db-write_thread.cc-Initialize-state.patch diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-db-write_thread.cc-Initialize-state.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-db-write_thread.cc-Initialize-state.patch new file mode 100644 index 000..97ddbce --- /dev/null +++ b/meta-oe/recipes-dbs/rocksdb/files/0001-db-write_thread.cc-Initialize-state.patch @@ -0,0 +1,31 @@ +From 49dcd22dcf1aae5995c42eac0fda68516fc1cd43 Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Wed, 19 Jun 2019 17:57:24 +0800 +Subject: [PATCH] db/write_thread.cc: Initialize state + +Fixed an error when compiled without -O2: +db/write_thread.cc:183:14: error: 'state' may be used uninitialized in this function [-Werror=maybe-uninitialized] + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + db/write_thread.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/db/write_thread.cc b/db/write_thread.cc +index 835992c..6f99a11 100644 +--- a/db/write_thread.cc b/db/write_thread.cc +@@ -59,7 +59,7 @@ uint8_t WriteThread::BlockingAwaitState(Writer* w, uint8_t goal_mask) { + + uint8_t WriteThread::AwaitState(Writer* w, uint8_t goal_mask, + AdaptationContext* ctx) { +- uint8_t state; ++ uint8_t state = 0; + + // 1. Busy loop using "pause" for 1 micro sec + // 2. Else SOMETIMES busy loop using "yield" for 100 micro sec (default) +-- +2.7.4 + diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb index 68c6bc2..44a451c 100644 --- a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb +++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb @@ -12,6 +12,7 @@ PV = "6.5.2" SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH} \ file://0001-Fix-build-breakage-from-lock_guard-error-6161.patch \ + file://0001-db-write_thread.cc-Initialize-state.patch \ " S = "${WORKDIR}/git" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 1/2] corosync: Fix PACKAGECONFIG flag for rdma
Fixed: PACKAGECONFIG_append_pn-corosync = ' rdma' $ bitbake corosync | configure: error: Package requirements (rdmacm) were not met: | | No package 'rdmacm' found Signed-off-by: Robert Yang --- meta-networking/recipes-extended/corosync/corosync_2.4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-extended/corosync/corosync_2.4.4.bb b/meta-networking/recipes-extended/corosync/corosync_2.4.4.bb index 23a3d14..e2ab25b 100644 --- a/meta-networking/recipes-extended/corosync/corosync_2.4.4.bb +++ b/meta-networking/recipes-extended/corosync/corosync_2.4.4.bb @@ -36,7 +36,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,dbus" PACKAGECONFIG[qdevice] = "--enable-qdevices,--disable-qdevices" PACKAGECONFIG[qnetd] = "--enable-qnetd,--disable-qnetd" -PACKAGECONFIG[rdma] = "--enable-rdma,--disable-rdma" +PACKAGECONFIG[rdma] = "--enable-rdma,--disable-rdma,librdmacm" PACKAGECONFIG[snmp] = "--enable-snmp,--disable-snmp,net-snmp" PACKAGECONFIG[systemd] = "--enable-systemd --with-systemddir=${systemd_system_unitdir},--disable-systemd --without-systemddir,systemd" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 2/2] net-snmp: Fix PACKAGECONFIG for perl
* Remove perl-lib since it had been removed by oe-core: commit 68552c353255188de3d5b42135360a30e7eac535 Author: Alexander Kanavin Date: Sun Dec 2 12:46:37 2018 +0100 perl: remove the previous version of the recipe Now the files are in perl pacakge. * Fix perl paths when perl is enabled. Signed-off-by: Robert Yang --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb index 60b2b38..192b6b5 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb @@ -50,7 +50,7 @@ PACKAGECONFIG[libnl] = "--with-nl, --without-nl, libnl" PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,," PACKAGECONFIG[perl] = "--enable-embedded-perl --with-perl-modules=yes, --disable-embedded-perl --with-perl-modules=no,\ - perl, perl perl-lib" + perl," PACKAGECONFIG[des] = "--enable-des,--disable-des" EXTRA_OECONF = "--enable-shared \ @@ -88,8 +88,8 @@ do_configure_prepend() { if [ "${HAS_PERL}" = "1" ]; then # this may need to be changed when package perl has any change. -cp -f ${STAGING_DIR_TARGET}/usr/lib*/perl/*/Config.pm ${WORKDIR}/ -cp -f ${STAGING_DIR_TARGET}/usr/lib*/perl/*/Config_heavy.pl ${WORKDIR}/ +cp -f ${STAGING_DIR_TARGET}/usr/lib*/perl?/*/Config.pm ${WORKDIR}/ +cp -f ${STAGING_DIR_TARGET}/usr/lib*/perl?/*/*/Config_heavy.pl ${WORKDIR}/ sed -e "s@libpth => '/usr/lib.*@libpth => '${STAGING_DIR_TARGET}/${libdir} ${STAGING_DIR_TARGET}/${base_libdir}',@g" \ -e "s@privlibexp => '/usr@privlibexp => '${STAGING_DIR_TARGET}/usr@g" \ -e "s@scriptdir => '/usr@scriptdir => '${STAGING_DIR_TARGET}/usr@g" \ @@ -190,7 +190,8 @@ ALLOW_EMPTY_${PN} = "1" ALLOW_EMPTY_${PN}-server = "1" ALLOW_EMPTY_${PN}-libs = "1" -FILES_${PN}-perl-modules = "${libdir}/perl/*" +FILES_${PN}-perl-modules = "${libdir}/perl?/*" +RDEPENDS_${PN}-perl-modules = "perl" FILES_${PN}-libs = "" FILES_${PN}-mibs = "${datadir}/snmp/mibs" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 0/2][meta-networking] Fixes for corosync and net-snmp
The following changes since commit 41fe46157ca3caa96408a9a749d62c8bbc3c2794: python-paste: upgrade 3.2.0 -> 3.2.1 (2019-09-25 22:51:10 -0700) are available in the git repository at: git://git.openembedded.org/meta-openembedded-contrib rbt/pkgconfig http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=rbt/pkgconfig Robert Yang (2): corosync: Fix PACKAGECONFIG flag for rdma net-snmp: Fix PACKAGECONFIG for perl meta-networking/recipes-extended/corosync/corosync_2.4.4.bb | 2 +- meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 9 + 2 files changed, 6 insertions(+), 5 deletions(-) -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-networking][PATCH 1/2] spice: append -Wno-error=address-of-packed-member only for target
On 9/27/19 3:43 PM, Khem Raj wrote: On Fri, Sep 27, 2019 at 12:42 AM Martin Jansa wrote: Why? there are many PACKAGECONFIGs for optional dependencies which aren't in the same layer as the recipe with that PACKAGECONFIG. As long as it's not enabled by default it is correct to have the PACKAGECONFIG to control the dependency explicitly. right Got it, thanks. // Robert Cheers, On Fri, Sep 27, 2019 at 9:20 AM Robert Yang wrote: Hi Martin, We found another problem on spice_git.bb: PACKAGECONFIG[smartcard] = "--enable-smartcard,--disable-smartcard,libcacard," I can't find libcacard: http://layers.openembedded.org/layerindex/branch/master/recipes/?q=libcacard So it seems that this PACKAGECONFIG is invalid, should we remove it? // Robert On 9/27/19 11:56 AM, Robert Yang wrote: On 9/27/19 3:48 AM, Adrian Bunk wrote: On Thu, Sep 26, 2019 at 04:26:54PM +, Martin Jansa wrote: * with older native gcc on host this will break spice-native with: cc1: error: -Werror=address-of-packed-member: no option -Waddress-of-packed-member Signed-off-by: Martin Jansa --- meta-networking/recipes-support/spice/spice_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb index 30e939ac07..2829a59d15 100644 --- a/meta-networking/recipes-support/spice/spice_git.bb +++ b/meta-networking/recipes-support/spice/spice_git.bb @@ -37,7 +37,7 @@ DEPENDS_append_class-nativesdk = "nativesdk-openssl" export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages" -CFLAGS_append = " -Wno-error=address-of-packed-member" +CFLAGS_append_class-target = " -Wno-error=address-of-packed-member" Yes, the error was the same as you mentioned in the commit message, and "bitbake spice-native" works with this change. ... Least hassle would be CFLAGS_append = " -Wno-error" "bitbake nativesdk-spice" works with this change, otherwise, it doesn't work. This patch works for me. // Robert cu Adrian -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-networking][PATCH 1/2] spice: append -Wno-error=address-of-packed-member only for target
Hi Martin, We found another problem on spice_git.bb: PACKAGECONFIG[smartcard] = "--enable-smartcard,--disable-smartcard,libcacard," I can't find libcacard: http://layers.openembedded.org/layerindex/branch/master/recipes/?q=libcacard So it seems that this PACKAGECONFIG is invalid, should we remove it? // Robert On 9/27/19 11:56 AM, Robert Yang wrote: On 9/27/19 3:48 AM, Adrian Bunk wrote: On Thu, Sep 26, 2019 at 04:26:54PM +, Martin Jansa wrote: * with older native gcc on host this will break spice-native with: cc1: error: -Werror=address-of-packed-member: no option -Waddress-of-packed-member Signed-off-by: Martin Jansa --- meta-networking/recipes-support/spice/spice_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb index 30e939ac07..2829a59d15 100644 --- a/meta-networking/recipes-support/spice/spice_git.bb +++ b/meta-networking/recipes-support/spice/spice_git.bb @@ -37,7 +37,7 @@ DEPENDS_append_class-nativesdk = "nativesdk-openssl" export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages" -CFLAGS_append = " -Wno-error=address-of-packed-member" +CFLAGS_append_class-target = " -Wno-error=address-of-packed-member" Yes, the error was the same as you mentioned in the commit message, and "bitbake spice-native" works with this change. ... Least hassle would be CFLAGS_append = " -Wno-error" "bitbake nativesdk-spice" works with this change, otherwise, it doesn't work. This patch works for me. // Robert cu Adrian -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-networking][PATCH 1/2] spice: append -Wno-error=address-of-packed-member only for target
On 9/27/19 3:48 AM, Adrian Bunk wrote: On Thu, Sep 26, 2019 at 04:26:54PM +, Martin Jansa wrote: * with older native gcc on host this will break spice-native with: cc1: error: -Werror=address-of-packed-member: no option -Waddress-of-packed-member Signed-off-by: Martin Jansa --- meta-networking/recipes-support/spice/spice_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb index 30e939ac07..2829a59d15 100644 --- a/meta-networking/recipes-support/spice/spice_git.bb +++ b/meta-networking/recipes-support/spice/spice_git.bb @@ -37,7 +37,7 @@ DEPENDS_append_class-nativesdk = "nativesdk-openssl" export PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages" -CFLAGS_append = " -Wno-error=address-of-packed-member" +CFLAGS_append_class-target = " -Wno-error=address-of-packed-member" Yes, the error was the same as you mentioned in the commit message, and "bitbake spice-native" works with this change. ... Least hassle would be CFLAGS_append = " -Wno-error" "bitbake nativesdk-spice" works with this change, otherwise, it doesn't work. This patch works for me. // Robert cu Adrian -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 6/8] libnet-dns-sec-perl: Drop broken native
$ bitbake libnet-dns-sec-perl-native ERROR: Nothing RPROVIDES 'libcrypto-native' (but virtual:native:/path/to/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb RDEPENDS on or otherwise requires it) It's a broken native recipe which means no ones need it any more, so remove it. Signed-off-by: Robert Yang --- meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb index 3fa6294..240ffec 100644 --- a/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb +++ b/meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb @@ -29,5 +29,3 @@ RDEPENDS_${PN} = " \ perl-module-mime-base64 \ perl-module-test-more \ " - -BBCLASSEXTEND = "native" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 7/8] iperf3: Drop broken native
$ bitbake iperf3-native configure: error: --with-openssl was given, but test for OpenSSL failed It's a broken native recipe which means no ones need it any more, so remove it. Signed-off-by: Robert Yang --- meta-oe/recipes-benchmark/iperf3/iperf3_3.7.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.7.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.7.bb index 6686a81..d5296d7 100644 --- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.7.bb +++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.7.bb @@ -28,5 +28,3 @@ PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sc CFLAGS += "-D_GNU_SOURCE" EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}${prefix}" - -BBCLASSEXTEND = "native" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 8/8] spice: Drop broken native
$ bitbake spice-native checking whether the C compiler works... no configure: error: in `/path/to/spice-native/0.14.2+gitAUTOINC+7cbd70b931_4fc4c2db36-r0/build': configure: error: C compiler cannot create executables It's a broken native recipe which means no ones need it any more, so remove it. Signed-off-by: Robert Yang --- meta-networking/recipes-support/spice/spice_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-networking/recipes-support/spice/spice_git.bb b/meta-networking/recipes-support/spice/spice_git.bb index 552f81d..30e939a 100644 --- a/meta-networking/recipes-support/spice/spice_git.bb +++ b/meta-networking/recipes-support/spice/spice_git.bb @@ -39,7 +39,6 @@ export PYTHONPATH="${PKG_CONFIG_SYSROOT_DIR}${libdir}/python2.7/site-packages" CFLAGS_append = " -Wno-error=address-of-packed-member" -PACKAGECONFIG_class-native = "" PACKAGECONFIG_class-nativesdk = "" PACKAGECONFIG ?= "sasl" @@ -54,6 +53,6 @@ PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama," COMPATIBLE_HOST = '(x86_64|i.86).*-linux' -BBCLASSEXTEND = "native nativesdk" +BBCLASSEXTEND = "nativesdk" EXTRA_OECONF_append_toolchain-clang = " --disable-werror" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 3/8] fuse: Fix installed-vs-shipped for nativesdk
There are two problems: * The /dev is installed to '${D}/dev', not '${D}${base_prefix}' * The /etc is installed ${D}, but should be ${D}${sysconfdir} It works for target is because target's base_prefix is NULL, but it isn't work for native or nativesdk. Fixed: $ bitbake nativesdk-fuse ERROR: nativesdk-fuse-2.9.9-r0 do_package: QA Issue: nativesdk-fuse: Files/directories were installed but not shipped in any package: /dev /etc /etc/init.d /etc/udev /etc/init.d/fuse /etc/udev/rules.d /etc/udev/rules.d/99-fuse.rules Signed-off-by: Robert Yang --- meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb b/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb index c83e7f6..95e8706 100644 --- a/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb +++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb @@ -54,7 +54,7 @@ do_configure_prepend() { } do_install_append() { -rm -rf ${D}${base_prefix}/dev +rm -rf ${D}/dev # systemd class remove the sysv_initddir only if systemd_system_unitdir # contains anything, but it's not needed if sysvinit is not in DISTRO_FEATURES @@ -69,4 +69,10 @@ do_install_append() { fi } +do_install_append_class-nativesdk() { +install -d ${D}${sysconfdir} +mv ${D}/etc/* ${D}${sysconfdir}/ +rmdir ${D}/etc +} + BBCLASSEXTEND = "native nativesdk" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 2/8] python-incremental: Drop broken nativesdk
The nativesdk-python3-incremental doesn't work since lacks of dependencies, and hard to satisfy that, I tried to extend the following ones' nativesdk, but it still didn't work: python-automat python-constantly python-hyperlink python-twisted python-zopeinterface So just drop the broken nativesdk. Signed-off-by: Robert Yang --- meta-python/recipes-devtools/python/python-incremental.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python-incremental.inc b/meta-python/recipes-devtools/python/python-incremental.inc index b63fac9..ef5e903 100644 --- a/meta-python/recipes-devtools/python/python-incremental.inc +++ b/meta-python/recipes-devtools/python/python-incremental.inc @@ -17,4 +17,4 @@ RDEPENDS_${PN} += " \ # prevent a circular dependency. The build apparently does not use the part of # python-incremental which uses python-twisted, so this hack is OK. RDEPENDS_${PYTHON_PN}-incremental-native_remove = "${PYTHON_PN}-twisted-native" -BBCLASSEXTEND = "native nativesdk" +BBCLASSEXTEND = "native" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 4/8] keyutils: Fix installed-vs-shipped for nativesdk
Fixed: $ bitbake nativesdk-keyutils ERROR: nativesdk-keyutils-1.6-r0 do_package: QA Issue: nativesdk-keyutils: Files/directories were installed but not shipped in any package: /usr /etc /usr/share /usr/share/man /usr/share/keyutils [snip] /etc/request-key.conf /etc/request-key.d Signed-off-by: Robert Yang --- meta-oe/recipes-security/keyutils/keyutils_1.6.bb | 12 1 file changed, 12 insertions(+) diff --git a/meta-oe/recipes-security/keyutils/keyutils_1.6.bb b/meta-oe/recipes-security/keyutils/keyutils_1.6.bb index dca86f3..572143a 100644 --- a/meta-oe/recipes-security/keyutils/keyutils_1.6.bb +++ b/meta-oe/recipes-security/keyutils/keyutils_1.6.bb @@ -40,6 +40,18 @@ do_install () { oe_runmake DESTDIR=${D} install } +do_install_append_class-nativesdk() { +install -d ${D}${datadir} +src_dir="${D}${target_datadir}" +mv $src_dir/* ${D}${datadir} +par_dir=`dirname $src_dir` +rmdir $src_dir $par_dir + +install -d ${D}${sysconfdir} +mv ${D}/etc/* ${D}${sysconfdir}/ +rmdir ${D}/etc +} + do_install_ptest () { cp -r ${S}/tests ${D}${PTEST_PATH}/ sed -i -e 's/OSDIST=Unknown/OSDIST=${DISTRO}/' ${D}${PTEST_PATH}/tests/prepare.inc.sh -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 5/8] libnet-ssleay-perl: Drop broken native
$ bitbake libnet-ssleay-perl-native ERROR: Nothing RPROVIDES 'libssl-native' (but virtual:native:/path/to/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb RDEPENDS on or otherwise requires it) It's a broken native recipe which means no ones need it any more, so remove it. Signed-off-by: Robert Yang --- meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb index dccef16..50ab5af 100644 --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb +++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb @@ -42,8 +42,6 @@ do_install_ptest() { cp -r ${B}/t ${D}${PTEST_PATH} } -BBCLASSEXTEND = "native" - FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Net/SSLeay/.debug/" RDEPENDS_${PN}-ptest = " perl" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 1/8] python-asn1crypto: extend to nativesdk
Fixed: $ bitbake nativesdk-python3-cryptography ERROR: Nothing PROVIDES 'nativesdk-python3-asn1crypto' Signed-off-by: Robert Yang --- meta-python/recipes-devtools/python/python-asn1crypto.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python-asn1crypto.inc b/meta-python/recipes-devtools/python/python-asn1crypto.inc index f1f0a3c..e85ce9a 100644 --- a/meta-python/recipes-devtools/python/python-asn1crypto.inc +++ b/meta-python/recipes-devtools/python/python-asn1crypto.inc @@ -20,4 +20,4 @@ RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-netclient \ " -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 0/8] [meta-oe][meta-perl][meta-python] Fixes for native and nativesdk
The following changes since commit 466fd78ac6a561ce7b47f2190f0aa3ea6aa3593e: protobuf: upgrade 3.9.1 -> 3.9.2 (2019-09-24 10:35:46 -0700) are available in the git repository at: git://git.openembedded.org/meta-openembedded-contrib rbt/native http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=rbt/native Robert Yang (8): python-asn1crypto: extend to nativesdk python-incremental: Drop broken nativesdk fuse: Fix installed-vs-shipped for nativesdk keyutils: Fix installed-vs-shipped for nativesdk libnet-ssleay-perl: Drop broken native libnet-dns-sec-perl: Drop broken native iperf3: Drop broken native spice: Drop broken native meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb| 8 +++- meta-networking/recipes-support/spice/spice_git.bb | 3 +-- meta-oe/recipes-benchmark/iperf3/iperf3_3.7.bb | 2 -- meta-oe/recipes-security/keyutils/keyutils_1.6.bb | 12 meta-perl/recipes-perl/libnet/libnet-dns-sec-perl_1.10.bb | 2 -- meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.85.bb | 2 -- meta-python/recipes-devtools/python/python-asn1crypto.inc | 2 +- meta-python/recipes-devtools/python/python-incremental.inc | 2 +- 8 files changed, 22 insertions(+), 11 deletions(-) -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] netcf: Fix do_configure failed when multilib
Fixed do_configure failed: $ bitbake lib32-netcf cp: cannot stat '/path/to/lib32-recipe-sysroot/usr/share/gnulib': No such file or directory Signed-off-by: Robert Yang --- meta-networking/recipes-support/netcf/netcf_0.2.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-support/netcf/netcf_0.2.8.bb b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb index 0f49d60..c57e7d4 100644 --- a/meta-networking/recipes-support/netcf/netcf_0.2.8.bb +++ b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb @@ -16,7 +16,7 @@ UPSTREAM_CHECK_GITTAGREGEX = "release-(?P(\d+(\.\d+)+))" DEPENDS += "augeas libnl libxslt libxml2" -do_configure[depends] += "gnulib:do_populate_sysroot" +do_configure[depends] += "${MLPREFIX}gnulib:do_populate_sysroot" S = "${WORKDIR}/git" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] netcf: Fix Manifest not found issue
Fixed: $ bitbake netcf WARNING: netcf-0.2.8+gitAUTOINC+2c5d425585-r0 do_package: Manifest /path/sstate-control/manifest-x86_64_x86_64-nativesdk-gnulib.packagedata not found in intel_x86_64 corei7-64 core2-64 x86_64 allarch x86_64_x86_64-nativesdk (variant '')? This is because gnulib has no related tasks: do_package[noexec] = "1" do_packagedata[noexec] = "1" deltask package_write_ipk deltask package_write_deb deltask package_write_rpm deltask do_deploy_archives Depends on gnulib:do_populate_sysroot explicitly to fix the problem. Signed-off-by: Robert Yang --- meta-networking/recipes-support/netcf/netcf_0.2.8.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-networking/recipes-support/netcf/netcf_0.2.8.bb b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb index a4a9c91c6..0f49d6060 100644 --- a/meta-networking/recipes-support/netcf/netcf_0.2.8.bb +++ b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb @@ -14,7 +14,9 @@ SRC_URI = "git://pagure.io/netcf.git;protocol=https \ UPSTREAM_CHECK_GITTAGREGEX = "release-(?P(\d+(\.\d+)+))" -DEPENDS += "augeas libnl libxslt libxml2 gnulib" +DEPENDS += "augeas libnl libxslt libxml2" + +do_configure[depends] += "gnulib:do_populate_sysroot" S = "${WORKDIR}/git" -- 2.21.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] librelp: Pass Wno-error to compiler
Thanks, it works for me. // Robert On 7/20/19 1:14 PM, Khem Raj wrote: After autoconf-archive was upgraded to 2019.01.06 it started to add extra warning flags via WARN_CFLAGS along with -Werror which means that now compiler could be stricter and break the build if any of the new warnings are flagged The difference is old WARN_CFLAGS='-fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wunused-parameter -Wmissing-field-initializers' new WARN_CFLAGS='-fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Werror -Wno-suggest-attribute=format -Wunused-parameter -Wmissing-field-initializers' Hence we started seing build failure like https://errors.yoctoproject.org/Errors/Details/252684/ This fix just turns off warnings-as-errors so build can still go on, if we need to fix the warnings they still are present in log.do_compile Signed-off-by: Khem Raj Cc: Oleksandr Kravchuk Cc: Robert Yang --- meta-oe/recipes-extended/rsyslog/librelp_1.4.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-extended/rsyslog/librelp_1.4.0.bb b/meta-oe/recipes-extended/rsyslog/librelp_1.4.0.bb index 9e57dd520d..16c63a7523 100644 --- a/meta-oe/recipes-extended/rsyslog/librelp_1.4.0.bb +++ b/meta-oe/recipes-extended/rsyslog/librelp_1.4.0.bb @@ -14,3 +14,5 @@ SRCREV = "e96443dda3c080fa991decec26bc4ac98d24b9a2" S = "${WORKDIR}/git" inherit autotools pkgconfig + +CPPFLAGS += "-Wno-error" -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH] yaffs2-utils: Set CLEANBROKEN
Fixed make clean error: NOTE: make -e MAKEFLAGS= clean make -C /lib/modules/4.4.0-112-generic/build M= make: *** /lib/modules/4.4.0-112-generic/build: No such file or directory. Stop. make: *** [clean] Error 2 Signed-off-by: Robert Yang --- meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb index 6095e27a7..8628bea0b 100644 --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb @@ -43,3 +43,9 @@ do_install() { } BBCLASSEXTEND = "native" + +# Fixed make clean error: +#make -C /lib/modules/4.4.0-112-generic/build M= +#make: *** /lib/modules/4.4.0-112-generic/build: No such file or directory. Stop. +#make: *** [clean] Error 2 +CLEANBROKEN = "1" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] cyrus-sasl: CLEANBROKEN = "1"
Fixed rebuild error: configure: error: changes in the environment can compromise the build configure: error: run `make distclean' and/or `rm .././config.cache' and start over configure: error: ./configure failed for saslauthd Signed-off-by: Robert Yang --- meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb index 317d238..3391da0 100644 --- a/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb +++ b/meta-networking/recipes-daemons/cyrus-sasl/cyrus-sasl_2.1.26.bb @@ -19,6 +19,8 @@ UPSTREAM_CHECK_REGEX = "cyrus-sasl-(?P(\d+(\.\d+)+))\.tar" inherit autotools-brokensep pkgconfig useradd systemd +CLEANBROKEN = "1" + EXTRA_OECONF += "--with-dblib=berkeley \ --with-bdb-libdir=${STAGING_LIBDIR} \ --with-bdb-incdir=${STAGING_INCDIR} \ -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 2/2] python-pbr.inc: remove it
There is one in oe-ocore, so remove it, and let python-pbr_4.2.0.bb use the one in oe-core. Signed-off-by: Robert Yang --- meta-python/recipes-devtools/python/python-pbr.inc | 14 -- meta-python/recipes-devtools/python/python-pbr_4.2.0.bb | 3 ++- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pbr.inc diff --git a/meta-python/recipes-devtools/python/python-pbr.inc b/meta-python/recipes-devtools/python/python-pbr.inc deleted file mode 100644 index 225d78b..000 --- a/meta-python/recipes-devtools/python/python-pbr.inc +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "Python Build Reasonableness: PBR is a library that injects some useful and sensible default behaviors into your setuptools run" -HOMEPAGE = "https://pypi.python.org/pypi/pbr; -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" - -SRC_URI[md5sum] = "6619780896ca81c7cd19c6e2f439b6c9" -SRC_URI[sha256sum] = "1b8be50d938c9bb75d0eaf7eda111eec1bf6dc88a62a6412e33bf077457e0f45" - -inherit pypi - -RDEPENDS_${PN} += "${PYTHON_PN}-pip" - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb b/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb index 8f7f924..a4b56cd 100644 --- a/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb +++ b/meta-python/recipes-devtools/python/python-pbr_4.2.0.bb @@ -1,2 +1,3 @@ inherit setuptools -require python-pbr.inc +# The inc file is in oe-core +require recipes-devtools/python/python-pbr.inc -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 1/2] python3-pbr: remove it
There is one in oe-core, so remove it. Signed-off-by: Robert Yang --- meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb diff --git a/meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb b/meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb deleted file mode 100644 index 97e7361..000 --- a/meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit setuptools3 -require python-pbr.inc -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-python][PATCH 0/2] python3-pbr: remove it to use the on in oe-core
Please note the second patch which removes python-pbr.inc since it is duplicated to the one in oe-core. There are also other recipes have the similar issues, for example, python-six, there is a python-six.inc in both oe-core and meta-python, but their contents are the same, while oe-core's is for python3, and meta-python's is for python2, I think that we can remove the one in meta-python as I did for python-pbr. I will send patches to cleanup them if no objections. // Robert Robert Yang (2): python3-pbr: remove it python-pbr.inc: remove it meta-python/recipes-devtools/python/python-pbr.inc | 14 -- meta-python/recipes-devtools/python/python-pbr_4.2.0.bb | 3 ++- meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb | 2 -- 3 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pbr.inc delete mode 100644 meta-python/recipes-devtools/python/python3-pbr_4.2.0.bb -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH 2/2] ntop: fix so generation in plugins/Makefile.am
Fixed build with automake 1.16.1: | i586-poky-linux-gcc: error: netflowPlugin.o: No such file or directory | i586-poky-linux-gcc: error: unrecognized command line option '-flat_namespace'; did you mean '-Wnamespaces'? | i586-poky-linux-gcc: fatal error: no input files Signed-off-by: Robert Yang --- ...ugins-Makefile.am-fix-for-automake-1.16.1.patch | 74 ++ meta-networking/recipes-support/ntop/ntop_5.0.1.bb | 1 + 2 files changed, 75 insertions(+) create mode 100644 meta-networking/recipes-support/ntop/ntop/0001-plugins-Makefile.am-fix-for-automake-1.16.1.patch diff --git a/meta-networking/recipes-support/ntop/ntop/0001-plugins-Makefile.am-fix-for-automake-1.16.1.patch b/meta-networking/recipes-support/ntop/ntop/0001-plugins-Makefile.am-fix-for-automake-1.16.1.patch new file mode 100644 index 000..d6f7eb5 --- /dev/null +++ b/meta-networking/recipes-support/ntop/ntop/0001-plugins-Makefile.am-fix-for-automake-1.16.1.patch @@ -0,0 +1,74 @@ +From d22ddc73f00ed056032a635ee8379305ec83bf81 Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Wed, 11 Jul 2018 12:02:50 +0800 +Subject: [PATCH] plugins/Makefile.am: fix for automake 1.16.1 + +Fixed: +| i586-poky-linux-gcc: error: netflowPlugin.o: No such file or directory +| i586-poky-linux-gcc: error: unrecognized command line option '-flat_namespace'; did you mean '-Wnamespaces'? +| i586-poky-linux-gcc: fatal error: no input files + +The previous code make things complicated, but we don't have to, let libtool do +most of the things can fix the problem. + +Upstream-Status: Pending [ntop is not longer maintained any more, we need consider moving to ntopng] + +Signed-off-by: Robert Yang +--- + plugins/Makefile.am | 34 ++ + 1 file changed, 6 insertions(+), 28 deletions(-) + +diff --git a/plugins/Makefile.am b/plugins/Makefile.am +index 64492e0..bcd0c10 100644 +--- a/plugins/Makefile.am b/plugins/Makefile.am +@@ -69,40 +69,18 @@ libsflowPlugin_la_CFLAGS = $(AM_CFLAGS) + # by default ntop looks for plugins in the plugins/ subdirectory + # + +- +-.libs/libnetflowPlugin.so@SO_VERSION_PATCH@: +- @if test -f libnetflowPlugin_la-netflowPlugin.o; then \ +- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libnetflowPlugin.so@SO_VERSION_PATCH@ libnetflowPlugin_la-netflowPlugin.o; \ +- else \ +- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libnetflowPlugin.so@SO_VERSION_PATCH@ netflowPlugin.o; \ +- fi +- +-netflowPlugin.so$(EXEEXT): .libs/libnetflowPlugin.so@SO_VERSION_PATCH@ +- @$(LN_S) .libs/libnetflowPlugin.so netflowPlugin.so ++netflowPlugin.so$(EXEEXT): libnetflowPlugin.la ++ @$(LN_S) -f .libs/libnetflowPlugin.so netflowPlugin.so + + ### + +-.libs/librrdPlugin.so@SO_VERSION_PATCH@: +- @if test -f librrdPlugin_la-rrdPlugin.o; then \ +- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/librrdPlugin.so@SO_VERSION_PATCH@ librrdPlugin_la-rrdPlugin.o; \ +- else \ +- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/librrdPlugin.so@SO_VERSION_PATCH@ rrdPlugin.o; \ +- fi +- +-rrdPlugin.so$(EXEEXT): .libs/librrdPlugin.so@SO_VERSION_PATCH@ +- @$(LN_S) .libs/librrdPlugin.so rrdPlugin.so ++rrdPlugin.so$(EXEEXT): librrdPlugin.la ++ @$(LN_S) -f .libs/librrdPlugin.so rrdPlugin.so + + ### + +-.libs/libsflowPlugin.so@SO_VERSION_PATCH@: +- @if test -f libsflowPlugin_la-sflowPlugin.o; then \ +- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libsflowPlugin.so@SO_VERSION_PATCH@ libsflowPlugin_la-sflowPlugin.o; \ +- else \ +- $(CC) @MAKE_SHARED_LIBRARY_PARM@ -o .libs/libsflowPlugin.so@SO_VERSION_PATCH@ sflowPlugin.o; \ +- fi +- +-sflowPlugin.so$(EXEEXT): .libs/libsflowPlugin.so@SO_VERSION_PATCH@ +- @$(LN_S) .libs/libsflowPlugin.so sflowPlugin.so ++sflowPlugin.so$(EXEEXT): libsflowPlugin.la ++ @$(LN_S) -f .libs/libsflowPlugin.so sflowPlugin.so + + ### + +-- +2.7.4 + diff --git a/meta-networking/recipes-support/ntop/ntop_5.0.1.bb b/meta-networking/recipes-support/ntop/ntop_5.0.1.bb index 4e0dd1e..2a7a7f2 100644 --- a/meta-networking/recipes-support/ntop/ntop_5.0.1.bb +++ b/meta-networking/recipes-support/ntop/ntop_5.0.1.bb @@ -17,6 +17,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/ntop/ntop-${PV}.tar.gz \ file://ntop.service \ file://use-static-inline.patch \ file://0001-nDPI-Include-sys-types.h.patch \ + file://0001-plugins-Makefile.am-fix-for-automake-1.16.1.patch \ " SRC_URI[md5sum] = "01710b6925a8a5ffe1a41b8b512ebd69" SRC_URI[sha256sum] = "7e8e84cb14d2173beaca4d4cb991a14d84a4bef84ec37b2276bc363f45c52ef8" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH 1/2] sblim-sfcb: fix sfcbinst2mof_DEPENDENCIES in Makefile.am
Fixed build with automake 1.16.1: /path/to/i586-poky-linux/8.1.0/ld: cannot find -lsfcBrokerCore collect2: error: ld returned 1 exit status Signed-off-by: Robert Yang --- .../sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch| 31 ++ .../sblim-sfcb/sblim-sfcb_1.4.9.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch new file mode 100644 index 000..7279d84 --- /dev/null +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb-1.4.9/sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch @@ -0,0 +1,31 @@ +From ad6ca4f392bf549239b1ed3b2b372070eb127e7f Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Wed, 11 Jul 2018 11:06:04 +0800 +Subject: [PATCH] Makefile.am: fix sfcbinst2mof_DEPENDENCIES + +Fixed build with automake 1.16.1: +/path/to/i586-poky-linux/8.1.0/ld: cannot find -lsfcBrokerCore +collect2: error: ld returned 1 exit status + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile.am b/Makefile.am +index 34ac319..47deed7 100644 +--- a/Makefile.am b/Makefile.am +@@ -360,6 +360,7 @@ sfcbproc_SOURCES=sfcbproc.c + + sfcbinst2mof_SOURCES=sfcbinst2mof.c + sfcbinst2mof_LDADD = -lsfcFileRepository -lsfcBrokerCore ++sfcbinst2mof_DEPENDENCIES = libsfcBrokerCore.la libsfcFileRepository.la + + sfcbtrace_SOURCES=sfcbtrace.c + sfcbtrace_LDADD = -lsfcBrokerCore +-- +2.7.4 + diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb index 10ffaaa..ffbe7ea 100644 --- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb +++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb @@ -25,6 +25,7 @@ SRC_URI = "http://downloads.sourceforge.net/sblim/${BP}.tar.bz2 \ file://sblim-sfcb-1.4.9-fix-ftbfs.patch \ file://0001-include-stdint.h-system-header-for-UINT16_MAX.patch \ file://0001-Replace-need-for-error.h-when-it-does-not-exist.patch \ + file://sblim-sfcb-1.4.9-fix-sfcbinst2mof.patch \ " SRC_URI[md5sum] = "28021cdabc73690a94f4f9d57254ce30" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] gd: Replace strncpy with memccpy to fix -Wstringop-truncation.
Hi Khem, On 06/20/2018 10:34 AM, Robert Yang wrote: On 06/20/2018 10:28 AM, Khem Raj wrote: On Tue, Jun 19, 2018 at 7:14 PM Robert Yang wrote: Fixed: git/src/gdft.c:1699:2: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] Signed-off-by: Robert Yang --- ...gdft.c-Replace-strncpy-with-memccpy-to-fi.patch | 46 ++ meta-oe/recipes-support/gd/gd_2.2.5.bb | 1 + 2 files changed, 47 insertions(+) create mode 100644 meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch diff --git a/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch b/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch new file mode 100644 index 000..b175c44 --- /dev/null +++ b/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch @@ -0,0 +1,46 @@ +From 85c7694a5cf34597909bdd1ca6931b0f99904c2e Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 19 Jun 2018 00:40:49 -0700 +Subject: [PATCH] annotate.c/gdft.c: Replace strncpy with memccpy to fix + -Wstringop-truncation. + +Fixed: +git/src/gdft.c:1699:2: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] + +Upstream-Status: Pending + could you also post this patch upstream and start a discussion? Thanks, I will do it today. I sent it to upstream and sent a V2: https://github.com/libgd/libgd/pull/442 // Robert // Robert +Signed-off-by: Robert Yang +--- + src/annotate.c | 2 +- + src/gdft.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/annotate.c b/src/annotate.c +index 00aaf49..17df813 100644 +--- a/src/annotate.c b/src/annotate.c +@@ -104,7 +104,7 @@ int main(int argc, char *argv[]) + fprintf(stderr, "Font maximum length is 1024, %d given\n", font_len); + goto badLine; + } +- strncpy(font, st, font_len); ++ memcpy(font, st, font_len); + } + } else if(!strcmp(st, "align")) { + char *st = strtok(0, " \t\r\n"); +diff --git a/src/gdft.c b/src/gdft.c +index 9fa8295..81dbe41 100644 +--- a/src/gdft.c b/src/gdft.c +@@ -1696,7 +1696,7 @@ static char * font_path(char **fontpath, char *name_list) + gdFree(path); + return "could not alloc full list of fonts"; + } +- strncpy(fontlist, name_list, name_list_len); ++ memcpy(fontlist, name_list, name_list_len); + fontlist[name_list_len] = 0; + + /* +-- +2.10.2 + diff --git a/meta-oe/recipes-support/gd/gd_2.2.5.bb b/meta-oe/recipes-support/gd/gd_2.2.5.bb index 63d9acf..62d0df0 100644 --- a/meta-oe/recipes-support/gd/gd_2.2.5.bb +++ b/meta-oe/recipes-support/gd/gd_2.2.5.bb @@ -14,6 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=07384b3aa2e0d39afca0d6c40286f545" DEPENDS = "freetype libpng jpeg zlib tiff" SRC_URI = "git://github.com/libgd/libgd.git;branch=GD-2.2 \ + file://0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch \ " SRCREV = "8255231b68889597d04d451a72438ab92a405aba" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH][V2] gd: Replace strncpy with memccpy to fix -Wstringop-truncation.
Fixed for gcc8: git/src/gdft.c:1699:2: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] Signed-off-by: Robert Yang --- ...gdft.c-Replace-strncpy-with-memccpy-to-fi.patch | 46 ++ meta-oe/recipes-support/gd/gd_2.2.5.bb | 1 + 2 files changed, 47 insertions(+) create mode 100644 meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch diff --git a/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch b/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch new file mode 100644 index 000..c377b37 --- /dev/null +++ b/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch @@ -0,0 +1,46 @@ +From 85c7694a5cf34597909bdd1ca6931b0f99904c2e Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 19 Jun 2018 00:40:49 -0700 +Subject: [PATCH] annotate.c/gdft.c: Replace strncpy with memccpy to fix + -Wstringop-truncation. + +Fixed for gcc8: +git/src/gdft.c:1699:2: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] + +Upstream-Status: Submitted [https://github.com/libgd/libgd/pull/442] + +Signed-off-by: Robert Yang +--- + src/annotate.c | 2 +- + src/gdft.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/annotate.c b/src/annotate.c +index 00aaf49..17df813 100644 +--- a/src/annotate.c b/src/annotate.c +@@ -104,7 +104,7 @@ int main(int argc, char *argv[]) + fprintf(stderr, "Font maximum length is 1024, %d given\n", font_len); + goto badLine; + } +- strncpy(font, st, font_len); ++ memcpy(font, st, font_len); + } + } else if(!strcmp(st, "align")) { + char *st = strtok(0, " \t\r\n"); +diff --git a/src/gdft.c b/src/gdft.c +index 9fa8295..81dbe41 100644 +--- a/src/gdft.c b/src/gdft.c +@@ -1696,7 +1696,7 @@ static char * font_path(char **fontpath, char *name_list) + gdFree(path); + return "could not alloc full list of fonts"; + } +- strncpy(fontlist, name_list, name_list_len); ++ memcpy(fontlist, name_list, name_list_len); + fontlist[name_list_len] = 0; + + /* +-- +2.10.2 + diff --git a/meta-oe/recipes-support/gd/gd_2.2.5.bb b/meta-oe/recipes-support/gd/gd_2.2.5.bb index 63d9acf..62d0df0 100644 --- a/meta-oe/recipes-support/gd/gd_2.2.5.bb +++ b/meta-oe/recipes-support/gd/gd_2.2.5.bb @@ -14,6 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=07384b3aa2e0d39afca0d6c40286f545" DEPENDS = "freetype libpng jpeg zlib tiff" SRC_URI = "git://github.com/libgd/libgd.git;branch=GD-2.2 \ + file://0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch \ " SRCREV = "8255231b68889597d04d451a72438ab92a405aba" -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] gd: Replace strncpy with memccpy to fix -Wstringop-truncation.
On 06/20/2018 10:28 AM, Khem Raj wrote: On Tue, Jun 19, 2018 at 7:14 PM Robert Yang wrote: Fixed: git/src/gdft.c:1699:2: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] Signed-off-by: Robert Yang --- ...gdft.c-Replace-strncpy-with-memccpy-to-fi.patch | 46 ++ meta-oe/recipes-support/gd/gd_2.2.5.bb | 1 + 2 files changed, 47 insertions(+) create mode 100644 meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch diff --git a/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch b/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch new file mode 100644 index 000..b175c44 --- /dev/null +++ b/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch @@ -0,0 +1,46 @@ +From 85c7694a5cf34597909bdd1ca6931b0f99904c2e Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 19 Jun 2018 00:40:49 -0700 +Subject: [PATCH] annotate.c/gdft.c: Replace strncpy with memccpy to fix + -Wstringop-truncation. + +Fixed: +git/src/gdft.c:1699:2: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] + +Upstream-Status: Pending + could you also post this patch upstream and start a discussion? Thanks, I will do it today. // Robert +Signed-off-by: Robert Yang +--- + src/annotate.c | 2 +- + src/gdft.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/annotate.c b/src/annotate.c +index 00aaf49..17df813 100644 +--- a/src/annotate.c b/src/annotate.c +@@ -104,7 +104,7 @@ int main(int argc, char *argv[]) + fprintf(stderr, "Font maximum length is 1024, %d given\n", font_len); + goto badLine; + } +- strncpy(font, st, font_len); ++ memcpy(font, st, font_len); + } + } else if(!strcmp(st, "align")) { + char *st = strtok(0, " \t\r\n"); +diff --git a/src/gdft.c b/src/gdft.c +index 9fa8295..81dbe41 100644 +--- a/src/gdft.c b/src/gdft.c +@@ -1696,7 +1696,7 @@ static char * font_path(char **fontpath, char *name_list) + gdFree(path); + return "could not alloc full list of fonts"; + } +- strncpy(fontlist, name_list, name_list_len); ++ memcpy(fontlist, name_list, name_list_len); + fontlist[name_list_len] = 0; + + /* +-- +2.10.2 + diff --git a/meta-oe/recipes-support/gd/gd_2.2.5.bb b/meta-oe/recipes-support/gd/gd_2.2.5.bb index 63d9acf..62d0df0 100644 --- a/meta-oe/recipes-support/gd/gd_2.2.5.bb +++ b/meta-oe/recipes-support/gd/gd_2.2.5.bb @@ -14,6 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=07384b3aa2e0d39afca0d6c40286f545" DEPENDS = "freetype libpng jpeg zlib tiff" SRC_URI = "git://github.com/libgd/libgd.git;branch=GD-2.2 \ + file://0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch \ " SRCREV = "8255231b68889597d04d451a72438ab92a405aba" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] gd: Replace strncpy with memccpy to fix -Wstringop-truncation.
Fixed: git/src/gdft.c:1699:2: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] Signed-off-by: Robert Yang --- ...gdft.c-Replace-strncpy-with-memccpy-to-fi.patch | 46 ++ meta-oe/recipes-support/gd/gd_2.2.5.bb | 1 + 2 files changed, 47 insertions(+) create mode 100644 meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch diff --git a/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch b/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch new file mode 100644 index 000..b175c44 --- /dev/null +++ b/meta-oe/recipes-support/gd/gd/0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch @@ -0,0 +1,46 @@ +From 85c7694a5cf34597909bdd1ca6931b0f99904c2e Mon Sep 17 00:00:00 2001 +From: Robert Yang +Date: Tue, 19 Jun 2018 00:40:49 -0700 +Subject: [PATCH] annotate.c/gdft.c: Replace strncpy with memccpy to fix + -Wstringop-truncation. + +Fixed: +git/src/gdft.c:1699:2: error: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation] + +Upstream-Status: Pending + +Signed-off-by: Robert Yang +--- + src/annotate.c | 2 +- + src/gdft.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/annotate.c b/src/annotate.c +index 00aaf49..17df813 100644 +--- a/src/annotate.c b/src/annotate.c +@@ -104,7 +104,7 @@ int main(int argc, char *argv[]) + fprintf(stderr, "Font maximum length is 1024, %d given\n", font_len); + goto badLine; + } +- strncpy(font, st, font_len); ++ memcpy(font, st, font_len); + } + } else if(!strcmp(st, "align")) { + char *st = strtok(0, " \t\r\n"); +diff --git a/src/gdft.c b/src/gdft.c +index 9fa8295..81dbe41 100644 +--- a/src/gdft.c b/src/gdft.c +@@ -1696,7 +1696,7 @@ static char * font_path(char **fontpath, char *name_list) + gdFree(path); + return "could not alloc full list of fonts"; + } +- strncpy(fontlist, name_list, name_list_len); ++ memcpy(fontlist, name_list, name_list_len); + fontlist[name_list_len] = 0; + + /* +-- +2.10.2 + diff --git a/meta-oe/recipes-support/gd/gd_2.2.5.bb b/meta-oe/recipes-support/gd/gd_2.2.5.bb index 63d9acf..62d0df0 100644 --- a/meta-oe/recipes-support/gd/gd_2.2.5.bb +++ b/meta-oe/recipes-support/gd/gd_2.2.5.bb @@ -14,6 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=07384b3aa2e0d39afca0d6c40286f545" DEPENDS = "freetype libpng jpeg zlib tiff" SRC_URI = "git://github.com/libgd/libgd.git;branch=GD-2.2 \ + file://0001-annotate.c-gdft.c-Replace-strncpy-with-memccpy-to-fi.patch \ " SRCREV = "8255231b68889597d04d451a72438ab92a405aba" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-java][PATCH 2/2] openjdk-8: combine the -dbg package
Hi Richard, On 06/08/2018 06:07 PM, Richard Leitner wrote: On 06/08/2018 11:02 AM, Wenlin Kang wrote: On 2018年06月08日 15:39, Richard Leitner wrote: Hi, thank you for you patch! On 06/07/2018 11:24 AM, Wenlin Kang wrote: One recipe should only have one -dbg package, because OE only picks up all .debug file into the last one -dbg package listed in variable PACKAGES. Why should one recipe, altough it conains multiple packages have only one dbg package? Shouldn't the openjdk-8-demo-dbg package contain the debug information for the openjdk-8-demo package? This may be OE's policy, if one recipe contain multiple -dbg package , other -dbg packages all will be a empty pacakge, only have one will contain all .debug file, you can see the source "meta/classes/package.bbclass" But obviously the demo-dbg package isn't empty because it has its "FILES" defined ;-) 1129 python populate_packages () { 1130 import glob, re 1156 for pkg in packages.split(): 1157 if pkg in package_list: 1158 msg = "%s is listed in PACKAGES multiple times, this leads to packaging errors." % pkg 1159 package_qa_handle_error("packages-list", msg, d) 1160 # If debug-with-srcpkg mode is enabled then the src package will have 1161 # priority over dbg package when assigning the files. 1162 # This allows src package to include source files and remove them from dbg. 1163 elif split_source_package and pkg.endswith("-src"): 1164 package_list.insert(0, pkg) 1165 elif autodebug and pkg.endswith("-dbg") and not split_source_package: <== 1166 package_list.insert(0, pkg) 1167 else: 1168 package_list.append(pkg) 1169 d.setVar('PACKAGES', ' '.join(package_list)) 1170 pkgdest = d.getVar('PKGDEST') ... 1177 debug = [] 1178 for root, dirs, files in cpath.walk(dvar): 1179 dir = root[len(dvar):] 1180 if not dir: 1181 dir = os.sep 1182 for f in (files + dirs): 1183 path = "." + os.path.join(dir, f) 1184 if "/.debug/" in path or path.endswith("/.debug"): <== 1185 debug.append(path) 1186 Nonehteless according to my first quick test the demo-dbg package contains lots of other debug information too... So maybe it would be the better way to fix the content of the different dbg packages rather than removing one? I also thought this, but after discussing with the other guys, the result is a recipe can only have a -dbg package, and this is OE's policy. Do you have a pointer to this discussion (or if it exists to the according documentation) for us? For oe-core's recipes, each recipe only has one dbg package, split dbg packages doesn't make any sense since they usually can't be run independently. Please see oe-core's commit: commit a3b000643898d7402b9e57c02e8d10e677cc9722 Author: Ross Burton Date: Tue Dec 15 16:32:43 2015 + meta: more removals of redunant FILES_${PN}-dbg In some recipes overly-split -dbg packages were merged into PN-dbg. Unless there's a very good reason, recipes should have a single -dev and -dbg package. // Robert // Robert Thanks & regards;Richard.L -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] xorg: Replace depreciated *proto depends with xorgproto
The oe-core commit 9d236bd40ef8598c78c1ea807d658467700505e2 has removed *proto, we also need to do so in meta-openembedded. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-oe/recipes-graphics/xorg-driver/xf86-video-ati_7.8.0.bb | 4 ++-- meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_1.6.5.bb | 2 +- meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.4.2.bb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-ati_7.8.0.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-ati_7.8.0.bb index d409a18..fb81e53 100644 --- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-ati_7.8.0.bb +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-ati_7.8.0.bb @@ -6,8 +6,8 @@ SUMMARY = "X.Org X server -- ATI Radeon video driver" DESCRIPTION = "Open-source X.org graphics driver for ATI Radeon graphics" -DEPENDS += "virtual/libx11 libxvmc drm xf86driproto glproto \ -virtual/libgl xineramaproto libpciaccess" +DEPENDS += "virtual/libx11 libxvmc drm \ +virtual/libgl xorgproto libpciaccess" inherit distro_features_check REQUIRED_DISTRO_FEATURES += "opengl" diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_1.6.5.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_1.6.5.bb index cd68059..182e18f 100644 --- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_1.6.5.bb +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_1.6.5.bb @@ -16,6 +16,6 @@ SRC_URI[md5sum] = "3ee2549247e01de3e7bce52c27483118" SRC_URI[sha256sum] = "b663cd8e6364f7c4e2637b9fcab9861d0e3971518c73b00d213f6545a1289422" PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}" -PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,drm xf86driproto,xserver-xorg-extension-dri" +PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,drm xorgproto,xserver-xorg-extension-dri" RDEPENDS_${PN} = "xserver-xorg-module-exa" diff --git a/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.4.2.bb b/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.4.2.bb index 96bdf0e..f683f53 100644 --- a/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.4.2.bb +++ b/meta-xfce/recipes-panel-plugins/clipman/xfce4-clipman-plugin_1.4.2.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" inherit xfce-panel-plugin -DEPENDS += "xfconf xproto libxtst" +DEPENDS += "xfconf xorgproto libxtst" SRC_URI[md5sum] = "9169140af7c9d3fddd8a5c9e0efb5a61" SRC_URI[sha256sum] = "cf2b45e327e67cc187dcb99a6ef6d95570463045accd24540e17172f005189b3" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-networking][PATCH] waf-samba.bbclass: No longer inherit waf.bbclass
On 02/12/2018 05:51 AM, Joshua Watt wrote: waf-samba.bbclass uses waf in a very different way than the "standard" method that waf.bbclass targets and ends getting very little useful functionality from that class. Signed-off-by: Joshua Watt--- meta-networking/classes/waf-samba.bbclass | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/meta-networking/classes/waf-samba.bbclass b/meta-networking/classes/waf-samba.bbclass index e49017624..4b1499fd4 100644 --- a/meta-networking/classes/waf-samba.bbclass +++ b/meta-networking/classes/waf-samba.bbclass @@ -1,7 +1,7 @@ # waf is a build system which is used by samba related project. # Obtain details from https://wiki.samba.org/index.php/Waf -# -inherit qemu pythonnative waf +# +inherit qemu pythonnative DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python" @@ -21,6 +21,31 @@ CONFIGUREOPTS = " --prefix=${prefix} \ ${PACKAGECONFIG_CONFARGS} \ " +# avoids build breaks when using no-static-libs.inc +DISABLE_STATIC = "" + +def get_waf_parallel_make(d): +pm = d.getVar('PARALLEL_MAKE') +if pm: +# look for '-j' and throw other options (e.g. '-l') away +# because they might have different meaning in bjam +pm = pm.split() +while pm: +v = None +opt = pm.pop(0) +if opt == '-j': +v = pm.pop(0) +elif opt.startswith('-j'): +v = opt[2:].strip() +else: +v = None The "else:" block isn't needed ? The first line already set v to None. // Robert + +if v: +v = min(64, int(v)) +return '-j' + str(v) + +return "" + # Three methods for waf cross compile: # 1. answers: #Only --cross-answers - try the cross-answers file, and if -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking][PATCH] drbd-utils: remove 0001-drbd-8.4.4-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch
It is already in the source, fixed do_patch failure: Patch 0001-drbd-8.4.4-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch is already applied; check your series file ERROR: drbd-utils-8.9.6-r0 do_patch: Function failed: patch_do_patch Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- ...drbd-tools-only-rmmod-if-DRBD-is-a-module.patch | 39 -- .../recipes-support/drbd/drbd-utils_8.9.6.bb | 1 - 2 files changed, 40 deletions(-) delete mode 100644 meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-8.4.4-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch diff --git a/meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-8.4.4-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch b/meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-8.4.4-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch deleted file mode 100644 index add0b030c..0 --- a/meta-networking/recipes-support/drbd/drbd-utils/0001-drbd-8.4.4-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch +++ /dev/null @@ -1,39 +0,0 @@ -Subject: drbd-tools: only rmmod if DRBD is a module - -Account for the case if the DRBD drive is built into -the kernel. Otherwise, errors, like the following, -will occur: - -root@localhost:~# /etc/init.d/drbd stop -Stopping all DRBD resources: ERROR: Module drbd does not exist in -/proc/modules - -Signed-off-by: Aws Ismail <aws.ism...@windriver.com> -Signed-off-by: Jason Wessel <jason.wes...@windriver.com> - -[ refresh to 8.4.4: squash Aws' and Jason's patches ] -Signed-off-by: Michel Thebeau <michel.theb...@windriver.com> - -Signed-off-by: Chen Qi <qi.c...@windriver.com> - scripts/drbd | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/scripts/drbd b/scripts/drbd -index 20bf628..de589dc 100755 a/scripts/drbd -+++ b/scripts/drbd -@@ -241,7 +241,9 @@ case "$1" in - if [ -d /sys/module/drbd/holders ]; then - (cd /sys/module/drbd/holders; for tr in *; do [ -d ${tr} ] && ${RMMOD} ${tr}; done) - fi -- $RMMOD drbd && break -+ if [ ! -z "$(cat /proc/modules | grep -w drbd)" ]; then -+ $RMMOD drbd && break -+ fi - fi - done - run_hook stop --- -1.9.1 - diff --git a/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb b/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb index 5979fbb58..5f6c43f7e 100644 --- a/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb +++ b/meta-networking/recipes-support/drbd/drbd-utils_8.9.6.bb @@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018" SRC_URI = "http://oss.linbit.com/drbd/${BP}.tar.gz \ file://0001-Makefile.in-fix-permission-bits-for-drbd.service.patch \ - file://0001-drbd-8.4.4-drbd-tools-only-rmmod-if-DRBD-is-a-module.patch \ " SRC_URI[md5sum] = "76ed6d3190cd77b00890f3365353124b" SRC_URI[sha256sum] = "297b77c9b3f88de2e7dae459234f2753ea4fc2805282b2d276e35cf51e292913" -- 2.11.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] glibmm: fix perl path
Fixed: ERROR: QA Issue: /usr/lib/glibmm-2.4/proc/gmmproc contained in package glibmm-dev requires /path/to/tmp/hosttools/perl, but no providers found in RDEPENDS_glibmm-dev? [file-rdeps] Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-oe/recipes-core/glib-2.0/glibmm_2.50.1.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta-oe/recipes-core/glib-2.0/glibmm_2.50.1.bb b/meta-oe/recipes-core/glib-2.0/glibmm_2.50.1.bb index 401b3b2..9cc558f 100644 --- a/meta-oe/recipes-core/glib-2.0/glibmm_2.50.1.bb +++ b/meta-oe/recipes-core/glib-2.0/glibmm_2.50.1.bb @@ -23,6 +23,10 @@ do_install_append() { install -m 0644 glib/glibmmconfig.h ${D}${datadir}/glibmm-2.4/ install -m 0644 scripts/glibmm_check_perl.m4 ${D}${datadir}/aclocal/ || true + +for i in generate_wrap_init.pl gmmproc; do +sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/glibmm-2.4/proc/$i +done } FILES_${PN} = "${libdir}/lib*.so.*" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-filesystems][PATCH] fuse: fix SRC_URI
On 06/16/2017 04:13 PM, Martin Jansa wrote: It's already in master for last 2 days: http://git.openembedded.org/meta-openembedded/commit/?id=d3dd8bc3721f3958eb7ddeb026f7221d48daa986 Sorry, I didn't see that before I sent the patch. // Robert On Fri, Jun 16, 2017 at 4:04 AM, Robert Yang <liezhi.y...@windriver.com <mailto:liezhi.y...@windriver.com>> wrote: ${P} -> ${BP}, otherwise it would fail when multilib. Signed-off-by: Robert Yang <liezhi.y...@windriver.com <mailto:liezhi.y...@windriver.com>> --- meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb <http://fuse_2.9.7.bb> | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb <http://fuse_2.9.7.bb> b/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb <http://fuse_2.9.7.bb> index e66f3cd..87292fe 100644 --- a/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb <http://fuse_2.9.7.bb> +++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb <http://fuse_2.9.7.bb> @@ -10,7 +10,7 @@ LICENSE = "GPLv2 & LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.gz <https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.gz> \ +SRC_URI = "https://github.com/libfuse/libfuse/releases/download/${BP}/${BP}.tar.gz <https://github.com/libfuse/libfuse/releases/download/${BP}/${BP}.tar.gz> \ file://gold-unversioned-symbol.patch \ file://aarch64.patch \ file://0001-fuse-fix-the-return-value-of-help-option.patch \ -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org <mailto:Openembedded-devel@lists.openembedded.org> http://lists.openembedded.org/mailman/listinfo/openembedded-devel <http://lists.openembedded.org/mailman/listinfo/openembedded-devel> -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-filesystems][PATCH] fuse: fix SRC_URI
${P} -> ${BP}, otherwise it would fail when multilib. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb b/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb index e66f3cd..87292fe 100644 --- a/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb +++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb @@ -10,7 +10,7 @@ LICENSE = "GPLv2 & LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" -SRC_URI = "https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.gz \ +SRC_URI = "https://github.com/libfuse/libfuse/releases/download/${BP}/${BP}.tar.gz \ file://gold-unversioned-symbol.patch \ file://aarch64.patch \ file://0001-fuse-fix-the-return-value-of-help-option.patch \ -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-networking][PATCH v3] wireguard: add WireGuard kernel module and tools
On 05/19/2017 02:26 AM, Stefan Agner wrote: On 2017-05-18 11:19, Joe MacDonald wrote: [Re: [oe] [meta-networking][PATCH v3] wireguard: add WireGuard kernel module and tools] On 17.05.18 (Thu 10:55) Stefan Agner wrote: On 2017-05-18 00:29, Robert Yang wrote: Hi Stefan, On 04/27/2017 01:30 PM, Stefan Agner wrote: WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding the massive headache. The recipes add the current experimental snapshot v0.0.20170421 out-of-tree kernel module and tools. The kernel module has some kernel configuration dependencies such as some configuration part of features/netfilter/netfilter.scc, hence netfilter.scc should be part of KERNEL_EXTRA_FEATURES (which is the case by default). Since wireguard-tools is TUNE_PKGARCH and depends on wireguard-module which is MACHINE_ARCH (like all kernel modules) we need to add this dependency to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS. Signed-off-by: Stefan Agner <ste...@agner.ch> --- Changes since v2: - Upgrade to v0.0.20170421 - Add comment about Linux kernel requirement Changes since v1: - Upgrade to v0.0.20170409 - Add wireguard-tools -> wireguard-module dependency to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS. meta-networking/conf/layer.conf| 4 .../wireguard/wireguard-module_0.0.20170421.bb | 13 +++ .../wireguard/wireguard-tools_0.0.20170421.bb | 27 ++ .../recipes-kernel/wireguard/wireguard.inc | 18 +++ 4 files changed, 62 insertions(+) create mode 100644 meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb create mode 100644 meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20170421.bb create mode 100644 meta-networking/recipes-kernel/wireguard/wireguard.inc diff --git a/meta-networking/conf/layer.conf b/meta-networking/conf/layer.conf index 85ad93b..b5aa159 100644 --- a/meta-networking/conf/layer.conf +++ b/meta-networking/conf/layer.conf @@ -21,3 +21,7 @@ LICENSE_PATH += "${LAYERDIR}/licenses" # Override security flags require conf/distro/include/meta_networking_security_flags.inc + +SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ + wireguard-tools->wireguard-module \ +" diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb b/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb new file mode 100644 index 000..cb21bda --- /dev/null +++ b/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb @@ -0,0 +1,13 @@ +require wireguard.inc + +inherit module + +# This module requires Linux 3.10 higher and several networking related +# configuration options. For exact kernel requirements visit: +# https://www.wireguard.io/install/#kernel-requirements + +EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}" +MAKE_TARGETS = "module" +MODULES_INSTALL_TARGET = "module-install" + +RRECOMMENDS_${PN} = "kernel-module-xt-hashlimit" diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20170421.bb b/meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20170421.bb new file mode 100644 index 000..79d420f --- /dev/null +++ b/meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20170421.bb @@ -0,0 +1,27 @@ +require wireguard.inc + +inherit bash-completion systemd pkgconfig + +DEPENDS = "wireguard-module libmnl" + +do_compile_prepend () { +cd ${S}/tools +} + +do_install () { +cd ${S}/tools +oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \ +SYSTEMDUNITDIR="${systemd_unitdir}" \ +WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \ +WITH_BASHCOMPLETION=yes \ +WITH_WGQUICK=yes \ +install +} + +FILES_${PN} = " \ +${sysconfdir} \ +${systemd_unitdir} \ +${bindir} \ +" + +RDEPENDS_${PN} = "wireguard-module" diff --git a/meta-networking/recipes-kernel/wireguard/wireguard.inc b/meta-networking/recipes-kernel/wireguard/wireguard.inc new file mode 100644 index 000..46a9971 --- /dev/null +++ b/meta-networking/recipes-kernel/wireguard/wireguard.inc @@ -0,0 +1,18 @@ +SUMMARY = "WireGuard is an extremely simple yet fast and modern VPN" +DESCRIPTION="WireGuard is a secure network tunnel, operating at layer 3, \ +implemented as a kernel virtual network interface for Linux, which aims to \ +replace both IPsec for most use cases, as well as popular user space and/or \ +TLS-based solutions like OpenVPN, while being more secure, more performant, \ +and easier to use." +SECTION = "networking" +HOMEPAGE = "https://www.wireguard.io/; +LICENSE = "GPLv2" + +LIC_FILES_CHKSUM = "file://../COPYING;md5=b234ee4d69f5fce4486
Re: [oe] [meta-networking][PATCH v3] wireguard: add WireGuard kernel module and tools
Hi Stefan, On 04/27/2017 01:30 PM, Stefan Agner wrote: WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding the massive headache. The recipes add the current experimental snapshot v0.0.20170421 out-of-tree kernel module and tools. The kernel module has some kernel configuration dependencies such as some configuration part of features/netfilter/netfilter.scc, hence netfilter.scc should be part of KERNEL_EXTRA_FEATURES (which is the case by default). Since wireguard-tools is TUNE_PKGARCH and depends on wireguard-module which is MACHINE_ARCH (like all kernel modules) we need to add this dependency to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS. Signed-off-by: Stefan Agner--- Changes since v2: - Upgrade to v0.0.20170421 - Add comment about Linux kernel requirement Changes since v1: - Upgrade to v0.0.20170409 - Add wireguard-tools -> wireguard-module dependency to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS. meta-networking/conf/layer.conf| 4 .../wireguard/wireguard-module_0.0.20170421.bb | 13 +++ .../wireguard/wireguard-tools_0.0.20170421.bb | 27 ++ .../recipes-kernel/wireguard/wireguard.inc | 18 +++ 4 files changed, 62 insertions(+) create mode 100644 meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb create mode 100644 meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20170421.bb create mode 100644 meta-networking/recipes-kernel/wireguard/wireguard.inc diff --git a/meta-networking/conf/layer.conf b/meta-networking/conf/layer.conf index 85ad93b..b5aa159 100644 --- a/meta-networking/conf/layer.conf +++ b/meta-networking/conf/layer.conf @@ -21,3 +21,7 @@ LICENSE_PATH += "${LAYERDIR}/licenses" # Override security flags require conf/distro/include/meta_networking_security_flags.inc + +SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ + wireguard-tools->wireguard-module \ +" diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb b/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb new file mode 100644 index 000..cb21bda --- /dev/null +++ b/meta-networking/recipes-kernel/wireguard/wireguard-module_0.0.20170421.bb @@ -0,0 +1,13 @@ +require wireguard.inc + +inherit module + +# This module requires Linux 3.10 higher and several networking related +# configuration options. For exact kernel requirements visit: +# https://www.wireguard.io/install/#kernel-requirements + +EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}" +MAKE_TARGETS = "module" +MODULES_INSTALL_TARGET = "module-install" + +RRECOMMENDS_${PN} = "kernel-module-xt-hashlimit" diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20170421.bb b/meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20170421.bb new file mode 100644 index 000..79d420f --- /dev/null +++ b/meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20170421.bb @@ -0,0 +1,27 @@ +require wireguard.inc + +inherit bash-completion systemd pkgconfig + +DEPENDS = "wireguard-module libmnl" + +do_compile_prepend () { +cd ${S}/tools +} + +do_install () { +cd ${S}/tools +oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \ +SYSTEMDUNITDIR="${systemd_unitdir}" \ +WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \ +WITH_BASHCOMPLETION=yes \ +WITH_WGQUICK=yes \ +install +} + +FILES_${PN} = " \ +${sysconfdir} \ +${systemd_unitdir} \ +${bindir} \ +" + +RDEPENDS_${PN} = "wireguard-module" diff --git a/meta-networking/recipes-kernel/wireguard/wireguard.inc b/meta-networking/recipes-kernel/wireguard/wireguard.inc new file mode 100644 index 000..46a9971 --- /dev/null +++ b/meta-networking/recipes-kernel/wireguard/wireguard.inc @@ -0,0 +1,18 @@ +SUMMARY = "WireGuard is an extremely simple yet fast and modern VPN" +DESCRIPTION="WireGuard is a secure network tunnel, operating at layer 3, \ +implemented as a kernel virtual network interface for Linux, which aims to \ +replace both IPsec for most use cases, as well as popular user space and/or \ +TLS-based solutions like OpenVPN, while being more secure, more performant, \ +and easier to use." +SECTION = "networking" +HOMEPAGE = "https://www.wireguard.io/; +LICENSE = "GPLv2" + +LIC_FILES_CHKSUM = "file://../COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${PV}.tar.xz; This SRC_URI is gone, maybe it's just a temp location ? // Robert + +SRC_URI[md5sum] = "8e559f4fd672b15c38a15eb4d88cc84d" +SRC_URI[sha256sum] = "03c82af774224cd171d000ee4a519b5e474cc6842ac04967773cf77b2675" + +S = "${WORKDIR}/WireGuard-${PV}/src/" -- ___ Openembedded-devel mailing list
[oe] [meta-oe] [PATCH] php: remove PNBLACKLIST
It has been fixed since: commit b5bb61163751d93672bdcdfb24dda21398e42657 Author: dengke...@windriver.com <dengke...@windriver.com> Date: Tue Mar 28 04:13:36 2017 -0400 php: fix install failure Also remove it for xdebug since php works now. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-oe/recipes-devtools/php/php_5.6.26.bb| 2 -- meta-oe/recipes-devtools/php/php_7.1.0.bb | 2 -- meta-webserver/recipes-php/xdebug/xdebug_2.5.1.bb | 2 -- 3 files changed, 6 deletions(-) diff --git a/meta-oe/recipes-devtools/php/php_5.6.26.bb b/meta-oe/recipes-devtools/php/php_5.6.26.bb index 30a71f6..ddc7ce3 100644 --- a/meta-oe/recipes-devtools/php/php_5.6.26.bb +++ b/meta-oe/recipes-devtools/php/php_5.6.26.bb @@ -7,5 +7,3 @@ SRC_URI += "file://change-AC_TRY_RUN-to-AC_TRY_LINK.patch \ " SRC_URI[md5sum] = "cb424b705cfb715fc04f499f8a8cf52e" SRC_URI[sha256sum] = "d47aab8083a4284b905777e1b45dd7735adc53be827b29f896684750ac8b6236" - -PNBLACKLIST[php] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/131630/ - the recipe will be removed on 2017-09-01 unless the issue is fixed" diff --git a/meta-oe/recipes-devtools/php/php_7.1.0.bb b/meta-oe/recipes-devtools/php/php_7.1.0.bb index 99075d0..210d91f 100644 --- a/meta-oe/recipes-devtools/php/php_7.1.0.bb +++ b/meta-oe/recipes-devtools/php/php_7.1.0.bb @@ -12,5 +12,3 @@ PACKAGECONFIG[mysql] = "--with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config \ ,mysql5" FILES_${PN}-fpm += "${sysconfdir}/php-fpm.d/www.conf.default" - -PNBLACKLIST[php] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130601/ - the recipe will be removed on 2017-09-01 unless the issue is fixed" diff --git a/meta-webserver/recipes-php/xdebug/xdebug_2.5.1.bb b/meta-webserver/recipes-php/xdebug/xdebug_2.5.1.bb index 651745f..077bdc8 100644 --- a/meta-webserver/recipes-php/xdebug/xdebug_2.5.1.bb +++ b/meta-webserver/recipes-php/xdebug/xdebug_2.5.1.bb @@ -31,5 +31,3 @@ do_install() { FILES_${PN} += "${libdir}/php5/extensions/*/*.so" FILES_${PN}-dbg += "${libdir}/php5/extensions/*/.debug" - -PNBLACKLIST[xdebug] ?= "Depends on blacklisted php - the recipe will be removed on 2017-09-01 unless the issue is fixed" -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [OE-core] devshell not working after pulling latest oe-core changes
On 03/13/2017 03:37 PM, akuster808 wrote: On 03/13/2017 12:19 AM, Richard Purdie wrote: On Mon, 2017-03-13 at 00:09 -0700, akuster808 wrote: tmux split-window "do_terminal" tmux new-window -n "OpenEmbedded Developer Shell" "do_terminal" terminology -T="OpenEmbedded Developer Shell" -e do_terminal gnome-terminal -t "OpenEmbedded Developer Shell" -x do_terminal mate-terminal -t "OpenEmbedded Developer Shell" -x do_terminal konsole --separate --workdir . -p tabtitle="OpenEmbedded Developer Shell" -e do_terminal xfce4-terminal -T "OpenEmbedded Developer Shell" -e "do_terminal" xterm -T "OpenEmbedded Developer Shell" -e do_terminal rxvt -T "OpenEmbedded Developer Shell" -e do_terminal tmux new -d -s devshell -n devshell "do_terminal" screen -D -m I suspect we need a: HOSTTOOLS_NONFATAL += "xterm rxvt tmux screen xfce4-terminal mate- terminal konsole terminology gnome-terminal" That worked to get remove the above errors. please add: HOSTTOOLS_NONFATAL += "dircolors lesspipe" devshell comes up clean. I met the same errors today, I have a patch now, will send it soon. // Robert kind regards, Armin into terminal.bbclass. Cheers, Richard -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 00/13] fix for dependencies issues
Hi Martin, On 02/14/2017 10:02 AM, Martin Jansa wrote: Hi Robert, thanks for update, can you update them also to remove PNBLACKLIST in those recipes which should be fixed by this? I removed PNBLACKLIST for python-pbr. And we can't update for postgresql atm since it requires a patch in oe-core. I will update it after oe-core merges the patch. The python-pbr one looks strange, why should ${PN} rdepend on -native? Does it work in rungime? Doesn't inherit setuptools do better job with this dependency? Sorry, I just found that master has merged a patch on python-pbr to change from DEPENDS to RDEPENDS, so RDEPENDS on a native recipe is wrong. It should be DEPENDS. And the build is OK after change to RDEPENDS, so the patch is not needed any more. Updated in the repo: git://git.openembedded.org/meta-openembedded-contrib rbt/deps http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=rbt/deps Robert Yang (3): postgresql: add gettext-native and tcl-native to DEPENDS udisks: add dbus-glib-native to DEPENDS python-pbr: remove PNBLACKLIST // Robert On Tue, Feb 14, 2017 at 2:51 AM, Robert Yang <liezhi.y...@windriver.com <mailto:liezhi.y...@windriver.com>> wrote: Hi Martin, Thanks, there are 3 patches remaining based on master-next, the postgresql needs another patch in oe-core to fix build with tcl, I will send it to oe-core later. git://git.openembedded.org/meta-openembedded-contrib <http://git.openembedded.org/meta-openembedded-contrib> rbt/deps http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=rbt/deps <http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=rbt/deps> Robert Yang (3): postgresql: add gettext-native and tcl-native to DEPENDS udisks: add dbus-glib-native to DEPENDS python-pbr: add python-setuptools-native to DEPENDS meta-oe/recipes-support/postgresql/postgresql.inc| 5 ++--- meta-oe/recipes-support/udisks/udisks_1.0.5.bb <http://udisks_1.0.5.bb> | 4 +++- meta-python/recipes-devtools/python/python-pbr_1.10.0.bb <http://python-pbr_1.10.0.bb> | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) // Robert On 02/14/2017 01:37 AM, Martin Jansa wrote: On Mon, Feb 13, 2017 at 02:04:14AM -0800, Robert Yang wrote: The following changes since commit 5ecbf9bab404af0de7d0f058d1620f40dae0d2d8: poppler: update to 0.51.0 (2017-01-25 16:00:02 +0100) are available in the git repository at: git://git.openembedded.org/meta-openembedded-contrib <http://git.openembedded.org/meta-openembedded-contrib> rbt/deps http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=rbt/deps <http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=rbt/deps> Please rebase your changes on top of current master-next, because some of them duplicated older changes already on ML (and in master-next) and send the remaining ones (if there are any still needed). Robert Yang (13): dibbler: fix SRC_URI from ${P} to ${BP} postgresql: add gettext-native and tcl-native to DEPENDS udisks: add dbus-glib-native to DEPENDS udisks2: add libxslt-native to DEPENDS xfdesktop: add dbus-glib-native to DEPENDS xfce4-notifyd: add dbus-glib-native to DEPENDS python-pbr: add python-setuptools-native to DEPENDS sthttpd: add base-passwd to DEPENDS nostromo: add base-passwd to DEPENDS openflow: inherit pkgconfig openconnect: add gettext-native to DEPENDS gnome-disk-utility: add dbus-glib-native to DEPENDS libnet-ssleay-perl: fix EXTRALIBS and LDLOADLIBS .../recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb <http://gnome-disk-utility_2.32.0.bb>| 5 - meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb <http://dibbler_1.0.1.bb>| 2 +- meta-networking/recipes-connectivity/openconnect/openconnect_git.bb <http://openconnect_git.bb> | 2 +- meta-networking/recipes-protocols/openflow/openflow.inc | 2 +- meta-oe/recipes-support/postgresql/postgresql.inc | 5 ++--- meta-oe/recipes-support/udisks/udisks2_2.1.7.bb <http://udisks2_2.1.7.bb> | 4 +++- meta-oe/recipes-support/udisks/udisks_1.0.5.bb <http://udisks_1.0.5.bb> | 4 +++- meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb <http://libnet-ssleay-perl_1.65.bb> | 4 ++-- meta-python/recipes-devtools/python/python-pbr_1.1
Re: [oe] [PATCH 00/13] fix for dependencies issues
Hi Martin, Thanks, there are 3 patches remaining based on master-next, the postgresql needs another patch in oe-core to fix build with tcl, I will send it to oe-core later. git://git.openembedded.org/meta-openembedded-contrib rbt/deps http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=rbt/deps Robert Yang (3): postgresql: add gettext-native and tcl-native to DEPENDS udisks: add dbus-glib-native to DEPENDS python-pbr: add python-setuptools-native to DEPENDS meta-oe/recipes-support/postgresql/postgresql.inc| 5 ++--- meta-oe/recipes-support/udisks/udisks_1.0.5.bb | 4 +++- meta-python/recipes-devtools/python/python-pbr_1.10.0.bb | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) // Robert On 02/14/2017 01:37 AM, Martin Jansa wrote: On Mon, Feb 13, 2017 at 02:04:14AM -0800, Robert Yang wrote: The following changes since commit 5ecbf9bab404af0de7d0f058d1620f40dae0d2d8: poppler: update to 0.51.0 (2017-01-25 16:00:02 +0100) are available in the git repository at: git://git.openembedded.org/meta-openembedded-contrib rbt/deps http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=rbt/deps Please rebase your changes on top of current master-next, because some of them duplicated older changes already on ML (and in master-next) and send the remaining ones (if there are any still needed). Robert Yang (13): dibbler: fix SRC_URI from ${P} to ${BP} postgresql: add gettext-native and tcl-native to DEPENDS udisks: add dbus-glib-native to DEPENDS udisks2: add libxslt-native to DEPENDS xfdesktop: add dbus-glib-native to DEPENDS xfce4-notifyd: add dbus-glib-native to DEPENDS python-pbr: add python-setuptools-native to DEPENDS sthttpd: add base-passwd to DEPENDS nostromo: add base-passwd to DEPENDS openflow: inherit pkgconfig openconnect: add gettext-native to DEPENDS gnome-disk-utility: add dbus-glib-native to DEPENDS libnet-ssleay-perl: fix EXTRALIBS and LDLOADLIBS .../recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb| 5 - meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb| 2 +- meta-networking/recipes-connectivity/openconnect/openconnect_git.bb | 2 +- meta-networking/recipes-protocols/openflow/openflow.inc | 2 +- meta-oe/recipes-support/postgresql/postgresql.inc| 5 ++--- meta-oe/recipes-support/udisks/udisks2_2.1.7.bb | 4 +++- meta-oe/recipes-support/udisks/udisks_1.0.5.bb | 4 +++- meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 4 ++-- meta-python/recipes-devtools/python/python-pbr_1.10.0.bb | 1 + meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb | 2 +- meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb | 2 ++ meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.3.4.bb | 4 +++- meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.12.3.bb | 4 +++- 13 files changed, 27 insertions(+), 14 deletions(-) -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 10/13] openflow: inherit pkgconfig
Fixed: configure:4463: error: possibly undefined macro: PKG_CHECK_MODULES If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:4466: error: possibly undefined macro: AC_MSG_WARN Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-networking/recipes-protocols/openflow/openflow.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-protocols/openflow/openflow.inc b/meta-networking/recipes-protocols/openflow/openflow.inc index d309ae1..7019bce 100644 --- a/meta-networking/recipes-protocols/openflow/openflow.inc +++ b/meta-networking/recipes-protocols/openflow/openflow.inc @@ -25,7 +25,7 @@ EXTRA_OECONF += " \ S = "${WORKDIR}/git" -inherit autotools-brokensep +inherit autotools-brokensep pkgconfig do_configure() { ./boot.sh -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 12/13] gnome-disk-utility: add dbus-glib-native to DEPENDS
Fixed: make[3]: dbus-binding-tool: Command not found make[3]: *** [udisks-daemon-glue.h] Error 127 Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- .../recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb| 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb b/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb index dced48d..c167214 100644 --- a/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb +++ b/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb @@ -3,7 +3,10 @@ SUMMARY = "GNOME disk utility" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=e9115d11797a5e6b746b4e9b90194564" -DEPENDS = "glib-2.0 gtk+ libnotify libunique udisks avahi-ui virtual/libx11 libatasmart gnome-doc-utils intltool-native gnome-common-native libgnome-keyring" +DEPENDS = "glib-2.0 gtk+ libnotify libunique udisks avahi-ui \ +virtual/libx11 libatasmart gnome-doc-utils intltool-native \ +gnome-common-native libgnome-keyring dbus-glib-native \ +" PR = "r4" -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 13/13] libnet-ssleay-perl: fix EXTRALIBS and LDLOADLIBS
Fixed: recipe-sysroot-native/usr/bin/i586-wrs-linux/../../libexec/i586-wrs-linux/gcc/i586-wrs-linux/6.3.0/ld: cannot find -lssl -lcrypto -lz collect2: error: ld returned 1 exit status make: *** [blib/arch/auto/Net/SSLeay/SSLeay.so] Error 1 Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb index cfd6f51..4695ae4 100644 --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb +++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb @@ -32,8 +32,8 @@ inherit cpan ptest EXTRA_CPANFLAGS = "LIBS='-L=${STAGING_LIBDIR} -L=${STAGING_BASELIBDIR}' \ INC=-I=${STAGING_INCDIR} \ - 'EXTRALIBS=-lssl -lcrypto -lz' \ - 'LDLOADLIBS=-lssl -lcrypto -lz' \ + 'EXTRALIBS=-L=${STAGING_LIBDIR} -lssl -lcrypto -lz' \ + 'LDLOADLIBS=-L=${STAGING_LIBDIR} -lssl -lcrypto -lz' \ " do_configure_prepend() { -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 11/13] openconnect: add gettext-native to DEPENDS
Fixed: checking for msgfmt... no configure: error: msgfmt could not be found. Try configuring with --disable-nls Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-networking/recipes-connectivity/openconnect/openconnect_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb b/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb index 60e7e6e..3a1f0f3 100644 --- a/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb +++ b/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb @@ -2,7 +2,7 @@ SUMMARY = "Open client for Cisco AnyConnect VPN" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=243b725d71bb5df4a1e5920b344b86ad" -DEPENDS = "vpnc libxml2 krb5" +DEPENDS = "vpnc libxml2 krb5 gettext-native" PACKAGECONFIG ??= "gnutls lz4 libproxy" -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 08/13] sthttpd: add base-passwd to DEPENDS
Fixed: chgrp www-data tmp/work/i586-wrs-linux/sthttpd/2.27.0-r0/image/usr/sbin/makeweb chgrp: invalid group: www-data make[3]: *** [install-exec-hook] Error 1 Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb index efa533a..860c986 100644 --- a/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb +++ b/meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb @@ -4,6 +4,8 @@ HOMEPAGE = "http://opensource.dyc.edu/sthttpd; LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://src/thttpd.c;beginline=1;endline=26;md5=0c5762c2c34dcbe9eb18815516502872" +DEPENDS += "base-passwd" + SRC_URI = "http://opensource.dyc.edu/pub/sthttpd/sthttpd-${PV}.tar.gz \ file://thttpd.service \ file://thttpd.conf \ -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 04/13] udisks2: add libxslt-native to DEPENDS
Fixed: | checking for xsltproc... no | configure: error: xsltproc is needed Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-oe/recipes-support/udisks/udisks2_2.1.7.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/udisks/udisks2_2.1.7.bb b/meta-oe/recipes-support/udisks/udisks2_2.1.7.bb index fbf6701..80216ae 100644 --- a/meta-oe/recipes-support/udisks/udisks2_2.1.7.bb +++ b/meta-oe/recipes-support/udisks/udisks2_2.1.7.bb @@ -3,7 +3,9 @@ LICENSE = "GPLv2+ & LGPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=dd79f6dbbffdbc8e86b086a8f0c0ef43" DEPENDS = "acl libatasmart polkit libgudev dbus-glib glib-2.0 intltool-native gnome-common-native" -DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ +libxslt-native \ +" RDEPENDS_${PN} = "acl" -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 03/13] udisks: add dbus-glib-native to DEPENDS
Fixed: | dbus-binding-tool --prefix=daemon --mode=glib-server --output=daemon-glue.h ../data/org.freedesktop.UDisks.xml | make[2]: dbus-binding-tool: Command not found Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-oe/recipes-support/udisks/udisks_1.0.5.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb index eec6933..9d3716a 100644 --- a/meta-oe/recipes-support/udisks/udisks_1.0.5.bb +++ b/meta-oe/recipes-support/udisks/udisks_1.0.5.bb @@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=73d83aebe7e4b62346afde80e0e94273" DEPENDS = "libatasmart sg3-utils polkit libgudev dbus-glib glib-2.0 intltool-native lvm2" # optional dependencies: device-mapper parted -DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ +dbus-glib-native \ +" SRC_URI = " \ http://hal.freedesktop.org/releases/${BPN}-${PV}.tar.gz;name=${BPN} \ -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 09/13] nostromo: add base-passwd to DEPENDS
Fixed: chown: invalid user: www-data:www-data WARNING: tmp/work/i586-wrs-linux/nostromo/1.9.6-r0/temp/run.do_install.33423:1 exit 1 from 'chown -R www-data:www-data tmp/work/i586-wrs-linux/nostromo/1.9.6-r0/image//var/nostromo' Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb index 5493c12..16f45ce 100644 --- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb +++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb @@ -16,7 +16,7 @@ SRC_URI[sha256sum] = "541494ecfeafec58c0876ccc90cc23b06e0144f6f42029af44c7cdb1f4 TARGET_CC_ARCH += "${LDFLAGS}" -DEPENDS = "openssl groff-native" +DEPENDS = "openssl groff-native base-passwd" inherit update-rc.d -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 06/13] xfce4-notifyd: add dbus-glib-native to DEPENDS
Fixed: configure:16468: checking for dbus-binding-tool configure:16501: result: no Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.3.4.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.3.4.bb b/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.3.4.bb index 6310a17..9602ac8 100644 --- a/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.3.4.bb +++ b/meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.3.4.bb @@ -2,7 +2,9 @@ SUMMARY = "Easily themable notification daemon with transparency effects" HOMEPAGE = "http://goodies.xfce.org/projects/applications/xfce4-notifyd; LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -DEPENDS = "libxfce4util libxfce4ui xfconf gtk+ dbus dbus-glib libnotify" +DEPENDS = "libxfce4util libxfce4ui xfconf gtk+ dbus dbus-glib libnotify \ +dbus-glib-native \ +" inherit xfce-app -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 07/13] python-pbr: add python-setuptools-native to DEPENDS
Fixed: ERROR: python setup.py build execution failed. Traceback (most recent call last): File "setup.py", line 17, in import setuptools ImportError: No module named setuptools Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-python/recipes-devtools/python/python-pbr_1.10.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb index fd35197..3a57b45 100644 --- a/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb +++ b/meta-python/recipes-devtools/python/python-pbr_1.10.0.bb @@ -11,6 +11,7 @@ inherit pypi setuptools DEPENDS_class-target += " \ python-pip \ +python-setuptools-native \ " BBCLASSEXTEND = "native" -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 05/13] xfdesktop: add dbus-glib-native to DEPENDS
Fixed: configure:15214: checking for dbus-binding-tool configure:15245: result: no configure:15254: error: could not find dbus-binding-tool in $PATH. You can run ./configure DBUS_BINDING_TOOL=/path/to/dbus-binding-tool to define a custom location for it. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.12.3.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.12.3.bb b/meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.12.3.bb index e951343..8b8c400 100644 --- a/meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.12.3.bb +++ b/meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.12.3.bb @@ -2,7 +2,9 @@ SUMMARY = "Xfce4 Desktop Manager" SECTION = "x11/base" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -DEPENDS = "glib-2.0 gtk+ libxfce4util libxfce4ui libwnck xfconf dbus-glib thunar garcon exo" +DEPENDS = "glib-2.0 gtk+ libxfce4util libxfce4ui libwnck xfconf dbus-glib \ +thunar garcon exo dbus-glib-native \ +" inherit xfce distro_features_check -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 02/13] postgresql: add gettext-native and tcl-native to DEPENDS
Fixed: | checking for msgfmt... no | configure: error: msgfmt is required for NLS And: | checking for tclsh83... no | configure: error: Tcl shell not found Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-oe/recipes-support/postgresql/postgresql.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-support/postgresql/postgresql.inc b/meta-oe/recipes-support/postgresql/postgresql.inc index f720cbc..0c3af0f 100644 --- a/meta-oe/recipes-support/postgresql/postgresql.inc +++ b/meta-oe/recipes-support/postgresql/postgresql.inc @@ -19,7 +19,7 @@ DESCRIPTION = "\ " HOMEPAGE = "http://www.postgresql.com; LICENSE = "BSD" -DEPENDS = "zlib readline tzcode-native" +DEPENDS = "zlib readline tzcode-native gettext-native" INC_PR = "r0" ARM_INSTRUCTION_SET = "arm" @@ -61,8 +61,7 @@ PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam," PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl," PACKAGECONFIG[python] = "--with-python,--without-python,python,python" PACKAGECONFIG[uuid] = "--with-ossp-uuid,--without-ossp-uuid,ossp-uuid," -# when tcl native package is fixed change WORKDIR to STAGING_BINDIR_CROSS -PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl," +PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native," PACKAGECONFIG[nls] = "--enable-nls,--disable-nls,," PACKAGECONFIG[libxml] = "--with-libxml,--without-libxml,libxml2,libxml2" PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl" -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 01/13] dibbler: fix SRC_URI from ${P} to ${BP}
Otherwise it would fail when multilib. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb b/meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb index a2d46db..1913d3a 100644 --- a/meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb +++ b/meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb @@ -5,7 +5,7 @@ HOMEPAGE = "http://klub.com.pl/dhcpv6; LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=7236695bb6d4461c105d685a8b61c4e3" -SRC_URI = "http://klub.com.pl/dhcpv6/${BPN}/${P}.tar.gz \ +SRC_URI = "http://klub.com.pl/dhcpv6/${BPN}/${BP}.tar.gz \ file://dibbler_fix_getSize_crash.patch \ file://types.patch \ " -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 00/13] fix for dependencies issues
The following changes since commit 5ecbf9bab404af0de7d0f058d1620f40dae0d2d8: poppler: update to 0.51.0 (2017-01-25 16:00:02 +0100) are available in the git repository at: git://git.openembedded.org/meta-openembedded-contrib rbt/deps http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=rbt/deps Robert Yang (13): dibbler: fix SRC_URI from ${P} to ${BP} postgresql: add gettext-native and tcl-native to DEPENDS udisks: add dbus-glib-native to DEPENDS udisks2: add libxslt-native to DEPENDS xfdesktop: add dbus-glib-native to DEPENDS xfce4-notifyd: add dbus-glib-native to DEPENDS python-pbr: add python-setuptools-native to DEPENDS sthttpd: add base-passwd to DEPENDS nostromo: add base-passwd to DEPENDS openflow: inherit pkgconfig openconnect: add gettext-native to DEPENDS gnome-disk-utility: add dbus-glib-native to DEPENDS libnet-ssleay-perl: fix EXTRALIBS and LDLOADLIBS .../recipes-gnome/gnome-disk-utility/gnome-disk-utility_2.32.0.bb| 5 - meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb| 2 +- meta-networking/recipes-connectivity/openconnect/openconnect_git.bb | 2 +- meta-networking/recipes-protocols/openflow/openflow.inc | 2 +- meta-oe/recipes-support/postgresql/postgresql.inc| 5 ++--- meta-oe/recipes-support/udisks/udisks2_2.1.7.bb | 4 +++- meta-oe/recipes-support/udisks/udisks_1.0.5.bb | 4 +++- meta-perl/recipes-perl/libnet/libnet-ssleay-perl_1.65.bb | 4 ++-- meta-python/recipes-devtools/python/python-pbr_1.10.0.bb | 1 + meta-webserver/recipes-httpd/nostromo/nostromo_1.9.6.bb | 2 +- meta-webserver/recipes-httpd/sthttpd/sthttpd_2.27.0.bb | 2 ++ meta-xfce/recipes-apps/xfce4-notifyd/xfce4-notifyd_0.3.4.bb | 4 +++- meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.12.3.bb | 4 +++- 13 files changed, 27 insertions(+), 14 deletions(-) -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-networking] [PATCH] dibbler: fix SRC_URI from ${P} to ${BP}
Otherwise it would fail when multilib. (LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20170120 Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb b/meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb index a2d46db..1913d3a 100644 --- a/meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb +++ b/meta-networking/recipes-connectivity/dibbler/dibbler_1.0.1.bb @@ -5,7 +5,7 @@ HOMEPAGE = "http://klub.com.pl/dhcpv6; LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=7236695bb6d4461c105d685a8b61c4e3" -SRC_URI = "http://klub.com.pl/dhcpv6/${BPN}/${P}.tar.gz \ +SRC_URI = "http://klub.com.pl/dhcpv6/${BPN}/${BP}.tar.gz \ file://dibbler_fix_getSize_crash.patch \ file://types.patch \ " -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-filesystems][PATCH V2] xfsprogs: Fix parallel install and Make dependencies
Hi, I still get errors after applied this patch, we can see that there is no -luuid on command line: ../i586-wrs-linux-libtool --quiet --tag=CC --mode=link i586-wrs-linux-gcc -m32 -march=i586 --sysroot=/buildarea/lyang1/build_rebase/test_qemux86/tmp/sysroots/qemux86 -o xfs_io -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -static-libtool-libs init.o attr.o bmap.o file.o freeze.o fsync.o getrusage.o imap.o link.o mmap.o open.o parent.o pread.o prealloc.o pwrite.o seek.o shutdown.o sync.o truncate.o reflink.o fadvise.o madvise.o mincore.o sendfile.o fiemap.o inject.o resblks.o copy_file_range.o sync_file_range.o readdir.o ../libxcmd/libxcmd.la ../libhandle/libhandle.la -lreadline /buildarea/lyang1/build_rebase/test_qemux86/tmp/work/i586-wrs-linux/xfsprogs/4.8.0-r0/xfsprogs-4.8.0/libxfs/.libs/libxfs.a(xfs_alloc.o): In function `platform_uuid_compare': /buildarea/lyang1/build_rebase/test_qemux86/tmp/work/i586-wrs-linux/xfsprogs/4.8.0-r0/xfsprogs-4.8.0/libxfs/../include/xfs/linux.h:89: undefined reference to `uuid_compare' /buildarea/lyang1/build_rebase/test_qemux86/tmp/work/i586-wrs-linux/xfsprogs/4.8.0-r0/xfsprogs-4.8.0/libxfs/../include/xfs/linux.h:89: undefined reference to `uuid_compare' /buildarea/lyang1/build_rebase/test_qemux86/tmp/work/i586-wrs-linux/xfsprogs/4.8.0-r0/xfsprogs-4.8.0/libxfs/.libs/libxfs.a(xfs_bmap_btree.o): In function `platform_uuid_compare': /buildarea/lyang1/build_rebase/test_qemux86/tmp/work/i586-wrs-linux/xfsprogs/4.8.0-r0/xfsprogs-4.8.0/libxfs/../include/xfs/linux.h:89: undefined reference to `uuid_compare' /buildarea/lyang1/build_rebase/test_qemux86/tmp/work/i586-wrs-linux/xfsprogs/4.8.0-r0/xfsprogs-4.8.0/libxfs/.libs/libxfs.a(xfs_btree.o): In function `platform_uuid_compare': /buildarea/lyang1/build_rebase/test_qemux86/tmp/work/i586-wrs-linux/xfsprogs/4.8.0-r0/xfsprogs-4.8.0/libxfs/../include/xfs/linux.h:89: undefined reference to `uuid_compare' /buildarea/lyang1/build_rebase/test_qemux86/tmp/work/i586-wrs-linux/xfsprogs/4.8.0-r0/xfsprogs-4.8.0/libxfs/../include/xfs/linux.h:89: undefined reference to `uuid_compare' // Robert On 12/18/2016 07:06 AM, Khem Raj wrote: This should fix build issues due to missing dependencies e.g. libuuid in Makefiles. correct libhandle paths Dont do parallel install its broken Signed-off-by: Khem Raj--- Changes from v1 -> v2 - Drop locking toolchain to gcc it compiles fine with clang too .../xfsprogs/files/link_needed_libs.patch | 76 +- .../recipes-utils/xfsprogs/xfsprogs_4.8.0.bb | 6 +- 2 files changed, 79 insertions(+), 3 deletions(-) diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch b/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch index 18b95c1c3..a3c699ce6 100644 --- a/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch +++ b/meta-filesystems/recipes-utils/xfsprogs/files/link_needed_libs.patch @@ -1,3 +1,9 @@ +use libtool to package install. do not use the manual file install as +that'll copy files directly from the .libs/ subdir which might have rpaths +pointing to build area. + +Signed-off-by: Khem Raj + Index: xfsprogs-4.8.0/libxcmd/Makefile === --- xfsprogs-4.8.0.orig/libxcmd/Makefile @@ -37,11 +43,28 @@ Index: xfsprogs-4.8.0/libxfs/Makefile install-headers: $(addsuffix -hdrs, $(PKGHFILES)) +@@ -144,6 +145,7 @@ install-headers: $(addsuffix -hdrs, $(PK + $(Q)$(LN_S) -f $(CURDIR)/$* $(TOPDIR)/include/xfs/$* + + install-dev: install ++ $(INSTALL_LTLIB_DEV) + $(INSTALL) -m 644 $(PKGHFILES) $(PKG_INC_DIR) + + # We need to install the headers before building the dependencies. If we Index: xfsprogs-4.8.0/libxlog/Makefile === --- xfsprogs-4.8.0.orig/libxlog/Makefile +++ xfsprogs-4.8.0/libxlog/Makefile -@@ -19,6 +19,10 @@ default: ltdepend $(LTLIBRARY) +@@ -12,6 +12,8 @@ LT_AGE = 0 + + CFILES = xfs_log_recover.c util.c + ++LTLIBS = $(LIBUUID) $(LIBXFS) ++ + # don't want to link xfs_repair with a debug libxlog. + DEBUG = -DNDEBUG + +@@ -19,6 +21,10 @@ default: ltdepend $(LTLIBRARY) include $(BUILDRULES) @@ -53,3 +76,54 @@ Index: xfsprogs-4.8.0/libxlog/Makefile + $(INSTALL_LTLIB_DEV) -include .ltdep +Index: xfsprogs-4.8.0/include/buildmacros +=== +--- xfsprogs-4.8.0.orig/include/buildmacros xfsprogs-4.8.0/include/buildmacros +@@ -70,18 +70,9 @@ endif + # /usr/lib. + ifeq ($(ENABLE_SHARED),yes) + INSTALL_LTLIB_DEV = \ +- cd $(TOPDIR)/$(LIBNAME)/.libs; \ +- ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ +- ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).lai $(PKG_LIB_DIR); \ +- ../$(INSTALL)
Re: [oe] bitbake dependency question
Hi Robert On 12/13/2016 10:10 AM, Robert Cagle wrote: I'm trying to figure out a reasonable way to specify dependencies on an unknown/virtual set of other recipes. For example, Recipe A: Plugin #1 (installs a plugin spec somewhere in /usr/share) Recipe B: Plugin #2 (same) Recipe C: Plugin #3 (same). Recipe D: Host Application (C based), which needs to be compiled last since it generates C code based on the spec files. I'd rather not hard-code dependencies in Recipe D since the specific set of plugins may be different depending on the specified distribution layer or machine type. I can define a variable in local.conf and use it to define D's dependencies, but that means I'll have to define the set twice: in the distribution layer and in local.conf. Based on what I've read and experimented with, this seems be my only choice (other than restructuring the application). Try something like: In recipeD.bb: PLUGIN_RECIPES ??= "A" (or b, c) DEPENDS = "${PLUGIN_RECIPES} other..." In local.conf: PLUGIN_RECIPES = "A" (or b, c). // Robert I really just wanted to expand a variable in each of A,B,C PLUGIN_RECIPES += "${PN}" And have D declare DEPENDS = "${PLUGIN_RECIPES} other..." But that doesn't seem possible. Am I missing another way? (Python datastore maybe?) Thanks, Bob -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 2/2] lftp: do_configure: fix "Argument list too long"
Fixed when len(TMPDIR) = 410: aclocal: error: cannot open echo [snip]: Argument list too long This is becuase it has a lot of m4 files, use relative path for them can fix the problem. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb b/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb index b0cd399..2878211 100644 --- a/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb +++ b/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb @@ -14,6 +14,8 @@ SRC_URI[sha256sum] = "ce6519831603c19c2cf2e3c10b41d6ddc87a16049b99383e7b9b77fbc7 inherit autotools gettext pkgconfig +acpaths = "-I ./m4" + EXTRA_OECONF += "--with-modules" PACKAGECONFIG ??= "libidn openssl zlib gnutls readline expat" -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 1/2] inetutils: do_configure: fix "Argument list too long"
Fixed when len(TMPDIR) = 410: aclocal: error: cannot open echo [snip]: Argument list too long This is becuase it has a lot of m4 files, use relative path for them can fix the problem. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb index 8db6b74..1a82e01 100644 --- a/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb +++ b/meta-networking/recipes-connectivity/inetutils/inetutils_1.9.4.bb @@ -28,6 +28,8 @@ SRC_URI[sha256sum] = "be8f75eff936b8e41b112462db51adf689715658a1b09e0d6b05d11ec9 inherit autotools gettext update-alternatives texinfo +acpaths = "-I ./m4" + SRC_URI += "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '', 'file://fix-disable-ipv6.patch', d)}" PACKAGECONFIG ??= "ftp uucpd \ -- 2.10.2 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH] lftp: fix PACKAGECONFIG[readline]
The --with-readline means check readline automatically, and will cause build failures when there is /usr/include/readline: ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Use --with-readline=${STAGING_INCDIR}/.. to fix the problem. And also add --with-readline=no when PACKAGECONFIG is not set for readline. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb b/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb index e4a8e49..b0cd399 100644 --- a/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb +++ b/meta-networking/recipes-connectivity/lftp/lftp_4.7.3.bb @@ -21,7 +21,7 @@ PACKAGECONFIG[libidn] = "--with-libidn, --without-libidn, libidn" PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl" PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_INCDIR}/.., --without-zlib, zlib" PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls" -PACKAGECONFIG[readline] = "--with-readline --with-readline-inc=${STAGING_INCDIR} --with-readline-lib=-lreadline, , readline" +PACKAGECONFIG[readline] = "--with-readline=${STAGING_INCDIR}/.. --with-readline-inc=${STAGING_INCDIR} --with-readline-lib=-lreadline, --with-readline=no, readline" PACKAGECONFIG[expat] = "--with-expat=${STAGING_INCDIR}/.. --with-expat-inc=${STAGING_INCDIR} --with-expat-lib=-lexpat, , expat" FILES_${PN}-dbg += "${libdir}/lftp/${PV}/.debug" -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH] sdparm: 1.09 -> 1.10
Missing [meta-oe] in subject line, see: propriate prefix so that it is clear which layer the patch is intended to be applied to: // Robert On 10/25/2016 12:47 PM, Dengke Du wrote: Signed-off-by: Dengke Du--- .../sdparm/files/make-sysroot-work.patch | 14 - meta-oe/recipes-support/sdparm/sdparm_1.09.bb | 23 -- meta-oe/recipes-support/sdparm/sdparm_1.10.bb | 23 ++ 3 files changed, 32 insertions(+), 28 deletions(-) delete mode 100644 meta-oe/recipes-support/sdparm/sdparm_1.09.bb create mode 100644 meta-oe/recipes-support/sdparm/sdparm_1.10.bb diff --git a/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch b/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch index 5405ed8..3fd85d9 100644 --- a/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch +++ b/meta-oe/recipes-support/sdparm/files/make-sysroot-work.patch @@ -1,27 +1,31 @@ -[PATCH] make sysroot work +From 15f0722bc5481cca5ba92adceab8c769112e4ea6 Mon Sep 17 00:00:00 2001 +From: Dengke Du +Date: Mon, 24 Oct 2016 07:28:13 + +Subject: [PATCH] sdparm: make sysroot work Upstream-Status: Pending Add = before the included dir to make sysroot work Signed-off-by: Roy.Li +Signed-off-by: Dengke Du --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am -index c83788c..9f62115 100644 +index 61dd9f8..42c911f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am -@@ -32,7 +32,7 @@ sglib_SOURCES = ../lib/sg_lib.c \ +@@ -41,7 +41,7 @@ sglib_SOURCES = ../lib/sg_lib.c \ ../lib/sg_pt_common.c if HAVE_SGUTILS --INCLUDES = -I/usr/include/scsi +-INCLUDES = -I/scsi +INCLUDES = -I=@includedir@/scsi sdparm_LDADD = @GETOPT_O_FILES@ @os_libs@ @SGUTILS_LIBS@ sdparm_DEPENDENCIES = @GETOPT_O_FILES@ else -- -1.9.1 +2.7.4 diff --git a/meta-oe/recipes-support/sdparm/sdparm_1.09.bb b/meta-oe/recipes-support/sdparm/sdparm_1.09.bb deleted file mode 100644 index ca11ca4..000 --- a/meta-oe/recipes-support/sdparm/sdparm_1.09.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "fetch and change SCSI mode pages" -DESCRIPTION = "The sdparm utility accesses and optionally modifies \ -SCSI devices' mode page and inquiry data." -HOMEPAGE = "http://sg.danny.cz/sg/sdparm.html; -SECTION = "console/utils" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \ - file://lib/BSD_LICENSE;md5=1d52f4a66f1e0ed96776bf354ab7a2ed" -DEPENDS="sg3-utils" -SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \ - file://make-sysroot-work.patch \ - " - -PACKAGES =+ "${PN}-scripts" -RDEPENDS_${PN}-scripts += "bash ${PN}" - -SRC_URI[md5sum] = "e51b1fd41c3e4c9d1274a2e4f046eebf" -SRC_URI[sha256sum] = "7294f44173ac0946f1de8af02b1bdb0bd648079245396589397a2b0d3abc42d3" - -inherit autotools - -# Put the bash scripts to ${PN}-scripts -FILES_${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp" diff --git a/meta-oe/recipes-support/sdparm/sdparm_1.10.bb b/meta-oe/recipes-support/sdparm/sdparm_1.10.bb new file mode 100644 index 000..8ab2819 --- /dev/null +++ b/meta-oe/recipes-support/sdparm/sdparm_1.10.bb @@ -0,0 +1,23 @@ +SUMMARY = "fetch and change SCSI mode pages" +DESCRIPTION = "The sdparm utility accesses and optionally modifies \ +SCSI devices' mode page and inquiry data." +HOMEPAGE = "http://sg.danny.cz/sg/sdparm.html; +SECTION = "console/utils" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \ + file://lib/BSD_LICENSE;md5=1d52f4a66f1e0ed96776bf354ab7a2ed" +DEPENDS="sg3-utils" +SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \ + file://make-sysroot-work.patch \ + " + +PACKAGES =+ "${PN}-scripts" +RDEPENDS_${PN}-scripts += "bash ${PN}" + +SRC_URI[md5sum] = "bdae64375376ce8fe4bf9521c1db858f" +SRC_URI[sha256sum] = "1ea1ed1bb1ee2aef62392618fa42da9ed027d5e655f174525c39235778292ab3" + +inherit autotools + +# Put the bash scripts to ${PN}-scripts +FILES_${PN}-scripts = "${bindir}/sas_disk_blink ${bindir}/scsi_ch_swp" -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-systemd][PATCH] dhcp_%.bbappend: fix replaces original key warning
Use ${PN} rather than dhcp to keep align with oe-core to fix: WARNING: oe-core/meta/recipes-connectivity/dhcp/dhcp_4.3.4.bb: Variable key SYSTEMD_AUTO_ENABLE_${PN}-client (enable) replaces original key SYSTEMD_AUTO_ENABLE_dhcp-client (disable). WARNING: oe-core/meta/recipes-connectivity/dhcp/dhcp_4.3.4.bb: Variable key SYSTEMD_SERVICE_${PN}-client (dhclient.service) replaces original key SYSTEMD_SERVICE_dhcp-client (dhclient.service). Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend index 94d7bd6..9c7d93f 100644 --- a/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend @@ -2,8 +2,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SYSTEMD_PACKAGES += "dhcp-client" -SYSTEMD_SERVICE_dhcp-client = "dhclient.service" -SYSTEMD_AUTO_ENABLE_dhcp-client = "disable" +SYSTEMD_SERVICE_${PN}-client = "dhclient.service" +SYSTEMD_AUTO_ENABLE_${PN}-client = "disable" FILES_${PN}-client += "${systemd_unitdir}/system/dhclient.service" RPROVIDES_dhcp-server += "dhcp-server-systemd" -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] xfsprogs: blacklist, needs upgrade to stay compatible with default kernel
Hi Martin, I sent an upgrade for xfsprogs just now: [oe] [meta-filesystems][PATCH 1/2] xfsprogs: 3.2.3 -> 4.7.0 // Robert On 09/11/2016 03:37 PM, Martin Jansa wrote: Signed-off-by: Martin Jansa--- meta-filesystems/recipes-utils/xfsprogs/xfsprogs_3.2.3.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_3.2.3.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_3.2.3.bb index f38239c..460a898 100644 --- a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_3.2.3.bb +++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_3.2.3.bb @@ -50,3 +50,6 @@ do_install () { # needed for xfsdump oe_runmake install-dev } + +# http://errors.yoctoproject.org/Errors/Details/83236/ +PNBLACKLIST[xfsprogs] ?= "BROKEN: Needs upgrade to 4.5.0 version to be compatible with Kernel uapi changes from 4.5" -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-filesystems][PATCH 1/2] xfsprogs: 3.2.3 -> 4.7.0
The 3.2.3 doesn't work with kernel 4.8 any more. * Update remove-install-as-user.patch and xfsprogs-generate-crctable-which-is-moved-into-runti.patch * Remove drop-configure-check-for-aio.patch which was for uclibc, and uclibc is not supported by oe-core any more. (LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20160912 Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- .../files/drop-configure-check-for-aio.patch | 93 -- .../xfsprogs/files/remove-install-as-user.patch| 53 +--- ...nerate-crctable-which-is-moved-into-runti.patch | 40 -- .../recipes-utils/xfsprogs/xfsprogs_3.2.3.bb | 52 .../recipes-utils/xfsprogs/xfsprogs_4.7.0.bb | 51 5 files changed, 90 insertions(+), 199 deletions(-) delete mode 100644 meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch delete mode 100644 meta-filesystems/recipes-utils/xfsprogs/xfsprogs_3.2.3.bb create mode 100644 meta-filesystems/recipes-utils/xfsprogs/xfsprogs_4.7.0.bb diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch b/meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch deleted file mode 100644 index 7601095..000 --- a/meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch +++ /dev/null @@ -1,93 +0,0 @@ -xfsprogs: drop configure check for aio - -It's unused and breaks compilation with uclibc. - -Upstream-Status: Pending -Signed-off-by: Hongxu Jia <hongxu@windriver.com> - configure.ac | 6 +++--- - m4/Makefile | 1 - - m4/package_aiodev.m4 | 36 - 3 files changed, 3 insertions(+), 40 deletions(-) - -diff --git a/configure.ac b/configure.ac -index b968977..4e2a263 100644 a/configure.ac -+++ b/configure.ac -@@ -47,6 +47,9 @@ AC_ARG_ENABLE(lib64, - enable_lib64=yes) - AC_SUBST(enable_lib64) - -+librt="-lrt" -+AC_SUBST(librt) -+ - # - # If the user specified a libdir ending in lib64 do not append another - # 64 to the library names. -@@ -92,9 +95,6 @@ AC_PACKAGE_GLOBALS(xfsprogs) - AC_PACKAGE_UTILITIES(xfsprogs) - AC_MULTILIB($enable_lib64) - --AC_PACKAGE_NEED_AIO_H --AC_PACKAGE_NEED_LIO_LISTIO -- - AC_PACKAGE_NEED_UUID_H - AC_PACKAGE_NEED_UUIDCOMPARE - -diff --git a/m4/Makefile b/m4/Makefile -index 654a4fb..d282f0a 100644 a/m4/Makefile -+++ b/m4/Makefile -@@ -14,7 +14,6 @@ CONFIGURE = \ - - LSRCFILES = \ - manual_format.m4 \ -- package_aiodev.m4 \ - package_blkid.m4 \ - package_globals.m4 \ - package_libcdev.m4 \ -diff --git a/m4/package_aiodev.m4 b/m4/package_aiodev.m4 -index 490d9c8..8b13789 100644 a/m4/package_aiodev.m4 -+++ b/m4/package_aiodev.m4 -@@ -1,37 +1 @@ --# --# Check if we have a libaio.h installed --# --AC_DEFUN([AC_PACKAGE_WANT_AIO], -- [ AC_CHECK_HEADERS(libaio.h, [ have_aio=true ], [ have_aio=false ]) --AC_SUBST(have_aio) -- ]) -- --# --# Check if we have an aio.h installed --# --AC_DEFUN([AC_PACKAGE_NEED_AIO_H], -- [ AC_CHECK_HEADERS(aio.h) --if test $ac_cv_header_aio_h = no; then -- echo -- echo 'FATAL ERROR: could not find a valid header.' -- exit 1 --fi -- ]) -- --# --# Check if we have the lio_listio routine in either libc/librt --# --AC_DEFUN([AC_PACKAGE_NEED_LIO_LISTIO], -- [ AC_CHECK_FUNCS(lio_listio) --if test $ac_cv_func_lio_listio = yes; then -- librt="" --else -- AC_CHECK_LIB(rt, lio_listio,, [ -- echo -- echo 'FATAL ERROR: could not find a library with lio_listio.' -- exit 1],[-lpthread]) -- librt="-lrt" --fi --AC_SUBST(librt) -- ]) - --- -1.8.1.2 - diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/remove-install-as-user.patch b/meta-filesystems/recipes-utils/xfsprogs/files/remove-install-as-user.patch index e761db3..43eacd4 100644 --- a/meta-filesystems/recipes-utils/xfsprogs/files/remove-install-as-user.patch +++ b/meta-filesystems/recipes-utils/xfsprogs/files/remove-install-as-user.patch @@ -5,11 +5,10 @@ Upstream-Status: Inappropriate [configuration] Signed-off-by: Hongxu Jia <hongxu@windriver.com> --- include/buildmacros | 2 +- - include/install-sh | 95 - - 2 files changed, 14 insertions(+), 83 deletions(-) + include/install-sh | 88 +--- + 2 files changed, 14 insertions(+), 76 deletions(-) diff --git a/include/buildmacros b/include/buildmacros -index 7a01880..0840d55 100644 --- a/include/buildmacros +++ b/include/buildmacros @@ -30,7 +30,7 @@ OBJECTS = $(ASFILES:.s=.o) \ @@ -22,7 +21,6 @@ index 7a01880..0840d55 100644 IMAGES_DIR = $(TOPDIR)/all-images DIST_DIR = $(TOPDIR)/dist diff --git a/include/install-sh b/include/install-sh -index c952a71..b9d66f7 100755 --- a/include
[oe] [meta-filesystems][PATCH 2/2] xfsdump: 3.1.4 -> 3.1.6
The 3.1.4 doesn't work with xfsprogs 4.7: | inv_files.o: In function `inv_dirpath': |xfsdump-3.1.4/invutil/inv_files.c:53: undefined reference to `ASSERT' | inv_files.o: In function `inv_fstab': |xfsdump-3.1.4/invutil/inv_files.c:60: undefined reference to `ASSERT' | inv_files.o: In function `inv_lockfile': |xfsdump-3.1.4/invutil/inv_files.c:67: undefined reference to `ASSERT' | inv_files.o: In function `inv_basepath': |xfsdump-3.1.4/invutil/inv_files.c:74: undefined reference to `ASSERT' | collect2: error: ld returned 1 exit status | make[2]: *** [../include/buildrules:33: xfsinvutil] Error 1 (LOCAL REV: NOT UPSTREAM) -- Sent to oe-devel on 20160912 Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- .../recipes-utils/xfsdump/xfsdump_3.1.4.bb | 36 -- .../recipes-utils/xfsdump/xfsdump_3.1.6.bb | 36 ++ 2 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.4.bb create mode 100644 meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.6.bb diff --git a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.4.bb b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.4.bb deleted file mode 100644 index 5fa5339..000 --- a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.4.bb +++ /dev/null @@ -1,36 +0,0 @@ -SUMMARY = "XFS Filesystem Dump Utility" -DESCRIPTION = "The xfsdump package contains xfsdump, xfsrestore and a \ - number of other utilities for administering XFS filesystems.\ - xfsdump examines files in a filesystem, determines which \ - need to be backed up, and copies those files to a \ - specified disk, tape or other storage medium." -HOMEPAGE = "http://oss.sgi.com/projects/xfs; -SECTION = "base" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://doc/COPYING;md5=15c832894d10ddd00dfcf57bee490ecc" -DEPENDS = "xfsprogs attr" - -SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${BPN}-${PV}.tar.gz \ -file://remove-install-as-user.patch \ -" -SRC_URI[md5sum] = "a8b1761be5feb363131e7b506639ad4c" -SRC_URI[sha256sum] = "570eafd0721515bdd79cb0e295b701d49cdf81e71a0a0ff0df6d4c5cc1960943" - -inherit autotools-brokensep - -PARALLEL_MAKE = "" -PACKAGECONFIG ??= "" -PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext" - -EXTRA_OEMAKE += "'LIBTOOL=${HOST_SYS}-libtool' V=1" - -do_configure () { -export DEBUG="-DNDEBUG" -oe_runconf -} - -do_install () { -export DIST_ROOT=${D} -oe_runmake install -oe_runmake install-dev -} diff --git a/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.6.bb b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.6.bb new file mode 100644 index 000..fac9d47 --- /dev/null +++ b/meta-filesystems/recipes-utils/xfsdump/xfsdump_3.1.6.bb @@ -0,0 +1,36 @@ +SUMMARY = "XFS Filesystem Dump Utility" +DESCRIPTION = "The xfsdump package contains xfsdump, xfsrestore and a \ + number of other utilities for administering XFS filesystems.\ + xfsdump examines files in a filesystem, determines which \ + need to be backed up, and copies those files to a \ + specified disk, tape or other storage medium." +HOMEPAGE = "http://oss.sgi.com/projects/xfs; +SECTION = "base" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://doc/COPYING;md5=15c832894d10ddd00dfcf57bee490ecc" +DEPENDS = "xfsprogs attr" + +SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${BPN}-${PV}.tar.gz \ +file://remove-install-as-user.patch \ +" +SRC_URI[md5sum] = "50353cd4f4b435685955363e6044f4d1" +SRC_URI[sha256sum] = "7f78c11ca527477d90e5e62b0778f3ad96f2b71c19173044e9aca9515fff42d0" + +inherit autotools-brokensep + +PARALLEL_MAKE = "" +PACKAGECONFIG ??= "" +PACKAGECONFIG[gettext] = "--enable-gettext=yes,--enable-gettext=no,gettext" + +EXTRA_OEMAKE += "'LIBTOOL=${HOST_SYS}-libtool' V=1" + +do_configure () { +export DEBUG="-DNDEBUG" +oe_runconf +} + +do_install () { +export DIST_ROOT=${D} +oe_runmake install +oe_runmake install-dev +} -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe] [PATCH] imagemagick: update patchset
Sorry, please drop this one, I just noticed that Khem had sent another one. // Robert On 08/30/2016 09:44 AM, Robert Yang wrote: Fixed: ERROR: imagemagick-7.0.2-r0 do_fetch: Fetcher failure: --2016-08-28 04:07:12-- http://www.imagemagick.org/download/releases/ImageMagick-7.0.2-7.tar.xz Resolving www.imagemagick.org... 198.72.81.86 Connecting to www.imagemagick.org|198.72.81.86|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2016-08-28 04:07:12 ERROR 404: Not Found. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb index 472e42d..5937062 100644 --- a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb +++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb @@ -8,11 +8,12 @@ DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib virtual/fftw freetype" # Important note: tarballs for all patchsets within a version are deleted when # a new pachset is created. To avoid multiple patches for each patchset, try to # update to the last pachset of a version -PATCHSET = "7" +PATCHSET = "9" SRC_URI = "http://www.imagemagick.org/download/releases/ImageMagick-${PV}-${PATCHSET}.tar.xz \ " -SRC_URI[md5sum] = "bd66b19bd6fc3d320bd8d51869c874f9" -SRC_URI[sha256sum] = "1168f44cfcd1243acda6bb9663f5d9b3a4bca2acd372e979b97b58ecf5c713e2" + +SRC_URI[md5sum] = "2720ab8c480019f79e717b0237570311" +SRC_URI[sha256sum] = "22df4f197985f36f77b7b0d44de92ff44415885045f0191b3319540bdc82ff53" S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}" -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe] [PATCH] imagemagick: update patchset
Fixed: ERROR: imagemagick-7.0.2-r0 do_fetch: Fetcher failure: --2016-08-28 04:07:12-- http://www.imagemagick.org/download/releases/ImageMagick-7.0.2-7.tar.xz Resolving www.imagemagick.org... 198.72.81.86 Connecting to www.imagemagick.org|198.72.81.86|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2016-08-28 04:07:12 ERROR 404: Not Found. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb index 472e42d..5937062 100644 --- a/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb +++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.0.2.bb @@ -8,11 +8,12 @@ DEPENDS = "lcms bzip2 jpeg libpng librsvg tiff zlib virtual/fftw freetype" # Important note: tarballs for all patchsets within a version are deleted when # a new pachset is created. To avoid multiple patches for each patchset, try to # update to the last pachset of a version -PATCHSET = "7" +PATCHSET = "9" SRC_URI = "http://www.imagemagick.org/download/releases/ImageMagick-${PV}-${PATCHSET}.tar.xz \ " -SRC_URI[md5sum] = "bd66b19bd6fc3d320bd8d51869c874f9" -SRC_URI[sha256sum] = "1168f44cfcd1243acda6bb9663f5d9b3a4bca2acd372e979b97b58ecf5c713e2" + +SRC_URI[md5sum] = "2720ab8c480019f79e717b0237570311" +SRC_URI[sha256sum] = "22df4f197985f36f77b7b0d44de92ff44415885045f0191b3319540bdc82ff53" S = "${WORKDIR}/ImageMagick-${PV}-${PATCHSET}" -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 2/2] samba: remove ${localstatedir}/log
Fixed do_package error: WARNING: samba-4.4.2-r0 do_package: FILES contains file '/var/log/samba' which resides under a directory symlink. Please fix the recipe and use the real path for the file. ERROR: samba-4.4.2-r0 do_package: File './var/log/samba' cannot be packaged into 'samba-base' because its parent directory structure does not exist. One of its parent directories is a symlink whose target directory is not included in the package. ERROR: samba-4.4.2-r0 do_package: Function failed: populate_packages It has a file ${sysconfdir}/tmpfiles.d/samba.conf which will create /var/log/samba when systemd, and volatiles.03_samba when sysvinit. Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-networking/recipes-connectivity/samba/samba_4.4.2.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb b/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb index 1a5d54f..c515696 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.4.2.bb @@ -123,7 +123,7 @@ do_install_append() { install -d ${D}${sysconfdir}/sysconfig/ install -m644 packaging/systemd/samba.sysconfig ${D}${sysconfdir}/sysconfig/samba -rm -rf ${D}/run ${D}${localstatedir}/run +rm -rf ${D}/run ${D}${localstatedir}/run ${D}${localstatedir}/log } PACKAGES += "${PN}-python ${PN}-python-dbg ${PN}-pidl libwinbind libwinbind-dbg libwinbind-krb5-locator" @@ -136,7 +136,6 @@ FILES_${PN}-base = "${sbindir}/nmbd \ ${sbindir}/smbd \ ${sysconfdir}/init.d \ ${localstatedir}/lib/samba \ -${localstatedir}/log/samba \ ${localstatedir}/nmbd \ ${localstatedir}/spool/samba \ " -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 1/2] php: fix aclocal-copy aclocal-copy
Fixed do_install error: | DEBUG: Executing shell function do_install | cat: aclocal-copy/libtool.m4: No such file or directory | cat: aclocal-copy/lt~obsolete.m4: No such file or directory | cat: aclocal-copy/ltoptions.m4: No such file or directory | cat: aclocal-copy/ltsugar.m4: No such file or directory | cat: aclocal-copy/ltversion.m4: No such file or directory Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-oe/recipes-devtools/php/php.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index ee7a143..988ae48 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc @@ -120,8 +120,8 @@ do_install_append_class-native() { } do_install_prepend() { -cat aclocal-copy/libtool.m4 aclocal-copy/lt~obsolete.m4 aclocal-copy/ltoptions.m4 \ -aclocal-copy/ltsugar.m4 aclocal-copy/ltversion.m4 > ${S}/build/libtool.m4 +cat ${ACLOCALDIR}/libtool.m4 ${ACLOCALDIR}/lt~obsolete.m4 ${ACLOCALDIR}/ltoptions.m4 \ +${ACLOCALDIR}/ltsugar.m4 ${ACLOCALDIR}/ltversion.m4 > ${S}/build/libtool.m4 } do_install_prepend_class-target() { -- 2.9.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [PATCH 1/2] nginx: add group www-data
Sorry, please hold on the two patches, base-passwd does provide www-data, I should not meet this orror in theory. // Robert On 06/07/2016 04:21 PM, Robert Yang wrote: Fixed: Running useradd commands... useradd: group 'www-data' does not exist Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-webserver/recipes-httpd/nginx/nginx.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index ebf926a..946db12 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc @@ -130,6 +130,7 @@ INITSCRIPT_NAME = "nginx" INITSCRIPT_PARAMS = "defaults 92 20" USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM_${PN} = "--system www-data" USERADD_PARAM_${PN} = " \ --system --no-create-home \ --home ${NGINX_WWWDIR} \ -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 2/2] nostromo: add group www-data
Fixed: Running useradd commands... useradd: group 'www-data' does not exist Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb index 562ecd0..c6593e1 100644 --- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb +++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb @@ -30,6 +30,7 @@ do_compile() { # we need user/group www-data to exist when we install # USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM_${PN} = "--system www-data" USERADD_PARAM_${PN} = "--system -g www-data www-data" do_install() { -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [PATCH 1/2] nginx: add group www-data
Fixed: Running useradd commands... useradd: group 'www-data' does not exist Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-webserver/recipes-httpd/nginx/nginx.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index ebf926a..946db12 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc @@ -130,6 +130,7 @@ INITSCRIPT_NAME = "nginx" INITSCRIPT_PARAMS = "defaults 92 20" USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM_${PN} = "--system www-data" USERADD_PARAM_${PN} = " \ --system --no-create-home \ --home ${NGINX_WWWDIR} \ -- 2.7.4 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
[oe] [meta-oe] [PATCH V2] rrdtool: only unset PERLHOSTLIB in do_configure
The do_compile requires it, otherwise it can't find the native module correctly when perl-native is mirrored from another build. Fixed: | Compilation failed in require. | BEGIN failed--compilation aborted. | Can't locate loadable object for module File::Glob in @INC Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb index 216aafc..73a5d0e 100644 --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb @@ -58,9 +58,9 @@ export STAGING_INCDIR # emulate cpan_do_configure EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" ' # Avoid do_configure error on some hosts -export PERLHOSTLIB = "" do_configure() { +unset PERLHOSTLIB #fix the pkglib problem with newer automake #perl sed -i -e "s|-Wl,--rpath -Wl,\$rp||g" \ -- 2.8.0 -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel