Re: [OE-core] [morty][PATCH] buildhistory: fix latest_srcrev in the common case

2018-04-04 Thread Andre McCurdy
On Wed, Mar 14, 2018 at 4:52 PM, Andre McCurdy  wrote:
> On Tue, Feb 27, 2018 at 5:06 PM, Andre McCurdy  wrote:
>> From: Christopher Larson 
>>
>> buildhistory was writing srcrevs.values() as SRCREV when only one
>> srcrev/branch exists. This returns a view of the dictionary values in python
>> 3, and used to return a list in python 2, neither of which is an appropriate
>> value for SRCREV. It was resulting in latest_srcrev files like this:
>>
>> # SRCREV = "346584bf6e38232be8773c24fd7dedcbd7b3d9ed"
>> SRCREV = "dict_values(['346584bf6e38232be8773c24fd7dedcbd7b3d9ed'])"
>>
>> Which in turn would result in invalid output in buildhistory-collect-srcrevs.
>> Fix by calling `next(iter())` on the `.values()`
>
> Ping.

Ping again.

This should be a very low risk backport fix for morty but if there are
any concerns then please let me know.

>> Signed-off-by: Christopher Larson 
>> Signed-off-by: Ross Burton 
>> (cherry picked from commit ef826a395612400924bbe49859d256b237ff59e1)
>> Signed-off-by: Andre McCurdy 
>> ---
>>  meta/classes/buildhistory.bbclass | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/buildhistory.bbclass 
>> b/meta/classes/buildhistory.bbclass
>> index 3a5bc2c..d82e9bb 100644
>> --- a/meta/classes/buildhistory.bbclass
>> +++ b/meta/classes/buildhistory.bbclass
>> @@ -833,7 +833,7 @@ python write_srcrev() {
>>  f.write('# SRCREV_%s = "%s"\n' % (name, 
>> orig_srcrev))
>>  f.write('SRCREV_%s = "%s"\n' % (name, srcrev))
>>  else:
>> -f.write('SRCREV = "%s"\n' % srcrevs.values())
>> +f.write('SRCREV = "%s"\n' % next(iter(srcrevs.values(
>>  if len(tag_srcrevs) > 0:
>>  for name, srcrev in tag_srcrevs.items():
>>  f.write('# tag_%s = "%s"\n' % (name, srcrev))
>> --
>> 1.9.1
>>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [morty][PATCH] buildhistory: fix latest_srcrev in the common case

2018-04-04 Thread Andre McCurdy
On Wed, Apr 4, 2018 at 6:21 PM, akuster808  wrote:
> On 04/04/2018 05:54 PM, Andre McCurdy wrote:
>> On Wed, Mar 14, 2018 at 4:52 PM, Andre McCurdy  wrote:
>>> On Tue, Feb 27, 2018 at 5:06 PM, Andre McCurdy  wrote:
 From: Christopher Larson 

 buildhistory was writing srcrevs.values() as SRCREV when only one
 srcrev/branch exists. This returns a view of the dictionary values in 
 python
 3, and used to return a list in python 2, neither of which is an 
 appropriate
 value for SRCREV. It was resulting in latest_srcrev files like this:

 # SRCREV = "346584bf6e38232be8773c24fd7dedcbd7b3d9ed"
 SRCREV = "dict_values(['346584bf6e38232be8773c24fd7dedcbd7b3d9ed'])"

 Which in turn would result in invalid output in 
 buildhistory-collect-srcrevs.
 Fix by calling `next(iter())` on the `.values()`
>>> Ping.
>> Ping again.
>>
>> This should be a very low risk backport fix for morty but if there are
>> any concerns then please let me know.
>
> its in
> http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=stable/morty-next=92e7030eaf4618160cac4ef37b95fc3b7b83f9bd
>
> morty has been on hold for the new host glib 2.27 and sdk issues. Those
> issues have been finally addressed and we finally got a clean build. The
> backlog hold should be lifted and things should be flowing again shortly.

OK, thanks!

I checked oe-core/morty-next and oe-core-contrib/stable/morty-next and
didn't see it there. I forgot to check poky-contrib/stable/morty-next
as well... :-)

If poky-contrib is the official pre-staging area before oe-core
morty-next, then perhaps you could remove the oe-core-contrib
stable/morty-next branch to avoid confusion?
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] gcc-sanitizers: Update supported architectures

2018-04-04 Thread Khem Raj
On 4/4/18 9:08 AM, Dan McGregor wrote:
> From: Dan McGregor 
> 
> aarch64 has been supported since GCC 5.1, sparc has been supported
> since 4.9, and S390 since 7.1.
> 
> Also mark as broken entirely with musl.
> 

this change is ok to apply.

> Signed-off-by: Dan McGregor 
> ---
>  meta/recipes-devtools/gcc/gcc-sanitizers.inc | 10 +++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc 
> b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
> index 3183b29dec9..3b7e0028f2b 100644
> --- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc
> +++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
> @@ -61,15 +61,19 @@ RDEPENDS_libubsan-dev += "${PN}"
>  RDEPENDS_liblsan-dev += "${PN}"
>  RDEPENDS_libtsan-dev += "${PN}"
>  RRECOMMENDS_${PN} += "libasan libubsan"
> -RRECOMMENDS_${PN}_append_x86-64 = " liblsan libtsan"
>  RRECOMMENDS_${PN}_append_x86 = " liblsan"
> +RRECOMMENDS_${PN}_append_x86-64 = " liblsan libtsan"
> +RRECOMMENDS_${PN}_append_powerpc64 = " liblsan libtsan"
> +RRECOMMENDS_${PN}_append_aarch64 = " liblsan libtsan"
>  
>  do_package_write_ipk[depends] += 
> "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
>  do_package_write_deb[depends] += 
> "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
>  do_package_write_rpm[depends] += 
> "virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
>  
> -# MIPS, aarch64, and SPARC are broken.
> -COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm).*-linux'
> +# Only x86, powerpc, sparc, s390, arm, and aarch64 are supported
> +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|sparc|s390|arm|aarch64).*-linux'
> +# musl is currently broken entirely
> +COMPATIBLE_HOST_libc-musl = 'null'
>  
>  FILES_libasan += "${libdir}/libasan.so.*"
>  FILES_libasan-dev += "\
> 

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] python3-native certificate failure

2018-04-04 Thread Khem Raj
On 4/4/18 1:09 PM, Tom Hochstein wrote:
> I am trying to download a URL from a source package using
> python3-native, but it is failing with a certificate failure. I added
> DEPENDS on ca-certificates-native and python3-certifi-native, but it
> doesn’t seem to help. A colleague with a corresponding SDK took the
> aarch64 sysroot certificates and dropped them in x86_64 sysroot and the
> problem was fixed.
> 
>  

you might try adding nativesdk-ca-certificates to TOOLCHAIN_HOST_TASK
and regenerate SDK

> 
> Tom
> 
>  
> 
> r60874@tx30imx-01:~/rocko/build-xwayland$ bitbake imx-gpu-sdk -c devshell
> 
> root@tx30imx-01:~/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/git#
> python3
> 
> Python 3.5.3 (default, Mar  6 2018, 14:15:44)
> 
> [GCC 5.4.0 20160609] on linux
> 
> Type "help", "copyright", "credits" or "license" for more information.
> 
 import urllib.request
> 

> urllib.request.urlretrieve("https://sourceforge.net/projects/tclap/files/tclap-1.2.2.tar.gz;,
> "~")
> 
> Traceback (most recent call last):
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
> line 1254, in do_open
> 
>     h.request(req.get_method(), req.selector, req.data, headers)
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
> line 1107, in request
> 
>     self._send_request(method, url, body, headers)
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
> line 1152, in _send_request
> 
>     self.endheaders(body)
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
> line 1103, in endheaders
> 
>     self._send_output(message_body)
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
> line 934, in _send_output
> 
>     self.send(msg)
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
> line 877, in send
> 
>     self.connect()
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
> line 1261, in connect
> 
>     server_hostname=server_hostname)
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/ssl.py",
> line 385, in wrap_socket
> 
>     _context=self)
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/ssl.py",
> line 760, in __init__
> 
>     self.do_handshake()
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/ssl.py",
> line 996, in do_handshake
> 
>     self._sslobj.do_handshake()
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/ssl.py",
> line 641, in do_handshake
> 
>     self._sslobj.do_handshake()
> 
> ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
> (_ssl.c:720)
> 
>  
> 
> During handling of the above exception, another exception occurred:
> 
>  
> 
> Traceback (most recent call last):
> 
>   File "", line 1, in 
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
> line 188, in urlretrieve
> 
>     with contextlib.closing(urlopen(url, data)) as fp:
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
> line 163, in urlopen
> 
>     return opener.open(url, data, timeout)
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
> line 466, in open
> 
>     response = self._open(req, data)
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
> line 484, in _open
> 
>     '_open', req)
> 
>   File
> "/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
> line 444, in _call_chain
> 
>     result = func(*args)
> 
>   File
> 

Re: [OE-core] [PATCH][RFC] pseudo: intercept syscall() and return ENOTSUP for renameat2

2018-04-04 Thread Andre McCurdy
On Wed, Apr 4, 2018 at 2:28 PM, Khem Raj  wrote:
> On 3/27/18 8:48 AM, Ross Burton wrote:
>> coreutils is now using renameat2() in mv(1) but as this syscall isn't in most
>> glibc headers yet it falls back to directly calling syscall(), which pseudo
>> doesn't intercept.  This results in permission problems as files mysteriously
>> move without pseudo knowing.
>>
>> This patch intercepts syscall() and returns ENOTSUP if renameat2() is being
>> called.  Thanks to Andre McCurdy for the proof-of-concept that this patch is
>> based on.
>
> what is the performance impact of adding another stack frame and
> function call in the chain here. Do we have data ?

I'm not sure if anyone has done any formal measurements, but the
overhead of wrapping libc APIs is certainly noticeable in some cases.
For example running "git status" in a devshell under pseudo is
noticeably slower than from a regular shell. e.g.

Within a devshell for glibc:

  # time git status
  real0m1.552s
  user0m0.235s
  sys0m0.870s

>From a regular shell in the glibc workdir:

  $ time git status
  real0m0.067s
  user0m0.034s
  sys0m0.033s

Of course most the overhead here comes from what pseudo does inside
the wrapper, not from the wrapper itself. For tasks which are CPU
bound (e.g. compiling) and calling into the libc functions which
pseudo wraps less often than "git status" does, the overhead will be
much less.
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] python3-native certificate failure

2018-04-04 Thread Tom Hochstein
I am trying to download a URL from a source package using python3-native, but 
it is failing with a certificate failure. I added DEPENDS on 
ca-certificates-native and python3-certifi-native, but it doesn't seem to help. 
A colleague with a corresponding SDK took the aarch64 sysroot certificates and 
dropped them in x86_64 sysroot and the problem was fixed.

Tom

r60874@tx30imx-01:~/rocko/build-xwayland$ bitbake imx-gpu-sdk -c devshell
root@tx30imx-01:~/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/git#
 python3
Python 3.5.3 (default, Mar  6 2018, 14:15:44)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import urllib.request
>>> urllib.request.urlretrieve("https://sourceforge.net/projects/tclap/files/tclap-1.2.2.tar.gz;,
>>>  "~")
Traceback (most recent call last):
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
 line 1254, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
 line 1107, in request
self._send_request(method, url, body, headers)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
 line 1152, in _send_request
self.endheaders(body)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
 line 1103, in endheaders
self._send_output(message_body)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
 line 934, in _send_output
self.send(msg)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
 line 877, in send
self.connect()
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/http/client.py",
 line 1261, in connect
server_hostname=server_hostname)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/ssl.py",
 line 385, in wrap_socket
_context=self)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/ssl.py",
 line 760, in __init__
self.do_handshake()
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/ssl.py",
 line 996, in do_handshake
self._sslobj.do_handshake()
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/ssl.py",
 line 641, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed 
(_ssl.c:720)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "", line 1, in 
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
 line 188, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
 line 163, in urlopen
return opener.open(url, data, timeout)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
 line 466, in open
response = self._open(req, data)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
 line 484, in _open
'_open', req)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
 line 444, in _call_chain
result = func(*args)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
 line 1297, in https_open
context=self._context, check_hostname=self._check_hostname)
  File 
"/home/r60874/rocko/build-xwayland/tmp/work/aarch64-mx8qm-poky-linux/imx-gpu-sdk/5.0.2-r0/recipe-sysroot-native/usr/lib/python3.5/urllib/request.py",
 line 1256, in do_open
raise URLError(err)
urllib.error.URLError: 
-- 
___

Re: [OE-core] [PATCH][RFC] pseudo: intercept syscall() and return ENOTSUP for renameat2

2018-04-04 Thread Khem Raj
On 4/4/18 2:45 PM, Seebs wrote:
> On Wed, 4 Apr 2018 14:28:11 -0700
> Khem Raj  wrote:
> 
>> what is the performance impact of adding another stack frame and
>> function call in the chain here. Do we have data ?
> 
> Very close to unmeasurable, because *almost nothing ever uses syscall*.
> 
> This is used only for the case where someone is explicitly calling
> syscall(), not for any other system call use case. And my
> implementation (which is not the same as this one) also overrides the
> wrapper generation, so there's no standard pseudo wrapper overhead
> (which is several times larger and involves mutexes and signal mask
> changing), it's just passing the call on unless it's SYS_renameat2.
> 

Thanks for this

> -s
> 

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [morty][PATCH] buildhistory: fix latest_srcrev in the common case

2018-04-04 Thread akuster808


On 04/04/2018 05:54 PM, Andre McCurdy wrote:
> On Wed, Mar 14, 2018 at 4:52 PM, Andre McCurdy  wrote:
>> On Tue, Feb 27, 2018 at 5:06 PM, Andre McCurdy  wrote:
>>> From: Christopher Larson 
>>>
>>> buildhistory was writing srcrevs.values() as SRCREV when only one
>>> srcrev/branch exists. This returns a view of the dictionary values in python
>>> 3, and used to return a list in python 2, neither of which is an appropriate
>>> value for SRCREV. It was resulting in latest_srcrev files like this:
>>>
>>> # SRCREV = "346584bf6e38232be8773c24fd7dedcbd7b3d9ed"
>>> SRCREV = "dict_values(['346584bf6e38232be8773c24fd7dedcbd7b3d9ed'])"
>>>
>>> Which in turn would result in invalid output in 
>>> buildhistory-collect-srcrevs.
>>> Fix by calling `next(iter())` on the `.values()`
>> Ping.
> Ping again.
>
> This should be a very low risk backport fix for morty but if there are
> any concerns then please let me know.

its in
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=stable/morty-next=92e7030eaf4618160cac4ef37b95fc3b7b83f9bd

morty has been on hold for the new host glib 2.27 and sdk issues. Those
issues have been finally addressed and we finally got a clean build. The
backlog hold should be lifted and things should be flowing again shortly.

- armin
>
>>> Signed-off-by: Christopher Larson 
>>> Signed-off-by: Ross Burton 
>>> (cherry picked from commit ef826a395612400924bbe49859d256b237ff59e1)
>>> Signed-off-by: Andre McCurdy 
>>> ---
>>>  meta/classes/buildhistory.bbclass | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/meta/classes/buildhistory.bbclass 
>>> b/meta/classes/buildhistory.bbclass
>>> index 3a5bc2c..d82e9bb 100644
>>> --- a/meta/classes/buildhistory.bbclass
>>> +++ b/meta/classes/buildhistory.bbclass
>>> @@ -833,7 +833,7 @@ python write_srcrev() {
>>>  f.write('# SRCREV_%s = "%s"\n' % (name, 
>>> orig_srcrev))
>>>  f.write('SRCREV_%s = "%s"\n' % (name, srcrev))
>>>  else:
>>> -f.write('SRCREV = "%s"\n' % srcrevs.values())
>>> +f.write('SRCREV = "%s"\n' % next(iter(srcrevs.values(
>>>  if len(tag_srcrevs) > 0:
>>>  for name, srcrev in tag_srcrevs.items():
>>>  f.write('# tag_%s = "%s"\n' % (name, srcrev))
>>> --
>>> 1.9.1
>>>


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 14/22] icu: update to 61.1

2018-04-04 Thread Khem Raj
On 4/4/18 4:13 AM, Alexander Kanavin wrote:
> License-Update: copyright years updated, added terms for Google 
> double-conversion

should this change to terms reflect in LICENSE filed as well.

> 
> Signed-off-by: Alexander Kanavin 
> ---
>  meta/recipes-support/icu/{icu_60.2.bb => icu_61.1.bb} | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>  rename meta/recipes-support/icu/{icu_60.2.bb => icu_61.1.bb} (78%)
> 
> diff --git a/meta/recipes-support/icu/icu_60.2.bb 
> b/meta/recipes-support/icu/icu_61.1.bb
> similarity index 78%
> rename from meta/recipes-support/icu/icu_60.2.bb
> rename to meta/recipes-support/icu/icu_61.1.bb
> index 585a92bc4cd..ffaf3508966 100644
> --- a/meta/recipes-support/icu/icu_60.2.bb
> +++ b/meta/recipes-support/icu/icu_61.1.bb
> @@ -1,6 +1,6 @@
>  require icu.inc
>  
> -LIC_FILES_CHKSUM = "file://../LICENSE;md5=675f2d069434d8a1e4e6b0dcf4379226"
> +LIC_FILES_CHKSUM = "file://../LICENSE;md5=63752c57bd0b365c9af9f427ef79c819"
>  
>  def icu_download_version(d):
>  pvsplit = d.getVar('PV').split('.')
> @@ -22,8 +22,8 @@ SRC_URI = "${BASE_SRC_URI} \
>  SRC_URI_append_class-target = "\
> file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
>"
> -SRC_URI[md5sum] = "43861b127744b3c0b9d7f386f4b9fa40"
> -SRC_URI[sha256sum] = 
> "f073ea8f35b926d70bb33e6577508aa642a8b316a803f11be20af384811db418"
> +SRC_URI[md5sum] = "68fe38999fef94d622bd6843d43c0615"
> +SRC_URI[sha256sum] = 
> "d007f89ae8a2543a53525c74359b65b36412fa84b3349f1400be6dcf409fafef"
>  
>  UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)/"
>  UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/;
> 

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [morty][PATCH] sanity.bbclass: Improved error message

2018-04-04 Thread Andre McCurdy
From: Juro Bystricky 

When a non-existing MACHINE is specified, sanity check issues
the following message:

Please set a valid MACHINE in your local.conf or environment

However, MACHINE can also be set in multiconfig .conf file(s).
Hence we may have several different MACHINE settings within one
(multiconfig) build, so the present error message is fairly
ambiguous.

This patch remedies this by explicitly naming the offending MACHINE and
by amending the list of places where this erroneous MACHINE definition
could have originated.

MACHINE=xyz is invalid. Please set a valid MACHINE in your local.conf, 
environment or other configuration file.

[YOCTO#10810]

Signed-off-by: Juro Bystricky 
Signed-off-by: Richard Purdie 
(cherry picked from commit a7cb408dd784178197687a2129e936620bf6a0d3)
Signed-off-by: Andre McCurdy 
---
 meta/classes/sanity.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index a11b581..68fd440 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -816,7 +816,7 @@ def check_sanity_everybuild(status, d):
 machinevalid = True
 if d.getVar('MACHINE', True):
 if not check_conf_exists("conf/machine/${MACHINE}.conf", d):
-status.addresult('Please set a valid MACHINE in your local.conf or 
environment\n')
+status.addresult('MACHINE=%s is invalid. Please set a valid 
MACHINE in your local.conf, environment or other configuration file.\n' % 
(d.getVar('MACHINE', True)))
 machinevalid = False
 else:
 status.addresult(check_sanity_validmachine(d))
-- 
1.9.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 08/22] bash-completion: update to 2.8

2018-04-04 Thread Khem Raj
On 4/4/18 4:13 AM, Alexander Kanavin wrote:
> Signed-off-by: Alexander Kanavin 
> ---
>  .../{bash-completion_2.7.bb => bash-completion_2.8.bb}  | 6 
> +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>  rename meta/recipes-support/bash-completion/{bash-completion_2.7.bb => 
> bash-completion_2.8.bb} (86%)
> 
> diff --git a/meta/recipes-support/bash-completion/bash-completion_2.7.bb 
> b/meta/recipes-support/bash-completion/bash-completion_2.8.bb
> similarity index 86%
> rename from meta/recipes-support/bash-completion/bash-completion_2.7.bb
> rename to meta/recipes-support/bash-completion/bash-completion_2.8.bb
> index f519b3f3da4..85064343e30 100644
> --- a/meta/recipes-support/bash-completion/bash-completion_2.7.bb
> +++ b/meta/recipes-support/bash-completion/bash-completion_2.8.bb
> @@ -9,8 +9,8 @@ SECTION = "console/utils"
>  
>  SRC_URI = 
> "https://github.com/scop/bash-completion/releases/download/${PV}/${BPN}-${PV}.tar.xz;
>  
> -SRC_URI[md5sum] = "28117492bdc9408438e6041683a423ce"
> -SRC_URI[sha256sum] = 
> "41ba892d3f427d4a686de32673f35401bc947a7801f684127120cdb13641441e"
> +SRC_URI[md5sum] = "201b6ae62f7d5fb5b1b25e34427db919"
> +SRC_URI[sha256sum] = 
> "c01f5570f5698a0dda8dc9cfb2a83744daa1ec54758373a6e349bd903375f54d"
>  UPSTREAM_CHECK_REGEX = "bash-completion-(?P(?!2008).+)\.tar"
>  UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases;
>  
> @@ -25,7 +25,7 @@ do_install_append() {
>  
>   # Delete files already provided by util-linux
>   local i
> - for i in mount umount rfkill; do
> + for i in mount umount; do

where did rfkill go ?

>   rm ${D}${datadir}/${BPN}/completions/$i
>   done
>  }
> 

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] packagegroup-core-sdk: update sanitizer lists

2018-04-04 Thread Khem Raj
On 4/4/18 9:16 AM, Dan McGregor wrote:
> From: Dan McGregor 
> 
> aarch64 has been supported since GCC 5.1, sparc has been supported
> since 4.9, and S390 since 7.1.
> 

this is ok

> Signed-off-by: Dan McGregor 
> ---
>  meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb 
> b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
> index a137e7748fd..45e8c135850 100644
> --- a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
> +++ b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
> @@ -27,12 +27,9 @@ RDEPENDS_packagegroup-core-sdk = "\
>  tcl"
>  
>  SANITIZERS = "libasan-dev libubsan-dev"
> -SANITIZERS_aarch64 = ""
>  SANITIZERS_microblaze = ""
>  SANITIZERS_mipsarch = ""
>  SANITIZERS_nios2 = ""
> -SANITIZERS_powerpc64 = ""
> -SANITIZERS_sparc = ""
>  SANITIZERS_riscv64 = ""
>  SANITIZERS_libc-musl = ""
>  
> 

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 19/22] libidn: update to 1.34

2018-04-04 Thread Alexander Kanavin
Drop backported 0001-idn-fix-printf-format-security-warnings.patch and
gcc7-compatibility.patch.

Refresh a couple other patches.

Signed-off-by: Alexander Kanavin 
---
 ...1-idn-fix-printf-format-security-warnings.patch | 694 -
 ..._MKDIR_P_warning_error_with_automake_1.12.patch |  25 +-
 .../libidn/libidn/gcc7-compatibility.patch | 334 --
 .../libidn/libidn_fix_for_automake-1.12.patch  |  19 +-
 .../libidn/{libidn_1.33.bb => libidn_1.34.bb}  |   8 +-
 5 files changed, 34 insertions(+), 1046 deletions(-)
 delete mode 100644 
meta/recipes-extended/libidn/libidn/0001-idn-fix-printf-format-security-warnings.patch
 delete mode 100644 meta/recipes-extended/libidn/libidn/gcc7-compatibility.patch
 rename meta/recipes-extended/libidn/{libidn_1.33.bb => libidn_1.34.bb} (86%)

diff --git 
a/meta/recipes-extended/libidn/libidn/0001-idn-fix-printf-format-security-warnings.patch
 
b/meta/recipes-extended/libidn/libidn/0001-idn-fix-printf-format-security-warnings.patch
deleted file mode 100644
index 2d5faabb240..000
--- 
a/meta/recipes-extended/libidn/libidn/0001-idn-fix-printf-format-security-warnings.patch
+++ /dev/null
@@ -1,694 +0,0 @@
-From 7148adf34dae30345c2e4d9d437838a45ba6f6e8 Mon Sep 17 00:00:00 2001
-From: =?utf8?q?Tim=20R=C3=BChsen?= 
-Date: Wed, 1 Feb 2017 11:06:39 +0100
-Subject: [PATCH] Fix -Wformat warnings
-

-Upstream-Status: Backport
-Signed-off-by: Khem Raj 
-
- examples/example.c |  6 +++---
- examples/example3.c|  4 ++--
- examples/example4.c|  4 ++--
- examples/example5.c|  2 +-
- src/idn.c  |  2 +-
- tests/tst_idna.c   | 25 +
- tests/tst_idna2.c  |  8 
- tests/tst_idna3.c  |  8 
- tests/tst_nfkc.c   |  8 
- tests/tst_pr29.c   | 12 ++--
- tests/tst_punycode.c   | 13 +++--
- tests/tst_strerror.c   | 20 ++--
- tests/tst_stringprep.c | 12 ++--
- tests/tst_tld.c| 20 ++--
- tests/utils.c  |  6 +++---
- 15 files changed, 76 insertions(+), 74 deletions(-)
-
-diff --git a/examples/example.c b/examples/example.c
-index 6e91783..24f64e0 100644
 a/examples/example.c
-+++ b/examples/example.c
-@@ -55,7 +55,7 @@ main (void)
- 
-   printf ("Before locale2utf8 (length %ld): ", (long int) strlen (buf));
-   for (i = 0; i < strlen (buf); i++)
--printf ("%02x ", buf[i] & 0xFF);
-+printf ("%02x ", (unsigned) buf[i] & 0xFF);
-   printf ("\n");
- 
-   p = stringprep_locale_to_utf8 (buf);
-@@ -69,7 +69,7 @@ main (void)
- 
-   printf ("Before stringprep (length %ld): ", (long int) strlen (buf));
-   for (i = 0; i < strlen (buf); i++)
--printf ("%02x ", buf[i] & 0xFF);
-+printf ("%02x ", (unsigned) buf[i] & 0xFF);
-   printf ("\n");
- 
-   rc = stringprep (buf, BUFSIZ, 0, stringprep_nameprep);
-@@ -79,7 +79,7 @@ main (void)
- {
-   printf ("After stringprep (length %ld): ", (long int) strlen (buf));
-   for (i = 0; i < strlen (buf); i++)
--  printf ("%02x ", buf[i] & 0xFF);
-+  printf ("%02x ", (unsigned) buf[i] & 0xFF);
-   printf ("\n");
- }
- 
-diff --git a/examples/example3.c b/examples/example3.c
-index fc11c1c..ffb9042 100644
 a/examples/example3.c
-+++ b/examples/example3.c
-@@ -56,7 +56,7 @@ main (void)
- 
-   printf ("Read string (length %ld): ", (long int) strlen (buf));
-   for (i = 0; i < strlen (buf); i++)
--printf ("%02x ", buf[i] & 0xFF);
-+printf ("%02x ", (unsigned) buf[i] & 0xFF);
-   printf ("\n");
- 
-   rc = idna_to_ascii_lz (buf, , 0);
-@@ -68,7 +68,7 @@ main (void)
- 
-   printf ("ACE label (length %ld): '%s'\n", (long int) strlen (p), p);
-   for (i = 0; i < strlen (p); i++)
--printf ("%02x ", p[i] & 0xFF);
-+printf ("%02x ", (unsigned) p[i] & 0xFF);
-   printf ("\n");
- 
-   free (p);
-diff --git a/examples/example4.c b/examples/example4.c
-index 1b319c9..a3315a1 100644
 a/examples/example4.c
-+++ b/examples/example4.c
-@@ -56,7 +56,7 @@ main (void)
- 
-   printf ("Read string (length %ld): ", (long int) strlen (buf));
-   for (i = 0; i < strlen (buf); i++)
--printf ("%02x ", buf[i] & 0xFF);
-+printf ("%02x ", (unsigned) buf[i] & 0xFF);
-   printf ("\n");
- 
-   rc = idna_to_unicode_lzlz (buf, , 0);
-@@ -68,7 +68,7 @@ main (void)
- 
-   printf ("ACE label (length %ld): '%s'\n", (long int) strlen (p), p);
-   for (i = 0; i < strlen (p); i++)
--printf ("%02x ", p[i] & 0xFF);
-+printf ("%02x ", (unsigned) p[i] & 0xFF);
-   printf ("\n");
- 
-   free (p);
-diff --git a/examples/example5.c b/examples/example5.c
-index df55798..29d40b9 100644
 a/examples/example5.c
-+++ b/examples/example5.c
-@@ -68,7 +68,7 @@ main (void)
- 
-   printf ("Read string (length %ld): ", (long int) strlen (buf));
-   for (i = 0; i < strlen (buf); i++)
--printf ("%02x ", buf[i] & 0xFF);
-+printf ("%02x ", (unsigned) buf[i] & 0xFF);

[OE-core] [PATCH 18/22] btrfs-tools: update to 4.15.1

2018-04-04 Thread Alexander Kanavin
Drop upstreamed 0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch

Add ftw-subdir-walk.patch as it resolves the RECIPE_NO_UPDATE_REASON.

Add --disable-zstd as libzstd isn't provided in oe-core.

Fix wic testcase, as the minimal fs size is now bigger.

Signed-off-by: Alexander Kanavin 
---
 meta/lib/oeqa/selftest/cases/wic.py|  2 +-
 ...ith-musl-missing-header-include-for-dev_t.patch | 26 
 .../btrfs-tools/btrfs-tools/ftw-subdir-walk.patch  | 69 ++
 ...btrfs-tools_4.13.3.bb => btrfs-tools_4.15.1.bb} |  6 +-
 4 files changed, 73 insertions(+), 30 deletions(-)
 delete mode 100644 
meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
 create mode 100644 
meta/recipes-devtools/btrfs-tools/btrfs-tools/ftw-subdir-walk.patch
 rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_4.13.3.bb => 
btrfs-tools_4.15.1.bb} (84%)

