Compiling Wind River Linux, day 2
Today I’m trying to compile wrlinux with --dl-layers
. Again, errors occur.
I used the same steps as yesterday, but now with --dl-layers
as an extra parameter for ./wrlinux-x/setup.sh
. So that is:
mkdir udoo-os
cd udoo-os
git clone https://github.com/WindRiver-Labs/wrlinux-x
./wrlinux-x/setup.sh --machines intel-x86-64 --recipes openssh cmake make libgcc gcc glibc boost mesa mesa-gl libusb1 libxcursor libxi libxinerama libxrandr --dl-layers
. ./environment-setup-x86_64-wrlinuxsdk-linux
. ./oe-init-build-env
I edited the udoo-os/build/config/local.conf
file. These variables’ values are changed:
BB_NO_NETWORK ?= '0'
PACKAGE_CLASSES ?= "package_deb"
I then followed the directions in udoo-os/README
bitbake wrlinux-image-std
This resulted in below output, including another error.
$ bitbake wrlinux-image-std
Processing Wind River templates files...
Parsing recipes: 100% |#########################################################################################################################################################################| Time: 0:03:14
Parsing of 2957 .bb files complete (0 cached, 2957 parsed). 7161 targets, 4716 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
WRLINUX_VERSION = "10.19.45.4"
WRLINUX_BRANCH = "Base"
BB_VERSION = "1.43.2"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
DISTRO = "wrlinux"
DISTRO_VERSION = "10.19.45.4"
MACHINE = "intel-x86-64"
DEFAULTTUNE = "corei7-64"
TARGET_SYS = "x86_64-wrs-linux"
TUNE_FEATURES = "m64 corei7"
TARGET_FPU = ""
lib32: TARGET_SYS = "x86_64-wrsmllib32-linux"
lib32: TUNE_FEATURES = "m32 corei7"
wrlinux
wrlinux-distro = "WRLINUX_10_19_BASE:1e77af00ac8d5f84731a215e2921a6e75956ffd1"
intel-x86 = "WRLINUX_10_19_BASE:a33c877a0d497c44a86deb68ad920329769fdeb7"
meta = "wr-10.19-20191106:f382a3c96449bba5100948c713047cdaa3cf5a01"
meta-gplv2 = "wr-10.19-20191106:fc56f8409e0a361739eee9cd64d110773d39b0a2"
wr-template = "WRLINUX_10_19_BASE:a19a8fb456b0e70d068183cb0837c31f456b46b3"
meta-cloud-services = "wr-10.19-20191106:c1b1c5371818ee92613ad326f9602eefdaac5649"
meta-filesystems
meta-gnome
meta-initramfs
meta-python
meta-multimedia
meta-networking
meta-oe
meta-perl = "wr-10.19-20191106:a31b7ea6b462ad55404283e4635efa4394dc957d"
meta-realtime = "wr-10.19-20191106:adb18b84302475cffdf280f9da3cccbcb3a4ff8a"
meta-virtualization = "wr-10.19-20191106:833f9dc8c79c59c7d68d9bb602e20f37bb15105e"
meta-webserver
meta-xfce = "wr-10.19-20191106:a31b7ea6b462ad55404283e4635efa4394dc957d"
meta-intel = "wr-10.19-20191106:c685e7f9f66fcb57bd0f2da1f87cbbae9f37c5ad"
meta-dpdk = "wr-10.19-20191106:3b3be49693f67b0c81c994562433594914dbf3c5"
meta-anaconda = "wr-10.19-20191106:f7820be5fdb19365cb8798ff2c21902b2c753e99"
meta-efi-secure-boot
meta-encrypted-storage
meta-ids
meta-integrity
meta = "wr-10.19-20191106:8fb2c0d33a74f84e84dc36735b63a38994ada563"
meta-security = "wr-10.19-20191106:7fd959d17e78dc84522db8e9fbfe15bac347341b"
meta-selinux = "wr-10.19-20191106:9bd4e87926e4b029019b9361f69aa26c1044c25a"
meta-signing-key
meta-tpm
meta-tpm2 = "wr-10.19-20191106:8fb2c0d33a74f84e84dc36735b63a38994ada563"
local = "master:0de5105774a37c6a4b643f461d52c49348d9e685"
NOTE: Fetching uninative binary shim from file:///home/pkok/Dropbox/university/thesis/udoo-os/layers/wrlinux/files/uninative-tarballs/9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216/x86_64-nativesdk-libc.tar.xz;sha256sum=9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216
Initialising tasks: 100% |######################################################################################################################################################################| Time: 0:00:05
Sstate summary: Wanted 1858 Found 0 Missed 1858 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
ERROR: quilt-native-0.66-r0 do_fetch: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/pkok/Dropbox/university/thesis/udoo-os/build/downloads 'https://download.savannah.gnu.org/releases/quilt/quilt-0.66.tar.gz' (for url https://download.savannah.gnu.org/releases/quilt/quilt-0.66.tar.gz)
ERROR: Logfile of failure stored in: /home/pkok/Dropbox/university/thesis/udoo-os/build/tmp-glibc/work/x86_64-linux/quilt-native/0.66-r0/temp/log.do_fetch.10991
ERROR: Task (/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_fetch) failed with exit code '1'
ERROR: m4-native-1.4.18-r0 do_fetch: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/pkok/Dropbox/university/thesis/udoo-os/build/downloads 'https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz' (for url https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz)
ERROR: Logfile of failure stored in: /home/pkok/Dropbox/university/thesis/udoo-os/build/tmp-glibc/work/x86_64-linux/m4-native/1.4.18-r0/temp/log.do_fetch.10994
ERROR: Task (/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_fetch) failed with exit code '1'
ERROR: libtool-native-2.4.6-r0 do_fetch: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/pkok/Dropbox/university/thesis/udoo-os/build/downloads 'https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz' (for url https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.gz)
ERROR: Logfile of failure stored in: /home/pkok/Dropbox/university/thesis/udoo-os/build/tmp-glibc/work/x86_64-linux/libtool-native/2.4.6-r0/temp/log.do_fetch.10997
ERROR: Task (/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_fetch) failed with exit code '1'
ERROR: autoconf-native-2.69-r11 do_fetch: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/pkok/Dropbox/university/thesis/udoo-os/build/downloads 'https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz' (for url https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz)
ERROR: Logfile of failure stored in: /home/pkok/Dropbox/university/thesis/udoo-os/build/tmp-glibc/work/x86_64-linux/autoconf-native/2.69-r11/temp/log.do_fetch.10995
ERROR: Task (virtual:native:/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/autoconf/autoconf_2.69.bb:do_fetch) failed with exit code '1'
ERROR: automake-native-1.16.1-r0 do_fetch: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /home/pkok/Dropbox/university/thesis/udoo-os/build/downloads 'https://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.gz' (for url https://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.gz)
ERROR: Logfile of failure stored in: /home/pkok/Dropbox/university/thesis/udoo-os/build/tmp-glibc/work/x86_64-linux/automake-native/1.16.1-r0/temp/log.do_fetch.10996
ERROR: Task (virtual:native:/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/automake/automake_1.16.1.bb:do_fetch) failed with exit code '1'
ERROR: gnu-config-native-20190501+gitAUTOINC+b98424c249-r0 do_fetch: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://git.savannah.gnu.org/config.git /home/pkok/Dropbox/university/thesis/udoo-os/build/downloads/git2/git.savannah.gnu.org.config.git --progress (for url git://git.savannah.gnu.org/config.git)
ERROR: Logfile of failure stored in: /home/pkok/Dropbox/university/thesis/udoo-os/build/tmp-glibc/work/x86_64-linux/gnu-config-native/20190501+gitAUTOINC+b98424c249-r0/temp/log.do_fetch.10992
ERROR: Task (virtual:native:/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 10 tasks of which 0 didn't need to be rerun and 6 failed.
Summary: 6 tasks failed:
/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_fetch
/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_fetch
/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_fetch
virtual:native:/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/autoconf/autoconf_2.69.bb:do_fetch
virtual:native:/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/automake/automake_1.16.1.bb:do_fetch
virtual:native:/home/pkok/Dropbox/university/thesis/udoo-os/layers/oe-core/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_fetch
Summary: There were 6 ERROR messages shown, returning a non-zero exit code.
Getting similar errors with BB_NO_NETWORK ?= '1'
.
The process finishes without errors with BB_NO_NETWORK ?= '0'
and BB_FETCH_PREMIRRORONLY ?= '0'
. Yay.
Now I have no clue how to install this though. README_templates
is empty, so that might indicate I should have used templates? I’m feeling kinda lost right now.