Re: [OE-core] [PATCH] python3: add tcl rdepends for python3-idle

2020-06-06 Thread Richard Purdie
On Fri, 2020-06-05 at 16:47 +0800, Yu, Mingli wrote:
> From: Mingli Yu 
> 
> Add tcl rdepends for python3-idle to fix
> below error:
>  # /usr/bin/idle3 -h
>  [snip]
>  _tkinter.TclError: Can't find a usable init.tcl
>  [snip]
> 
> Signed-off-by: Mingli Yu 
> ---
>  meta/recipes-devtools/python/python3_3.8.2.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-devtools/python/python3_3.8.2.bb 
> b/meta/recipes-devtools/python/python3_3.8.2.bb
> index 0474f07214..0ddf88699c 100644
> --- a/meta/recipes-devtools/python/python3_3.8.2.bb
> +++ b/meta/recipes-devtools/python/python3_3.8.2.bb
> @@ -346,6 +346,7 @@ RDEPENDS_libpython3_append_libc-glibc = " libgcc"
>  RDEPENDS_${PN}-ptest = "${PN}-modules ${PN}-tests unzip bzip2 libgcc 
> tzdata-europe coreutils sed"
>  RDEPENDS_${PN}-ptest_append_libc-glibc = " locale-base-tr-tr.iso-8859-9"
>  RDEPENDS_${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', 'tk 
> tk-lib', '', d)}"
> +RDEPENDS_${PN}-idle += "tcl"

Shouldn't this be using the tk packageconfig too? or depending on
${PN}-tkinter?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139279): 
https://lists.openembedded.org/g/openembedded-core/message/139279
Mute This Topic: https://lists.openembedded.org/mt/74688893/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[V2][oe-core][PATCH 1/1] vim: _FORTIFY_SOURCE=2 be gone

2020-06-06 Thread Joe Slater
vim will abort in many places with this setting.  Replace
it with the benign _FORTIFY_SOURCE=1.

Signed-off-by: Joe Slater 
---
 meta/recipes-support/vim/vim_8.2.bb | 5 +
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-support/vim/vim_8.2.bb 
b/meta/recipes-support/vim/vim_8.2.bb
index 60946a181f..709b6ddb55 100644
--- a/meta/recipes-support/vim/vim_8.2.bb
+++ b/meta/recipes-support/vim/vim_8.2.bb
@@ -8,3 +8,8 @@ BBCLASSEXTEND = "native"
 ALTERNATIVE_${PN}_append = " xxd"
 ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
 ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
+
+# We override the default in security_flags.inc because vim (not vim-tiny!) 
will abort
+# in many places for _FORTIFY_SOURCE=2.  Security flags become part of CC.
+#
+lcl_maybe_fortify = 
"${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139278): 
https://lists.openembedded.org/g/openembedded-core/message/139278
Mute This Topic: https://lists.openembedded.org/mt/74717042/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe-core][PATCH 1/1] vim: _FORTIFY_SOURCE=2 be gone

2020-06-06 Thread Joe Slater
vim will abort in many places with this setting.  Replace
it with the benign _FORTIFY_SOURCE=1.

Signed-off-by: Joe Slater 
---
 meta/recipes-support/vim/vim-tiny_8.2.bb | 2 +-
 meta/recipes-support/vim/vim_8.2.bb  | 5 +
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/vim/vim-tiny_8.2.bb 
b/meta/recipes-support/vim/vim-tiny_8.2.bb
index e4c26d23f6..89d418a438 100644
--- a/meta/recipes-support/vim/vim-tiny_8.2.bb
+++ b/meta/recipes-support/vim/vim-tiny_8.2.bb
@@ -8,5 +8,5 @@ do_install() {
 install -D -m 0755 ${S}/src/vim ${D}/${bindir}/vim.tiny
 }
 
-ALTERNATIVE_PRIORITY = "90"
+ALTERNATIVE_PRIORITY = "110"
 ALTERNATIVE_TARGET = "${bindir}/vim.tiny"
diff --git a/meta/recipes-support/vim/vim_8.2.bb 
b/meta/recipes-support/vim/vim_8.2.bb
index 60946a181f..709b6ddb55 100644
--- a/meta/recipes-support/vim/vim_8.2.bb
+++ b/meta/recipes-support/vim/vim_8.2.bb
@@ -8,3 +8,8 @@ BBCLASSEXTEND = "native"
 ALTERNATIVE_${PN}_append = " xxd"
 ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
 ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
+
+# We override the default in security_flags.inc because vim (not vim-tiny!) 
will abort
+# in many places for _FORTIFY_SOURCE=2.  Security flags become part of CC.
+#
+lcl_maybe_fortify = 
"${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139277): 
https://lists.openembedded.org/g/openembedded-core/message/139277
Mute This Topic: https://lists.openembedded.org/mt/74716954/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [OE-core] Status of support for recent host glibc

2020-06-06 Thread Yann Dirson
Le ven. 5 juin 2020 à 21:28, Khem Raj  a écrit :