diff --git a/meta/lib/oeqa/selftest/cases/wic.py 
b/meta/lib/oeqa/selftest/cases/wic.py
index b84466d9aef..055175212a6 100644
--- a/meta/lib/oeqa/selftest/cases/wic.py
+++ b/meta/lib/oeqa/selftest/cases/wic.py
@@ -765,7 +765,7 @@ part /etc --source rootfs --ondisk mmcblk0 --fstype=ext4 
--exclude-path bin/ --r
 'part emptyvfat   --fstype vfat   --size 1M\n',
 'part emptymsdos  --fstype msdos  --size 1M\n',
 'part emptyext2   --fstype ext2   --size 1M\n',
-'part emptybtrfs  --fstype btrfs  --size 100M\n'])
+'part emptybtrfs  --fstype btrfs  --size 150M\n'])
 wks.flush()
 cmd = "wic create %s -e %s -o %s" % (wks.name, img, self.resultdir)
 self.assertEqual(0, runCmd(cmd).status)
diff --git 
a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
 
b/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
deleted file mode 100644
index 790676b9cbf..000
--- 
a/meta/recipes-devtools/btrfs-tools/btrfs-tools/0001-Fix-build-with-musl-missing-header-include-for-dev_t.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From bc35c4caebb57cc8b96c30c25432b12ca8dc18d5 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Fri, 6 Oct 2017 15:03:49 +0300
-Subject: [PATCH] Fix build with musl (missing header include for dev_t).
-
-Upstream-Status: Pending
-Signed-off-by: Alexander Kanavin 

- convert/source-fs.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/convert/source-fs.h b/convert/source-fs.h
-index 23f3356..6fd770f 100644
 a/convert/source-fs.h
-+++ b/convert/source-fs.h
-@@ -20,6 +20,7 @@
- #include "kerncompat.h"
- #include 
- #include 
-+#include 
- 
- #define CONV_IMAGE_SUBVOL_OBJECTID BTRFS_FIRST_FREE_OBJECTID
- 
--- 
-2.14.1
-
diff --git 
a/meta/recipes-devtools/btrfs-tools/btrfs-tools/ftw-subdir-walk.patch 
b/meta/recipes-devtools/btrfs-tools/btrfs-tools/ftw-subdir-walk.patch
new file mode 100644
index 000..fbe0c47849f
--- /dev/null
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/ftw-subdir-walk.patch
@@ -0,0 +1,69 @@
+From patchwork Wed Mar 28 06:39:09 2018
+Content-Type: text/plain; charset="utf-8"
+MIME-Version: 1.0
+Content-Transfer-Encoding: 7bit
+Subject: btrfs-progs: mkfs/rootdir: Don't follow symbolic link when calcuating
+ size
+From: Qu Wenruo 
+X-Patchwork-Id: 10312225
+Message-Id: <20180328063909.937-1-...@suse.com>
+To: linux-bt...@vger.kernel.org
+Date: Wed, 28 Mar 2018 14:39:09 +0800
+
+[BUG]
+If we have a symbolic link in rootdir pointing to non-existing location,
+mkfs.btrfs --rootdir will just fail:
+--
+$ mkfs.btrfs  -f --rootdir /tmp/rootdir/ /dev/data/btrfs
+btrfs-progs v4.15.1
+See http://btrfs.wiki.kernel.org for more information.
+
+ERROR: ftw subdir walk of /tmp/rootdir/ failed: No such file or directory
+--
+
+[CAUSE]
+Commit 599a0abed564 ("btrfs-progs: mkfs/rootdir: Use over-reserve method
+to make size estimate easier") add extra ftw walk to estimate the
+filesystem size.
+
+Such default ftw walk will follow symbolic link and gives ENOENT error.
+
+[FIX]
+Use nftw() to specify FTW_PHYS so we won't follow symbolic link for size
+calculation.
+
+Reported-by: Alexander Kanavin 
+Fixes: 599a0abed564 ("btrfs-progs: mkfs/rootdir: Use over-reserve method to 
make size estimate easier")
+Signed-off-by: Qu Wenruo 
+Upstream-Status: Submitted [https://patchwork.kernel.org/patch/10312225/]
+---
+ mkfs/rootdir.c | 9 +++--
+ 1 file changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/mkfs/rootdir.c b/mkfs/rootdir.c
+index a1d223a2408a..33c3ff1e18cf 100644
+--- a/mkfs/rootdir.c
 b/mkfs/rootdir.c
+@@ -696,7 +696,7 @@ out:
+ }
+ 
+ static int ftw_add_entry_size(const char *fpath, const struct stat *st,
+-

[OE-core] [PATCH 22/22] oeqa/runtime/cases/python: use python 3 rather than python 2

2018-04-04 Thread Alexander Kanavin
For example, core-image-sato skipped the test alltogether, as it
no longer pulls in Python 2.x at all.

Signed-off-by: Alexander Kanavin 
---
 meta/lib/oeqa/runtime/cases/python.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/lib/oeqa/runtime/cases/python.py 
b/meta/lib/oeqa/runtime/cases/python.py
index bf3e1791638..3d6eb088024 100644
--- a/meta/lib/oeqa/runtime/cases/python.py
+++ b/meta/lib/oeqa/runtime/cases/python.py
@@ -20,16 +20,16 @@ class PythonTest(OERuntimeTestCase):
 
 @OETestID(1145)
 @OETestDepends(['ssh.SSHTest.test_ssh'])
-@OEHasPackage(['python-core'])
+@OEHasPackage(['python3-core'])
 def test_python_exists(self):
-status, output = self.target.run('which python')
+status, output = self.target.run('which python3')
 msg = 'Python binary not in PATH or not on target.'
 self.assertEqual(status, 0, msg=msg)
 
 @OETestID(965)
 @OETestDepends(['python.PythonTest.test_python_exists'])
 def test_python_stdout(self):
-status, output = self.target.run('python /tmp/test.py')
+status, output = self.target.run('python3 /tmp/test.py')
 msg = 'Exit status was not 0. Output: %s' % output
 self.assertEqual(status, 0, msg=msg)
 
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 21/22] libsecret: update to 0.18.6

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../libsecret/{libsecret_0.18.5.bb => libsecret_0.18.6.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-gnome/libsecret/{libsecret_0.18.5.bb => 
libsecret_0.18.6.bb} (80%)

diff --git a/meta/recipes-gnome/libsecret/libsecret_0.18.5.bb 
b/meta/recipes-gnome/libsecret/libsecret_0.18.6.bb
similarity index 80%
rename from meta/recipes-gnome/libsecret/libsecret_0.18.5.bb
rename to meta/recipes-gnome/libsecret/libsecret_0.18.6.bb
index 2b917ec517b..cdc41e762a8 100644
--- a/meta/recipes-gnome/libsecret/libsecret_0.18.5.bb
+++ b/meta/recipes-gnome/libsecret/libsecret_0.18.6.bb
@@ -8,8 +8,8 @@ DEPENDS += "glib-2.0 libgcrypt gettext-native intltool-native"
 
 PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, 
libxslt-native xmlto-native"
 
-SRC_URI[archive.md5sum] = "2d688825921313da8731313b0a7f394c"
-SRC_URI[archive.sha256sum] = 
"9ce7bd8dd5831f2786c935d82638ac428fa085057cc6780aba0e39375887ccb3"
+SRC_URI[archive.md5sum] = "c6cf132a56bd346fbf49a43abb02e5c2"
+SRC_URI[archive.sha256sum] = 
"5efbc890ba41a323ffe0599cd260fd12bd8eb62a04aa1bd1b2762575d253d66f"
 
 # http://errors.yoctoproject.org/Errors/Details/20228/
 ARM_INSTRUCTION_SET = "arm"
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH 1/1] rpm: remove dbus dependency for rpm-native

2018-04-04 Thread Alexander Kanavin

On 04/04/2018 01:45 PM, Chen Qi wrote:

+# dbus dependency is deliberately omitted for rpm-native to prevent it from 
attempting to
+# inhibit shutdown via session dbus, even when some layer enables plugins 
support for rpm-native.
+DEPENDS_remove_class-native = "dbus"
+
  inherit autotools gettext pkgconfig python3native
  export PYTHON_ABI
  
@@ -63,7 +67,7 @@ EXTRA_OECONF_append_libc-musl = " --disable-nls"

  #
  # --localstatedir prevents rpm from writing its database to native sysroot 
when building images
  #
-# Also disable plugins, so that rpm doesn't attempt to inhibit shutdown via 
session dbus
+# Disable plugins for rpm-native.
  EXTRA_OECONF_append_class-native = " --sysconfdir=/etc --localstatedir=/var 
--disable-plugins"



This should definitely be a PACKAGECONFIG option. Actually, two 
different options: "plugins" (pulls in dbus) and "plugins-native" (does 
not pull in dbus). Then both can be enabled for target and native, 
respectively.



Alex


--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] classes/externalsrc: ensure cleandirs code handles non-absolute paths

2018-04-04 Thread Paul Eggleton
It's possible that a trailing or extra slash somewhere in the external
source path could result in the directory not being removed from
cleandirs; it's also possible that a cleandirs entry is somewhere
underneath the source tree and that tree should never have parts of it
deleted by the build system. Use oe.path.is_path_parent() (which makes
paths absolute before checking them) to find out if any path in
cleandirs is anywhere underneath the external source path, and drop it
if it is.

Signed-off-by: Paul Eggleton 
---
 meta/classes/externalsrc.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index ce8517c58b7..c9f5cf767d0 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -54,6 +54,7 @@ python () {
 
 if externalsrc:
 import oe.recipeutils
+import oe.path
 
 d.setVar('S', externalsrc)
 if externalsrcbuild:
@@ -90,7 +91,7 @@ python () {
 cleandirs = oe.recipeutils.split_var_value(d.getVarFlag(task, 
'cleandirs', False) or '')
 setvalue = False
 for cleandir in cleandirs[:]:
-if d.expand(cleandir) == externalsrc:
+if oe.path.is_path_parent(externalsrc, d.expand(cleandir)):
 cleandirs.remove(cleandir)
 setvalue = True
 if setvalue:
-- 
2.14.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] classes/externalsrc: handle if cleandirs contains python expressions

2018-04-04 Thread Paul Eggleton
Use the existing oe.recipeutils.split_var_value() function to split the
unexpanded value of the cleandirs varflag, in case it contains python
expressions - we don't want to split the expression itself as the chunks
will not expand properly individually and we can miss something that
expands to the source tree (and thus it can get deleted, the avoidance
of which is the whole point of this code).

Signed-off-by: Paul Eggleton 
---
 meta/classes/externalsrc.bbclass | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 3f1d39689b8..ce8517c58b7 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -53,6 +53,8 @@ python () {
 d.setVar('BB_DONT_CACHE', '1')
 
 if externalsrc:
+import oe.recipeutils
+
 d.setVar('S', externalsrc)
 if externalsrcbuild:
 d.setVar('B', externalsrcbuild)
@@ -85,7 +87,7 @@ python () {
 d.appendVarFlag(task, "lockfiles", " ${S}/singletask.lock")
 
 # We do not want our source to be wiped out, ever (kernel.bbclass 
does this for do_clean)
-cleandirs = (d.getVarFlag(task, 'cleandirs', False) or '').split()
+cleandirs = oe.recipeutils.split_var_value(d.getVarFlag(task, 
'cleandirs', False) or '')
 setvalue = False
 for cleandir in cleandirs[:]:
 if d.expand(cleandir) == externalsrc:
-- 
2.14.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/2] classes/externalsrc: improve robustness of cleandirs handling

2018-04-04 Thread Paul Eggleton
A couple of fixes prompted by (and in the case of 1/2, required for)
Enrico Jorns's recent cleandirs patch.


The following changes since commit c168f6fe35ada66f7d6d6b5151fa248230c38676:

  systemd: fix typo in sulogin-path setting (2018-04-04 08:50:49 +0100)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib 
paule/externalsrc-cleandirs-fixes
  
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=paule/externalsrc-cleandirs-fixes

Paul Eggleton (2):
  classes/externalsrc: handle if cleandirs contains python expressions
  classes/externalsrc: ensure cleandirs code handles non-absolute paths

 meta/classes/externalsrc.bbclass | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
2.14.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 09/22] webkitgtk: update to 2.20.0

2018-04-04 Thread Alexander Kanavin
Rebase patches, remove a couple of upstreamed patches.

Add an option to enable woff2 font library (not currently packaged by oe).

Signed-off-by: Alexander Kanavin 
---
 .../webkitgtk/0001-Fix-build-with-musl.patch   | 28 +-
 ...01-Fix-gles3-header-when-gles2-is-enabled.patch | 38 -
 ...ix-racy-parallel-build-of-WebKit2-4.0.gir.patch | 63 +++---
 ...cmake-drop-the-hardcoded-introspection-gt.patch | 15 +++---
 ...bKitMacros-Append-to-I-and-not-to-isystem.patch | 52 +-
 ...ng-introspection-files-add-CMAKE_C_FLAGS-.patch | 47 
 .../detect-atomics-during-configure.patch  | 17 +++---
 .../webkitgtk/fix-configure-failure-aarch64.patch  | 29 --
 .../webkit/webkitgtk/x32_support.patch | 24 +
 .../{webkitgtk_2.18.6.bb => webkitgtk_2.20.0.bb}   |  8 +--
 10 files changed, 124 insertions(+), 197 deletions(-)
 delete mode 100644 
meta/recipes-sato/webkit/webkitgtk/0001-Fix-gles3-header-when-gles2-is-enabled.patch
 delete mode 100644 
meta/recipes-sato/webkit/webkitgtk/fix-configure-failure-aarch64.patch
 rename meta/recipes-sato/webkit/{webkitgtk_2.18.6.bb => webkitgtk_2.20.0.bb} 
(95%)

diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-musl.patch 
b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-musl.patch
index 7cc4514fccc..041ec4675f1 100644
--- a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-musl.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-musl.patch
@@ -1,24 +1,25 @@
-From 415e31bd5444fa360af58b069f1b9db6607fca7d Mon Sep 17 00:00:00 2001
+From 4f9d736e0458ed33cd161cd164ad0acdac939f44 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Fri, 6 Oct 2017 17:00:08 +0300
 Subject: [PATCH] Fix build with musl
 
 Upstream-Status: Pending
 Signed-off-by: Alexander Kanavin 
+
 ---
- Source/JavaScriptCore/runtime/MachineContext.h | 10 +-
+ Source/JavaScriptCore/runtime/MachineContext.h | 18 +-
  Source/WTF/wtf/Platform.h  |  2 +-
- 2 files changed, 6 insertions(+), 6 deletions(-)
+ 2 files changed, 18 insertions(+), 2 deletions(-)
 
 diff --git a/Source/JavaScriptCore/runtime/MachineContext.h 
b/Source/JavaScriptCore/runtime/MachineContext.h
-index 95080b9..2bb689c 100644
+index bf0bdc7..84b8a8a 100644
 --- a/Source/JavaScriptCore/runtime/MachineContext.h
 +++ b/Source/JavaScriptCore/runtime/MachineContext.h
 @@ -146,7 +146,7 @@ inline void*& stackPointer(mcontext_t& machineContext)
  #error Unknown Architecture
  #endif
  
--#elif defined(__GLIBC__)
+-#elif defined(__GLIBC__) || defined(__BIONIC__)
 +#elif defined(__linux__)
  
  #if CPU(X86)
@@ -27,7 +28,7 @@ index 95080b9..2bb689c 100644
  #error Unknown Architecture
  #endif
  
--#elif defined(__GLIBC__)
+-#elif defined(__GLIBC__) || defined(__BIONIC__)
 +#elif defined(__linux__)
  
  // The following sequence depends on glibc's sys/ucontext.h.
@@ -36,7 +37,7 @@ index 95080b9..2bb689c 100644
  #error Unknown Architecture
  #endif
  
--#elif defined(__GLIBC__)
+-#elif defined(__GLIBC__) || defined(__BIONIC__)
 +#elif defined(__linux__)
  
  // The following sequence depends on glibc's sys/ucontext.h.
@@ -45,7 +46,7 @@ index 95080b9..2bb689c 100644
  #error Unknown Architecture
  #endif
  
--#elif defined(__GLIBC__)
+-#elif defined(__GLIBC__) || defined(__BIONIC__)
 +#elif defined(__linux__)
  
  // The following sequence depends on glibc's sys/ucontext.h.
@@ -54,24 +55,21 @@ index 95080b9..2bb689c 100644
  #error Unknown Architecture
  #endif
  
--#elif defined(__GLIBC__)
+-#elif defined(__GLIBC__) || defined(__BIONIC__)
 +#elif defined(__linux__)
  
  // The following sequence depends on glibc's sys/ucontext.h.
  #if CPU(X86)
 diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
-index 5a2863b..b36c3ff 100644
+index 551c047..e50b05a 100644
 --- a/Source/WTF/wtf/Platform.h
 +++ b/Source/WTF/wtf/Platform.h
-@@ -680,7 +680,7 @@
+@@ -683,7 +683,7 @@
  #define HAVE_CFNETWORK_STORAGE_PARTITIONING 1
  #endif
  
--#if OS(DARWIN) || ((OS(FREEBSD) || defined(__GLIBC__)) && (CPU(X86) || 
CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)))
+-#if OS(DARWIN) || ((OS(FREEBSD) || defined(__GLIBC__) || defined(__BIONIC__)) 
&& (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)))
 +#if OS(DARWIN) || ((OS(FREEBSD) || defined(__linux__)) && (CPU(X86) || 
CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS)))
  #define HAVE_MACHINE_CONTEXT 1
  #endif
  
--- 
-2.14.1
-
diff --git 
a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-gles3-header-when-gles2-is-enabled.patch
 
b/meta/recipes-sato/webkit/webkitgtk/0001-Fix-gles3-header-when-gles2-is-enabled.patch
deleted file mode 100644
index 21574072f17..000
--- 
a/meta/recipes-sato/webkit/webkitgtk/0001-Fix-gles3-header-when-gles2-is-enabled.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 

[OE-core] [PATCH 16/22] libaio: update to 0.3.111

2018-04-04 Thread Alexander Kanavin
Remove:
generic-arch-dectection-for-padding-defines.patch (was a backport)
libaio_fix_for_x32.patch (is patching source code that no longer exists)

Rebase:
00_arches.patch (drop the arm bits, as they no longer exist upstream either)

Signed-off-by: Alexander Kanavin 
---
 .../recipes-extended/libaio/libaio/00_arches.patch | 194 +
 ...neric-arch-dectection-for-padding-defines.patch |  65 ---
 .../libaio/libaio/libaio_fix_for_x32.patch |  61 ---
 .../{libaio_0.3.110.bb => libaio_0.3.111.bb}   |  11 +-
 4 files changed, 47 insertions(+), 284 deletions(-)
 delete mode 100644 
meta/recipes-extended/libaio/libaio/generic-arch-dectection-for-padding-defines.patch
 delete mode 100644 meta/recipes-extended/libaio/libaio/libaio_fix_for_x32.patch
 rename meta/recipes-extended/libaio/{libaio_0.3.110.bb => libaio_0.3.111.bb} 
(57%)

diff --git a/meta/recipes-extended/libaio/libaio/00_arches.patch 
b/meta/recipes-extended/libaio/libaio/00_arches.patch
index 9d6447d98a2..bec189f87ca 100644
--- a/meta/recipes-extended/libaio/libaio/00_arches.patch
+++ b/meta/recipes-extended/libaio/libaio/00_arches.patch
@@ -1,11 +1,27 @@
+From ceba1e03e5b57cdae0b3b2d2c9afebc085c986d8 Mon Sep 17 00:00:00 2001
+From: Qing He 
+Date: Fri, 27 Aug 2010 10:15:31 +0800
+Subject: [PATCH] libaio: add new recipe
+
 Upstream-Status: Inappropriate [embedded specific]
 
 from openembedded, added by Qing He 
 
-Index: libaio-0.3.110/src/syscall-m68k.h
-===
+---
+ src/syscall-m68k.h   |  78 ++
+ src/syscall-mips.h   | 223 +++
+ src/syscall-parisc.h | 146 +
+ src/syscall.h|   6 ++
+ 4 files changed, 453 insertions(+)
+ create mode 100644 src/syscall-m68k.h
+ create mode 100644 src/syscall-mips.h
+ create mode 100644 src/syscall-parisc.h
+
+diff --git a/src/syscall-m68k.h b/src/syscall-m68k.h
+new file mode 100644
+index 000..f440412
 --- /dev/null
-+++ libaio-0.3.110/src/syscall-m68k.h
 b/src/syscall-m68k.h
 @@ -0,0 +1,78 @@
 +#define __NR_io_setup 241
 +#define __NR_io_destroy   242
@@ -85,27 +101,11 @@ Index: libaio-0.3.110/src/syscall-m68k.h
 +return (type) __res; \
 +}
 +
-Index: libaio-0.3.110/src/syscall.h
-===
 libaio-0.3.110.orig/src/syscall.h
-+++ libaio-0.3.110/src/syscall.h
-@@ -28,6 +28,12 @@
- #include "syscall-sparc.h"
- #elif defined(__aarch64__)
- #include "syscall-arm64.h"
-+#elif defined(__m68k__)
-+#include "syscall-m68k.h"
-+#elif defined(__hppa__)
-+#include "syscall-parisc.h"
-+#elif defined(__mips__)
-+#include "syscall-mips.h"
- #else
- #warning "using generic syscall method"
- #include "syscall-generic.h"
-Index: libaio-0.3.110/src/syscall-mips.h
-===
+diff --git a/src/syscall-mips.h b/src/syscall-mips.h
+new file mode 100644
+index 000..4142499
 --- /dev/null
-+++ libaio-0.3.110/src/syscall-mips.h
 b/src/syscall-mips.h
 @@ -0,0 +1,223 @@
 +/*
 + * This file is subject to the terms and conditions of the GNU General Public
@@ -330,10 +330,11 @@ Index: libaio-0.3.110/src/syscall-mips.h
 +
 +#endif /* (_MIPS_SIM == _MIPS_SIM_NABI32) || (_MIPS_SIM == _MIPS_SIM_ABI64) */
 +
-Index: libaio-0.3.110/src/syscall-parisc.h
-===
+diff --git a/src/syscall-parisc.h b/src/syscall-parisc.h
+new file mode 100644
+index 000..ff61746
 --- /dev/null
-+++ libaio-0.3.110/src/syscall-parisc.h
 b/src/syscall-parisc.h
 @@ -0,0 +1,146 @@
 +/*
 + * Linux system call numbers.
@@ -481,127 +482,20 @@ Index: libaio-0.3.110/src/syscall-parisc.h
 +return K_INLINE_SYSCALL(sname, 5, arg1, arg2, arg3, arg4, arg5);  \
 +}
 +
-Index: libaio-0.3.110/src/syscall-arm.h
-===
 libaio-0.3.110.orig/src/syscall-arm.h
-+++ libaio-0.3.110/src/syscall-arm.h
-@@ -114,3 +114,119 @@ type fname(type1 arg1, type2 arg2, type3
-   return (type) __res_r0; \
- }
- 
-+/*
-+ *  linux/include/asm-arm/unistd.h
-+ *
-+ *  Copyright (C) 2001-2005 Russell King
-+ *
-+ * This program is free software; you can redistribute it and/or modify
-+ * it under the terms of the GNU General Public License version 2 as
-+ * published by the Free Software Foundation.
-+ *
-+ * Please forward _all_ changes to this file to r...@arm.linux.org.uk,
-+ * no matter what the change is.  Thanks!
-+ */
-+
-+#define __NR_OABI_SYSCALL_BASE0x90
-+
-+#if defined(__thumb__) || defined(__ARM_EABI__)
-+#define __NR_SYSCALL_BASE 0
-+#else
-+#define __NR_SYSCALL_BASE __NR_OABI_SYSCALL_BASE
-+#endif
-+
-+#define __NR_io_setup (__NR_SYSCALL_BASE+243)
-+#define 

[OE-core] [PATCH 15/22] babeltrace: update to 1.5.5

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../recipes-kernel/lttng/{babeltrace_1.5.4.bb => babeltrace_1.5.5.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-kernel/lttng/{babeltrace_1.5.4.bb => babeltrace_1.5.5.bb} 
(82%)

diff --git a/meta/recipes-kernel/lttng/babeltrace_1.5.4.bb 
b/meta/recipes-kernel/lttng/babeltrace_1.5.5.bb
similarity index 82%
rename from meta/recipes-kernel/lttng/babeltrace_1.5.4.bb
rename to meta/recipes-kernel/lttng/babeltrace_1.5.5.bb
index a29402adb16..92d86b92e8b 100644
--- a/meta/recipes-kernel/lttng/babeltrace_1.5.4.bb
+++ b/meta/recipes-kernel/lttng/babeltrace_1.5.5.bb
@@ -15,5 +15,5 @@ SRC_URI = 
"http://www.efficios.com/files/babeltrace/babeltrace-${PV}.tar.bz2 \
 
 EXTRA_OECONF = "--disable-debug-info"
 
-SRC_URI[md5sum] = "3e8cdafec3ac0346a389870e87bf1344"
-SRC_URI[sha256sum] = 
"9643039923a0abc75a25b3d594cee0017423b57f10d2b625e96ed1e8d4891fc1"
+SRC_URI[md5sum] = "7decafd46093e4e47c14e7307d498986"
+SRC_URI[sha256sum] = 
"409146789b4a6b81f6a275fcad932a030743d444f6de5bd4a34aaf17aa72e8ac"
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 20/22] procps: update to 3.3.13

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../procps/0001-Fix-out-of-tree-builds.patch   | 24 ++
 .../procps/{procps_3.3.12.bb => procps_3.3.13.bb}  |  7 ---
 2 files changed, 28 insertions(+), 3 deletions(-)
 create mode 100644 
meta/recipes-extended/procps/procps/0001-Fix-out-of-tree-builds.patch
 rename meta/recipes-extended/procps/{procps_3.3.12.bb => procps_3.3.13.bb} 
(92%)

diff --git 
a/meta/recipes-extended/procps/procps/0001-Fix-out-of-tree-builds.patch 
b/meta/recipes-extended/procps/procps/0001-Fix-out-of-tree-builds.patch
new file mode 100644
index 000..e548194362c
--- /dev/null
+++ b/meta/recipes-extended/procps/procps/0001-Fix-out-of-tree-builds.patch
@@ -0,0 +1,24 @@
+From 0825db94fc91fa2150c0e649e92cc8dcc44f4b38 Mon Sep 17 00:00:00 2001
+From: Alexander Kanavin 
+Date: Wed, 4 Apr 2018 14:09:45 +0300
+Subject: [PATCH] Fix out of tree builds
+
+Upstream-Status: Pending
+Signed-off-by: Alexander Kanavin 
+---
+ include/nls.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/nls.h b/include/nls.h
+index 1166b7b..f5abe05 100644
+--- a/include/nls.h
 b/include/nls.h
+@@ -6,7 +6,7 @@
+ #define PROCPS_NG_NLS_H
+ 
+ /* programs issuing textdomain() need PACKAGE string */
+-#include "../config.h"
++#include "config.h"
+ 
+ /* programs issuing bindtextdomain() also need LOCALEDIR string */
+ #ifndef LOCALEDIR
diff --git a/meta/recipes-extended/procps/procps_3.3.12.bb 
b/meta/recipes-extended/procps/procps_3.3.13.bb
similarity index 92%
rename from meta/recipes-extended/procps/procps_3.3.12.bb
rename to meta/recipes-extended/procps/procps_3.3.13.bb
index 99e43c5349e..ae4a7226fc2 100644
--- a/meta/recipes-extended/procps/procps_3.3.12.bb
+++ b/meta/recipes-extended/procps/procps_3.3.13.bb
@@ -14,10 +14,11 @@ inherit autotools gettext pkgconfig update-alternatives
 
 SRC_URI = 
"http://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-${PV}.tar.xz
 \
file://sysctl.conf \
-  "
+   file://0001-Fix-out-of-tree-builds.patch \
+   "
 
-SRC_URI[md5sum] = "957e42e8b193490b2111252e4a2b443c"
-SRC_URI[sha256sum] = 
"6ed65ab86318f37904e8f9014415a098bec5bc53653e5d9ab404f95ca5e1a7d4"
+SRC_URI[md5sum] = "ad20fe97b3f45797dd43e2d3e046ff32"
+SRC_URI[sha256sum] = 
"52b05b2bd5b05f46f24766a10474337ebadd828df9915e2b178df291cf88f7d3"
 
 S = "${WORKDIR}/procps-ng-${PV}"
 
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 14/22] icu: update to 61.1

2018-04-04 Thread Alexander Kanavin
License-Update: copyright years updated, added terms for Google 
double-conversion

Signed-off-by: Alexander Kanavin 
---
 meta/recipes-support/icu/{icu_60.2.bb => icu_61.1.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-support/icu/{icu_60.2.bb => icu_61.1.bb} (78%)

diff --git a/meta/recipes-support/icu/icu_60.2.bb 
b/meta/recipes-support/icu/icu_61.1.bb
similarity index 78%
rename from meta/recipes-support/icu/icu_60.2.bb
rename to meta/recipes-support/icu/icu_61.1.bb
index 585a92bc4cd..ffaf3508966 100644
--- a/meta/recipes-support/icu/icu_60.2.bb
+++ b/meta/recipes-support/icu/icu_61.1.bb
@@ -1,6 +1,6 @@
 require icu.inc
 
-LIC_FILES_CHKSUM = "file://../LICENSE;md5=675f2d069434d8a1e4e6b0dcf4379226"
+LIC_FILES_CHKSUM = "file://../LICENSE;md5=63752c57bd0b365c9af9f427ef79c819"
 
 def icu_download_version(d):
 pvsplit = d.getVar('PV').split('.')
@@ -22,8 +22,8 @@ SRC_URI = "${BASE_SRC_URI} \
 SRC_URI_append_class-target = "\
file://0001-Disable-LDFLAGSICUDT-for-Linux.patch \
   "
-SRC_URI[md5sum] = "43861b127744b3c0b9d7f386f4b9fa40"
-SRC_URI[sha256sum] = 
"f073ea8f35b926d70bb33e6577508aa642a8b316a803f11be20af384811db418"
+SRC_URI[md5sum] = "68fe38999fef94d622bd6843d43c0615"
+SRC_URI[sha256sum] = 
"d007f89ae8a2543a53525c74359b65b36412fa84b3349f1400be6dcf409fafef"
 
 UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)/"
 UPSTREAM_CHECK_URI = "http://download.icu-project.org/files/icu4c/;
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 11/22] gnome-desktop3: update to 3.28.0

2018-04-04 Thread Alexander Kanavin
Rebase 0001-Disable-libseccomp-sycall-filtering-mechanism.patch
Remove 0001-configure.ac-Remove-gnome-common-macro-calls.patch as
the lines it removes are no longer in upstream code.

Signed-off-by: Alexander Kanavin 
---
 ...ble-libseccomp-sycall-filtering-mechanism.patch | 31 
 ...figure.ac-Remove-gnome-common-macro-calls.patch | 33 --
 ...desktop3_3.26.2.bb => gnome-desktop3_3.28.0.bb} |  5 ++--
 3 files changed, 21 insertions(+), 48 deletions(-)
 delete mode 100644 
meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-configure.ac-Remove-gnome-common-macro-calls.patch
 rename meta/recipes-gnome/gnome-desktop/{gnome-desktop3_3.26.2.bb => 
gnome-desktop3_3.28.0.bb} (81%)

diff --git 
a/meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch
 
b/meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch
index 10b07435c42..aa11e8a62ec 100644
--- 
a/meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch
+++ 
b/meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-Disable-libseccomp-sycall-filtering-mechanism.patch
@@ -1,4 +1,4 @@
-From 9dfada06f8d2e02d7a04f793ba6e1d4a2aa5ffb7 Mon Sep 17 00:00:00 2001
+From 96753d85d8b53dd8f87b8f444892efffdbfab388 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Thu, 5 Oct 2017 14:54:17 +0300
 Subject: [PATCH] Disable libseccomp (sycall filtering mechanism)
@@ -7,32 +7,39 @@ Upstream forgot to make it optional, and it is not currently 
used in Yocto
 
 Upstream-Status: Inappropriate [oe-core specific]
 Signed-off-by: Alexander Kanavin 
+
 ---
- configure.ac | 11 ---
- 1 file changed, 11 deletions(-)
+ configure.ac | 20 
+ 1 file changed, 20 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index 86bcf1f..8911f19 100644
+index 118d04f..47c8894 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -157,17 +157,6 @@ else
- fi
+@@ -151,26 +151,6 @@ fi
  
  SECCOMP_PKG=""
+ enable_seccomp="no"
 -dnl Check for bubblewrap compatible platform
 -case $host_os in
 -  linux*)
--PKG_CHECK_MODULES(LIBSECCOMP, [libseccomp])
--SECCOMP_PKG="libseccomp"
+-case $host_cpu in
+-  alpha|ia64|m68k|sh4|sparc64)
+-enable_seccomp="no (not available on this architecture)"
+-AC_MSG_WARN("seccomp not available on this architecture")
+-;;
+-  *)
+-PKG_CHECK_MODULES(LIBSECCOMP, [libseccomp])
+-SECCOMP_PKG="libseccomp"
+-AC_DEFINE([ENABLE_SECCOMP], [1], [Define if using seccomp])
+-enable_seccomp="yes"
+-;;
+-esac
 -AC_DEFINE_UNQUOTED(_GNU_SOURCE, 1, [Define to include GNU extensions])
 -AC_DEFINE_UNQUOTED(HAVE_BWRAP, 1, [Define to 1 if Bubblewrap support is 
available])
--AC_DEFINE([ENABLE_SECCOMP], [1], [Define if using seccomp])
 -AC_DEFINE_UNQUOTED(INSTALL_PREFIX, "$prefix", [Path to library install 
prefix])
 -;;
 -esac
  
  dnl pkg-config dependency checks
  
--- 
-2.14.1
-
diff --git 
a/meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-configure.ac-Remove-gnome-common-macro-calls.patch
 
b/meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-configure.ac-Remove-gnome-common-macro-calls.patch
deleted file mode 100644
index e95393c6b5c..000
--- 
a/meta/recipes-gnome/gnome-desktop/gnome-desktop/0001-configure.ac-Remove-gnome-common-macro-calls.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 834bc861921fe0361f2d6a5b5716fc97a9519478 Mon Sep 17 00:00:00 2001
-From: Jussi Kukkonen 
-Date: Thu, 6 Jul 2017 13:13:45 +0300
-Subject: [PATCH] configure.ac: Remove gnome-common macro calls
-
-gnome-common is deprecated and these aren't doing much for us.
-
-Upstreamable fix would probably involve using autoconf-archive:
-Trying to avoid that dependency for now.
-
-Upstream-Status: Inappropriate
-Signed-off-by: Jussi Kukkonen 

- configure.ac | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 7adcf0e..bb7659d 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -71,9 +71,6 @@ AC_SUBST(GNOME_DATE)
- AC_SUBST(GNOME_DATE_COMMENT_START)
- AC_SUBST(GNOME_DATE_COMMENT_END)
- 
--GNOME_COMPILE_WARNINGS([maximum])
--GNOME_MAINTAINER_MODE_DEFINES
--
- AC_ARG_ENABLE(deprecation_flags,
-   [AC_HELP_STRING([--enable-deprecation-flags],
-   [use *_DISABLE_DEPRECATED flags 
@<:@default=no@:>@])],,
--- 
-2.1.4
-
diff --git a/meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.26.2.bb 
b/meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.28.0.bb
similarity index 81%
rename from meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.26.2.bb
rename to meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.28.0.bb
index 879dc9a2f6e..e23c0305775 100644
--- 

[OE-core] [PATCH 13/22] gtk-doc: update to 1.28

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch | 12 ++--
 .../gtk-doc/{gtk-doc_1.27.bb => gtk-doc_1.28.bb} |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)
 rename meta/recipes-gnome/gtk-doc/{gtk-doc_1.27.bb => gtk-doc_1.28.bb} (93%)

diff --git a/meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch 
b/meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch
index bfbc777ff87..b77b5a5bcd8 100644
--- a/meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch
+++ b/meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch
@@ -1,7 +1,7 @@
-From 5f145621b4780cfd6a5632fcc97c45f572938efc Mon Sep 17 00:00:00 2001
+From ae29d175016accd8a05ab1e52fc6435ac6291cfc Mon Sep 17 00:00:00 2001
 From: Ross Burton 
 Date: Mon, 5 Sep 2016 22:25:44 +0100
-Subject: [PATCH 5/5] Use native pkg-config when looking for gtk-doc.
+Subject: [PATCH] Use native pkg-config when looking for gtk-doc.
 
 Upstream-Status: Inappropriate
 Signed-off-by: Ross Burton 
@@ -10,10 +10,10 @@ Signed-off-by: Ross Burton 
  gtk-doc.m4 | 7 ++-
  1 file changed, 6 insertions(+), 1 deletion(-)
 
-Index: gtk-doc-1.27/gtk-doc.m4
-===
 gtk-doc-1.27.orig/gtk-doc.m4
-+++ gtk-doc-1.27/gtk-doc.m4
+diff --git a/gtk-doc.m4 b/gtk-doc.m4
+index 2d12f01..e5afc3f 100644
+--- a/gtk-doc.m4
 b/gtk-doc.m4
 @@ -25,7 +25,7 @@
  # Macro appear in them. The GNU General Public License (GPL) does govern
  # all other use of the material that constitutes the Autoconf Macro.
diff --git a/meta/recipes-gnome/gtk-doc/gtk-doc_1.27.bb 
b/meta/recipes-gnome/gtk-doc/gtk-doc_1.28.bb
similarity index 93%
rename from meta/recipes-gnome/gtk-doc/gtk-doc_1.27.bb
rename to meta/recipes-gnome/gtk-doc/gtk-doc_1.28.bb
index 45528111c13..a2ec6ac78f5 100644
--- a/meta/recipes-gnome/gtk-doc/gtk-doc_1.27.bb
+++ b/meta/recipes-gnome/gtk-doc/gtk-doc_1.28.bb
@@ -18,8 +18,8 @@ PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", 
"api-documentation",
 PACKAGECONFIG[working-scripts] = 
