[OE-core] Question regarding docker and sumo

Lukasz Majewski lukma at denx.de
Fri Aug 17 20:58:11 UTC 2018


Dear All,

I do port yocto/OE from 2.3 to 2.5.1

For packagegroups-foo-common I do see following error 

cd <workdir>/packagegroup-foo-common/1.0-r0/sstate-build-package/ 

as expected, there are needed directories: package packages-split
pkgdata 

The problem is in sstate_create_package () at
poky/meta/classes/sstate.bbclass

To be precise in:
tar: tar -czf temporary.tgz.XXXXXXX package packages-split pkgdata 

tar (child): gzip: Cannot exec: Invalid argument 
tar (child): Error is not recoverable: exiting now 


Tar version tar (GNU tar) 1.28 (the same for both versions on host).
Also 'env' command shows 'unlimited' size for pipes.


ls -alh <install>/poky/build-lwn/tmp/hosttools and there is a link 
tar -> /bin/tar 

The sumo runs inside docker container (with recommended ubuntu). The
only change is from pyro to sumo.


To be even more strange - the sumo version of BSP builds correctly when
run natively on Debian 9 


The problem seems to be with sumo and docker.

| rt_sigprocmask(SIG_SETMASK, [], NULL, 8) =
0 | write(4, "packages-split/packagegroup-lwn-"..., 10240) = -1 EPIPE
(Broken pipe) | --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER,
si_pid=15063, si_uid=1000} --- | +++ killed by SIGPIPE
+++                                                                           

Any idea on how to solve (or debug) this issue further? Apparently
something is closing the pipe between tar and gzip...

Thanks in advance for any hints :-)


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180817/a233a573/attachment-0002.sig>


More information about the Openembedded-core mailing list