[yocto] Poky build errors, help is needed

Burton, Ross ross.burton at intel.com
Thu Jul 4 03:27:15 PDT 2019


On Wed, 3 Jul 2019 at 20:54, Chad Gong <cgong at trijicon.com> wrote:
> I opened the log.do_fetch file, and it looks like a file git2_github.com.thkukuk.libnsl.tar.gz was downloaded from the mirror site http://downloads.yoctoproject.org/mirror/sources/git2_github.com.thkukuk.libnsl.tar.gz .Then an error happened with tar, as shown below:
>
> tar -xzf /home/chad/mybuild-coreimageminimal-270-2/downloads/git2_github.com.thkukuk.libnsl.tar.gz failed with exit code 2, output:
>
> gzip: stdin: not in gzip format
> tar: Child returned status 1
> tar: Error is not recoverable: exiting now

$ wget http://downloads.yoctoproject.org/mirror/sources/git2_github.com.thkukuk.libnsl.tar.gz
...
$ file git2_github.com.thkukuk.libnsl.tar.gz
git2_github.com.thkukuk.libnsl.tar.gz: gzip compressed data, last
modified: Tue Jul 31 07:59:20 2018, from Unix
$ tar ztvf git2_github.com.thkukuk.libnsl.tar.gz
drwxr-xr-x pokybuild/users   0 2018-07-31 08:46 ./
-rw-r--r-- pokybuild/users 955 2018-07-31 08:46 ./packed-refs
drwxr-xr-x pokybuild/users   0 2018-07-31 08:46 ./objects/

Can you see what happened to your local file?  Still looks like you've
got network issues.

Oh, and you can share DL_DIR between builds, so I'd move it out of
your build directory.

Ross


More information about the yocto mailing list