"--with-highlight=source-highlight,--with-highlight=no,libxslt-native 
xmlto-native source-highlight-native python3-six"
 PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,glib-2.0"
 
-SRC_URI[archive.md5sum] = "b29949e0964762e474b706ce22171602"
-SRC_URI[archive.sha256sum] = 
"e26bd3f7080c749b1cb66c46c6bf8239e2f320a949964fb9c6d56e1b0c6d9a6f"
+SRC_URI[archive.md5sum] = "48550c33f9b9b530f9e5f397979b613a"
+SRC_URI[archive.sha256sum] = 
"911e29e302252c96128965ee1f4067d5431a88e00ad1023a8bc1d6b922af5715"
 SRC_URI += "file://0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch 
\
file://0001-Do-not-error-out-if-xsltproc-is-not-found.patch \
file://conditionaltests.patch \
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 12/22] epiphany: update to 3.28.0.1

2018-04-04 Thread Alexander Kanavin
Rebase 0002-help-meson.build-disable-the-use-of-yelp.patch.

Signed-off-by: Alexander Kanavin 
---
 .../{epiphany_3.26.6.bb => epiphany_3.28.0.1.bb} |  6 +++---
 ...02-help-meson.build-disable-the-use-of-yelp.patch | 20 
 2 files changed, 11 insertions(+), 15 deletions(-)
 rename meta/recipes-gnome/epiphany/{epiphany_3.26.6.bb => 
epiphany_3.28.0.1.bb} (81%)

diff --git a/meta/recipes-gnome/epiphany/epiphany_3.26.6.bb 
b/meta/recipes-gnome/epiphany/epiphany_3.28.0.1.bb
similarity index 81%
rename from meta/recipes-gnome/epiphany/epiphany_3.26.6.bb
rename to meta/recipes-gnome/epiphany/epiphany_3.28.0.1.bb
index e250f76ed1e..c878ee3229a 100644
--- a/meta/recipes-gnome/epiphany/epiphany_3.26.6.bb
+++ b/meta/recipes-gnome/epiphany/epiphany_3.28.0.1.bb
@@ -13,10 +13,10 @@ REQUIRED_DISTRO_FEATURES = "x11"
 SRC_URI = 
"${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive
 \
file://0002-help-meson.build-disable-the-use-of-yelp.patch \
"
-SRC_URI[archive.md5sum] = "8449968366a6f9aaff3ac228ddfc7c66"
-SRC_URI[archive.sha256sum] = 
"01b16aa55d312ae0f17d3136f90d8c68ac748715f119412fb1917023c6f630a8"
+SRC_URI[archive.md5sum] = "3e127d843d3f255f426ab34804f29163"
+SRC_URI[archive.sha256sum] = 
"7154b06837655771f2240bf378fb8ba2315ae07dbc6f45d160ca29cd6d377808"
 
 EXTRA_OEMESON += " -Ddistributor_name=${DISTRO}"
 
-FILES_${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers"
+FILES_${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers 
${datadir}/metainfo"
 RDEPENDS_${PN} = "iso-codes adwaita-icon-theme"
diff --git 
a/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch
 
b/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch
index 249517d8f90..d4f3cc1d35f 100644
--- 
a/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch
+++ 
b/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch
@@ -1,34 +1,30 @@
-From fc314fc3a66c92fe73e1a0cea4f49d11b29e1f45 Mon Sep 17 00:00:00 2001
+From 0048ae2d225d25cc58f378718ca6f9ddb1a228f9 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Wed, 31 Jan 2018 15:50:38 +0200
-Subject: [PATCH 2/2] help/meson.build: disable the use of yelp
+Subject: [PATCH] help/meson.build: disable the use of yelp
 
 In particular this avoids calling itstool which oe-core doesn't provide.
 
 Upstream-Status: Inappropriate [oe-core specific]
 Signed-off-by: Alexander Kanavin 
+
 ---
- help/meson.build | 10 +-
- 1 file changed, 5 insertions(+), 5 deletions(-)
+ help/meson.build | 8 
+ 1 file changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/help/meson.build b/help/meson.build
-index f720add..cbfeb1e 100644
+index fddcf4c..f7d76c6 100644
 --- a/help/meson.build
 +++ b/help/meson.build
-@@ -46,8 +46,8 @@ help_linguas = [
-   'sv'
+@@ -32,7 +32,7 @@ help_media = [
+   'media/web-browser.png'
  ]
  
 -gnome.yelp(meson.project_name(),
 -  sources: help_files,
 -  media: help_media,
--  languages: help_linguas,
 -)
 +#gnome.yelp(meson.project_name(),
 +#  sources: help_files,
 +#  media: help_media,
-+#  languages: help_linguas,
 +#)
--- 
-2.15.1
-
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 10/22] gsettings-desktop-schemas: update to 3.28.0

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...-desktop-schemas_3.24.1.bb => gsettings-desktop-schemas_3.28.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename 
meta/recipes-gnome/gsettings-desktop-schemas/{gsettings-desktop-schemas_3.24.1.bb
 => gsettings-desktop-schemas_3.28.0.bb} (70%)

diff --git 
a/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.24.1.bb
 
b/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.28.0.bb
similarity index 70%
rename from 
meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.24.1.bb
rename to 
meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.28.0.bb
index b61fd2408f4..c2b3cd89550 100644
--- 
a/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.24.1.bb
+++ 
b/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.28.0.bb
@@ -9,5 +9,5 @@ DEPENDS = "glib-2.0 intltool-native"
 
 inherit gnomebase gsettings gettext gobject-introspection 
upstream-version-is-even
 
-SRC_URI[archive.md5sum] = "796b6ac1eff450261edd521b72e7fe6d"
-SRC_URI[archive.sha256sum] = 
"76a3fa309f9de6074d66848987214f0b128124ba7184c958c15ac78a8ac7eea7"
+SRC_URI[archive.md5sum] = "370610e29b37d063ede3ef0f29c06eb9"
+SRC_URI[archive.sha256sum] = 
"4cb4cd7790b77e5542ec75275237613ad22f3a1f2f41903a298cf6cc996a9167"
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 17/22] meson: update to 0.45.1

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 ...ix-issues-that-arise-when-cross-compiling.patch | 34 ++
 .../meson/{meson_0.44.1.bb => meson_0.45.1.bb} |  4 +--
 2 files changed, 18 insertions(+), 20 deletions(-)
 rename meta/recipes-devtools/meson/{meson_0.44.1.bb => meson_0.45.1.bb} (83%)

diff --git 
a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
 
b/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
index 1912e94358e..a00743fda84 100644
--- 
a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
+++ 
b/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch
@@ -1,7 +1,7 @@
-From c5692cac9c555664281377a82bf8b1e46934f437 Mon Sep 17 00:00:00 2001
+From d1c2b3bf01f1a5897cf5c906ba2326fb68c6af12 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Fri, 4 Aug 2017 16:16:41 +0300
-Subject: [PATCH 1/3] gtkdoc: fix issues that arise when cross-compiling
+Subject: [PATCH] gtkdoc: fix issues that arise when cross-compiling
 
 Specifically:
 1) Make it possible to specify a wrapper for executing binaries
@@ -21,10 +21,10 @@ Signed-off-by: Alexander Kanavin 
  2 files changed, 22 insertions(+), 5 deletions(-)
 
 diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
-index 56765a5..4f7fe30 100644
+index 569011e..770ff4f 100644
 --- a/mesonbuild/modules/gnome.py
 +++ b/mesonbuild/modules/gnome.py
-@@ -769,6 +769,10 @@ This will become a hard error in the future.''')
+@@ -773,6 +773,10 @@ This will become a hard error in the future.''')
  '--mode=' + mode]
  if namespace:
  args.append('--namespace=' + namespace)
@@ -35,10 +35,10 @@ index 56765a5..4f7fe30 100644
  args += self._unpack_args('--htmlargs=', 'html_args', kwargs)
  args += self._unpack_args('--scanargs=', 'scan_args', kwargs)
  args += self._unpack_args('--scanobjsargs=', 'scanobjs_args', kwargs)
-@@ -796,14 +800,22 @@ This will become a hard error in the future.''')
- raise MesonException(
- 'Gir include dirs should be include_directories().')
+@@ -829,14 +833,22 @@ This will become a hard error in the future.''')
  cflags.update(get_include_args(inc_dirs))
+ cflags.update(state.environment.coredata.external_args['c'])
+ ldflags.update(state.environment.coredata.external_link_args['c'])
 +
 +cross_c_args = " 
".join(state.environment.cross_info.config["properties"].get('c_args', ""))
 +cross_link_args = " 
".join(state.environment.cross_info.config["properties"].get('c_link_args', ""))
@@ -62,26 +62,27 @@ index 56765a5..4f7fe30 100644
  return args
  
 diff --git a/mesonbuild/scripts/gtkdochelper.py 
b/mesonbuild/scripts/gtkdochelper.py
-index 4406b28..b846827 100644
+index 2a5ee8b..2fd692b 100644
 --- a/mesonbuild/scripts/gtkdochelper.py
 +++ b/mesonbuild/scripts/gtkdochelper.py
-@@ -44,13 +44,14 @@ parser.add_argument('--ignore-headers', 
dest='ignore_headers', default='')
+@@ -45,6 +45,7 @@ parser.add_argument('--ignore-headers', 
dest='ignore_headers', default='')
  parser.add_argument('--namespace', dest='namespace', default='')
  parser.add_argument('--mode', dest='mode', default='')
  parser.add_argument('--installdir', dest='install_dir')
 +parser.add_argument('--gtkdoc-exe-wrapper', dest='gtkdoc_exe_wrapper')
  
- def gtkdoc_run_check(cmd, cwd):
- # Put stderr into stdout since we want to print it out anyway.
+ def gtkdoc_run_check(cmd, cwd, library_path=None):
+ env = dict(os.environ)
+@@ -54,7 +55,7 @@ def gtkdoc_run_check(cmd, cwd, library_path=None):
  # This preserves the order of messages.
- p, out = Popen_safe(cmd, cwd=cwd, stderr=subprocess.STDOUT)[0:2]
+ p, out = Popen_safe(cmd, cwd=cwd, env=env, stderr=subprocess.STDOUT)[0:2]
  if p.returncode != 0:
 -err_msg = ["{!r} failed with status {:d}".format(cmd[0], 
p.returncode)]
 +err_msg = ["{!r} failed with status {:d}".format(cmd, p.returncode)]
  if out:
  err_msg.append(out)
  raise MesonException('\n'.join(err_msg))
-@@ -58,7 +59,7 @@ def gtkdoc_run_check(cmd, cwd):
+@@ -62,7 +63,7 @@ def gtkdoc_run_check(cmd, cwd, library_path=None):
  def build_gtkdoc(source_root, build_root, doc_subdir, src_subdirs,
   main_file, module,
   html_args, scan_args, fixxref_args, mkdb_args,
@@ -90,7 +91,7 @@ index 4406b28..b846827 100644
   html_assets, content_files, ignore_headers, namespace,
   expand_content_files, mode):
  print("Building documentation for %s" % module)
-@@ -111,6 +112,9 @@ def build_gtkdoc(source_root, build_root, doc_subdir, 
src_subdirs,
+@@ -115,6 +116,9 @@ def build_gtkdoc(source_root, build_root, doc_subdir, 

[OE-core] [PATCH 1/1] rpm: remove dbus dependency for rpm-native

2018-04-04 Thread Chen Qi
Previously, the rpm recipe tries to prevent rpm-native from attempting
to inhibit shutdown via session dbus by appending '--disable-plugins'
to EXTRA_OECONF in case of native.

However, some layer may need some functionality via plugin support. And
when it enables it, we would meet the following warning at rootfs time.

  Unable to get systemd shutdown inhibition lock: Socket name too long

As plugins/systemd_inhibit.c is the only place that's related to this
dependency, we can be sure that this dependency is really not needed in
case of native. So we explictly remove the dbus dependency for rpm-native.

Signed-off-by: Chen Qi 
---
 meta/recipes-devtools/rpm/rpm_4.14.1.bb | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/rpm/rpm_4.14.1.bb 
b/meta/recipes-devtools/rpm/rpm_4.14.1.bb
index 7b8ea46..88f9535 100644
--- a/meta/recipes-devtools/rpm/rpm_4.14.1.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.14.1.bb
@@ -50,6 +50,10 @@ S = "${WORKDIR}/git"
 DEPENDS = "nss libarchive db file popt xz bzip2 dbus elfutils python3"
 DEPENDS_append_class-native = " file-replacement-native 
bzip2-replacement-native"
 
+# dbus dependency is deliberately omitted for rpm-native to prevent it from 
attempting to
+# inhibit shutdown via session dbus, even when some layer enables plugins 
support for rpm-native.
+DEPENDS_remove_class-native = "dbus"
+
 inherit autotools gettext pkgconfig python3native
 export PYTHON_ABI
 
@@ -63,7 +67,7 @@ EXTRA_OECONF_append_libc-musl = " --disable-nls"
 #
 # --localstatedir prevents rpm from writing its database to native sysroot 
when building images
 #
-# Also disable plugins, so that rpm doesn't attempt to inhibit shutdown via 
session dbus
+# Disable plugins for rpm-native.
 EXTRA_OECONF_append_class-native = " --sysconfdir=/etc --localstatedir=/var 
--disable-plugins"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
1.9.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/1] rpm: remove dbus dependency for rpm-native

2018-04-04 Thread Chen Qi
The following changes since commit 9e3a9637b8f86f504e187b96cd0c98d8e1f651da:

  systemd: fix typo in sulogin-path setting (2018-04-04 08:51:02 +0100)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib ChenQi/rpm-native-dbus
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/rpm-native-dbus

Chen Qi (1):
  rpm: remove dbus dependency for rpm-native

 meta/recipes-devtools/rpm/rpm_4.14.1.bb | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
1.9.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 07/22] glib-2.0: update to 2.56.0

2018-04-04 Thread Alexander Kanavin
Remove upstreamed ptest-paths.patch

Signed-off-by: Alexander Kanavin 
---
 .../0001-Do-not-ignore-return-value-of-write.patch | 17 +---
 .../glib-2.0/glib-2.0/ptest-paths.patch| 30 --
 .../glib-2.0/glib-2.0/relocate-modules.patch   | 13 ++
 .../{glib-2.0_2.54.3.bb => glib-2.0_2.56.0.bb} |  5 ++--
 4 files changed, 17 insertions(+), 48 deletions(-)
 delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0/ptest-paths.patch
 rename meta/recipes-core/glib-2.0/{glib-2.0_2.54.3.bb => glib-2.0_2.56.0.bb} 
(82%)

diff --git 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch
 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch
index aee96aaa6e7..0ebf138d60a 100644
--- 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch
+++ 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-ignore-return-value-of-write.patch
@@ -1,30 +1,30 @@
-From d6501b107940e9f548c89236d773c6d33c15a5c9 Mon Sep 17 00:00:00 2001
+From d250652782b65b071b7cc8f01f2db833df104e0e Mon Sep 17 00:00:00 2001
 From: Khem Raj 
 Date: Sat, 16 Apr 2016 13:28:59 -0700
-Subject: [PATCH 1/2] Do not ignore return value of write()
+Subject: [PATCH] Do not ignore return value of write()
 
 gcc warns about ignoring return value when compiling
 with fortify turned on.
 
 assert when write() fails
 
-Signed-off-by: Khem Raj 

 Upstream-Status: Submitted
+Signed-off-by: Khem Raj 
 
+---
  glib/tests/unix.c | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
 
 diff --git a/glib/tests/unix.c b/glib/tests/unix.c
-index 3543458..4e7ed85 100644
+index 9d55a6c..a07f945 100644
 --- a/glib/tests/unix.c
 +++ b/glib/tests/unix.c
 @@ -32,14 +32,15 @@ test_pipe (void)
GError *error = NULL;
int pipefd[2];
char buf[1024];
--  ssize_t bytes_read;
-+  ssize_t bytes_read, bytes_written;
+-  gssize bytes_read;
++  gssize bytes_read, bytes_written;
gboolean res;
  
res = g_unix_open_pipe (pipefd, FD_CLOEXEC, );
@@ -37,6 +37,3 @@ index 3543458..4e7ed85 100644
memset (buf, 0, sizeof (buf));
bytes_read = read (pipefd[0], buf, sizeof(buf) - 1);
g_assert_cmpint (bytes_read, >, 0);
--- 
-2.8.0
-
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/ptest-paths.patch 
b/meta/recipes-core/glib-2.0/glib-2.0/ptest-paths.patch
deleted file mode 100644
index f3be02770cb..000
--- a/meta/recipes-core/glib-2.0/glib-2.0/ptest-paths.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Instead of writing the temporary mapping files in the mappedfile test to the
-user runtime directory, write them to $TMP.  The runtime directory may not
-currently exist if the test is executed on a non-desktop system and the test
-doesn't attempt to create the directory structure.
-
-Upstream-Status: Pending
-Signed-off-by: Ross Burton 
-
-diff --git a/glib/tests/mappedfile.c b/glib/tests/mappedfile.c
-index 40e0e60..27a24be 100644
 a/glib/tests/mappedfile.c
-+++ b/glib/tests/mappedfile.c
-@@ -81,7 +81,7 @@ test_writable (void)
-   const gchar *new = "abcdefghijklmnopqrstuvxyz";
-   gchar *tmp_copy_path;
- 
--  tmp_copy_path = g_build_filename (g_get_user_runtime_dir (), 
"glib-test-4096-random-bytes", NULL);
-+  tmp_copy_path = g_build_filename (g_get_tmp_dir (), 
"glib-test-4096-random-bytes", NULL);
- 
-   g_file_get_contents (g_test_get_filename (G_TEST_DIST, "4096-random-bytes", 
NULL), , , );
-   g_assert_no_error (error);
-@@ -125,7 +125,7 @@ test_writable_fd (void)
-   int fd;
-   gchar *tmp_copy_path;
- 
--  tmp_copy_path = g_build_filename (g_get_user_runtime_dir (), 
"glib-test-4096-random-bytes", NULL);
-+  tmp_copy_path = g_build_filename (g_get_tmp_dir (), 
"glib-test-4096-random-bytes", NULL);
- 
-   g_file_get_contents (g_test_get_filename (G_TEST_DIST, "4096-random-bytes", 
NULL), , , );
-   g_assert_no_error (error);
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch 
b/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
index 65d5b43f9b6..d3d63b2cd15 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
+++ b/meta/recipes-core/glib-2.0/glib-2.0/relocate-modules.patch
@@ -1,3 +1,8 @@
+From 3edc9a063ceaf27129e0dd96a8be3942e3dd5e96 Mon Sep 17 00:00:00 2001
+From: Ross Burton 
+Date: Fri, 11 Mar 2016 15:35:55 +
+Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds
+
 Instead of hard-coding GIO_MODULE_PATH when glib is built, use dladdr() to
 determine where libglib.so is and use that path to calculate GIO_MODULES_DIR.
 
@@ -8,12 +13,13 @@ Signed-off-by: Ross Burton 
 
 Port patch to 2.48
 Signed-off-by: Jussi Kukkonen 
+
 ---
  gio/giomodule.c | 12 +++-
  1 file changed, 11 insertions(+), 1 deletion(-)
 
 diff --git a/gio/giomodule.c 

[OE-core] [PATCH 05/22] gobject-introspection: do not hardcode the current version in the tarball path

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb 
b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb
index 85c8001dea8..e3306672393 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=90d577535a3898e1ae5dbf0ae3509a8c \
 
file://giscanner/sourcescanner.c;endline=22;md5=194d6e0c1d00662f32d030ce44de8d39
 \
 
file://girepository/giregisteredtypeinfo.c;endline=21;md5=661847611ae6979465415f31a759ba27"
 
-SRC_URI = "${GNOME_MIRROR}/${BPN}/1.54/${BPN}-${PV}.tar.xz \
+SRC_URI = "${GNOME_MIRROR}/${BPN}/${@oe.utils.trim_version("${PV}", 
2)}/${BPN}-${PV}.tar.xz \

file://0001-Revert-an-incomplete-upstream-attempt-at-cross-compi.patch \

file://0002-configure.ac-add-host-gi-gi-cross-wrapper-gi-ldd-wra.patch \
file://0003-giscanner-add-use-binary-wrapper-option.patch \
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 08/22] bash-completion: update to 2.8

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../{bash-completion_2.7.bb => bash-completion_2.8.bb}  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-support/bash-completion/{bash-completion_2.7.bb => 
bash-completion_2.8.bb} (86%)

diff --git a/meta/recipes-support/bash-completion/bash-completion_2.7.bb 
b/meta/recipes-support/bash-completion/bash-completion_2.8.bb
similarity index 86%
rename from meta/recipes-support/bash-completion/bash-completion_2.7.bb
rename to meta/recipes-support/bash-completion/bash-completion_2.8.bb
index f519b3f3da4..85064343e30 100644
--- a/meta/recipes-support/bash-completion/bash-completion_2.7.bb
+++ b/meta/recipes-support/bash-completion/bash-completion_2.8.bb
@@ -9,8 +9,8 @@ SECTION = "console/utils"
 
 SRC_URI = 
"https://github.com/scop/bash-completion/releases/download/${PV}/${BPN}-${PV}.tar.xz;
 
-SRC_URI[md5sum] = "28117492bdc9408438e6041683a423ce"
-SRC_URI[sha256sum] = 
"41ba892d3f427d4a686de32673f35401bc947a7801f684127120cdb13641441e"
+SRC_URI[md5sum] = "201b6ae62f7d5fb5b1b25e34427db919"
+SRC_URI[sha256sum] = 
"c01f5570f5698a0dda8dc9cfb2a83744daa1ec54758373a6e349bd903375f54d"
 UPSTREAM_CHECK_REGEX = "bash-completion-(?P(?!2008).+)\.tar"
 UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases;
 
@@ -25,7 +25,7 @@ do_install_append() {
 
# Delete files already provided by util-linux
local i
-   for i in mount umount rfkill; do
+   for i in mount umount; do
rm ${D}${datadir}/${BPN}/completions/$i
done
 }
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 02/22] gcr: upgrade 3.20.0 -> 3.28.0

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../gcr-add-missing-dependencies-for-vapi.patch| 51 --
 .../gcr/{gcr_3.20.0.bb => gcr_3.28.0.bb}   | 12 +++--
 2 files changed, 8 insertions(+), 55 deletions(-)
 delete mode 100644 
meta/recipes-gnome/gcr/files/gcr-add-missing-dependencies-for-vapi.patch
 rename meta/recipes-gnome/gcr/{gcr_3.20.0.bb => gcr_3.28.0.bb} (69%)

