[OE-core] [PATCH 0/1] archiver.bbclass: Fix duplicated SRC_URIs for do_ar_original

2020-05-20 Thread Robert Yang
The following changes since commit 586061c469a3340ec3a60ff59dae2e9ee33c3398:

  qemu: fix CVE-2020-11869 (2020-05-19 22:55:50 +0100)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib rbt/ar_srcuri
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/ar_srcuri

Robert Yang (1):
  archiver.bbclass: Fix duplicated SRC_URIs for  do_ar_original

 meta/classes/archiver.bbclass | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

-- 
2.21.0

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

View/Reply Online (#138525): 
https://lists.openembedded.org/g/openembedded-core/message/138525
Mute This Topic: https://lists.openembedded.org/mt/74367765/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] archiver.bbclass: Fix duplicated SRC_URIs for do_ar_original

2020-05-20 Thread Robert Yang
The argument urls of bb.fetch2.Fetch(urls, d) are duplicated to SRC_URI, which 
caused errors like:

bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was 
${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher 
failure: The SRCREV_FORMAT variable must be set when multiple SCMs are used.
The SCMs are:
git://github.com/docker/notary.git;destsuffix=git/src/github.com/docker/notary
git://github.com/docker/notary.git

The first one is from original SRC_URI, the second one is from the
variable 'urls', so cleanup SRC_URI before call bb.fetch2.Fetch() can fix the
problem.

Signed-off-by: Robert Yang 
---
 meta/classes/archiver.bbclass | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 4a7551..780c562b68 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -193,7 +193,13 @@ python do_ar_original() {
 del decoded[5][param]
 encoded = bb.fetch2.encodeurl(decoded)
 urls[i] = encoded
-fetch = bb.fetch2.Fetch(urls, d)
+
+# Cleanup SRC_URI before call bb.fetch2.Fetch() since now SRC_URI is in the
+# variable "urls", otherwise there might be errors like:
+# The SRCREV_FORMAT variable must be set when multiple SCMs are used
+ld = bb.data.createCopy(d)
+ld.setVar('SRC_URI', '')
+fetch = bb.fetch2.Fetch(urls, ld)
 tarball_suffix = {}
 for url in fetch.urls:
 local = fetch.localpath(url).rstrip("/");
-- 
2.21.0

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

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


[OE-core][dunfell 00/19] Pull request (cover letter only)

2020-05-20 Thread Steve Sakoman
The following changes since commit 1a50634e56dfcb63eac0df1aa9cd7e6fb7bd470a:

  linux-yocto/5.4: update to v5.4.34 (2020-05-07 14:27:49 -1000)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib stable/dunfell-next
  
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=stable/dunfell-next

Alejandro Hernandez (1):
  connman: Include vpn-script in FILES

Alexander Kanavin (4):
  meson: fix upstream version check
  cdrtools-native: fix upstream version check
  re2c: correct upstream location
  webkitgtk: update to 2.28.2 to fix multiple CVE's

Anton Eliasson (1):
  meson.bbclass: Close the log file after reading

Jacob Kroon (1):
  pseudo: Fix enum typedef

Joe Slater (1):
  wget: improve reproducible build

Joshua Watt (2):
  libnewt: Backport patch to fix reproducibility
  bitbake.conf: Prevent git from detecting parent repo in recipe

Konrad Weihmann (2):
  pypi.bbclass: mind package suffix on version check
  file: add PACKAGECONFIG for auto options

Mingli Yu (1):
  python3-setuptools: add the missing rdepends

Peter Kjellerstedt (1):
  sstate.bbclass: Do not fail if files cannot be touched

Robert P. J. Day (1):
  documentation.conf: Add variables supported by features_check.bbclass

Tim Orling (1):
  pypi.bbclass: use new pypi UPSTREAM_CHECK_URI

Yeoh Ee Peng (1):
  selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFS

Yi Zhao (1):
  opkg-keyrings: check if opkg-key exists before run postinst

jan (1):
  scripts/tiny/ksize: Fix for more recent kernels

 meta/classes/meson.bbclass|  3 +-
 meta/classes/pypi.bbclass |  4 +-
 meta/classes/sstate.bbclass   | 15 +--
 meta/conf/bitbake.conf|  6 ++-
 meta/conf/documentation.conf  | 11 -
 meta/lib/oeqa/selftest/cases/imagefeatures.py | 32 +++
 meta/recipes-connectivity/connman/connman.inc |  3 +-
 .../cdrtools/cdrtools-native_3.01.bb  |  1 -
 meta/recipes-devtools/file/file_5.38.bb   | 10 -
 meta/recipes-devtools/meson/meson.inc |  1 +
 .../opkg/opkg-keyrings_1.0.bb |  5 ++-
 .../0001-pseudo_ipc.h-Fix-enum-typedef.patch  | 31 ++
 meta/recipes-devtools/pseudo/pseudo_git.bb|  1 +
 .../python/python-setuptools.inc  |  1 +
 ...-t-ignore-CFLAGS-when-building-snack.patch | 29 +
 .../newt/files/pie-flags.patch| 41 ---
 meta/recipes-extended/newt/libnewt_0.52.21.bb |  4 +-
 .../wget/0002-improve-reproducibility.patch   |  9 +++-
 .../webkitgtk/0001-Fix-build-with-musl.patch  | 30 +++---
 ...tings-so-that-gtkdoc-generation-work.patch |  8 ++--
 .../webkit/webkitgtk/x32_support.patch| 30 --
 ...ebkitgtk_2.26.4.bb => webkitgtk_2.28.2.bb} |  5 +--
 meta/recipes-support/re2c/re2c_1.0.1.bb   |  3 +-
 scripts/tiny/ksize.py |  6 +--
 24 files changed, 173 insertions(+), 116 deletions(-)
 create mode 100644 
meta/recipes-devtools/pseudo/files/0001-pseudo_ipc.h-Fix-enum-typedef.patch
 create mode 100644 
meta/recipes-extended/newt/files/0002-don-t-ignore-CFLAGS-when-building-snack.patch
 delete mode 100644 meta/recipes-extended/newt/files/pie-flags.patch
 delete mode 100644 meta/recipes-sato/webkit/webkitgtk/x32_support.patch
 rename meta/recipes-sato/webkit/{webkitgtk_2.26.4.bb => webkitgtk_2.28.2.bb} 
(97%)

-- 
2.17.1

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

View/Reply Online (#138524): 
https://lists.openembedded.org/g/openembedded-core/message/138524
Mute This Topic: https://lists.openembedded.org/mt/74366740/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] gettext: upgrade 0.20.1 -> 0.20.2

2020-05-20 Thread Wang Mingyu
rename gettext-0.20.1 to gettext-0.20.2

0001-msgmerge-Fix-behaviour-of-for-msgfmt-on-PO-files-wit.patch
cr-statement.c-timsort.h-fix-formatting-issues.patch
removed since they are included in 0.20.2

refresh use-pkgconfig.patch

Signed-off-by: Wang Mingyu 
---
 ...aviour-of-for-msgfmt-on-PO-files-wit.patch | 87 ---
 ...nt.c-timsort.h-fix-formatting-issues.patch | 71 ---
 ...t-env.in-do-not-add-C-CXX-parameters.patch |  0
 ...01-tests-autopoint-3-unset-MAKEFLAGS.patch |  0
 .../add-with-bisonlocaledir.patch |  0
 .../parallel.patch|  0
 .../run-ptest |  0
 .../serial-tests-config.patch |  0
 .../use-pkgconfig.patch   | 36 +---
 .../{gettext_0.20.1.bb => gettext_0.20.2.bb}  |  6 +-
 10 files changed, 24 insertions(+), 176 deletions(-)
 delete mode 100644 
meta/recipes-core/gettext/gettext-0.20.1/0001-msgmerge-Fix-behaviour-of-for-msgfmt-on-PO-files-wit.patch
 delete mode 100644 
meta/recipes-core/gettext/gettext-0.20.1/cr-statement.c-timsort.h-fix-formatting-issues.patch
 rename meta/recipes-core/gettext/{gettext-0.20.1 => 
gettext-0.20.2}/0001-init-env.in-do-not-add-C-CXX-parameters.patch (100%)
 rename meta/recipes-core/gettext/{gettext-0.20.1 => 
gettext-0.20.2}/0001-tests-autopoint-3-unset-MAKEFLAGS.patch (100%)
 rename meta/recipes-core/gettext/{gettext-0.20.1 => 
gettext-0.20.2}/add-with-bisonlocaledir.patch (100%)
 rename meta/recipes-core/gettext/{gettext-0.20.1 => 
gettext-0.20.2}/parallel.patch (100%)
 rename meta/recipes-core/gettext/{gettext-0.20.1 => gettext-0.20.2}/run-ptest 
(100%)
 rename meta/recipes-core/gettext/{gettext-0.20.1 => 
gettext-0.20.2}/serial-tests-config.patch (100%)
 rename meta/recipes-core/gettext/{gettext-0.20.1 => 
gettext-0.20.2}/use-pkgconfig.patch (98%)
 rename meta/recipes-core/gettext/{gettext_0.20.1.bb => gettext_0.20.2.bb} (96%)

diff --git 
a/meta/recipes-core/gettext/gettext-0.20.1/0001-msgmerge-Fix-behaviour-of-for-msgfmt-on-PO-files-wit.patch
 
b/meta/recipes-core/gettext/gettext-0.20.1/0001-msgmerge-Fix-behaviour-of-for-msgfmt-on-PO-files-wit.patch
deleted file mode 100644
index 2245889386..00
--- 
a/meta/recipes-core/gettext/gettext-0.20.1/0001-msgmerge-Fix-behaviour-of-for-msgfmt-on-PO-files-wit.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From 75e315fdec82d1a17ebcd9e0712d109323578d68 Mon Sep 17 00:00:00 2001
-From: Bruno Haible 
-Date: Sun, 19 May 2019 11:10:06 +0200
-Subject: [PATCH] msgmerge: Fix behaviour of --for-msgfmt on PO files with no
- translations.
-
-msgmerge: Fix behaviour of --for-msgfmt on PO files with no translations.
-
-Reported by Don Lawrence 
-in 
-via Daiki Ueno
-in .
-
-* gettext-tools/src/msgmerge.c (main): Treat force_po like true if for_msgfmt
-is true.
-* gettext-tools/tests/msgmerge-26: Add test of PO file with no translations.
-
-Upstream-Status: Backport 
[https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=2336451ed68d91ff4b5ae1acbc1eca30e47a86a9]
-Signed-off-by: Khem Raj 

- gettext-tools/src/msgmerge.c|  4 ++--
- gettext-tools/tests/msgmerge-26 | 36 ++---
- 2 files changed, 35 insertions(+), 5 deletions(-)
-
-diff --git a/gettext-tools/src/msgmerge.c b/gettext-tools/src/msgmerge.c
-index cd762c0..92c9b7a 100644
 a/gettext-tools/src/msgmerge.c
-+++ b/gettext-tools/src/msgmerge.c
-@@ -520,8 +520,8 @@ There is NO WARRANTY, to the extent permitted by law.\n\
-   else
- {
-   /* Write the merged message list out.  */
--  msgdomain_list_print (result, output_file, output_syntax, force_po,
--false);
-+  msgdomain_list_print (result, output_file, output_syntax,
-+for_msgfmt || force_po, false);
- }
- 
-   exit (EXIT_SUCCESS);
-diff --git a/gettext-tools/tests/msgmerge-26 b/gettext-tools/tests/msgmerge-26
-index cd3862e..b86f7a0 100755
 a/gettext-tools/tests/msgmerge-26
-+++ b/gettext-tools/tests/msgmerge-26
-@@ -73,7 +73,37 @@ msgstr "Papaya"
- EOF
- 
- : ${DIFF=diff}
--${DIFF} mm-test26.ok mm-test26.out
--result=$?
-+${DIFF} mm-test26.ok mm-test26.out || Exit 1
- 
--exit $result
-+# Test with a PO file that has no translated messages.
-+
-+cat <<\EOF > mm-test26a.in1
-+msgid ""
-+msgstr ""
-+"Content-Type: text/plain; charset=UTF-8\n"
-+
-+msgid "Hello world"
-+msgstr "Hallo Welt"
-+EOF
-+
-+cat <<\EOF > mm-test26a.in2
-+msgid ""
-+msgstr ""
-+"Content-Type: text/plain; charset=ASCII\n"
-+
-+msgid "Hello, world!"
-+msgstr ""
-+EOF
-+
-+: ${MSGMERGE=msgmerge}
-+${MSGMERGE} --for-msgfmt -o mm-test26a.tmp mm-test26a.in1 mm-test26a.in2 \
-+|| Exit 1
-+LC_ALL=C tr -d '\r' < mm-test26a.tmp > mm-test26a.out || Exit 1
-+
-+cat <<\EOF > mm-test26a.ok
-+msgid ""
-+msgstr "Content-Type: text/plain; charset=UTF-8\n"
-+EOF
-+
-+: 

Re: [OE-core] [PATCH] package_ipk.bbclass: print opkg output on error

2020-05-20 Thread Khem Raj
On Wed, May 20, 2020 at 1:17 PM Konrad Weihmann  wrote:
>
> On a second thought it should be bb.error not bb.fatal - are all okay
> with fixing just this one for now?

I am yes.

>
> On 20.05.20 00:02, Richard Purdie wrote:
> > On Tue, 2020-05-19 at 20:36 +0200, Konrad Weihmann wrote:
> >> in case the opkg command fails in before no output of the tool
> >> itself was printed to assist the user with debugging the issue.
> >> Print all output of the tool by using CalledProcessError wrapper around
> >> the call
> >>
> >> Signed-off-by: Konrad Weihmann 
> >> ---
> >>   meta/classes/package_ipk.bbclass | 11 +++
> >>   1 file changed, 7 insertions(+), 4 deletions(-)
> >>
> >> diff --git a/meta/classes/package_ipk.bbclass 
> >> b/meta/classes/package_ipk.bbclass
> >> index c008559e4a..5e7d552cc5 100644
> >> --- a/meta/classes/package_ipk.bbclass
> >> +++ b/meta/classes/package_ipk.bbclass
> >> @@ -223,10 +223,13 @@ def ipk_write_pkg(pkg, d):
> >>   conffiles.close()
> >>
> >>   os.chdir(basedir)
> >> -subprocess.check_output("PATH=\"%s\" %s %s %s" % 
> >> (localdata.getVar("PATH"),
> >> -  
> >> d.getVar("OPKGBUILDCMD"), pkg, pkgoutdir),
> >> -stderr=subprocess.STDOUT,
> >> -shell=True)
> >> +try:
> >> +subprocess.check_output("PATH=\"%s\" %s %s %s" % 
> >> (localdata.getVar("PATH"),
> >> +
> >> d.getVar("OPKGBUILDCMD"), pkg, pkgoutdir),
> >> +stderr=subprocess.STDOUT,
> >> +shell=True)
> >> +except subprocess.CalledProcessError as exp:
> >> +bb.fatal("{} failed with {}: {}".format(exp.cmd, 
> >> exp.returncode, exp.output.decode("utf-8")))
> >>
> >>   if d.getVar('IPK_SIGN_PACKAGES') == '1':
> >>   ipkver = "%s-%s" % (d.getVar('PKGV'), d.getVar('PKGR'))
> >
> > I get the feeling we have a problem with our subprocess calls and
> > debugging but its hard to know what to do about it. We can patch each
> > call site like this but it starts to make we wonder whether we need a
> > general wrapper, or we're missing something in bitbake or elsewhere to
> > help with things.
> >
> > There is this code:
> >
> > http://git.yoctoproject.org/cgit.cgi/poky/tree/bitbake/lib/bb/utils.py#n378
> >
> > which is meant to help but it clearly isn't helping/catching all cases.
> >
> > I think we are going to need to look at a wider/more general solution
> > or at least have a plan for one.
> >
> > Cheers,
> >
> > Richard
> >
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#138522): 
https://lists.openembedded.org/g/openembedded-core/message/138522
Mute This Topic: https://lists.openembedded.org/mt/74331803/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] [PATCH v2] bzip2: Add test suite for bzip2

2020-05-20 Thread Randy MacLeod

On 2020-05-19 8:06 p.m., Peter Kjellerstedt wrote:

-Original Message-
From: Randy MacLeod 
Sent: den 19 maj 2020 23:45
To: Peter Kjellerstedt ; Rahul Kumar

Cc: Alexander Kanavin ; Richard Purdie
; OE-core ; Trevor Gamblin

Subject: Re: [OE-core] [PATCH v2] bzip2: Add test suite for bzip2

On 2020-05-19 12:29 p.m., Peter Kjellerstedt wrote:

The jzlib license is a three clause BSD license, and so is the
go/LICENSE, so you should be able to set LICENSE as:

LICENSE = "bzip2-1.0.6 & GPLv3+ & Apache-2.0 & MS-PL & BSD-3-Clause & Zlib"


Peter,

I respectfully disagree.

The only source that is _executed_ in normal use by bzip2-test is
the run-tests.sh script that is licensed as GPLv3+


Well, I am definitely not a lawyer either, 


Phew! :)


but I am pretty sure that
whether something that is distributed under a certain license is
executed or not is irrelevant (unless of course the license covers
execution of the code).


There's a difference between a legal report and the Yocto LICENSE tag.
The Yocto tag is meant to be an over-all/community acknowledged license
for the _code_ in the package that ends up as executable / script on
the target. We should probably document this in greater detail, perhaps
in:

https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#var-LICENSE

A more comprehensive analysis usually includes a file by file
IP report often accompanied by a summary generated by an IP expert.




The other files, although they came from source packages,
are *only* used as  test data. The source code has been completely
stripped out, hasn't it?


Given that they were originally distributed in an archive together
with a LICENSE/COPYING/similar file covering the entire archive,
those files are still covered by that license even if they are not
source files per se.



Licenses describe the terms that apply to items that are covered
under copyright. Data generally can not be copyrighted.

From my IP contact:

---

In order for something to be copyrightable three requirements
must be satisfied:

 1. The work represents a creative form of expression
(basic facts do not represent a creative form of expression)

 2. The work is original (novel) – not copied from someone else.
Two different people could come up with similar creative forms
of expression. They just can’t copy from someone else.

 3. It must be put in tangible form (e.g., written, digital, …).
Someone can’t just claim it resides inside their head.



Data as a general is not copyrightable because it fails number 1. 
However if someone can argue that a certain compilation of data 
represents some form of creative expression, they might have a case. 
This is discussed in the first two paragraphs here:


   https://libguides.library.kent.edu/data-management/copyright


Data can be protected under patent or trade secret law but different 
requirements apply and a different license would need to be created. 
Open Source licenses are largely copyright licenses. Although sometimes 
they include patent terms, they are generally not considered patent 
licenses.


---


Most of the files here are clearly just data and
are therefore neither subject to copyright nor governed by
typical open source licenses.

Some possible exceptions are:

dotnetzip/dancing-color.ps.bz2
  - This could be considered as software since that's what a PostScript
file is. In fact it's the 'Dancing links" paper by Donald Knuth:
https://www-cs-faculty.stanford.edu/~knuth/preprints.html
Copyright is not asserted but is of course implied for such works.
No licensing terms are declared.

go/compress/Isaac.Newton-Opticks.txt.bz2
  - out of copyright since unfortunately the author died long ago :-/
It seems that the people who prepared this document:
  "Produced by Suzanne Lybarger, steve harris, Josephine
  Paolucci and the Online Distributed Proofreading Team at
  http://www.pgdp.net. "
are interested in:
   "...dedicated to the preservation of written works
that are in the Public Domain ..."

https://www.pgdp.net/wiki/DP_Official_Documentation:General/Distributed_Proofreaders_Mission_Statement



It seems that the README/COPYING/LICENSE.txt/... files
were left in the repo by people who while well intentioned,
were misguided. We could try to fix that error upstream.





If, instead of compressed data,
someone were to give me an image file covered by a creative common's
license and the image had a watermark that when extracted produced
file with source code with a FOO license, would you change the
package license to include FOO? In fact, we don't even look at
image file licensing let alone at embedded watermarks.


Well, if there is a file distributed in the picture (not using the
word "image" here to avoid confusing the discussion any more) in the
form of a watermark, then that is no different from distributing it
as part of a tar.gz file (albeit a bit unusual). Whatever license
that file is 

Re: [OE-core] [PATCH] package_ipk.bbclass: print opkg output on error

2020-05-20 Thread Konrad Weihmann
On a second thought it should be bb.error not bb.fatal - are all okay 
with fixing just this one for now?


On 20.05.20 00:02, Richard Purdie wrote:

On Tue, 2020-05-19 at 20:36 +0200, Konrad Weihmann wrote:

in case the opkg command fails in before no output of the tool
itself was printed to assist the user with debugging the issue.
Print all output of the tool by using CalledProcessError wrapper around
the call

Signed-off-by: Konrad Weihmann 
---
  meta/classes/package_ipk.bbclass | 11 +++
  1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index c008559e4a..5e7d552cc5 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -223,10 +223,13 @@ def ipk_write_pkg(pkg, d):
  conffiles.close()
  
  os.chdir(basedir)

-subprocess.check_output("PATH=\"%s\" %s %s %s" % 
(localdata.getVar("PATH"),
-  
d.getVar("OPKGBUILDCMD"), pkg, pkgoutdir),
-stderr=subprocess.STDOUT,
-shell=True)
+try:
+subprocess.check_output("PATH=\"%s\" %s %s %s" % 
(localdata.getVar("PATH"),
+
d.getVar("OPKGBUILDCMD"), pkg, pkgoutdir),
+stderr=subprocess.STDOUT,
+shell=True)
+except subprocess.CalledProcessError as exp:
+bb.fatal("{} failed with {}: {}".format(exp.cmd, exp.returncode, 
exp.output.decode("utf-8")))
  
  if d.getVar('IPK_SIGN_PACKAGES') == '1':

  ipkver = "%s-%s" % (d.getVar('PKGV'), d.getVar('PKGR'))


I get the feeling we have a problem with our subprocess calls and
debugging but its hard to know what to do about it. We can patch each
call site like this but it starts to make we wonder whether we need a
general wrapper, or we're missing something in bitbake or elsewhere to
help with things.

There is this code:

http://git.yoctoproject.org/cgit.cgi/poky/tree/bitbake/lib/bb/utils.py#n378

which is meant to help but it clearly isn't helping/catching all cases.

I think we are going to need to look at a wider/more general solution
or at least have a plan for one.

Cheers,

Richard

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

View/Reply Online (#138520): 
https://lists.openembedded.org/g/openembedded-core/message/138520
Mute This Topic: https://lists.openembedded.org/mt/74331803/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] [PATCH][dunfell 1/3] recipes-kernel/linux-firmware: Add wlanmdsp.mbn to qcom-modem package

2020-05-20 Thread Anibal Limon
On Wed, 20 May 2020 at 11:51, Nicolas Dechesne 
wrote:

>
> On Wed, May 20, 2020 at 4:59 PM Aníbal Limón 
> wrote:
>
>> Signed-off-by: Aníbal Limón 
>>
>
> all you 3 patches are backports/cherry-picked, please show that in your
> new patches, e.g. git cherry-pick -x -s . it's much easier to
> review stable patches.
>

right, sending v2 ones...


>
>
>> ---
>>  meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-kernel/linux-firmware/
>> linux-firmware_20200122.bb b/meta/recipes-kernel/linux-firmware/
>> linux-firmware_20200122.bb
>> index 7173409e05..139307cda3 100644
>> --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
>> +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
>> @@ -851,7 +851,7 @@ FILES_${PN}-qcom-adreno-a3xx =
>> "${nonarch_base_libdir}/firmware/qcom/a300_*.fw $
>>  FILES_${PN}-qcom-adreno-a530 =
>> "${nonarch_base_libdir}/firmware/qcom/a530*.*"
>>  FILES_${PN}-qcom-sdm845-audio =
>> "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
>>  FILES_${PN}-qcom-sdm845-compute =
>> "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
>> -FILES_${PN}-qcom-sdm845-modem =
>> "${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn
>> ${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.*"
>> +FILES_${PN}-qcom-sdm845-modem =
>> "${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn
>> ${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.*
>> ${nonarch_base_libdir}/firmware/qcom/sdm845/wlanmdsp.mbn"
>>  RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
>>  RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
>>  RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
>> --
>> 2.26.2
>>
>>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


[OE-core] [PATCHv2][dunfell 2/3] recipes-kernel/linux-firmware: Add adreno-a630 firmware package

2020-05-20 Thread Anibal Limon
Signed-off-by: Aníbal Limón 
Signed-off-by: Richard Purdie 
(cherry picked from commit dd5f6de4995fbfad881567137fdefc1a8a3903b4)
Signed-off-by: Aníbal Limón 
---
 meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb 
b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
index 139307cda3..ac7d6ec431 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
@@ -288,7 +288,7 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
  ${PN}-qat ${PN}-qat-license \
  ${PN}-qcom-license \
  ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 \
- ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 \
+ ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 
${PN}-qcom-adreno-a630 \
  ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute 
${PN}-qcom-sdm845-modem \
  ${PN}-whence-license \
  ${PN}-license \
@@ -849,6 +849,7 @@ FILES_${PN}-qcom-venus-1.8 = 
"${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
 FILES_${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
 FILES_${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a300_*.fw 
${nonarch_base_libdir}/firmware/a300_*.fw"
 FILES_${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*"
+FILES_${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.* 
${nonarch_base_libdir}/firmware/qcom/sdm845/a630*.*"
 FILES_${PN}-qcom-sdm845-audio = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
 FILES_${PN}-qcom-sdm845-compute = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
 FILES_${PN}-qcom-sdm845-modem = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn 
${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.* 
${nonarch_base_libdir}/firmware/qcom/sdm845/wlanmdsp.mbn"
@@ -856,6 +857,7 @@ RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
+RDEPENDS_${PN}-qcom-adreno-a630 = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-sdm845-audio = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-sdm845-compute = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-sdm845-modem = "${PN}-qcom-license"
-- 
2.26.2

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

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


[OE-core] [PATCHv2][dunfell 3/3] linux-firmware: Update to 20200122 -> 20200421

2020-05-20 Thread Anibal Limon
Signed-off-by: Aníbal Limón 
Signed-off-by: Richard Purdie 
(cherry picked from commit ed9da2d9dc42c437650d539c4d14b8b786f82059)
Signed-off-by: Aníbal Limón 
---
 ...inux-firmware_20200122.bb => linux-firmware_20200421.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-kernel/linux-firmware/{linux-firmware_20200122.bb => 
linux-firmware_20200421.bb} (99%)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb 
b/meta/recipes-kernel/linux-firmware/linux-firmware_20200421.bb
similarity index 99%
rename from meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
rename to meta/recipes-kernel/linux-firmware/linux-firmware_20200421.bb
index ac7d6ec431..fa0507a88c 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200421.bb
@@ -125,7 +125,7 @@ LIC_FILES_CHKSUM = 
"file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 
\
 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 
\
 
file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
-file://WHENCE;md5=c27d0c06cd5d376d8ab55860e65ba4e4 \
+file://WHENCE;md5=cb9a66eff0464b55335d3a7374fbc51c \
 "
 
 # These are not common licenses, set NO_GENERIC_LICENSE for them
@@ -196,8 +196,8 @@ PE = "1"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz"
 
-SRC_URI[md5sum] = "ac291b21f366ae2a37193ec8f14c39d2"
-SRC_URI[sha256sum] = 
"a30e811b3736a72b874ac27e10662f5e5409b1cadf8aab7ba88e8f8bc8083986"
+SRC_URI[md5sum] = "229a93395f4033da68429f165a62b952"
+SRC_URI[sha256sum] = 
"6dd7cba25d694c031f65529b9027cc8faaffaddfae70a4e3b58c2e4a0af3bfa8"
 
 inherit allarch
 
-- 
2.26.2

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

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


[OE-core] [PATCHv2][dunfell 1/3] recipes-kernel/linux-firmware: Add wlanmdsp.mbn to qcom-modem package

2020-05-20 Thread Anibal Limon
Signed-off-by: Aníbal Limón 
Signed-off-by: Richard Purdie 
(cherry picked from commit 55fb6324d627f55c197af068038f3886b95c3cb2)
Signed-off-by: Aníbal Limón 
---
 meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb 
b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
index 7173409e05..139307cda3 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
@@ -851,7 +851,7 @@ FILES_${PN}-qcom-adreno-a3xx = 
"${nonarch_base_libdir}/firmware/qcom/a300_*.fw $
 FILES_${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*"
 FILES_${PN}-qcom-sdm845-audio = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
 FILES_${PN}-qcom-sdm845-compute = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
-FILES_${PN}-qcom-sdm845-modem = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn 
${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.*"
+FILES_${PN}-qcom-sdm845-modem = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn 
${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.* 
${nonarch_base_libdir}/firmware/qcom/sdm845/wlanmdsp.mbn"
 RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
-- 
2.26.2

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

View/Reply Online (#138517): 
https://lists.openembedded.org/g/openembedded-core/message/138517
Mute This Topic: https://lists.openembedded.org/mt/74356902/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] [PATCH][dunfell 1/3] recipes-kernel/linux-firmware: Add wlanmdsp.mbn to qcom-modem package

2020-05-20 Thread Nicolas Dechesne
On Wed, May 20, 2020 at 4:59 PM Aníbal Limón 
wrote:

> Signed-off-by: Aníbal Limón 
>

all you 3 patches are backports/cherry-picked, please show that in your new
patches, e.g. git cherry-pick -x -s . it's much easier to review
stable patches.


> ---
>  meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
> b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
> index 7173409e05..139307cda3 100644
> --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
> +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
> @@ -851,7 +851,7 @@ FILES_${PN}-qcom-adreno-a3xx =
> "${nonarch_base_libdir}/firmware/qcom/a300_*.fw $
>  FILES_${PN}-qcom-adreno-a530 =
> "${nonarch_base_libdir}/firmware/qcom/a530*.*"
>  FILES_${PN}-qcom-sdm845-audio =
> "${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
>  FILES_${PN}-qcom-sdm845-compute =
> "${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
> -FILES_${PN}-qcom-sdm845-modem =
> "${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn
> ${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.*"
> +FILES_${PN}-qcom-sdm845-modem =
> "${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn
> ${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.*
> ${nonarch_base_libdir}/firmware/qcom/sdm845/wlanmdsp.mbn"
>  RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
>  RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
>  RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
> --
> 2.26.2
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#138515): 
https://lists.openembedded.org/g/openembedded-core/message/138515
Mute This Topic: https://lists.openembedded.org/mt/74351825/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] avahi: Don't advertise example services by default

2020-05-20 Thread Paul Barker
The example service files are placed into /etc/avahi/services when we
run `make install` for avahi. This results in ssh and sftp-ssh services
being announced by default even if no ssh server is installed in an
image.

These example files should be moved away to another location such as
/usr/share/doc/avahi (taking inspiration from Arch Linux).

Signed-off-by: Paul Barker 
---
 meta/recipes-connectivity/avahi/avahi_0.8.bb | 5 +
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb 
b/meta/recipes-connectivity/avahi/avahi_0.8.bb
index 3a2c24f9f8..2b0c71159d 100644
--- a/meta/recipes-connectivity/avahi/avahi_0.8.bb
+++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb
@@ -81,6 +81,11 @@ do_install() {
rm -rf ${D}${datadir}/dbus-1/interfaces
test -d ${D}${datadir}/dbus-1 && rmdir --ignore-fail-on-non-empty 
${D}${datadir}/dbus-1
rm -rf ${D}${libdir}/avahi
+
+   # Move example service files out of /etc/avahi/services so we don't
+   # advertise ssh & sftp-ssh by default
+   install -d ${D}${docdir}/avahi
+   mv ${D}${sysconfdir}/avahi/services/* ${D}${docdir}/avahi
 }
 
 PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "libdns_sd", 
"libavahi-compat-libdnssd", "", d)}"
-- 
2.26.2

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

View/Reply Online (#138514): 
https://lists.openembedded.org/g/openembedded-core/message/138514
Mute This Topic: https://lists.openembedded.org/mt/74354351/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] Dunfell backport request

2020-05-20 Thread Steve Sakoman
On Wed, May 20, 2020 at 6:00 AM Khem Raj  wrote:
>
> I think I can create a pull

That would be much appreciated!  Remember to tag it with [dunfell]!

Steve

> On Wed, May 20, 2020 at 8:44 AM Steve Sakoman  wrote:
> >
> > On Mon, May 18, 2020 at 12:21 PM Khem Raj  wrote:
> >
> > > I would like to request backporting following master commits into dunfell
> > >
> > > https://git.openembedded.org/openembedded-core/commit/?id=fd4a454b5a357c7a26792bf486212957c698839c
> > > https://git.openembedded.org/openembedded-core/commit/?id=882df891e13ce5c64718c364efb9ef2bf189eabf
> > > https://git.openembedded.org/openembedded-core/commit/?id=2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1
> > > https://git.openembedded.org/openembedded-core/commit/?id=48b6f7e31ff042a4900307e830f9ed9375a8041a
> > > https://git.openembedded.org/openembedded-core/commit/?id=ce6c50ea68c34e02b487d54fdd9288e04833cdef
> > > https://git.openembedded.org/openembedded-core/commit/?id=886333c5d1c336da99300d24fb3c15ab0b37d1cb
> > > https://git.openembedded.org/openembedded-core/commit/?id=03b04fcfa5549a54fe6f335df14433934a7d5128
> > > https://git.openembedded.org/openembedded-core/commit/?id=e114c670d1e670397c1c04292688b7550f54027c
> > > https://git.openembedded.org/openembedded-core/commit/?id=030cd9021ef50d71482f6acf0e05fe425038c822
> > > https://git.openembedded.org/openembedded-core/commit/?id=a5331c5a8bbe63c6c2e56ebec496b28968d4663d
> >
> > These changes are intrusive enough that I'd really like to see some
> > discussion on the list before I decide to take them.
> >
> > In the future it would make it much easier for people to review the
> > backport request if you sent it as a traditional patch series.  A list
> > of commit IDs is much less likely to get the attention of the right
> > people!
> >
> > Steve
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#138513): 
https://lists.openembedded.org/g/openembedded-core/message/138513
Mute This Topic: https://lists.openembedded.org/mt/74313778/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] Dunfell backport request

2020-05-20 Thread Khem Raj
I think I can create a pull

On Wed, May 20, 2020 at 8:44 AM Steve Sakoman  wrote:
>
> On Mon, May 18, 2020 at 12:21 PM Khem Raj  wrote:
>
> > I would like to request backporting following master commits into dunfell
> >
> > https://git.openembedded.org/openembedded-core/commit/?id=fd4a454b5a357c7a26792bf486212957c698839c
> > https://git.openembedded.org/openembedded-core/commit/?id=882df891e13ce5c64718c364efb9ef2bf189eabf
> > https://git.openembedded.org/openembedded-core/commit/?id=2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1
> > https://git.openembedded.org/openembedded-core/commit/?id=48b6f7e31ff042a4900307e830f9ed9375a8041a
> > https://git.openembedded.org/openembedded-core/commit/?id=ce6c50ea68c34e02b487d54fdd9288e04833cdef
> > https://git.openembedded.org/openembedded-core/commit/?id=886333c5d1c336da99300d24fb3c15ab0b37d1cb
> > https://git.openembedded.org/openembedded-core/commit/?id=03b04fcfa5549a54fe6f335df14433934a7d5128
> > https://git.openembedded.org/openembedded-core/commit/?id=e114c670d1e670397c1c04292688b7550f54027c
> > https://git.openembedded.org/openembedded-core/commit/?id=030cd9021ef50d71482f6acf0e05fe425038c822
> > https://git.openembedded.org/openembedded-core/commit/?id=a5331c5a8bbe63c6c2e56ebec496b28968d4663d
>
> These changes are intrusive enough that I'd really like to see some
> discussion on the list before I decide to take them.
>
> In the future it would make it much easier for people to review the
> backport request if you sent it as a traditional patch series.  A list
> of commit IDs is much less likely to get the attention of the right
> people!
>
> Steve
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#138512): 
https://lists.openembedded.org/g/openembedded-core/message/138512
Mute This Topic: https://lists.openembedded.org/mt/74313778/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] Dunfell backport request

2020-05-20 Thread Steve Sakoman
On Mon, May 18, 2020 at 12:21 PM Khem Raj  wrote:

> I would like to request backporting following master commits into dunfell
>
> https://git.openembedded.org/openembedded-core/commit/?id=fd4a454b5a357c7a26792bf486212957c698839c
> https://git.openembedded.org/openembedded-core/commit/?id=882df891e13ce5c64718c364efb9ef2bf189eabf
> https://git.openembedded.org/openembedded-core/commit/?id=2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1
> https://git.openembedded.org/openembedded-core/commit/?id=48b6f7e31ff042a4900307e830f9ed9375a8041a
> https://git.openembedded.org/openembedded-core/commit/?id=ce6c50ea68c34e02b487d54fdd9288e04833cdef
> https://git.openembedded.org/openembedded-core/commit/?id=886333c5d1c336da99300d24fb3c15ab0b37d1cb
> https://git.openembedded.org/openembedded-core/commit/?id=03b04fcfa5549a54fe6f335df14433934a7d5128
> https://git.openembedded.org/openembedded-core/commit/?id=e114c670d1e670397c1c04292688b7550f54027c
> https://git.openembedded.org/openembedded-core/commit/?id=030cd9021ef50d71482f6acf0e05fe425038c822
> https://git.openembedded.org/openembedded-core/commit/?id=a5331c5a8bbe63c6c2e56ebec496b28968d4663d

These changes are intrusive enough that I'd really like to see some
discussion on the list before I decide to take them.

In the future it would make it much easier for people to review the
backport request if you sent it as a traditional patch series.  A list
of commit IDs is much less likely to get the attention of the right
people!

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

View/Reply Online (#138511): 
https://lists.openembedded.org/g/openembedded-core/message/138511
Mute This Topic: https://lists.openembedded.org/mt/74313778/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][dunfell 2/3] recipes-kernel/linux-firmware: Add adreno-a630 firmware package

2020-05-20 Thread Anibal Limon
Signed-off-by: Aníbal Limón 
---
 meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb 
b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
index 139307cda3..ac7d6ec431 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
@@ -288,7 +288,7 @@ PACKAGES =+ "${PN}-ralink-license ${PN}-ralink \
  ${PN}-qat ${PN}-qat-license \
  ${PN}-qcom-license \
  ${PN}-qcom-venus-1.8 ${PN}-qcom-venus-4.2 \
- ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 \
+ ${PN}-qcom-adreno-a3xx ${PN}-qcom-adreno-a530 
${PN}-qcom-adreno-a630 \
  ${PN}-qcom-sdm845-audio ${PN}-qcom-sdm845-compute 
${PN}-qcom-sdm845-modem \
  ${PN}-whence-license \
  ${PN}-license \
@@ -849,6 +849,7 @@ FILES_${PN}-qcom-venus-1.8 = 
"${nonarch_base_libdir}/firmware/qcom/venus-1.8/*"
 FILES_${PN}-qcom-venus-4.2 = "${nonarch_base_libdir}/firmware/qcom/venus-4.2/*"
 FILES_${PN}-qcom-adreno-a3xx = "${nonarch_base_libdir}/firmware/qcom/a300_*.fw 
${nonarch_base_libdir}/firmware/a300_*.fw"
 FILES_${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*"
+FILES_${PN}-qcom-adreno-a630 = "${nonarch_base_libdir}/firmware/qcom/a630*.* 
${nonarch_base_libdir}/firmware/qcom/sdm845/a630*.*"
 FILES_${PN}-qcom-sdm845-audio = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
 FILES_${PN}-qcom-sdm845-compute = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
 FILES_${PN}-qcom-sdm845-modem = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn 
${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.* 
${nonarch_base_libdir}/firmware/qcom/sdm845/wlanmdsp.mbn"
@@ -856,6 +857,7 @@ RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-adreno-a530 = "${PN}-qcom-license"
+RDEPENDS_${PN}-qcom-adreno-a630 = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-sdm845-audio = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-sdm845-compute = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-sdm845-modem = "${PN}-qcom-license"
-- 
2.26.2

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

View/Reply Online (#138510): 
https://lists.openembedded.org/g/openembedded-core/message/138510
Mute This Topic: https://lists.openembedded.org/mt/74351829/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][dunfell 3/3] linux-firmware: Update to 20200122 -> 20200421

2020-05-20 Thread Anibal Limon
Signed-off-by: Aníbal Limón 
---
 ...inux-firmware_20200122.bb => linux-firmware_20200421.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-kernel/linux-firmware/{linux-firmware_20200122.bb => 
linux-firmware_20200421.bb} (99%)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb 
b/meta/recipes-kernel/linux-firmware/linux-firmware_20200421.bb
similarity index 99%
rename from meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
rename to meta/recipes-kernel/linux-firmware/linux-firmware_20200421.bb
index ac7d6ec431..fa0507a88c 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200421.bb
@@ -125,7 +125,7 @@ LIC_FILES_CHKSUM = 
"file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \
 file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 
\
 file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 
\
 
file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \
-file://WHENCE;md5=c27d0c06cd5d376d8ab55860e65ba4e4 \
+file://WHENCE;md5=cb9a66eff0464b55335d3a7374fbc51c \
 "
 
 # These are not common licenses, set NO_GENERIC_LICENSE for them
@@ -196,8 +196,8 @@ PE = "1"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz"
 
-SRC_URI[md5sum] = "ac291b21f366ae2a37193ec8f14c39d2"
-SRC_URI[sha256sum] = 
"a30e811b3736a72b874ac27e10662f5e5409b1cadf8aab7ba88e8f8bc8083986"
+SRC_URI[md5sum] = "229a93395f4033da68429f165a62b952"
+SRC_URI[sha256sum] = 
"6dd7cba25d694c031f65529b9027cc8faaffaddfae70a4e3b58c2e4a0af3bfa8"
 
 inherit allarch
 
-- 
2.26.2

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

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


[OE-core] Shared Sstate-cache with qemu issue

2020-05-20 Thread vygu via lists.openembedded.org
Hello,

We observe an issue with qemu (runqemu) when we use our shared sstate-cache.
If we build the sstate-cache on a debian x86_64, and after we use it on an 
ubuntu x86_64, qemu looks for several not-found libs.
We have reproduced this problem on two different pc with ubuntu. We don't have 
this problem, if we use the sstate-cache on another debian, and ldd shows the 
use of local/host libs, not the yocto libs.

Cordially,

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

View/Reply Online (#138507): 
https://lists.openembedded.org/g/openembedded-core/message/138507
Mute This Topic: https://lists.openembedded.org/mt/74351811/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][dunfell 1/3] recipes-kernel/linux-firmware: Add wlanmdsp.mbn to qcom-modem package

2020-05-20 Thread Anibal Limon
Signed-off-by: Aníbal Limón 
---
 meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb 
b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
index 7173409e05..139307cda3 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
@@ -851,7 +851,7 @@ FILES_${PN}-qcom-adreno-a3xx = 
"${nonarch_base_libdir}/firmware/qcom/a300_*.fw $
 FILES_${PN}-qcom-adreno-a530 = "${nonarch_base_libdir}/firmware/qcom/a530*.*"
 FILES_${PN}-qcom-sdm845-audio = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/adsp*.*"
 FILES_${PN}-qcom-sdm845-compute = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/cdsp*.*"
-FILES_${PN}-qcom-sdm845-modem = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn 
${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.*"
+FILES_${PN}-qcom-sdm845-modem = 
"${nonarch_base_libdir}/firmware/qcom/sdm845/mba.mbn 
${nonarch_base_libdir}/firmware/qcom/sdm845/modem*.* 
${nonarch_base_libdir}/firmware/qcom/sdm845/wlanmdsp.mbn"
 RDEPENDS_${PN}-qcom-venus-1.8 = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-venus-4.2 = "${PN}-qcom-license"
 RDEPENDS_${PN}-qcom-adreno-a3xx = "${PN}-qcom-license"
-- 
2.26.2

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

View/Reply Online (#138508): 
https://lists.openembedded.org/g/openembedded-core/message/138508
Mute This Topic: https://lists.openembedded.org/mt/74351825/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] musl: Update to tip of master

2020-05-20 Thread Khem Raj
Detailed changes [1]

[1] 
https://git.musl-libc.org/cgit/musl/log/?qt=range=040c1d16b468c50c04fc94edff521f1637708328..1b4e84c56df0f8ca30f6bc05962a860f869e71df

Signed-off-by: Khem Raj 
---
 meta/recipes-core/musl/musl_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/musl/musl_git.bb 
b/meta/recipes-core/musl/musl_git.bb
index 82379fd1c5..6aa69985d7 100644
--- a/meta/recipes-core/musl/musl_git.bb
+++ b/meta/recipes-core/musl/musl_git.bb
@@ -4,7 +4,7 @@
 require musl.inc
 inherit linuxloader
 
-SRCREV = "040c1d16b468c50c04fc94edff521f1637708328"
+SRCREV = "1b4e84c56df0f8ca30f6bc05962a860f869e71df"
 
 BASEVER = "1.2.0"
 
-- 
2.26.2

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

View/Reply Online (#138506): 
https://lists.openembedded.org/g/openembedded-core/message/138506
Mute This Topic: https://lists.openembedded.org/mt/74351485/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] [PATCH] ltp: Fix format security warnings with gcc10

2020-05-20 Thread Richard Purdie
On Wed, 2020-05-20 at 08:18 +0200, Petr Vorel wrote:
> Hi Khem,
> 
> I see patch has already merged in upstream.
> How about adding Upstream status:
> 58424835952641f4fd60c0ae3ab6c64decca3f8a

I tweaked it to Upstream-Status: backport.

Cheers,

Richard

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

View/Reply Online (#138505): 
https://lists.openembedded.org/g/openembedded-core/message/138505
Mute This Topic: https://lists.openembedded.org/mt/74343691/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 V2] linux-modules.tgz: fix file permissions to root

2020-05-20 Thread Li Wang
the files of linux-modules should be same permissions with rootfs.tar.bz2,
because it is a part of rootfs when used to install.

Signed-off-by: Li Wang 
---
 meta/classes/kernel.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 0935196..20a0135 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -711,6 +711,7 @@ kernel_do_deploy() {
else
TAR_ARGS=""
fi
+   TAR_ARGS="$TAR_ARGS --owner=0 --group=0"
tar $TAR_ARGS -cv -C ${D}${root_prefix} lib | gzip -9n > 
$deployDir/modules-${MODULE_TARBALL_NAME}.tgz
 
ln -sf modules-${MODULE_TARBALL_NAME}.tgz 
$deployDir/modules-${MODULE_TARBALL_LINK_NAME}.tgz
-- 
1.9.1

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

View/Reply Online (#138504): 
https://lists.openembedded.org/g/openembedded-core/message/138504
Mute This Topic: https://lists.openembedded.org/mt/74344907/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] [PATCH] ltp: Fix format security warnings with gcc10

2020-05-20 Thread Petr Vorel
Hi Khem,

I see patch has already merged in upstream.
How about adding Upstream status: 58424835952641f4fd60c0ae3ab6c64decca3f8a

Kind regards,
Petr
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#138503): 
https://lists.openembedded.org/g/openembedded-core/message/138503
Mute This Topic: https://lists.openembedded.org/mt/74343691/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] [PATCH] ltp: Fix format security warnings with gcc10

2020-05-20 Thread Petr Vorel
Hi Khem,

> Signed-off-by: Khem Raj 
> Cc: Petr Vorel 
> Cc: Daniel Díaz 

Reviewed-by: Petr Vorel 

Nice, just easy fix. Please just send patch to LTP ML.
Some time ago I tried to add -Wformat-security in upstream LTP travis CI, don't
remember why I haven't finished the effort. If this is the only needed fix,
we'll enable it.

BTW how to add -Wformat-security in for openembedded-core (for next time)?

Kind regards,
Petr
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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