>
>
> On 6/5/20 6:10 AM, Yann Dirson wrote:
> > I just got hit by the following dunfell build issue on my debian/testing
> > dev box:
> >
> >   argp-fmtstream.c:(.text+0x4ca): undefined reference to `_IO_fwide'
> >
>  /home/yann/yocto/meta-blade/meta-shadow-os/build-boxv2/tmp/hosttools/ld:
> argp-fmtstream.c:(.text+0x51d): undefined reference to `_IO_fwide'
> >
>  /home/yann/yocto/meta-blade/meta-shadow-os/build-boxv2/tmp/hosttools/ld:
> argp-help.o: in function `argp_failure':
> >   argp-help.c:(.text+0x1fb1): undefined reference to `_IO_fwide'
> >   collect2: error: ld returned 1 exit status
> >   make: *** [Makefile:60: localedef] Error 1
> >
> > After some digging I found
> > https://patchwork.openembedded.org/series/20136 whose patch 4
> > addresses this very problem.
> >
>
> Please send a backport request if its not already done so and Cc Steve
> Sakoman ( dunfell maintainer ), also  check the supported hosts list for
> dunfell
>
>
> https://www.yoctoproject.org/docs/3.1/ref-manual/ref-manual.html#detailed-supported-distros
>
> this case is not seen on commonly supported distros hence no request to
> backport perhaps. Debian testing is rolling distibution and its hard to
> support time based releases on top of rolling host distributions.
>

Well, since those days I'm working on migrating away from sumo, I'll avoid
diverting
other's efforts there, since building in a chroot is pretty fine.


> > I could not find any discussion about those patches (it's hard to be
> > sure though, I found the
> > new mail archive quite impractical).
> >
> > Are there any reasons why this 2019-09 series is still NEW ?
>
> I know its confusing but
> For OE-core and bitbake too, patchwork is not primary tool for
> cherry-picking patches from mailing list, its email based, since its
> primarily driven by maintainer's convenience more than anything else. so
> dont read into status of the patchwork series status.
>
>
OK. But then it looks like the mail archive ought to make it easier to
navigate threads - I spent quite
some time trying to figure out if there had been any followup to this
series, and I'm still usure of the
answer.  It seems quite surprising there would be no thread view in this
software ?

-- 
Yann Dirson 
Blade / Shadow -- http://shadow.tech
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139276): 
https://lists.openembedded.org/g/openembedded-core/message/139276
Mute This Topic: https://lists.openembedded.org/mt/74692038/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core][PATCH] dpkg: Remove workaound patch for host tar < 1.27

2020-06-06 Thread Adrian Bunk
tar >= 1.28 is already required.

Signed-off-by: Adrian Bunk 
---
 .../dpkg/tweak-options-require-tar-1.27.patch | 36 ---
 meta/recipes-devtools/dpkg/dpkg_1.20.0.bb |  3 --
 2 files changed, 39 deletions(-)
 delete mode 100644 
meta/recipes-devtools/dpkg/dpkg/tweak-options-require-tar-1.27.patch

diff --git 
a/meta/recipes-devtools/dpkg/dpkg/tweak-options-require-tar-1.27.patch 
b/meta/recipes-devtools/dpkg/dpkg/tweak-options-require-tar-1.27.patch
deleted file mode 100644
index ac59dce69e..00
--- a/meta/recipes-devtools/dpkg/dpkg/tweak-options-require-tar-1.27.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 48bcc51ce042d1b779b34fae454c52b15bdd9cae Mon Sep 17 00:00:00 2001
-From: Kai Kang 
-Date: Fri, 22 Feb 2019 01:47:16 -0500
-Subject: [PATCH] dpkg: 1.18.25 -> 1.19.4
-
-GNU tar >= 1.27 is required for --owner=NAME:ID and --group=NAME:ID. And fails
-to build .deb packages with error:
-
-| dpkg-deb: building package 'linux-libc-headers-dbg' in 
'.../tmp/work/i586-poky-linux/linux-libc-headers/4.19-r0/deploy-debs/i586/linux-libc-headers-dbg_
 4.19-r0.0_i386.deb'.
-| tar: root\:0: Invalid owner
-| tar: Error is not recoverable: exiting now
-| dpkg-deb: error: tar -cf subprocess returned error exit status 2
-
-Tweak tar options in dpkg-deb source code to make it work on old machines.
-
-Upstream-Status: Inappropriate [cross build specific]
-
-Signed-off-by: Kai Kang 
-

- dpkg-deb/build.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c
-index 8436839..67c0c20 100644
 a/dpkg-deb/build.c
-+++ b/dpkg-deb/build.c
-@@ -462,7 +462,7 @@ tarball_pack(const char *dir, filenames_feed_func 
*tar_filenames_feeder,
- if (options->mode)
-   command_add_args(, "--mode", options->mode, NULL);
- if (options->root_owner_group)
--  command_add_args(, "--owner", "root:0", "--group", "root:0", NULL);
-+  command_add_args(, "--owner", "root", "--group", "root", NULL);
- command_add_args(, "--null", "--no-unquote", "--no-recursion",
-"-T", "-", NULL);
- command_exec();
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.20.0.bb 
b/meta/recipes-devtools/dpkg/dpkg_1.20.0.bb
index 1e822bbdf5..d539c57522 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.20.0.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.20.0.bb
@@ -15,9 +15,6 @@ SRC_URI = "${DEBIAN_MIRROR}/main/d/${BPN}/${BPN}_${PV}.tar.xz 
\
file://pager.patch \
file://0001-Add-support-for-riscv32-CPU.patch \
"
-SRC_URI_append_class-native = " \
-file://tweak-options-require-tar-1.27.patch \
-"
 
 SRC_URI[md5sum] = "f88f077236a3ff3decae3b25c989893d"
 SRC_URI[sha256sum] = 
"b633cc2b0e030efb61e11029d8a3fb1123f719864c9992da2e52b471c96d0900"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139275): 
https://lists.openembedded.org/g/openembedded-core/message/139275
Mute This Topic: https://lists.openembedded.org/mt/74709444/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-