diff --git 
a/meta/recipes-gnome/gcr/files/gcr-add-missing-dependencies-for-vapi.patch 
b/meta/recipes-gnome/gcr/files/gcr-add-missing-dependencies-for-vapi.patch
deleted file mode 100644
index a2054298656..000
--- a/meta/recipes-gnome/gcr/files/gcr-add-missing-dependencies-for-vapi.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From e7e0c56ca82031121f192f7f711b78418b154c9f Mon Sep 17 00:00:00 2001
-From: Jackie Huang 
-Date: Mon, 28 Nov 2016 10:17:34 +0800
-Subject: [PATCH] gcr: add missing dependencies for vapi
-
-According to the vapi_DEPS definition:
-gcr-3.vapi depends on gck-1.vapi,
-gcr-ui-3.vapi depends on gck-1.vapi and gcr-3.vapi
-
-But these dependencies are missing for the make targets,
-so it will fail when build in parallel:
-error: Package `gck-1' not found in specified Vala API directories or 
GObject-Introspection GIR directories
-error: Package `gcr-3' not found in specified Vala API directories or 
GObject-Introspection GIR directories
-
-Upstream-Status: Submitted 
[https://bug775966.bugzilla-attachments.gnome.org/attachment.cgi?id=341791]
-
-Signed-off-by: Jackie Huang 

- gcr/Makefile.am | 2 +-
- ui/Makefile.am  | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gcr/Makefile.am b/gcr/Makefile.am
-index eda302f..6e78dba 100644
 a/gcr/Makefile.am
-+++ b/gcr/Makefile.am
-@@ -221,7 +221,7 @@ gir_DATA += Gcr-@GCR_MAJOR@.gir
- 
- if ENABLE_VAPIGEN
- 
--gcr-@GCR_MAJOR@.vapi: Gcr-@GCR_MAJOR@.gir gcr/Gcr-@GCR_MAJOR@.metadata 
gcr-@GCR_MAJOR@.deps
-+gcr-@GCR_MAJOR@.vapi: Gcr-@GCR_MAJOR@.gir gcr/Gcr-@GCR_MAJOR@.metadata 
gcr-@GCR_MAJOR@.deps gck-@GCK_MAJOR@.vapi
- 
- VAPIGEN_VAPIS += gcr-@GCR_MAJOR@.vapi
- 
-diff --git a/ui/Makefile.am b/ui/Makefile.am
-index aa52476..6612f0d 100644
 a/ui/Makefile.am
-+++ b/ui/Makefile.am
-@@ -160,7 +160,7 @@ gir_DATA += GcrUi-@GCR_MAJOR@.gir
- 
- if ENABLE_VAPIGEN
- 
--gcr-ui-@GCR_MAJOR@.vapi: GcrUi-@GCR_MAJOR@.gir ui/GcrUi-@GCR_MAJOR@.metadata 
gcr-ui-@GCR_MAJOR@.deps
-+gcr-ui-@GCR_MAJOR@.vapi: GcrUi-@GCR_MAJOR@.gir ui/GcrUi-@GCR_MAJOR@.metadata 
gcr-ui-@GCR_MAJOR@.deps gck-@GCK_MAJOR@.vapi gcr-@GCR_MAJOR@.vapi
- 
- VAPIGEN_VAPIS += gcr-ui-@GCR_MAJOR@.vapi
- 
--- 
-2.8.3
-
diff --git a/meta/recipes-gnome/gcr/gcr_3.20.0.bb 
b/meta/recipes-gnome/gcr/gcr_3.28.0.bb
similarity index 69%
rename from meta/recipes-gnome/gcr/gcr_3.20.0.bb
rename to meta/recipes-gnome/gcr/gcr_3.28.0.bb
index 4450e155e66..9e6f1ff0d98 100644
--- a/meta/recipes-gnome/gcr/gcr_3.20.0.bb
+++ b/meta/recipes-gnome/gcr/gcr_3.28.0.bb
@@ -12,10 +12,8 @@ inherit autotools gnomebase gtk-icon-cache gtk-doc 
distro_features_check upstrea
 # depends on gtk+3, but also x11 through gtk+-x11
 REQUIRED_DISTRO_FEATURES = "x11"
 
-SRC_URI += "file://gcr-add-missing-dependencies-for-vapi.patch"
-
-SRC_URI[archive.md5sum] = "4314bf89eac293dd0a9d806593ff1b35"
-SRC_URI[archive.sha256sum] = 
"90572c626d8a708225560c42b4421f7941315247fa1679d4ef569bde7f4bb379"
+SRC_URI[archive.md5sum] = "5321319307dad34dca2fd52e7c9c01ab"
+SRC_URI[archive.sha256sum] = 
"15e175d1da7ec486d59749ba34906241c442898118ce224a7b70bf2e849faf0b"
 
 FILES_${PN} += " \
 ${datadir}/dbus-1 \
@@ -24,3 +22,9 @@ FILES_${PN} += " \
 
 # http://errors.yoctoproject.org/Errors/Details/20229/
 ARM_INSTRUCTION_SET = "arm"
+
+# These files may be out of date or missing our fixes
+# libgcrypt.m4 in particular is calling into libgcrypt-config
+do_configure_prepend() {
+rm -f ${S}/build/m4/*
+}
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 03/22] sysprof: add RECIPE_NO_UPDATE_REASON

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-kernel/sysprof/sysprof_3.26.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-kernel/sysprof/sysprof_3.26.1.bb 
b/meta/recipes-kernel/sysprof/sysprof_3.26.1.bb
index 1989b52a77d..2ac79f9d720 100644
--- a/meta/recipes-kernel/sysprof/sysprof_3.26.1.bb
+++ b/meta/recipes-kernel/sysprof/sysprof_3.26.1.bb
@@ -15,6 +15,7 @@ SRC_URI += " \
file://define-NT_GNU_BUILD_ID.patch \

file://0001-Do-not-build-anything-in-help-as-it-requires-itstool.patch \
"
+RECIPE_NO_UPDATE_REASON = "Waiting for resolution of 
https://bugzilla.gnome.org/show_bug.cgi?id=794625;
 
 PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', 
'${GTK3DISTROFEATURES}', 'gtk', '', d)}"
 PACKAGECONFIG[gtk] = "-Denable_gtk=true,-Denable_gtk=false,gtk+3"
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 01/22] lighttpd: upgrade 1.4.48 -> 1.4.49

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../lighttpd/{lighttpd_1.4.48.bb => lighttpd_1.4.49.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/lighttpd/{lighttpd_1.4.48.bb => 
lighttpd_1.4.49.bb} (96%)

diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.48.bb 
b/meta/recipes-extended/lighttpd/lighttpd_1.4.49.bb
similarity index 96%
rename from meta/recipes-extended/lighttpd/lighttpd_1.4.48.bb
rename to meta/recipes-extended/lighttpd/lighttpd_1.4.49.bb
index 3ccf423..272a66a10d5 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.48.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.49.bb
@@ -20,8 +20,8 @@ SRC_URI = 
"http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t
 file://0001-Use-pkg-config-for-pcre-dependency-instead-of-config.patch 
\
 "
 
-SRC_URI[md5sum] = "1e3a9eb5078f481e3a8a1d0aaac8c3c8"
-SRC_URI[sha256sum] = 
"0f8ad5aac7529d7b948b9d7e8cd0b4a9e177309d85d6bf6516e28e6e40d74f36"
+SRC_URI[md5sum] = "aaf8165379351c3766e5ad1e5c9dbe8b"
+SRC_URI[sha256sum] = 
"aedf49d7127d9e4c0ea56618e9e945a17674dc46a37ac7990120f87dd939ce09"
 
 PACKAGECONFIG ??= "openssl pcre zlib \
 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} \
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 06/22] gobject-introspection: update to 1.56.0

2018-04-04 Thread Alexander Kanavin
License-Update: bug tracker link changed

Signed-off-by: Alexander Kanavin 
---
 .../0001-giscanner-add-a-lib-dirs-envvar-option.patch   | 13 +
 ...rospection_1.54.1.bb => gobject-introspection_1.56.0.bb} | 13 +++--
 2 files changed, 12 insertions(+), 14 deletions(-)
 rename 
meta/recipes-gnome/gobject-introspection/{gobject-introspection_1.54.1.bb => 
gobject-introspection_1.56.0.bb} (94%)

diff --git 
a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-giscanner-add-a-lib-dirs-envvar-option.patch
 
b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-giscanner-add-a-lib-dirs-envvar-option.patch
index 4ec527dcc0f..232480f3f56 100644
--- 
a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-giscanner-add-a-lib-dirs-envvar-option.patch
+++ 
b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-giscanner-add-a-lib-dirs-envvar-option.patch
@@ -1,4 +1,4 @@
-From e48f1e18f5ea41656f0ba10fe61d69d2604b0064 Mon Sep 17 00:00:00 2001
+From 06ebdaa5c8f9721acf93cc3e75a877a3c963867f Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin 
 Date: Wed, 3 Jan 2018 17:02:01 +0200
 Subject: [PATCH] giscanner: add a --lib-dirs-envvar option
@@ -19,7 +19,7 @@ Signed-off-by: Alexander Kanavin 
  3 files changed, 7 insertions(+), 3 deletions(-)
 
 diff --git a/giscanner/ccompiler.py b/giscanner/ccompiler.py
-index 29de0ee..928eae8 100644
+index a8bd5b1..6cf25d5 100644
 --- a/giscanner/ccompiler.py
 +++ b/giscanner/ccompiler.py
 @@ -109,7 +109,7 @@ class CCompiler(object):
@@ -32,7 +32,7 @@ index 29de0ee..928eae8 100644
  # is being built in the current directory.
  
 @@ -119,7 +119,7 @@ class CCompiler(object):
- if self.check_is_msvc():
+ if os.name == 'nt':
  runtime_path_envvar = ['LIB', 'PATH']
  else:
 -runtime_path_envvar = ['LD_LIBRARY_PATH']
@@ -41,7 +41,7 @@ index 29de0ee..928eae8 100644
  # (This flag is not supported nor needed for Visual C++)
  args.append('-L.')
 diff --git a/giscanner/dumper.py b/giscanner/dumper.py
-index 7f77bd2..db96df6 100644
+index 3c7220b..0abd565 100644
 --- a/giscanner/dumper.py
 +++ b/giscanner/dumper.py
 @@ -259,7 +259,8 @@ class DumpCompiler(object):
@@ -55,7 +55,7 @@ index 7f77bd2..db96df6 100644
  
  else:
 diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py
-index 38a45c1..b603850 100755
+index d262785..51c9570 100755
 --- a/giscanner/scannermain.py
 +++ b/giscanner/scannermain.py
 @@ -130,6 +130,9 @@ def _get_option_parser():
@@ -68,6 +68,3 @@ index 38a45c1..b603850 100755
  parser.add_option("", "--program-arg",
action="append", dest="program_args", default=[],
help="extra arguments to program")
--- 
-2.15.1
-
diff --git 
a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb 
b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.56.0.bb
similarity index 94%
rename from 
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb
rename to 
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.56.0.bb
index e3306672393..8f84f832b03 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.54.1.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.56.0.bb
@@ -3,10 +3,11 @@ HOMEPAGE = 
"https://wiki.gnome.org/action/show/Projects/GObjectIntrospection;
 BUGTRACKER = "https://bugzilla.gnome.org/;
 SECTION = "libs"
 LICENSE = "LGPLv2+ & GPLv2+"
-LIC_FILES_CHKSUM = "file://COPYING;md5=90d577535a3898e1ae5dbf0ae3509a8c \
-
file://tools/compiler.c;endline=20;md5=fc5007fc20022720e6c0b0cdde41fabd \
-
file://giscanner/sourcescanner.c;endline=22;md5=194d6e0c1d00662f32d030ce44de8d39
 \
-
file://girepository/giregisteredtypeinfo.c;endline=21;md5=661847611ae6979465415f31a759ba27"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6317a809f70ed9848fa5673121908586 \
+
file://tools/compiler.c;md5=fc5007fc20022720e6c0b0cdde41fabd;endline=20 \
+
file://giscanner/sourcescanner.c;md5=194d6e0c1d00662f32d030ce44de8d39;endline=22
 \
+
file://girepository/giregisteredtypeinfo.c;md5=661847611ae6979465415f31a759ba27;endline=21
 \
+"
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/${@oe.utils.trim_version("${PV}", 
2)}/${BPN}-${PV}.tar.xz \

file://0001-Revert-an-incomplete-upstream-attempt-at-cross-compi.patch \
@@ -16,8 +17,8 @@ SRC_URI = 
"${GNOME_MIRROR}/${BPN}/${@oe.utils.trim_version("${PV}", 2)}/${BPN}-$

file://0005-Prefix-pkg-config-paths-with-PKG_CONFIG_SYSROOT_DIR-.patch \
file://0001-giscanner-add-a-lib-dirs-envvar-option.patch \
"
-SRC_URI[md5sum] = "126c29e4d54adbed2ed4e2b04483de41"
-SRC_URI[sha256sum] = 

[OE-core] [PATCH 04/22] vala: update to 0.40.2

2018-04-04 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin 
---
 .../vala/vala/disable-graphviz.patch   | 26 +++---
 .../vala/{vala_0.38.8.bb => vala_0.40.2.bb}|  4 ++--
 2 files changed, 15 insertions(+), 15 deletions(-)
 rename meta/recipes-devtools/vala/{vala_0.38.8.bb => vala_0.40.2.bb} (64%)

diff --git a/meta/recipes-devtools/vala/vala/disable-graphviz.patch 
b/meta/recipes-devtools/vala/vala/disable-graphviz.patch
index 15d186de054..8fb94dc149c 100644
--- a/meta/recipes-devtools/vala/vala/disable-graphviz.patch
+++ b/meta/recipes-devtools/vala/vala/disable-graphviz.patch
@@ -1,4 +1,4 @@
-From eb716dc856c20b3da146a4e83e9800bd1f53c739 Mon Sep 17 00:00:00 2001
+From 500f4220f79c660a70a1ffc0d5b762d70088af5e Mon Sep 17 00:00:00 2001
 From: Rico Tzschichholz 
 Date: Wed, 6 Sep 2017 18:52:55 +0200
 Subject: [PATCH] libvaladoc: Allow disabling the graphviz dependency of
@@ -7,6 +7,7 @@ Subject: [PATCH] libvaladoc: Allow disabling the graphviz 
dependency of
 https://bugzilla.gnome.org/show_bug.cgi?id=787375
 Signed-off-by: Alexander Kanavin 
 Upstream-Status: Submitted [bugzilla link above]
+
 ---
  configure.ac  | 60 +++
  libvaladoc/Makefile.am| 25 +++
@@ -15,10 +16,10 @@ Upstream-Status: Submitted [bugzilla link above]
  4 files changed, 63 insertions(+), 34 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
-index c73d5d6b1..291e503d5 100644
+index 662180b..82d7015 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -98,34 +98,38 @@ PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= $GLIB_REQUIRED)
+@@ -112,34 +112,38 @@ PKG_CHECK_MODULES(GMODULE, gmodule-2.0 >= $GLIB_REQUIRED)
  AC_SUBST(GMODULE_CFLAGS)
  AC_SUBST(GMODULE_LIBS)
  
@@ -86,10 +87,10 @@ index c73d5d6b1..291e503d5 100644
  
  AC_PATH_PROG([XSLTPROC], [xsltproc], :)
 diff --git a/libvaladoc/Makefile.am b/libvaladoc/Makefile.am
-index 89245d86b..7c07498b9 100644
+index 384292f..cce50d8 100644
 --- a/libvaladoc/Makefile.am
 +++ b/libvaladoc/Makefile.am
-@@ -127,10 +127,6 @@ libvaladoc_la_VALASOURCES = \
+@@ -126,10 +126,6 @@ libvaladoc_la_VALASOURCES = \
content/tablerow.vala \
content/taglet.vala \
content/text.vala \
@@ -100,7 +101,7 @@ index 89245d86b..7c07498b9 100644
parser/manyrule.vala \
parser/oneofrule.vala \
parser/optionalrule.vala \
-@@ -158,13 +154,24 @@ libvaladoc_la_VALASOURCES = \
+@@ -156,13 +152,24 @@ libvaladoc_la_VALASOURCES = \
highlighter/codetoken.vala \
highlighter/highlighter.vala \
html/basicdoclet.vala \
@@ -126,17 +127,18 @@ index 89245d86b..7c07498b9 100644
  libvaladoc@PACKAGE_SUFFIX@_la_SOURCES = \
libvaladoc.vala.stamp \
$(libvaladoc_la_VALASOURCES:.vala=.c) \
-@@ -182,8 +189,8 @@ libvaladoc.vala.stamp: $(libvaladoc_la_VALASOURCES)
+@@ -182,9 +189,9 @@ libvaladoc.vala.stamp: $(libvaladoc_la_VALASOURCES)
--library valadoc \
--vapi valadoc@PACKAGE_SUFFIX@.vapi \
--vapidir $(top_srcdir)/vapi --pkg gmodule-2.0 \
 -  --vapidir $(top_srcdir)/vapi --pkg libgvc \
--vapidir $(top_srcdir)/gee --pkg gee \
+   --vapidir $(top_srcdir)/vala --pkg vala \
 +  $(LIBGVC_PKG) \
--pkg config \
$(filter %.vala %.c,$^)
touch $@
-@@ -209,6 +216,9 @@ nodist_pkgconfig_DATA = valadoc@PACKAGE_SUFFIX@.pc
+@@ -211,6 +218,9 @@ nodist_pkgconfig_DATA = valadoc@PACKAGE_SUFFIX@.pc
  
  valadoc@PACKAGE_SUFFIX@.pc: valadoc.pc
cp $< $@
@@ -146,7 +148,7 @@ index 89245d86b..7c07498b9 100644
  
  vapidir = $(datadir)/vala/vapi
  dist_vapi_DATA = valadoc@PACKAGE_SUFFIX@.vapi
-@@ -216,6 +226,9 @@ nodist_vapi_DATA = valadoc@PACKAGE_SUFFIX@.deps
+@@ -218,6 +228,9 @@ nodist_vapi_DATA = valadoc@PACKAGE_SUFFIX@.deps
  
  valadoc@PACKAGE_SUFFIX@.deps: valadoc.deps
cp $< $@
@@ -157,7 +159,7 @@ index 89245d86b..7c07498b9 100644
  EXTRA_DIST = \
$(libvaladoc_la_VALASOURCES) \
 diff --git a/libvaladoc/html/basicdoclet.vala 
b/libvaladoc/html/basicdoclet.vala
-index cc9ea4ed7..432c3818f 100644
+index cc9ea4e..432c381 100644
 --- a/libvaladoc/html/basicdoclet.vala
 +++ b/libvaladoc/html/basicdoclet.vala
 @@ -46,7 +46,11 @@ public abstract class Valadoc.Html.BasicDoclet : 
Api.Visitor, Doclet {
@@ -199,7 +201,7 @@ index cc9ea4ed7..432c3818f 100644
  
public void write_namespace_content (Namespace node, Api.Node? parent) {
 diff --git a/libvaladoc/html/htmlmarkupwriter.vala 
b/libvaladoc/html/htmlmarkupwriter.vala
-index 15ed9efd1..fe0d705d4 100644
+index 15ed9ef..fe0d705 100644
 --- a/libvaladoc/html/htmlmarkupwriter.vala
 +++ b/libvaladoc/html/htmlmarkupwriter.vala
 @@ -43,12 +43,16 @@ public class Valadoc.Html.MarkupWriter : 
Valadoc.MarkupWriter {
@@ -219,5 +221,3 @@ index 15ed9efd1..fe0d705d4 100644
  
return this;
}

[OE-core] [PATCH 3/5] libcroco: remove duplication in inherit

2018-04-04 Thread Maxin B. John
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.

Signed-off-by: Maxin B. John 
---
 meta/recipes-support/libcroco/libcroco_0.6.12.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/libcroco/libcroco_0.6.12.bb 
b/meta/recipes-support/libcroco/libcroco_0.6.12.bb
index 465ed15..d86ddd6 100644
--- a/meta/recipes-support/libcroco/libcroco_0.6.12.bb
+++ b/meta/recipes-support/libcroco/libcroco_0.6.12.bb
@@ -14,7 +14,7 @@ EXTRA_OECONF += "--enable-Bsymbolic=auto"
 
 BINCONFIG = "${bindir}/croco-0.6-config"
 
-inherit autotools pkgconfig gnomebase gtk-doc binconfig-disabled
+inherit gnomebase gtk-doc binconfig-disabled
 
 SRC_URI[archive.md5sum] = "bc0984fce078ba2ce29f9500c6b9ddce"
 SRC_URI[archive.sha256sum] = 
"ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860"
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/5] python3-pygobject: remove duplication in inherit

2018-04-04 Thread Maxin B. John
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.

Signed-off-by: Maxin B. John 
---
 meta/recipes-devtools/python/python3-pygobject_3.28.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3-pygobject_3.28.1.bb 
b/meta/recipes-devtools/python/python3-pygobject_3.28.1.bb
index ad0117a..97286f4 100644
--- a/meta/recipes-devtools/python/python3-pygobject_3.28.1.bb
+++ b/meta/recipes-devtools/python/python3-pygobject_3.28.1.bb
@@ -3,7 +3,7 @@ SECTION = "devel/python"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
 
-inherit autotools pkgconfig gnomebase distutils3-base gobject-introspection 
upstream-version-is-even
+inherit gnomebase distutils3-base gobject-introspection 
upstream-version-is-even
 
 DEPENDS += "python3 glib-2.0"
 
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/5] documentation.conf: remove obsolete variable

2018-04-04 Thread Maxin B. John
PRINC is no longer used and removed from documentation:

commit 7baadd86ee1386756e3bc3ef7fd02d5d1367068f
Author: Scott Rifenbark 
Date:   Mon May 18 09:25:51 2015 -0600

 ref-manual: Removed PRINC entry from the glossary

Signed-off-by: Maxin B. John 
---
 meta/conf/documentation.conf | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf
index 7834898..254f8f1 100644
--- a/meta/conf/documentation.conf
+++ b/meta/conf/documentation.conf
@@ -332,7 +332,6 @@ PR[doc] = "The revision of the recipe. The default value 
for this variable is 'r
 PREFERRED_PROVIDER[doc] = "If multiple recipes provide an item, this variable 
determines which recipe should be given preference."
 PREFERRED_VERSION[doc] = "If there are multiple versions of recipes available, 
this variable determines which recipe should be given preference."
 PREMIRRORS[doc] = "Specifies additional paths from which the OpenEmbedded 
build system gets source code."
-PRINC[doc] = "Causes the PR variable of .bbappend files to dynamically 
increment. This increment minimizes the impact of layer ordering. This variable 
defaults to '0'."
 PRIORITY[doc] = "Indicates the importance of a package.  The default value is 
'optional'.  Other standard values are 'required', 'standard' and 'extra'."
 PROVIDES[doc] = "A list of aliases that a recipe also provides. These aliases 
are useful for satisfying dependencies of other recipes during the build as 
specified by DEPENDS."
 PRSERV_HOST[doc] = "The network based PR service host and port."
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 4/5] gcr: remove duplication in inherit

2018-04-04 Thread Maxin B. John
Since gnomebase class already inherits autotools,
there is no need to repeat it here.

Signed-off-by: Maxin B. John 
---
 meta/recipes-gnome/gcr/gcr_3.20.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gcr/gcr_3.20.0.bb 
b/meta/recipes-gnome/gcr/gcr_3.20.0.bb
index 4450e15..a68e0f6 100644
--- a/meta/recipes-gnome/gcr/gcr_3.20.0.bb
+++ b/meta/recipes-gnome/gcr/gcr_3.20.0.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
 DEPENDS = "intltool-native gtk+3 p11-kit glib-2.0 libgcrypt \
${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', 
'', d)}"
 
-inherit autotools gnomebase gtk-icon-cache gtk-doc distro_features_check 
upstream-version-is-even vala gobject-introspection
+inherit gnomebase gtk-icon-cache gtk-doc distro_features_check 
upstream-version-is-even vala gobject-introspection
 # depends on gtk+3, but also x11 through gtk+-x11
 REQUIRED_DISTRO_FEATURES = "x11"
 
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/5] librsvg: remove duplication in inherit

2018-04-04 Thread Maxin B. John
Since gnomebase class already inherits autotools and pkgconfig,
there is no need to repeat it here.

Signed-off-by: Maxin B. John 
---
 meta/recipes-gnome/librsvg/librsvg_2.40.20.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/librsvg/librsvg_2.40.20.bb 
b/meta/recipes-gnome/librsvg/librsvg_2.40.20.bb
index cf17730..e376d52 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.40.20.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.40.20.bb
@@ -12,7 +12,7 @@ SECTION = "x11/utils"
 DEPENDS = "cairo gdk-pixbuf glib-2.0 libcroco libxml2 pango"
 BBCLASSEXTEND = "native"
 
-inherit autotools pkgconfig gnomebase gtk-doc pixbufcache 
upstream-version-is-even gobject-introspection
+inherit gnomebase gtk-doc pixbufcache upstream-version-is-even 
gobject-introspection
 
 SRC_URI += "file://gtk-option.patch"
 
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] package.bbclass: Include dbgsrc for static libs

2018-04-04 Thread Richard Purdie
On Tue, 2018-03-27 at 12:28 +, Ola x Nilsson wrote:
> ping?

Fails if you enable ptest in openssl. Suspect you need to check if its
a real file rather than a symlink and only check real files.

Cheers,

Richard

ERROR: openssl-1.0.2o-r0 do_package: Error executing a python function in 
exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: 
 0001:
 *** 0002:split_and_strip_files(d)
 0003:
File: '/media/build1/poky/meta/classes/package.bbclass', lineno: 969, function: 
split_and_strip_files
 0965:file = os.path.join(root, f)
 0966:if file.endswith(".ko") and 
file.find("/lib/modules/") != -1:
 0967:kernmods.append(file)
 0968:continue
 *** 0969:if isStaticLib(file):
 0970:staticlibs.append(file)
 0971:continue
 0972:
 0973:# Skip debug files
File: '/media/build1/poky/meta/classes/package.bbclass', lineno: 944, function: 
isStaticLib
 0940:return type
 0941:
 0942:def isStaticLib(path):
 0943:if file.endswith('.a'):
 *** 0944:with open(path, 'rb') as fh:
 0945:magic = b'!\n'
 0946:start = fh.read(len(magic))
 0947:return start == magic
 0948:return False
Exception: FileNotFoundError: [Errno 2] No such file or directory: 
'/media/build1/poky/build/tmp/work/core2-64-poky-linux/openssl/1.0.2o-r0/package/usr/lib/openssl/ptest/libssl.a'

ERROR: openssl-1.0.2o-r0 do_package: Function failed: split_and_strip_files
ERROR: Logfile of failure stored in: 
/media/build1/poky/build/tmp/work/core2-64-poky-linux/openssl/1.0.2o-r0/temp/log.do_package.20107
ERROR: Task 
(/media/build1/poky/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb:do_package)
 failed with exit code '1'
NOTE: Tasks Summary: Attempted 1308 tasks of which 1303 didn't need to be rerun 
and 1 failed.
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] ✗ patchtest: failure for mesa: Upgrade 17.3.7 -> 17.3.8

2018-04-04 Thread Andreas Müller
On Wed, Apr 4, 2018 at 1:11 AM, Otavio Salvador
 wrote:
> On Tue, Apr 3, 2018 at 6:32 PM, Patchwork
>  wrote:
>> == Series Details ==
>>
>> Series: mesa: Upgrade 17.3.7 -> 17.3.8
> ...
>> * Issue Series does not apply on top of target branch 
>> [test_series_merge_on_head]
>>   Suggested fixRebase your series on top of targeted branch
>>   Targeted branch  master (currently at 4cedddb836)
>
> I based the patch on top of sumo-next to avoid the need of rebasing it
> for Ross and Richard. If it is indeed need to redo this on top of
> current sumo/master please let me know and I can do it promptly.
>
Hi Otavio,

* It is likely that my two mesa patches (dri2/dri3 related) bug you
* just checked: master-(next) and sumo(-next) are all identical from
mesa perspective - so rebase against master should do

Hope that helps

Andreas
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 0/2] Upgrade llvm to 6.0

2018-04-04 Thread Khem Raj
llvm 6.0 is released few months ago, this updates the llvm to 6.0.0 release
adjusts mesa to use it as well

The following changes since commit c168f6fe35ada66f7d6d6b5151fa248230c38676:

  systemd: fix typo in sulogin-path setting (2018-04-04 08:50:49 +0100)

are available in the Git repository at:

  git://git.openembedded.org/openembedded-core-contrib kraj/llvm-6.0
  http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/llvm-6.0

Khem Raj (2):
  llvm: Upgrade to 6.0 release
  mesa: Require llvm 6.0

 ...etLibraryInfo-Undefine-libc-functions-if-th.patch | 20 ++--
 .../0002-llvm-allow-env-override-of-exe-path.patch   |  4 ++--
 meta/recipes-devtools/llvm/llvm_git.bb   | 11 ++-
 meta/recipes-graphics/mesa/mesa.inc  |  2 +-
 4 files changed, 19 insertions(+), 18 deletions(-)

-- 
2.16.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 1/2] llvm: Upgrade to 6.0 release

2018-04-04 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 ...etLibraryInfo-Undefine-libc-functions-if-th.patch | 20 ++--
 .../0002-llvm-allow-env-override-of-exe-path.patch   |  4 ++--
 meta/recipes-devtools/llvm/llvm_git.bb   | 11 ++-
 3 files changed, 18 insertions(+), 17 deletions(-)

diff --git 
a/meta/recipes-devtools/llvm/llvm/0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
 
b/meta/recipes-devtools/llvm/llvm/0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
index e251799259..209764c8ba 100644
--- 
a/meta/recipes-devtools/llvm/llvm/0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
+++ 
b/meta/recipes-devtools/llvm/llvm/0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch
@@ -1,4 +1,4 @@
-From 28293e48cf1a52004c6a78de448718441f9e05f9 Mon Sep 17 00:00:00 2001
+From 96558c4f25d5132936014f6f2d6252cfdfdf478a Mon Sep 17 00:00:00 2001
 From: Khem Raj 
 Date: Sat, 21 May 2016 00:33:20 +
 Subject: [PATCH 1/2] llvm: TargetLibraryInfo: Undefine libc functions if they
@@ -15,10 +15,10 @@ Upstream-Status: Pending
  1 file changed, 21 insertions(+)
 
 diff --git a/include/llvm/Analysis/TargetLibraryInfo.def 
b/include/llvm/Analysis/TargetLibraryInfo.def
-index 9cbe917c146..aff8419cf54 100644
+index a461ed813b9..f9fd9faeee0 100644
 --- a/include/llvm/Analysis/TargetLibraryInfo.def
 +++ b/include/llvm/Analysis/TargetLibraryInfo.def
-@@ -656,6 +656,9 @@ TLI_DEFINE_STRING_INTERNAL("fmodl")
+@@ -665,6 +665,9 @@ TLI_DEFINE_STRING_INTERNAL("fmodl")
  TLI_DEFINE_ENUM_INTERNAL(fopen)
  TLI_DEFINE_STRING_INTERNAL("fopen")
  /// FILE *fopen64(const char *filename, const char *opentype)
@@ -28,7 +28,7 @@ index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_ENUM_INTERNAL(fopen64)
  TLI_DEFINE_STRING_INTERNAL("fopen64")
  /// int fprintf(FILE *stream, const char *format, ...);
-@@ -691,6 +694,9 @@ TLI_DEFINE_STRING_INTERNAL("fseek")
+@@ -700,6 +703,9 @@ TLI_DEFINE_STRING_INTERNAL("fseek")
  /// int fseeko(FILE *stream, off_t offset, int whence);
  TLI_DEFINE_ENUM_INTERNAL(fseeko)
  TLI_DEFINE_STRING_INTERNAL("fseeko")
@@ -38,7 +38,7 @@ index 9cbe917c146..aff8419cf54 100644
  /// int fseeko64(FILE *stream, off64_t offset, int whence)
  TLI_DEFINE_ENUM_INTERNAL(fseeko64)
  TLI_DEFINE_STRING_INTERNAL("fseeko64")
-@@ -701,6 +707,9 @@ TLI_DEFINE_STRING_INTERNAL("fsetpos")
+@@ -710,6 +716,9 @@ TLI_DEFINE_STRING_INTERNAL("fsetpos")
  TLI_DEFINE_ENUM_INTERNAL(fstat)
  TLI_DEFINE_STRING_INTERNAL("fstat")
  /// int fstat64(int filedes, struct stat64 *buf)
@@ -48,7 +48,7 @@ index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_ENUM_INTERNAL(fstat64)
  TLI_DEFINE_STRING_INTERNAL("fstat64")
  /// int fstatvfs(int fildes, struct statvfs *buf);
-@@ -716,6 +725,9 @@ TLI_DEFINE_STRING_INTERNAL("ftell")
+@@ -725,6 +734,9 @@ TLI_DEFINE_STRING_INTERNAL("ftell")
  TLI_DEFINE_ENUM_INTERNAL(ftello)
  TLI_DEFINE_STRING_INTERNAL("ftello")
  /// off64_t ftello64(FILE *stream)
@@ -58,7 +58,7 @@ index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_ENUM_INTERNAL(ftello64)
  TLI_DEFINE_STRING_INTERNAL("ftello64")
  /// int ftrylockfile(FILE *file);
-@@ -836,6 +848,9 @@ TLI_DEFINE_STRING_INTERNAL("logl")
+@@ -845,6 +857,9 @@ TLI_DEFINE_STRING_INTERNAL("logl")
  TLI_DEFINE_ENUM_INTERNAL(lstat)
  TLI_DEFINE_STRING_INTERNAL("lstat")
  /// int lstat64(const char *path, struct stat64 *buf);
@@ -68,7 +68,7 @@ index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_ENUM_INTERNAL(lstat64)
  TLI_DEFINE_STRING_INTERNAL("lstat64")
  /// void *malloc(size_t size);
-@@ -1055,6 +1070,9 @@ TLI_DEFINE_STRING_INTERNAL("sscanf")
+@@ -1064,6 +1079,9 @@ TLI_DEFINE_STRING_INTERNAL("sscanf")
  TLI_DEFINE_ENUM_INTERNAL(stat)
  TLI_DEFINE_STRING_INTERNAL("stat")
  /// int stat64(const char *path, struct stat64 *buf);
@@ -78,7 +78,7 @@ index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_ENUM_INTERNAL(stat64)
  TLI_DEFINE_STRING_INTERNAL("stat64")
  /// int statvfs(const char *path, struct statvfs *buf);
-@@ -1184,6 +1202,9 @@ TLI_DEFINE_STRING_INTERNAL("times")
+@@ -1193,6 +1211,9 @@ TLI_DEFINE_STRING_INTERNAL("times")
  TLI_DEFINE_ENUM_INTERNAL(tmpfile)
  TLI_DEFINE_STRING_INTERNAL("tmpfile")
  /// FILE *tmpfile64(void)
@@ -89,5 +89,5 @@ index 9cbe917c146..aff8419cf54 100644
  TLI_DEFINE_STRING_INTERNAL("tmpfile64")
  /// int toascii(int c);
 -- 
-2.13.1
+2.16.1
 
diff --git 
a/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch
 
b/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch
index 832bd729ef..21d2f81b58 100644
--- 
a/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch
+++ 
b/meta/recipes-devtools/llvm/llvm/0002-llvm-allow-env-override-of-exe-path.patch
@@ -1,4 +1,4 @@
-From d776487bac17650704614248d19d1e6b35775001 Mon Sep 17 00:00:00 2001
+From 2f8ea767afdaa440c6368040630e1b3ea6a0977a Mon Sep 17 00:00:00 2001
 From: Martin Kelly 
 Date: Fri, 19 May 2017 00:22:57 -0700
 Subject: 

[OE-core] [PATCH 2/2] mesa: Require llvm 6.0

2018-04-04 Thread Khem Raj
llvm is now at version 6.0 in core

Signed-off-by: Khem Raj 
---
 meta/recipes-graphics/mesa/mesa.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index 639eb35f6b..b501b7e726 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -89,7 +89,7 @@ GALLIUMDRIVERS_append_x86 = 
"${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm
 GALLIUMDRIVERS_append_x86-64 = "${@bb.utils.contains('PACKAGECONFIG', 
'gallium-llvm', ',${GALLIUMDRIVERS_LLVM}', '', d)}"
 # keep --with-gallium-drivers separate, because when only one of gallium 
versions is enabled, other 2 were adding --without-gallium-drivers
 PACKAGECONFIG[gallium]  = "--enable-texture-float 
--with-gallium-drivers=${GALLIUMDRIVERS}, --without-gallium-drivers"
-MESA_LLVM_RELEASE ?= "5.0"
+MESA_LLVM_RELEASE ?= "6.0"
 PACKAGECONFIG[gallium-llvm] = "--enable-llvm --enable-llvm-shared-libs, 
--disable-llvm, llvm${MESA_LLVM_RELEASE} llvm-native \
${@'elfutils' if 
${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}"
 export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}"
-- 
2.16.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 05/10] ofono: upgrade to version 1.23

2018-04-04 Thread Maxin B. John
1.22 -> 1.23

Signed-off-by: Maxin B. John 
---
 meta/recipes-connectivity/ofono/ofono_1.22.bb | 9 -
 meta/recipes-connectivity/ofono/ofono_1.23.bb | 9 +
 2 files changed, 9 insertions(+), 9 deletions(-)
 delete mode 100644 meta/recipes-connectivity/ofono/ofono_1.22.bb
 create mode 100644 meta/recipes-connectivity/ofono/ofono_1.23.bb

diff --git a/meta/recipes-connectivity/ofono/ofono_1.22.bb 
b/meta/recipes-connectivity/ofono/ofono_1.22.bb
deleted file mode 100644
index e57eaa7..000
--- a/meta/recipes-connectivity/ofono/ofono_1.22.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require ofono.inc
-
-SRC_URI  = "\
-  ${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
-  file://ofono \
-  file://use-python3.patch \
-"
-SRC_URI[md5sum] = "2a683ab8e98448ad8bc5dc9868d2893e"
-SRC_URI[sha256sum] = 
"8e34a6696c300c9841b55e8dff640bd3096e49f5dbe55bbebaa69a71676f687e"
diff --git a/meta/recipes-connectivity/ofono/ofono_1.23.bb 
b/meta/recipes-connectivity/ofono/ofono_1.23.bb
new file mode 100644
index 000..e04162c
--- /dev/null
+++ b/meta/recipes-connectivity/ofono/ofono_1.23.bb
@@ -0,0 +1,9 @@
+require ofono.inc
+
+SRC_URI  = "\
+  ${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
+  file://ofono \
+  file://use-python3.patch \
+"
+SRC_URI[md5sum] = "27ea2f1a155231af49d520486b8ebc05"
+SRC_URI[sha256sum] = 
"4dacdc61571aad7ce8b4412ed51d03bec3d4060b93ee68f8c69b26b223bdc975"
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 04/10] at-spi2-atk: upgrade to version 2.26.2

2018-04-04 Thread Maxin B. John
1. convert to meson build
2. inherit gnomebase and associated cleanup
3. add libxml2 to DEPENDS list

Signed-off-by: Maxin B. John 
---
 .../atk/{at-spi2-atk_2.26.1.bb => at-spi2-atk_2.26.2.bb} | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)
 rename meta/recipes-support/atk/{at-spi2-atk_2.26.1.bb => 
at-spi2-atk_2.26.2.bb} (53%)

diff --git a/meta/recipes-support/atk/at-spi2-atk_2.26.1.bb 
b/meta/recipes-support/atk/at-spi2-atk_2.26.2.bb
similarity index 53%
rename from meta/recipes-support/atk/at-spi2-atk_2.26.1.bb
rename to meta/recipes-support/atk/at-spi2-atk_2.26.2.bb
index 8617bb8..16d8e45 100644
--- a/meta/recipes-support/atk/at-spi2-atk_2.26.1.bb
+++ b/meta/recipes-support/atk/at-spi2-atk_2.26.2.bb
@@ -3,15 +3,13 @@ HOMEPAGE = 
"https://wiki.linuxfoundation.org/accessibility/d-bus;
 LICENSE = "LGPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"
 
-MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
+SRC_URI[archive.md5sum] = "355c7916a69513490cb83ad34016b169"
+SRC_URI[archive.sha256sum] = 
"61891f0abae1689f6617a963105a3f1dcdab5970c4a36ded9c79a7a544b16a6e"
 
-SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz"
-SRC_URI[md5sum] = "eeec6cead3350dca48a235271c105b3e"
-SRC_URI[sha256sum] = 
"b4f0c27b61dbffba7a5b5ba2ff88c8cee10ff8dac774fa5b79ce906853623b75"
+DEPENDS = "dbus glib-2.0 glib-2.0-native atk at-spi2-core libxml2"
 
-DEPENDS = "dbus glib-2.0 glib-2.0-native atk at-spi2-core"
-
-inherit autotools pkgconfig distro_features_check upstream-version-is-even
+GNOMEBASEBUILDCLASS = "meson"
+inherit gnomebase distro_features_check upstream-version-is-even
 
 # The at-spi2-core requires x11 in DISTRO_FEATURES
 REQUIRED_DISTRO_FEATURES = "x11"
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 01/10] adwaita-icon-theme: upgrade to version 3.28.0

2018-04-04 Thread Maxin B. John
Refresh the following patch:
0001-Don-t-use-AC_CANONICAL_HOST.patch

Signed-off-by: Maxin B. John 
---
 .../0001-Don-t-use-AC_CANONICAL_HOST.patch | 14 +++---
 ...a-icon-theme_3.26.1.bb => adwaita-icon-theme_3.28.0.bb} |  4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)
 rename meta/recipes-gnome/gnome/{adwaita-icon-theme_3.26.1.bb => 
adwaita-icon-theme_3.28.0.bb} (93%)

diff --git 
a/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Don-t-use-AC_CANONICAL_HOST.patch
 
b/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Don-t-use-AC_CANONICAL_HOST.patch
index 96ec96b..b5992eb 100644
--- 
a/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Don-t-use-AC_CANONICAL_HOST.patch
+++ 
b/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Don-t-use-AC_CANONICAL_HOST.patch
@@ -1,7 +1,7 @@
-From 88ed996cc9e2b296cacfdbeece4be28a90bab511 Mon Sep 17 00:00:00 2001
+From 9661951838773251d0a914e897e8a0d95ce027f6 Mon Sep 17 00:00:00 2001
 From: Jussi Kukkonen 
 Date: Tue, 30 May 2017 14:55:49 +0300
-Subject: [PATCH 1/2] Don't use AC_CANONICAL_HOST
+Subject: [PATCH] Don't use AC_CANONICAL_HOST
 
 This won't work when building allarch (and is only used to find out if
 target is windows).
@@ -13,13 +13,13 @@ Signed-off-by: Jussi Kukkonen 
  configure.ac | 1 -
  1 file changed, 1 deletion(-)
 
-Index: adwaita-icon-theme-3.26.1/configure.ac
-===
 adwaita-icon-theme-3.26.1.orig/configure.ac
-+++ adwaita-icon-theme-3.26.1/configure.ac
+diff --git a/configure.ac b/configure.ac
+index fb787dc..5caef0c 100644
+--- a/configure.ac
 b/configure.ac
 @@ -3,7 +3,6 @@ AC_PREREQ(2.53)
  
- AC_INIT([adwaita-icon-theme], [3.26.1],
+ AC_INIT([adwaita-icon-theme], [3.28.0],
  [http://bugzilla.gnome.org/enter_bug.cgi?product=adwaita-icon-theme])
 -AC_CANONICAL_HOST
  AC_CONFIG_MACRO_DIR([m4])
diff --git a/meta/recipes-gnome/gnome/adwaita-icon-theme_3.26.1.bb 
b/meta/recipes-gnome/gnome/adwaita-icon-theme_3.28.0.bb
similarity index 93%
rename from meta/recipes-gnome/gnome/adwaita-icon-theme_3.26.1.bb
rename to meta/recipes-gnome/gnome/adwaita-icon-theme_3.28.0.bb
index 6437d5e..40dd35b 100644
--- a/meta/recipes-gnome/gnome/adwaita-icon-theme_3.26.1.bb
+++ b/meta/recipes-gnome/gnome/adwaita-icon-theme_3.28.0.bb
@@ -15,8 +15,8 @@ SRC_URI = 
"${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
file://0001-Run-installation-commands-as-shell-jobs.patch \
"
 
-SRC_URI[md5sum] = "3ef87e789711e5130792d4b5366c005d"
-SRC_URI[sha256sum] = 
"28ba7392c7761996efd780779167ea6c940eedfb1bf37cfe9bccb7021f54d79d"
+SRC_URI[md5sum] = "b25b2d82cbebf2cc9cd469457b604f2c"
+SRC_URI[sha256sum] = 
"7aae8c1dffd6772fd1a21a3d365a0ea28b7c3988bdbbeafbf8742cda68242150"
 
 do_install_append() {
# Build uses gtk-encode-symbolic-svg to create png versions:
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 02/10] at-spi2-core: upgrade to version 2.28.0

2018-04-04 Thread Maxin B. John
1. convert to meson build
2. Remove the following patch made obsolete by moving to meson:
0001-build-Add-with-systemduserunitdir.patch

Signed-off-by: Maxin B. John 
---
 .../0001-build-Add-with-systemduserunitdir.patch   | 52 --
 ...-spi2-core_2.26.2.bb => at-spi2-core_2.28.0.bb} | 12 +++--
 2 files changed, 5 insertions(+), 59 deletions(-)
 delete mode 100644 
meta/recipes-support/atk/at-spi2-core/0001-build-Add-with-systemduserunitdir.patch
 rename meta/recipes-support/atk/{at-spi2-core_2.26.2.bb => 
at-spi2-core_2.28.0.bb} (61%)

diff --git 
a/meta/recipes-support/atk/at-spi2-core/0001-build-Add-with-systemduserunitdir.patch
 
b/meta/recipes-support/atk/at-spi2-core/0001-build-Add-with-systemduserunitdir.patch
deleted file mode 100644
index 1f8c9f3..000
--- 
a/meta/recipes-support/atk/at-spi2-core/0001-build-Add-with-systemduserunitdir.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From fa376762b92404b9e3c430054b8c3341ca0fdd8b Mon Sep 17 00:00:00 2001
-From: Jussi Kukkonen 
-Date: Tue, 21 Jun 2016 16:00:02 +0300
-Subject: [PATCH] build: Add --with-systemduserunitdir
-
-Default to "pkg-config --variable=systemduserunitdir systemd" but
-allow overriding the value.
-
-Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=767911]
-Signed-off-by: Jussi Kukkonen 
-

- bus/Makefile.am | 2 +-
- configure.ac| 9 +
- 2 files changed, 10 insertions(+), 1 deletion(-)
-
-diff --git a/bus/Makefile.am b/bus/Makefile.am
-index 688f82a..10cde62 100644
 a/bus/Makefile.am
-+++ b/bus/Makefile.am
-@@ -29,7 +29,7 @@ org.a11y.Bus.service: org.a11y.Bus.service.in
- EXTRA_DIST += org.a11y.Bus.service.in
- CLEANFILES += org.a11y.Bus.service
- 
--systemd_userdir = $(prefix)/lib/systemd/user
-+systemd_userdir = $(systemduserunitdir)
- systemd_user_DATA = at-spi-dbus-bus.service
- at-spi-dbus-bus.service: at-spi-dbus-bus.service.in Makefile
-   $(AM_V_GEN) $(SED) -e $(substitutions) $< > $@.tmp && mv $@.tmp $@
-diff --git a/configure.ac b/configure.ac
-index 8c4fca2..1415cca 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -146,6 +146,15 @@ else
- fi
- AC_SUBST(DBUS_SERVICES_DIR)
- 
-+AC_ARG_WITH([systemduserunitdir],
-+AS_HELP_STRING([--with-systemduserunitdir=DIR],
-+   [Directory for systemd service files]),
-+[],
-+[with_systemduserunitdir=$($PKG_CONFIG 
--variable=systemduserunitdir systemd)])
-+AC_SUBST([systemduserunitdir], [$with_systemduserunitdir])
-+
-+AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums)
-+
- GOBJECT_INTROSPECTION_CHECK([1.32.0])
- 
- AC_SUBST(LIBTOOL_EXPORT_OPTIONS)
--- 
-2.14.1
-
diff --git a/meta/recipes-support/atk/at-spi2-core_2.26.2.bb 
b/meta/recipes-support/atk/at-spi2-core_2.28.0.bb
similarity index 61%
rename from meta/recipes-support/atk/at-spi2-core_2.26.2.bb
rename to meta/recipes-support/atk/at-spi2-core_2.28.0.bb
index 521ee3b..604b97f 100644
--- a/meta/recipes-support/atk/at-spi2-core_2.26.2.bb
+++ b/meta/recipes-support/atk/at-spi2-core_2.28.0.bb
@@ -6,21 +6,19 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=e9f288ba982d60518f375b5898283886"
 MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
-   file://0001-build-Add-with-systemduserunitdir.patch \
"
 
-SRC_URI[md5sum] = "4a042e4c801fdb793788b749eab21485"
-SRC_URI[sha256sum] = 
"c80e0cdf5e3d713400315b63c7deffa561032a6c37289211d8afcfaa267c2615"
+SRC_URI[md5sum] = "9c42f79636ed1c0e908b7483d789b32e"
+SRC_URI[sha256sum] = 
"42a2487ab11ce43c288e73b2668ef8b1ab40a0e2b4f94e80fca04ad27b6f1c87"
 
 DEPENDS = "dbus glib-2.0 virtual/libx11 libxi libxtst"
 
-inherit autotools gtk-doc gettext systemd pkgconfig distro_features_check 
upstream-version-is-even gobject-introspection
+inherit meson gtk-doc gettext systemd pkgconfig distro_features_check 
upstream-version-is-even gobject-introspection
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
 
-EXTRA_OECONF = " \
---with-systemduserunitdir=${systemd_user_unitdir} \
---with-dbus-daemondir=${bindir}"
+EXTRA_OEMESON = " -Dsystemd_user_dir=${systemd_user_unitdir} \
+  -Ddbus_daemon=${bindir}"
 
 FILES_${PN} += "${datadir}/dbus-1/services/*.service \
 ${datadir}/dbus-1/accessibility-services/*.service \
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 06/10] vte: upgrade to version 0.52.0

2018-04-04 Thread Maxin B. John
Removed configuration option "--disable-test-application"
[unknown-configure-option]

Signed-off-by: Maxin B. John 
---
 meta/recipes-support/vte/{vte_0.50.2.bb => vte_0.52.0.bb} | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)
 rename meta/recipes-support/vte/{vte_0.50.2.bb => vte_0.52.0.bb} (89%)

diff --git a/meta/recipes-support/vte/vte_0.50.2.bb 
b/meta/recipes-support/vte/vte_0.52.0.bb
similarity index 89%
rename from meta/recipes-support/vte/vte_0.50.2.bb
rename to meta/recipes-support/vte/vte_0.52.0.bb
index 8b9ee33..254d64e 100644
--- a/meta/recipes-support/vte/vte_0.50.2.bb
+++ b/meta/recipes-support/vte/vte_0.52.0.bb
@@ -11,8 +11,8 @@ inherit gnomebase gtk-doc distro_features_check 
upstream-version-is-even gobject
 SRC_URI += "file://0001-Don-t-enable-stack-protection-by-default.patch \
 ${@bb.utils.contains('PACKAGECONFIG', 'vala', '', 
'file://0001-Add-m4-vapigen.m4.patch', d) } \
 "
-SRC_URI[archive.md5sum] = "1912cfd1d9cdd30cebeb908507acadc5"
-SRC_URI[archive.sha256sum] = 
"79dd316bfaff48f2fb74d066baae0d830e1f44436796fe410a57297e5c5f09cf"
+SRC_URI[archive.md5sum] = "95b0d12864f7374128da33998e756e75"
+SRC_URI[archive.sha256sum] = 
"d5ae7257af493afa10ca2a290f284e588021b0bd863dbb75de7c0567"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
@@ -38,8 +38,6 @@ PACKAGECONFIG[gnutls] = 
"--with-gnutls,--without-gnutls,gnutls"
 
 CFLAGS += "-D_GNU_SOURCE"
 
-EXTRA_OECONF = "--disable-test-application"
-
 # libtool adds "-nostdlib" when g++ is used. This breaks PIE builds.
 # Use libtool-cross (which has a hack to prevent that) instead.
 EXTRA_OEMAKE_class-target = 
"LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 03/10] atk: upgrade to version 2.28.1

2018-04-04 Thread Maxin B. John
convert to meson build

Signed-off-by: Maxin B. John 
---
 meta/recipes-support/atk/{atk_2.26.1.bb => atk_2.28.1.bb} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-support/atk/{atk_2.26.1.bb => atk_2.28.1.bb} (75%)

diff --git a/meta/recipes-support/atk/atk_2.26.1.bb 
b/meta/recipes-support/atk/atk_2.28.1.bb
similarity index 75%
rename from meta/recipes-support/atk/atk_2.26.1.bb
rename to meta/recipes-support/atk/atk_2.28.1.bb
index 685b599..bb47916 100644
--- a/meta/recipes-support/atk/atk_2.26.1.bb
+++ b/meta/recipes-support/atk/atk_2.28.1.bb
@@ -10,10 +10,11 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
 
 DEPENDS = "glib-2.0"
 
+GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gtk-doc gettext upstream-version-is-even 
gobject-introspection
 
-SRC_URI[archive.md5sum] = "7cddcc313b9a3efd19b2ddf079ba68f5"
-SRC_URI[archive.sha256sum] = 
"ef00ff6b83851dddc8db38b4d9faeffb99572ba150b0664ee02e46f015ea97cb"
+SRC_URI[archive.md5sum] = "dfb5e7474220afa3f4ca7e45af9f3a11"
+SRC_URI[archive.sha256sum] = 
"cd3a1ea6ecc268a2497f0cd018e970860de24a6d42086919d6bf6c8e8d53f4fc"
 
 BBCLASSEXTEND = "native"
 
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 10/10] libevdev: upgrade to version 1.5.9

2018-04-04 Thread Maxin B. John
1.5.8 -> 1.5.9

Signed-off-by: Maxin B. John 
---
 .../recipes-support/libevdev/{libevdev_1.5.8.bb => libevdev_1.5.9.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libevdev/{libevdev_1.5.8.bb => libevdev_1.5.9.bb} 
(74%)

diff --git a/meta/recipes-support/libevdev/libevdev_1.5.8.bb 
b/meta/recipes-support/libevdev/libevdev_1.5.9.bb
similarity index 74%
rename from meta/recipes-support/libevdev/libevdev_1.5.8.bb
rename to meta/recipes-support/libevdev/libevdev_1.5.9.bb
index c138014..f59c60e 100644
--- a/meta/recipes-support/libevdev/libevdev_1.5.8.bb
+++ b/meta/recipes-support/libevdev/libevdev_1.5.9.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \
 
 SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz;
 
-SRC_URI[md5sum] = "c25a8c3939e4ad59a5e9e5e1e354832d"
-SRC_URI[sha256sum] = 
"6083d81e46609da8ba80cb826c02d9080764a6dec33c8267ccb7e158833d4c6d"
+SRC_URI[md5sum] = "a1ca11e961c1efed720fac4130881904"
+SRC_URI[sha256sum] = 
"e1663751443bed9d3e76a4fe2caf6fa866a79705d91cacad815c04e706198a75"
 
 inherit autotools pkgconfig
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 08/10] libsoup-2.4: upgrade to version 2.62.0

2018-04-04 Thread Maxin B. John
2.60.3 -> 2.62.0

Signed-off-by: Maxin B. John 
---
 .../libsoup/{libsoup-2.4_2.60.3.bb => libsoup-2.4_2.62.0.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libsoup/{libsoup-2.4_2.60.3.bb => 
libsoup-2.4_2.62.0.bb} (89%)

diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.60.3.bb 
b/meta/recipes-support/libsoup/libsoup-2.4_2.62.0.bb
similarity index 89%
rename from meta/recipes-support/libsoup/libsoup-2.4_2.60.3.bb
rename to meta/recipes-support/libsoup/libsoup-2.4_2.62.0.bb
index e2e7ff4..5c9dd19 100644
--- a/meta/recipes-support/libsoup/libsoup-2.4_2.60.3.bb
+++ b/meta/recipes-support/libsoup/libsoup-2.4_2.62.0.bb
@@ -11,8 +11,8 @@ SHRT_VER = 
"${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
 
 SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz"
 
-SRC_URI[md5sum] = "4cf8937d161d3dd71a65f1684e317824"
-SRC_URI[sha256sum] = 
"1b0dc762f23abe4e0d29b77370e539fd35f31d8e8e0318d6ddccff395be68a22"
+SRC_URI[md5sum] = "750b6f6136e5fdd82ac07f60b4aea575"
+SRC_URI[sha256sum] = 
"ab7c7ae8d19d0a27ab3b6ae21599cec8c7f7b773b3f2b1090c5daf178373aaac"
 
 S = "${WORKDIR}/libsoup-${PV}"
 
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 07/10] libusb1: upgrade to version 1.0.22

2018-04-04 Thread Maxin B. John
1.0.21 -> 1.0.22

Signed-off-by: Maxin B. John 
---
 meta/recipes-support/libusb/{libusb1_1.0.21.bb => libusb1_1.0.22.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libusb/{libusb1_1.0.21.bb => libusb1_1.0.22.bb} 
(86%)

diff --git a/meta/recipes-support/libusb/libusb1_1.0.21.bb 
b/meta/recipes-support/libusb/libusb1_1.0.22.bb
similarity index 86%
rename from meta/recipes-support/libusb/libusb1_1.0.21.bb
rename to meta/recipes-support/libusb/libusb1_1.0.22.bb
index 1fefd14..766c1c3 100644
--- a/meta/recipes-support/libusb/libusb1_1.0.21.bb
+++ b/meta/recipes-support/libusb/libusb1_1.0.22.bb
@@ -12,8 +12,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/libusb/libusb-${PV}.tar.bz2 \
file://no-dll.patch \
   "
 
-SRC_URI[md5sum] = "1da9ea3c27b3858fa85c5f4466003e44"
-SRC_URI[sha256sum] = 
"7dce9cce9a81194b7065ee912bcd55eeffebab694ea403ffb91b67db66b1824b"
+SRC_URI[md5sum] = "466267889daead47674df933cea9cacb"
+SRC_URI[sha256sum] = 
"75aeb9d59a4fdb800d329a545c2e6799f732362193b465ea198f2aa275518157"
 
 S = "${WORKDIR}/libusb-${PV}"
 
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 09/10] sqlite3: upgrade to version 3.23.0

2018-04-04 Thread Maxin B. John
3.22.0 -> 3.23.0

Includes optimizations and fixes for issues detected by OSSFuzz

Signed-off-by: Maxin B. John 
---
 meta/recipes-support/sqlite/{sqlite3_3.22.0.bb => sqlite3_3.23.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/sqlite/{sqlite3_3.22.0.bb => sqlite3_3.23.0.bb} 
(59%)

diff --git a/meta/recipes-support/sqlite/sqlite3_3.22.0.bb 
b/meta/recipes-support/sqlite/sqlite3_3.23.0.bb
similarity index 59%
rename from meta/recipes-support/sqlite/sqlite3_3.22.0.bb
rename to meta/recipes-support/sqlite/sqlite3_3.23.0.bb
index ef88659..1b7ae9a 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.22.0.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.23.0.bb
@@ -6,5 +6,5 @@ LIC_FILES_CHKSUM = 
"file://sqlite3.h;endline=11;md5=786d3dc581eff03f4fd9e4a77ed0
 SRC_URI = "\
   http://www.sqlite.org/2018/sqlite-autoconf-${SQLITE_PV}.tar.gz \
   "
-SRC_URI[md5sum] = "96b5648d542e8afa6ab7ffb8db8ddc3d"
-SRC_URI[sha256sum] = 
"2824ab1238b706bc66127320afbdffb096361130e23291f26928a027b885c612"
+SRC_URI[md5sum] = "6a26a122a18bcd1a6a1c18b4bad64498"
+SRC_URI[sha256sum] = 
"b7711a1800a071674c2bf76898ae8584fc6c9643cfe933cfc1bc54361e3a6e49"
-- 
2.4.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] gcc-sanitizers: Update supported architectures

2018-04-04 Thread Dan McGregor
From: Dan McGregor 

aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.

Also mark as broken entirely with musl.

Signed-off-by: Dan McGregor 
---
 meta/recipes-devtools/gcc/gcc-sanitizers.inc | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-sanitizers.inc 
b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
index 3183b29dec9..3b7e0028f2b 100644
--- a/meta/recipes-devtools/gcc/gcc-sanitizers.inc
+++ b/meta/recipes-devtools/gcc/gcc-sanitizers.inc
@@ -61,15 +61,19 @@ RDEPENDS_libubsan-dev += "${PN}"
 RDEPENDS_liblsan-dev += "${PN}"
 RDEPENDS_libtsan-dev += "${PN}"
 RRECOMMENDS_${PN} += "libasan libubsan"
-RRECOMMENDS_${PN}_append_x86-64 = " liblsan libtsan"
 RRECOMMENDS_${PN}_append_x86 = " liblsan"
+RRECOMMENDS_${PN}_append_x86-64 = " liblsan libtsan"
+RRECOMMENDS_${PN}_append_powerpc64 = " liblsan libtsan"
+RRECOMMENDS_${PN}_append_aarch64 = " liblsan libtsan"
 
 do_package_write_ipk[depends] += 
"virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
 do_package_write_deb[depends] += 
"virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
 do_package_write_rpm[depends] += 
"virtual/${MLPREFIX}${TARGET_PREFIX}compilerlibs:do_packagedata"
 
-# MIPS, aarch64, and SPARC are broken.
-COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm).*-linux'
+# Only x86, powerpc, sparc, s390, arm, and aarch64 are supported
+COMPATIBLE_HOST = '(x86_64|i.86|powerpc|sparc|s390|arm|aarch64).*-linux'
+# musl is currently broken entirely
+COMPATIBLE_HOST_libc-musl = 'null'
 
 FILES_libasan += "${libdir}/libasan.so.*"
 FILES_libasan-dev += "\
-- 
2.17.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] packagegroup-core-sdk: update sanitizer lists

2018-04-04 Thread Dan McGregor
From: Dan McGregor 

aarch64 has been supported since GCC 5.1, sparc has been supported
since 4.9, and S390 since 7.1.

Signed-off-by: Dan McGregor 
---
 meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb 
b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
index a137e7748fd..45e8c135850 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
@@ -27,12 +27,9 @@ RDEPENDS_packagegroup-core-sdk = "\
 tcl"
 
 SANITIZERS = "libasan-dev libubsan-dev"
-SANITIZERS_aarch64 = ""
 SANITIZERS_microblaze = ""
 SANITIZERS_mipsarch = ""
 SANITIZERS_nios2 = ""
-SANITIZERS_powerpc64 = ""
-SANITIZERS_sparc = ""
 SANITIZERS_riscv64 = ""
 SANITIZERS_libc-musl = ""
 
-- 
2.17.0

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2] mesa: Upgrade 17.3.7 -> 17.3.8

2018-04-04 Thread Otavio Salvador
This version has been published at April 03, 2018, and it is a bugfix
only release.

The release includes several important fixes that were made as part of
18.0.1 development cycle. Full list of bug fixes can be see online at:

  https://www.mesa3d.org/relnotes/17.3.8.html

Signed-off-by: Otavio Salvador 
---

Changes in v2:
- rebase on top of sumo/master

 .../files/replace_glibc_check_with_linux.patch | 28 --
 .../mesa/{mesa-gl_17.3.7.bb => mesa-gl_17.3.8.bb}  |  0
 .../mesa/{mesa_17.3.7.bb => mesa_17.3.8.bb}|  5 ++--
 3 files changed, 2 insertions(+), 31 deletions(-)
 delete mode 100644 
meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch
 rename meta/recipes-graphics/mesa/{mesa-gl_17.3.7.bb => mesa-gl_17.3.8.bb} 
(100%)
 rename meta/recipes-graphics/mesa/{mesa_17.3.7.bb => mesa_17.3.8.bb} (83%)

diff --git 
a/meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch 
b/meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch
deleted file mode 100644
index 30f55f4dac5..000
--- a/meta/recipes-graphics/mesa/files/replace_glibc_check_with_linux.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Otavio Salvador 
-Subject: [PATCH] endianness check is OS wide and not specific to libc
-
-Upstream-Status: Accepted 
[https://cgit.freedesktop.org/mesa/mesa/commit/?id=cbee1bfb34274668a05995b9d4c78ddec9e5ea4c]
-
-Signed-off-by: Khem Raj 
-Signed-off-by: Jussi Kukkonen 
-Signed-off-by: Otavio Salvador 

- src/util/u_endian.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/util/u_endian.h b/src/util/u_endian.h
-index 9e09f80181..3148033fae 100644
 a/src/util/u_endian.h
-+++ b/src/util/u_endian.h
-@@ -27,7 +27,7 @@
- #ifndef U_ENDIAN_H
- #define U_ENDIAN_H
- 
--#if defined(__GLIBC__) || defined(ANDROID) || defined(__CYGWIN__)
-+#if defined(__linux__)
- #include 
- 
- #if __BYTE_ORDER == __LITTLE_ENDIAN
--- 
-2.15.1
-
diff --git a/meta/recipes-graphics/mesa/mesa-gl_17.3.7.bb 
b/meta/recipes-graphics/mesa/mesa-gl_17.3.8.bb
similarity index 100%
rename from meta/recipes-graphics/mesa/mesa-gl_17.3.7.bb
rename to meta/recipes-graphics/mesa/mesa-gl_17.3.8.bb
diff --git a/meta/recipes-graphics/mesa/mesa_17.3.7.bb 
b/meta/recipes-graphics/mesa/mesa_17.3.8.bb
similarity index 83%
rename from meta/recipes-graphics/mesa/mesa_17.3.7.bb
rename to meta/recipes-graphics/mesa/mesa_17.3.8.bb
index 9c75d6c6931..2d3fd3ca388 100644
--- a/meta/recipes-graphics/mesa/mesa_17.3.7.bb
+++ b/meta/recipes-graphics/mesa/mesa_17.3.8.bb
@@ -1,7 +1,6 @@
 require ${BPN}.inc
 
 SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
-   file://replace_glibc_check_with_linux.patch \
file://disable-asm-on-non-gcc.patch \
   file://Use-Python-3-to-execute-the-scripts.patch \
file://0001-Use-wayland-scanner-in-the-path.patch \
@@ -12,8 +11,8 @@ SRC_URI = 
"https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
file://0001-st-dri-Initialise-modifier-to-INVALID-for-DRI2.patch \
"
 
-SRC_URI[md5sum] = "769137f2538562c300c4b76bcb097377"
-SRC_URI[sha256sum] = 
"0595904a8fba65a8fe853a84ad3c940205503b94af41e8ceed245fada777ac1e"
+SRC_URI[md5sum] = "203d1a79156ab6926f2d253b377e9d9d"
+SRC_URI[sha256sum] = 
"8f9d9bf281c48e4a8f5228816577263b4c655248dc7666e75034ab422951a6b1"
 
 #because we cannot rely on the fact that all apps will use pkgconfig,
 #make eglplatform.h independent of MESA_EGL_NO_X11_HEADER
-- 
2.16.3

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] ✗ patchtest: failure for mesa: Upgrade 17.3.7 -> 17.3.8

2018-04-04 Thread Otavio Salvador
On Wed, Apr 4, 2018 at 9:43 AM, Andreas Müller  wrote:
> On Wed, Apr 4, 2018 at 1:11 AM, Otavio Salvador
>  wrote:
>> On Tue, Apr 3, 2018 at 6:32 PM, Patchwork
>>  wrote:
>>> == Series Details ==
>>>
>>> Series: mesa: Upgrade 17.3.7 -> 17.3.8
>> ...
>>> * Issue Series does not apply on top of target branch 
>>> [test_series_merge_on_head]
>>>   Suggested fixRebase your series on top of targeted branch
>>>   Targeted branch  master (currently at 4cedddb836)
>>
>> I based the patch on top of sumo-next to avoid the need of rebasing it
>> for Ross and Richard. If it is indeed need to redo this on top of
>> current sumo/master please let me know and I can do it promptly.
>>
> Hi Otavio,
>
> * It is likely that my two mesa patches (dri2/dri3 related) bug you
> * just checked: master-(next) and sumo(-next) are all identical from
> mesa perspective - so rebase against master should do
>
> Hope that helps

It rebased without conflicts but in any case I sent a v2.


-- 
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] package_manager.py: Skip gpgcheck while using dnf on target

2018-04-04 Thread Manjukumar Harthikote Matha
Hi All,

> -Original Message-
> From: Manjukumar Matha [mailto:manjukumar.harthikote-ma...@xilinx.com]
> Sent: Tuesday, April 03, 2018 1:35 PM
> To: openembedded-core@lists.openembedded.org
> Cc: Manjukumar Harthikote Matha 
> Subject: [OE-core][PATCH] package_manager.py: Skip gpgcheck while using dnf on
> target
> 
> By default, RPM_SIGN_PACKAGES is not defined. Add gpgcheck=0 to oe-remote-
> repo.repo file, otherwise dnf will complain during install operation on target
> 
> Note, RPM_SIGN_PACKAGES is set only when you inherit sign_rpm explicitly
> 
> Signed-off-by: Manjukumar Matha 
> ---
>  meta/lib/oe/package_manager.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
> index e006dc6..9f22fb0 100644
> --- a/meta/lib/oe/package_manager.py
> +++ b/meta/lib/oe/package_manager.py
> @@ -674,7 +674,7 @@ class RpmPM(PackageManager):
>  gpg_opts += 'repo_gpgcheck=1\n'
>  gpg_opts += 
> 'gpgkey=file://%s/pki/packagefeed-gpg/PACKAGEFEED-GPG-
> KEY-%s-%s\n' % (self.d.getVar('sysconfdir'), self.d.getVar('DISTRO'),
> self.d.getVar('DISTRO_CODENAME'))
> 
> -if self.d.getVar('RPM_SIGN_PACKAGES') == '0':
> +if self.d.getVar('RPM_SIGN_PACKAGES') != '1':
>  gpg_opts += 'gpgcheck=0\n'
> 
>  bb.utils.mkdirhier(oe.path.join(self.target_rootfs, "etc", 
> "yum.repos.d"))
> --

Any feedback/concerns on this patch? 

Thanks,
Manju
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] uninative: add variables to the whitelist so that it does not re-triger recipe parsing

2018-04-04 Thread Randy MacLeod

On 2018-04-03 10:15 AM, Cuero Bugot wrote:

In short the answer is that no, we shouldn't and your patch is the better 
option. I've queued it in sumo-next. Thanks for figuring it out as it is an 
annoying problem.


Hey no prb ! Given he traffic on this list I understand everyone is busy!
Would it be possible to add it to rocko-next  as well ? (the patch applies as 
is) (I ask in my self interest as we are using rocko as of now); or does it 
contradict specific policies for released branches ?


I'm not sure if there's any objection to backporting this patch but
Armin is the guy to ask about that. I've added him to the thread in case
he missed your rocko reference.

Usually, a patch has to be in master and not just master-next
before being backported IIRC, so give it a few days.

../Randy


Thx,
Cuero




--
# Randy MacLeod.  WR Linux
# Wind River
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] python3: Add recommended modules to nativesdk install

2018-04-04 Thread Tom Hochstein
The python3 installation in the SDK did not include the minimum set
of modules.

Signed-off-by: Tom Hochstein 
---
 meta/recipes-devtools/python/python3_3.5.5.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/python/python3_3.5.5.bb 
b/meta/recipes-devtools/python/python3_3.5.5.bb
index d458d32..f893b84 100644
--- a/meta/recipes-devtools/python/python3_3.5.5.bb
+++ b/meta/recipes-devtools/python/python3_3.5.5.bb
@@ -211,6 +211,7 @@ py_package_preprocess () {
 
 # manual dependency additions
 RPROVIDES_${PN}-modules = "${PN}"
+RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules"
 RRECOMMENDS_${PN}-crypt = "openssl"
 RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"
 
-- 
2.7.4

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH][RFC] pseudo: intercept syscall() and return ENOTSUP for renameat2

2018-04-04 Thread Khem Raj
On 3/27/18 8:48 AM, Ross Burton wrote:
> coreutils is now using renameat2() in mv(1) but as this syscall isn't in most
> glibc headers yet it falls back to directly calling syscall(), which pseudo
> doesn't intercept.  This results in permission problems as files mysteriously
> move without pseudo knowing.
> 
> This patch intercepts syscall() and returns ENOTSUP if renameat2() is being
> called.  Thanks to Andre McCurdy for the proof-of-concept that this patch is
> based on.

what is the performance impact of adding another stack frame and
function call in the chain here. Do we have data ?

> 
> Signed-off-by: Ross Burton 
> ---
>  meta/recipes-devtools/pseudo/files/renameat2.patch | 63 
> ++
>  meta/recipes-devtools/pseudo/pseudo_git.bb |  1 +
>  2 files changed, 64 insertions(+)
>  create mode 100644 meta/recipes-devtools/pseudo/files/renameat2.patch
> 
> diff --git a/meta/recipes-devtools/pseudo/files/renameat2.patch 
> b/meta/recipes-devtools/pseudo/files/renameat2.patch
> new file mode 100644
> index 000..467b0b3e79f
> --- /dev/null
> +++ b/meta/recipes-devtools/pseudo/files/renameat2.patch
> @@ -0,0 +1,63 @@
> +commit 3a4c536817dce4d0cbaa8f4efe30e722108357dd
> +Author: Ross Burton 
> +Date:   Tue Mar 27 14:02:10 2018 +0100
> +
> +HACK syscall
> +
> +diff --git a/ports/linux/guts/syscall.c b/ports/linux/guts/syscall.c
> +new file mode 100644
> +index 000..4ed38ed
> +--- /dev/null
>  b/ports/linux/guts/syscall.c
> +@@ -0,0 +1,30 @@
> ++/*
> ++ * Copyright (c) 2018 Wind River Systems; see
> ++ * guts/COPYRIGHT for information.
> ++ *
> ++ * long syscall(long number, ...)
> ++ *  long rc = -1;
> ++ */
> ++typedef long syscall_arg_t;
> ++syscall_arg_t a,b,c,d,e,f;
> ++
> ++//va_start (ap, number);
> ++a = va_arg (ap, syscall_arg_t);
> ++b = va_arg (ap, syscall_arg_t);
> ++c = va_arg (ap, syscall_arg_t);
> ++d = va_arg (ap, syscall_arg_t);
> ++e = va_arg (ap, syscall_arg_t);
> ++f = va_arg (ap, syscall_arg_t);
> ++va_end (ap);
> ++
> ++if ((number == SYS_renameat2)) {
> ++errno = ENOTSUP;
> ++rc = -1;
> ++}
> ++else {
> ++rc = real_syscall (number, a, b, c, d, e, f);
> ++}
> ++
> ++/*  return rc;
> ++ * }
> ++ */
> +diff --git a/ports/linux/wrapfuncs.in b/ports/linux/wrapfuncs.in
> +index fca5b50..137612c 100644
> +--- a/ports/linux/wrapfuncs.in
>  b/ports/linux/wrapfuncs.in
> +@@ -54,3 +54,4 @@ int getpw(uid_t uid, char *buf);
> + int getpwent_r(struct passwd *pwbuf, char *buf, size_t buflen, struct 
> passwd **pwbufp);
> + int getgrent_r(struct group *gbuf, char *buf, size_t buflen, struct group 
> **gbufp);
> + int capset(cap_user_header_t hdrp, const cap_user_data_t datap); /* 
> real_func=pseudo_capset */
> ++long syscall(long number, ...);
> +diff --git a/pseudo_wrappers.c b/pseudo_wrappers.c
> +index e05f73a..b7225d7 100644
> +--- a/pseudo_wrappers.c
>  b/pseudo_wrappers.c
> +@@ -36,6 +36,7 @@
> + #include 
> + #include 
> + #include 
> ++#include 
> + 
> + /* include this to get PSEUDO_PORT_* definitions */
> + #include "pseudo.h"
> diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb 
> b/meta/recipes-devtools/pseudo/pseudo_git.bb
> index 66da1cc53b8..44343c3bc57 100644
> --- a/meta/recipes-devtools/pseudo/pseudo_git.bb
> +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
> @@ -6,6 +6,7 @@ SRC_URI = "git://git.yoctoproject.org/pseudo \
> file://fallback-group \
> file://moreretries.patch \
> file://toomanyfiles.patch \
> +   file://renameat2.patch \
> "
>  
>  SRCREV = "d7c31a25e4b02af0c64e6be0b4b0a9ac4ffc9da2"
> 

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH][RFC] pseudo: intercept syscall() and return ENOTSUP for renameat2

2018-04-04 Thread Seebs
On Wed, 4 Apr 2018 14:28:11 -0700
Khem Raj  wrote:

> what is the performance impact of adding another stack frame and
> function call in the chain here. Do we have data ?

Very close to unmeasurable, because *almost nothing ever uses syscall*.

This is used only for the case where someone is explicitly calling
syscall(), not for any other system call use case. And my
implementation (which is not the same as this one) also overrides the
wrapper generation, so there's no standard pseudo wrapper overhead
(which is several times larger and involves mutexes and signal mask
changing), it's just passing the call on unless it's SYS_renameat2.

-s
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH V3] libgpg-error: 1.27 -> 1.28

2018-04-04 Thread Hongxu Jia
- Rebase pkgconfig.patch

- Fix regression on arm64 due to invalid use of va_list

License-Update: copyright years

Signed-off-by: Hongxu Jia 
---
 ...gression-on-arm64-due-to-invalid-use-of-v.patch | 61 
 .../libgpg-error/libgpg-error/pkgconfig.patch  | 67 +-
 .../libgpg-error/libgpg-error_1.27.bb  | 62 
 .../libgpg-error/libgpg-error_1.28.bb  | 63 
 4 files changed, 165 insertions(+), 88 deletions(-)
 create mode 100644 
meta/recipes-support/libgpg-error/libgpg-error/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch
 delete mode 100644 meta/recipes-support/libgpg-error/libgpg-error_1.27.bb
 create mode 100644 meta/recipes-support/libgpg-error/libgpg-error_1.28.bb

diff --git 
a/meta/recipes-support/libgpg-error/libgpg-error/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch
 
b/meta/recipes-support/libgpg-error/libgpg-error/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch
new file mode 100644
index 000..c35e724
--- /dev/null
+++ 
b/meta/recipes-support/libgpg-error/libgpg-error/0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch
@@ -0,0 +1,61 @@
+From 791177de023574223eddf7288eb7c5a0721ac623 Mon Sep 17 00:00:00 2001
+From: Werner Koch 
+Date: Sun, 18 Mar 2018 17:39:43 +0100
+Subject: [PATCH] core: Fix regression on arm64 due to invalid use of va_list.
+
+* src/logging.c (_gpgrt_log_printhex): Provide a dummy arg instead of
+NULL.
+--
+
+Fix
+Suggested-by: Jakub Wilk 
+
+Signed-off-by: Werner Koch 
+
+Upstream-Status: Backport
+
+Signed-off-by: Hongxu Jia 
+
+---
+ src/logging.c | 18 ++
+ 1 file changed, 14 insertions(+), 4 deletions(-)
+
+diff --git a/src/logging.c b/src/logging.c
+index 1a4f620..d01f974 100644
+--- a/src/logging.c
 b/src/logging.c
+@@ -1090,9 +1090,10 @@ _gpgrt_log_flush (void)
+ 
+ 
+ /* Print a hexdump of (BUFFER,LENGTH).  With FMT passed as NULL print
+- * just the raw dump, with FMT being an empty string, print a trailing
+- * linefeed, otherwise print an entire debug line with the expanded
+- * FMT followed by a possible wrapped hexdump and a final LF.  */
++ * just the raw dump (in this case ARG_PTR is not used), with FMT
++ * being an empty string, print a trailing linefeed, otherwise print
++ * an entire debug line with the expanded FMT followed by a possible
++ * wrapped hexdump and a final LF.  */
+ void
+ _gpgrt_logv_printhex (const void *buffer, size_t length,
+   const char *fmt, va_list arg_ptr)
+@@ -1150,7 +1151,16 @@ _gpgrt_log_printhex (const void *buffer, size_t length,
+   va_end (arg_ptr);
+ }
+   else
+-_gpgrt_logv_printhex (buffer, length, NULL, NULL);
++{
++  /* va_list is not necessary a pointer and thus we can't use NULL
++   * because that would conflict with platforms using a straight
++   * struct for it (e.g. arm64).  We use a dummy variable instead;
++   * the static is a simple way zero it out so to not get
++   * complains about uninitialized use.  */
++  static va_list dummy_argptr;
++
++  _gpgrt_logv_printhex (buffer, length, NULL, dummy_argptr);
++}
+ }
+ 
+ 
+-- 
+2.7.4
+
diff --git a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch 
b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
index 9ffeedb..3066613 100644
--- a/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
+++ b/meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch
@@ -1,15 +1,26 @@
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
+From ec309e20b5a27d42a5fb915c328d61e924ab5f19 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia 
+Date: Thu, 29 Mar 2018 15:12:17 +0800
+Subject: [PATCH] support pkgconfig
 
 Upstream-Status: Pending
 
-Index: libgpg-error-1.17/configure.ac
-===
 libgpg-error-1.17.orig/configure.ac
-+++ libgpg-error-1.17/configure.ac
-@@ -529,6 +529,7 @@ AC_CONFIG_FILES([src/Makefile tests/Make
+Rebase to 1.28
+
+Signed-off-by: Hongxu Jia 
+---
+ configure.ac|  1 +
+ src/Makefile.am |  4 ++-
+ src/gpg-error.m4| 71 +++--
+ src/gpg-error.pc.in | 11 +
+ 4 files changed, 18 insertions(+), 69 deletions(-)
+ create mode 100644 src/gpg-error.pc.in
+
+diff --git a/configure.ac b/configure.ac
+index aca9300..f7794e9 100644
+--- a/configure.ac
 b/configure.ac
+@@ -621,6 +621,7 @@ AC_CONFIG_FILES([src/Makefile tests/Makefile])
  AC_CONFIG_FILES([lang/Makefile lang/cl/Makefile lang/cl/gpg-error.asd])
  AC_CONFIG_FILES([src/versioninfo.rc src/gpg-error.w32-manifest])
  AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config])
@@ -17,33 +28,33 @@ Index: 

[OE-core] [pyro][PATCH] qemu: fix memfd_create with glibc 2.27

2018-04-04 Thread Alexander Kanavin
From: Ross Burton 

glibc 2.27 has added memfd_create() but this conflicts with a copy in qemu, so
take a patch from upstream to fix building with glibc 2.27.

Signed-off-by: Ross Burton 
Signed-off-by: Richard Purdie 
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/qemu/qemu/memfd.patch | 57 +
 meta/recipes-devtools/qemu/qemu_2.8.0.bb|  1 +
 2 files changed, 58 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/memfd.patch

diff --git a/meta/recipes-devtools/qemu/qemu/memfd.patch 
b/meta/recipes-devtools/qemu/qemu/memfd.patch
new file mode 100644
index 000..62e8d3800bd
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/memfd.patch
@@ -0,0 +1,57 @@
+Upstream-Status: Backport
+Signed-off-by: Ross Burton 
+
+From 75e5b70e6b5dcc4f2219992d7cffa462aa406af0 Mon Sep 17 00:00:00 2001
+From: Paolo Bonzini 
+Date: Tue, 28 Nov 2017 11:51:27 +0100
+Subject: [PATCH] memfd: fix configure test
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Recent glibc added memfd_create in sys/mman.h.  This conflicts with
+the definition in util/memfd.c:
+
+/builddir/build/BUILD/qemu-2.11.0-rc1/util/memfd.c:40:12: error: static 
declaration of memfd_create follows non-static declaration
+
+Fix the configure test, and remove the sys/memfd.h inclusion since the
+file actually does not exist---it is a typo in the memfd_create(2) man
+page.
+
+Cc: Marc-André Lureau 
+Signed-off-by: Paolo Bonzini 
+---
+ configure| 2 +-
+ util/memfd.c | 4 +---
+ 2 files changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/configure b/configure
+index 9c8aa5a98b..99ccc1725a 100755
+--- a/configure
 b/configure
+@@ -3923,7 +3923,7 @@ fi
+ # check if memfd is supported
+ memfd=no
+ cat > $TMPC << EOF
+-#include 
++#include 
+ 
+ int main(void)
+ {
+diff --git a/util/memfd.c b/util/memfd.c
+index 4571d1aba8..412e94a405 100644
+--- a/util/memfd.c
 b/util/memfd.c
+@@ -31,9 +31,7 @@
+ 
+ #include "qemu/memfd.h"
+ 
+-#ifdef CONFIG_MEMFD
+-#include 
+-#elif defined CONFIG_LINUX
++#if defined CONFIG_LINUX && !defined CONFIG_MEMFD
+ #include 
+ #include 
+ 
+-- 
+2.11.0
diff --git a/meta/recipes-devtools/qemu/qemu_2.8.0.bb 
b/meta/recipes-devtools/qemu/qemu_2.8.0.bb
index fa70009f725..41014f16634 100644
--- a/meta/recipes-devtools/qemu/qemu_2.8.0.bb
+++ b/meta/recipes-devtools/qemu/qemu_2.8.0.bb
@@ -31,6 +31,7 @@ SRC_URI += " \
 file://0004-Add-support-for-VM-suspend-resume-for-TPM-TIS.patch \
 file://CVE-2016-9908.patch \
 file://CVE-2016-9912.patch \
+file://memfd.patch \
 "
 
 SRC_URI_append_class-native = " \
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [morty][PATCH 2/2] qemu: fix memfd_create with glibc 2.27

2018-04-04 Thread Alexander Kanavin
From: Ross Burton 

glibc 2.27 has added memfd_create() but this conflicts with a copy in qemu, so
take a patch from upstream to fix building with glibc 2.27.

Signed-off-by: Ross Burton 
Signed-off-by: Richard Purdie 
Signed-off-by: Alexander Kanavin 
---
 meta/recipes-devtools/qemu/qemu/memfd.patch | 57 +
 meta/recipes-devtools/qemu/qemu_2.7.0.bb|  1 +
 2 files changed, 58 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/memfd.patch

diff --git a/meta/recipes-devtools/qemu/qemu/memfd.patch 
b/meta/recipes-devtools/qemu/qemu/memfd.patch
new file mode 100644
index 000..62e8d3800bd
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu/memfd.patch
@@ -0,0 +1,57 @@
+Upstream-Status: Backport
+Signed-off-by: Ross Burton 
+
+From 75e5b70e6b5dcc4f2219992d7cffa462aa406af0 Mon Sep 17 00:00:00 2001
+From: Paolo Bonzini 
+Date: Tue, 28 Nov 2017 11:51:27 +0100
+Subject: [PATCH] memfd: fix configure test
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Recent glibc added memfd_create in sys/mman.h.  This conflicts with
+the definition in util/memfd.c:
+
+/builddir/build/BUILD/qemu-2.11.0-rc1/util/memfd.c:40:12: error: static 
declaration of memfd_create follows non-static declaration
+
+Fix the configure test, and remove the sys/memfd.h inclusion since the
+file actually does not exist---it is a typo in the memfd_create(2) man
+page.
+
+Cc: Marc-André Lureau 
+Signed-off-by: Paolo Bonzini 
+---
+ configure| 2 +-
+ util/memfd.c | 4 +---
+ 2 files changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/configure b/configure
+index 9c8aa5a98b..99ccc1725a 100755
+--- a/configure
 b/configure
+@@ -3923,7 +3923,7 @@ fi
+ # check if memfd is supported
+ memfd=no
+ cat > $TMPC << EOF
+-#include 
++#include 
+ 
+ int main(void)
+ {
+diff --git a/util/memfd.c b/util/memfd.c
+index 4571d1aba8..412e94a405 100644
+--- a/util/memfd.c
 b/util/memfd.c
+@@ -31,9 +31,7 @@
+ 
+ #include "qemu/memfd.h"
+ 
+-#ifdef CONFIG_MEMFD
+-#include 
+-#elif defined CONFIG_LINUX
++#if defined CONFIG_LINUX && !defined CONFIG_MEMFD
+ #include 
+ #include 
+ 
+-- 
+2.11.0
diff --git a/meta/recipes-devtools/qemu/qemu_2.7.0.bb 
b/meta/recipes-devtools/qemu/qemu_2.7.0.bb
index 85aadecf09c..65ae539dc4f 100644
--- a/meta/recipes-devtools/qemu/qemu_2.7.0.bb
+++ b/meta/recipes-devtools/qemu/qemu_2.7.0.bb
@@ -14,6 +14,7 @@ SRC_URI += 
"file://configure-fix-Darwin-target-detection.patch \
 file://0003-fix-CVE-2016-7908.patch \
 file://0004-fix-CVE-2016-7909.patch \
 file://04b33e21866412689f18b7ad6daf0a54d8f959a7.patch \
+file://memfd.patch \
 "
 
 SRC_URI_prepend = "http://wiki.qemu-project.org/download/${BP}.tar.bz2;
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [morty][PATCH 1/2] selftest/signing: add --batch to gpg invocation when importing keys

2018-04-04 Thread Alexander Kanavin
Otherwise it may pop up windows asking for passphrases which breaks
automated testing.

Newer YP releases and master already have the fix.

[YOCTO #12521]

Signed-off-by: Alexander Kanavin 
---
 meta/lib/oeqa/selftest/signing.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/signing.py 
b/meta/lib/oeqa/selftest/signing.py
index 3b5c2da0e0f..02e5f5ad29d 100644
--- a/meta/lib/oeqa/selftest/signing.py
+++ b/meta/lib/oeqa/selftest/signing.py
@@ -26,7 +26,7 @@ class Signing(oeSelfTest):
 cls.pub_key_path = os.path.join(cls.testlayer_path, 'files', 
'signing', "key.pub")
 cls.secret_key_path = os.path.join(cls.testlayer_path, 'files', 
'signing', "key.secret")
 
-runCmd('gpg --homedir %s --import %s %s' % (cls.gpg_dir, 
cls.pub_key_path, cls.secret_key_path))
+runCmd('gpg --batch --homedir %s --import %s %s' % (cls.gpg_dir, 
cls.pub_key_path, cls.secret_key_path))
 
 @classmethod
 def tearDownClass(cls):
-- 
2.16.1

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] ✗ patchtest: failure for qemu: fix memfd_create with glibc 2.27 (rev5)

2018-04-04 Thread Patchwork
== Series Details ==

Series: qemu: fix memfd_create with glibc 2.27 (rev5)
Revision: 5
URL   : https://patchwork.openembedded.org/series/10759/
State : failure

== Summary ==


Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:



* Issue Series does not apply on top of target branch 
[test_series_merge_on_head] 
  Suggested fixRebase your series on top of targeted branch
  Targeted branch  pyro (currently at f8cc08fc7d)



If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).

---
Guidelines: 
https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core