[SOLVED] Docker Image compilation fails
-
Daniel Janse Van Rensburg 6 Jan 2019, 19:31 last edited by Daniel Janse Van Rensburg 14 Jan 2019, 22:29
So I've been working at this for about two weeks now, I want to build the OS for my Omega2, in order to customize the installed libs; end goal being to cross compile for it.
I've followed the instructions at https://github.com/OnionIoT/source more times than I can count, I've tried Ubuntu 16.04 and 18.04, setting a clean VM up to build the OS natively, and it fails. Updating loads of things will get the build to continue further, but it never finishes.
I then tried doing the same on Fedora 29, also a clean VM, compilation fails here too (no surprises there).
Lastly I tried compiling using the docker image, on both versions of Ubuntu and on Fedora, and the builds fail.
I'm at my wits end, the docker image should be set up to just build whatever I want, as that is the whole point of using docker. So my question, has anyone had success using the latest docker image on either Ubuntu or Fedora as a fresh VM?
Its getting really demotivating having to start a build an then leave it for 4 or 5 hours only to come back to a failure.
In terms of the VM setup, it is set up with 2 CPU's (I've built using -j1 and -j2), 8GB of RAM and 100GB of storage.
Any pointers are welcome, or if someone has a dockerfile that I can use, even better, as I cant seem to find the Onion dockerfile online.
-
Created a fresh Ubuntu 18.04 VM, 4CPU, 8GB, 100GB, followed native build instructions, and ran make -j4 out of the box, build failed. I reran with make -j1 V=s, and here is the failing output:
make[6]: Entering directory '/home/jvr/onion/source/build_dir/host/e2fsprogs-1.43.3/e2fsck'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/jvr/onion/source/build_dir/host/e2fsprogs-1.43.3/e2fsck'
making all in debugfs
make[6]: Entering directory '/home/jvr/onion/source/build_dir/host/e2fsprogs-1.43.3/debugfs'
CC create_inode.o
./../misc/create_inode.c: In function 'set_inode_xattr':
./../misc/create_inode.c:136:9: warning: implicit declaration of function 'llistxattr'; did you mean 'lstat64'? [-Wimplicit-function-declaration]
size = llistxattr(filename, NULL, 0);
^~~~~~~~~~
lstat64
./../misc/create_inode.c:172:16: warning: implicit declaration of function 'lgetxattr'; did you mean 'getdate_r'? [-Wimplicit-function-declaration]
value_size = lgetxattr(filename, name, NULL, 0);
^~~~~~~~~
getdate_r
./../misc/create_inode.c: At top level:
./../misc/create_inode.c:395:18: error: conflicting types for 'copy_file_range'
static errcode_t copy_file_range(ext2_filsys fs, int fd, ext2_file_t e2_file,
^~~~~~~~~~~~~~~
In file included from ./../misc/create_inode.c:19:0:
/usr/include/unistd.h:1110:9: note: previous declaration of 'copy_file_range' was here
ssize_t copy_file_range (int __infd, __off64_t *__pinoff,
^~~~~~~~~~~~~~~
Makefile:417: recipe for target 'create_inode.o' failed
make[6]: *** [create_inode.o] Error 1
make[6]: Leaving directory '/home/jvr/onion/source/build_dir/host/e2fsprogs-1.43.3/debugfs'
Makefile:404: recipe for target 'all-progs-recursive' failed
make[5]: *** [all-progs-recursive] Error 1
make[5]: Leaving directory '/home/jvr/onion/source/build_dir/host/e2fsprogs-1.43.3'
Makefile:339: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/jvr/onion/source/build_dir/host/e2fsprogs-1.43.3'
Makefile:49: recipe for target '/home/jvr/onion/source/build_dir/host/e2fsprogs-1.43.3/.built' failed
make[3]: *** [/home/jvr/onion/source/build_dir/host/e2fsprogs-1.43.3/.built] Error 2
make[3]: Leaving directory '/home/jvr/onion/source/tools/e2fsprogs'
tools/Makefile:147: recipe for target 'tools/e2fsprogs/compile' failed
make[2]: *** [tools/e2fsprogs/compile] Error 2
make[2]: Leaving directory '/home/jvr/onion/source'
tools/Makefile:145: recipe for target '/home/jvr/onion/source/staging_dir/target-mipsel_24kc_musl-1.1.16/stamp/.tools_install_yynyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynnny' failed
make[1]: *** [/home/jvr/onion/source/staging_dir/target-mipsel_24kc_musl-1.1.16/stamp/.tools_install_yynyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynnny] Error 2
make[1]: Leaving directory '/home/jvr/onion/source'
/home/jvr/onion/source/include/toplevel.mk:198: recipe for target 'world' failed
make: *** [world] Error 2
-
@Daniel-Janse-Van-Rensburg
I've been building using a docker image and docker desktop on Win10Pro successfully for the last month or so.
What docker image are you using?
For reference, mine is:C:\>docker images onion/omega2-source REPOSITORY TAG IMAGE ID CREATED SIZE onion/omega2-source latest dccda16e43df 3 months ago 1.3GB
I've created a fresh container from it and am currently running a
make
.
Have you tried that?i.e. Don't update feeds, don't
git pull
etc.
Just:- Install docker
- docker pull onion/omega2-source
- docker run -it onion/omega2-source /bin/bash
- make
I realise that this isn't where you want to be, I just want to confirm that a
make
can be completed successfully. Here's the result of mine after doing the 4 steps listed above.root@860597d4f42f:~/source# git status On branch lede-17.01 Your branch is up-to-date with 'origin/lede-17.01'. nothing to commit, working directory clean root@860597d4f42f:~/source# make WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig! make[1] world make[2] target/compile make[3] -C target/linux compile make[2] package/cleanup make[2] package/compile make[3] -C package/libs/toolchain compile make[3] -C package/libs/libnl-tiny compile make[3] -C package/libs/libjson-c compile make[3] -C package/utils/lua compile make[3] -C package/libs/libubox compile make[3] -C package/system/ubus compile make[3] -C package/system/uci compile make[3] -C package/network/config/netifd compile make[3] -C package/system/ubox compile make[3] -C package/libs/ncurses host-compile make[3] -C package/libs/ncurses compile make[3] -C package/utils/util-linux compile make[3] -C package/system/fstools compile make[3] -C package/system/fwtool host-compile make[3] -C package/system/fwtool compile make[3] -C package/libs/lzo compile make[3] -C package/libs/zlib compile make[3] -C package/utils/mtd-utils compile make[3] -C package/system/procd compile make[3] -C package/system/usign host-compile make[3] -C package/utils/jsonfilter compile make[3] -C package/system/lede-keyring compile make[3] -C package/system/usign compile make[3] -C package/base-files compile make[3] -C package/boot/uboot-envtools compile make[3] -C package/devel/valgrind compile make[3] -C feeds/onion/onion-sh-lib compile make[3] -C feeds/packages/libs/libxml2 compile make[3] -C package/libs/uclibc++ compile make[3] -C feeds/packages/libs/db47 compile make[3] -C feeds/packages/libs/expat compile make[3] -C package/libs/gettext-full host-compile make[3] -C feeds/packages/libs/gdbm compile make[3] -C feeds/packages/libs/libffi compile make[3] -C feeds/packages/libs/expat host-compile make[3] -C package/utils/bzip2 host-compile make[3] -C feeds/packages/lang/python host-compile make[3] -C package/libs/libreadline compile make[3] -C feeds/packages/libs/sqlite3 compile make[3] -C package/libs/openssl compile make[3] -C package/utils/bzip2 compile make[3] -C feeds/packages/lang/python compile make[3] -C feeds/packages/libs/libffi host-compile make[3] -C feeds/packages/lang/python3 host-compile make[3] -C feeds/packages/utils/bash compile make[3] -C feeds/packages/utils/xz compile make[3] -C feeds/packages/lang/python3 compile make[3] -C package/network/utils/iwinfo compile make[3] -C package/system/rpcd compile make[3] -C feeds/onion/i2c-exp-driver compile make[3] -C feeds/packages/utils/bc compile make[3] -C feeds/packages/utils/attr compile make[3] -C feeds/packages/utils/acl compile make[3] -C feeds/packages/libs/libcap compile make[3] -C package/libs/gmp compile make[3] -C feeds/packages/utils/coreutils compile make[3] -C feeds/onion/adc-exp compile make[3] -C feeds/packages/libs/confuse compile make[3] -C package/libs/libusb compile make[3] -C feeds/packages/libs/libftdi1 compile make[3] -C package/libs/gettext compile make[3] -C package/libs/libiconv compile make[3] -C package/libs/argp-standalone compile make[3] -C package/libs/elfutils compile make[3] -C package/libs/libusb-compat compile make[3] -C feeds/onion/avrdude/avrdude compile make[3] -C feeds/onion/arduino-dock compile make[3] -C feeds/onion/base-www compile make[3] -C feeds/packages/utils/dbus compile make[3] -C package/libs/libiconv host-compile make[3] -C feeds/packages/libs/glib2 host-compile make[3] -C feeds/packages/libs/glib2 compile make[3] -C package/libs/libtool compile make[3] -C feeds/packages/libs/libical compile make[3] -C feeds/packages/libs/libsndfile compile make[3] -C feeds/packages/libs/sbc compile make[3] -C feeds/packages/libs/speex compile make[3] -C feeds/packages/libs/gperf host-compile make[3] -C feeds/packages/utils/eudev compile make[3] -C feeds/onion/bluez compile make[3] -C feeds/onion/nodejs compile make[3] -C feeds/onion/blynk-library compile make[3] -C feeds/onion/console-install-tool compile make[3] -C package/libs/mbedtls compile make[3] -C package/network/utils/curl compile make[3] -C feeds/onion/device-client compile make[3] -C feeds/onion/dht-sensor compile make[3] -C feeds/onion/fast-gpio compile make[3] -C feeds/onion/hostname-tool compile make[3] -C feeds/onion/i2c-exp-node compile make[3] -C feeds/packages/utils/pcsc-lite compile make[3] -C feeds/packages/utils/ccid compile make[3] -C feeds/packages/utils/vim compile make[3] -C feeds/onion/libnfc compile make[3] -C feeds/onion/libfreefare compile make[3] -C feeds/onion/neopixel-tool compile make[3] -C feeds/onion/node-red-contrib-ibm-watson-iot compile make[3] -C feeds/onion/node-red-install-tool compile make[3] -C feeds/onion/node-usb compile make[3] -C feeds/onion/ogps compile make[3] -C feeds/onion/omega2-ctrl compile make[3] -C feeds/onion/onion-ads1x15-driver compile make[3] -C feeds/onion/shellinabox compile make[3] -C feeds/packages/net/cgi-io compile make[3] -C feeds/packages/libs/libjpeg compile make[3] -C feeds/packages/multimedia/mjpg-streamer compile make[3] -C feeds/onion/onion-console compile make[3] -C feeds/onion/onion-gpio-sysfs compile make[3] -C feeds/onion/onion-helper compile make[3] -C feeds/onion/onion-node-red compile make[3] -C feeds/packages/libs/pcre compile make[3] -C package/libs/gettext-full compile make[3] -C feeds/packages/libs/icu host-compile make[3] -C feeds/packages/libs/icu compile make[3] -C feeds/packages/libs/libmcrypt compile make[3] -C feeds/packages/lang/php7 compile make[3] -C feeds/onion/oos-app-editor compile make[3] -C feeds/onion/oos-app-rfid compile make[3] -C feeds/packages/libs/c-ares compile make[3] -C feeds/packages/libs/libuv compile make[3] -C package/libs/cyassl compile make[3] -C feeds/packages/libs/libwebsockets compile make[3] -C feeds/packages/net/mosquitto compile make[3] -C feeds/packages/net/mosquitto compile make[3] -C feeds/packages/net/mosquitto compile make[3] -C feeds/packages/net/mosquitto compile make[3] -C feeds/packages/net/mosquitto compile make[3] -C feeds/packages/net/mosquitto compile make[3] -C feeds/onion/onion-os compile make[3] -C package/libs/libubox host-compile make[3] -C package/system/opkg host-compile make[3] -C feeds/onion/onion-repo-keys compile make[3] -C feeds/packages/net/wget compile make[3] -C feeds/onion/onion-script compile make[3] -C feeds/onion/oupgrade compile make[3] -C feeds/packages/libs/libugpio compile make[3] -C feeds/onion/onion-ubus compile make[3] -C feeds/onion/onoff-node compile make[3] -C package/system/ca-certificates compile make[3] -C feeds/onion/oos-app-camera compile make[3] -C feeds/onion/power-dock compile make[3] -C feeds/onion/oos-app-power-dock-2 compile make[3] -C feeds/onion/oos-app-sensor-monitor compile make[3] -C package/firmware/linux-firmware compile make[3] -C package/firmware/prism54-firmware compile make[3] -C package/kernel/linux compile make[3] -C feeds/packages/libs/alsa-lib compile make[3] -C feeds/packages/libs/intltool host-compile make[3] -C feeds/packages/libs/tcp_wrappers compile make[3] -C feeds/onion/pulseaudio compile make[3] -C feeds/onion/python-spidev compile make[3] -C feeds/onion/setup-wizard compile make[3] -C feeds/onion/spi-gpio-driver compile make[3] -C feeds/onion/ubidots-client compile make[3] -C feeds/onion/url-enc-dec compile make[3] -C package/network/utils/maccalc compile make[3] -C package/network/utils/wireless-tools compile make[3] -C feeds/onion/wifi-warp-core compile make[3] -C feeds/packages/sound/alsa-utils compile make[3] -C feeds/packages/libs/apr compile make[3] -C feeds/packages/libs/apr-util compile make[3] -C feeds/packages/libs/libdaemon compile make[3] -C feeds/packages/libs/avahi compile make[3] -C feeds/packages/libs/avahi compile make[3] -C feeds/packages/libs/avahi compile make[3] -C feeds/packages/libs/avahi compile make[3] -C feeds/packages/libs/avahi compile make[3] -C feeds/packages/libs/avahi compile make[3] -C feeds/packages/libs/avahi compile make[3] -C feeds/packages/net/bind compile make[3] -C feeds/packages/libs/boost host-compile make[3] -C feeds/packages/libs/boost compile make[3] -C feeds/packages/libs/file compile make[3] -C feeds/packages/libs/classpath compile make[3] -C package/network/utils/iptables compile make[3] -C feeds/packages/net/coova-chilli compile make[3] -C feeds/packages/libs/cyrus-sasl compile make[3] -C feeds/packages/sound/portaudio compile make[3] -C feeds/packages/sound/espeak compile make[3] -C feeds/packages/net/etherwake compile make[3] -C feeds/packages/kernel/exfat-nofuse compile make[3] -C feeds/packages/libs/faad2 compile make[3] -C feeds/packages/libs/opus compile make[3] -C feeds/packages/multimedia/ffmpeg compile make[3] -C feeds/packages/libs/flac compile make[3] -C feeds/packages/libs/freetype compile make[3] -C feeds/packages/lang/perl host-compile make[3] -C feeds/packages/lang/perl compile make[3] -C feeds/packages/lang/perl-html-tagset compile make[3] -C feeds/packages/lang/perl-html-parser compile make[3] -C feeds/packages/lang/perl-cgi compile make[3] -C feeds/packages/net/git compile make[3] -C feeds/packages/utils/grep compile make[3] -C feeds/packages/utils/i2c-tools compile make[3] -C feeds/packages/net/iodine compile make[3] -C feeds/packages/libs/jansson compile make[3] -C feeds/packages/utils/kmod compile make[3] -C feeds/packages/libs/libao compile make[3] -C feeds/packages/libs/libaudiofile compile make[3] -C feeds/packages/libs/libid3tag compile make[3] -C feeds/packages/libs/libidn compile make[3] -C feeds/packages/libs/libmad compile make[3] -C feeds/packages/libs/libmms compile make[3] -C feeds/packages/libs/libmpdclient compile make[3] -C feeds/packages/libs/libogg compile make[3] -C feeds/packages/libs/libpng compile make[3] -C feeds/packages/libs/libsoxr compile make[3] -C feeds/packages/libs/libssh2 compile make[3] -C feeds/packages/libs/libupnp compile make[3] -C feeds/packages/libs/libvorbis compile make[3] -C feeds/packages/libs/libvorbisidec compile make[3] -C feeds/packages/libs/libxslt compile make[3] -C feeds/packages/sound/madplay compile make[3] -C feeds/packages/sound/madplay compile make[3] -C feeds/packages/libs/tinycdb compile make[3] -C feeds/packages/libs/openldap compile make[3] -C feeds/packages/mail/postfix compile make[3] -C feeds/packages/lang/python-setuptools host-compile make[3] -C feeds/packages/lang/python-dns compile make[3] -C package/libs/ustream-ssl compile make[3] -C package/network/services/uhttpd compile make[3] -C feeds/packages/mail/mailman compile make[3] -C feeds/packages/mail/mailsend compile make[3] -C feeds/packages/mail/mailsend compile make[3] -C package/libs/librpc compile make[3] -C feeds/packages/utils/mc compile make[3] -C feeds/packages/net/mdnsresponder compile make[3] -C feeds/packages/lang/micropython compile make[3] -C feeds/packages/lang/micropython-lib compile make[3] -C feeds/packages/utils/minicom compile make[3] -C feeds/packages/sound/mpd compile make[3] -C feeds/packages/sound/mpd compile make[3] -C feeds/packages/sound/mpg123 compile make[3] -C feeds/packages/mail/mutt compile make[3] -C feeds/packages/utils/mysql compile make[3] -C feeds/packages/utils/nano compile make[3] -C feeds/packages/net/nfs-kernel-server host-compile make[3] -C feeds/packages/net/portmap compile make[3] -C package/libs/libevent2 compile make[3] -C feeds/packages/net/nfs-kernel-server compile make[3] -C feeds/packages/net/nginx compile make[3] -C feeds/packages/libs/libgpg-error compile make[3] -C feeds/packages/libs/libgcrypt compile make[3] -C feeds/packages/utils/ntfs-3g compile make[3] -C feeds/packages/lang/perl-device-serialport compile make[3] -C feeds/packages/lang/perl-file-sharedir-install host-compile make[3] -C feeds/packages/lang/perl-inline compile make[3] -C feeds/packages/lang/perl-inline host-compile make[3] -C feeds/packages/lang/perl-parse-recdescent compile make[3] -C feeds/packages/lang/perl-parse-recdescent host-compile make[3] -C feeds/packages/lang/perl-inline-c compile make[3] -C feeds/packages/lang/perl-inline-c host-compile make[3] -C feeds/packages/lang/perl-device-usb compile make[3] -C feeds/packages/lang/perl-encode-locale compile make[3] -C feeds/packages/lang/perl-http-date compile make[3] -C feeds/packages/lang/perl-file-listing compile make[3] -C feeds/packages/lang/perl-io-html compile make[3] -C feeds/packages/lang/perl-lwp-mediatypes compile make[3] -C feeds/packages/lang/perl-uri compile make[3] -C feeds/packages/lang/perl-http-message compile make[3] -C feeds/packages/lang/perl-html-form compile make[3] -C feeds/packages/lang/perl-html-tree compile make[3] -C feeds/packages/lang/perl-http-cookies compile make[3] -C feeds/packages/lang/perl-http-daemon compile make[3] -C feeds/packages/lang/perl-http-negotiate compile make[3] -C feeds/packages/lang/perl-net-http compile make[3] -C feeds/packages/lang/perl-www-robotrules compile make[3] -C feeds/packages/lang/perl-www compile make[3] -C feeds/packages/lang/perl-xml-parser compile make[3] -C feeds/packages/lang/php7-pecl-dio compile make[3] -C feeds/packages/lang/php7-pecl-propro compile make[3] -C feeds/packages/lang/php7-pecl-raphf compile make[3] -C feeds/packages/lang/php7-pecl-http compile make[3] -C feeds/packages/lang/php7-pecl-libevent compile make[3] -C feeds/packages/lang/python-setuptools compile make[3] -C feeds/packages/libs/tiff compile make[3] -C feeds/packages/lang/pillow compile make[3] -C feeds/packages/libs/postgresql host-compile make[3] -C feeds/packages/libs/postgresql compile make[3] -C feeds/packages/lang/python-attrs compile make[3] -C feeds/packages/lang/python-ply compile make[3] -C feeds/packages/lang/python-pycparser compile make[3] -C feeds/packages/lang/python-cffi compile make[3] -C feeds/packages/lang/python-crcmod compile make[3] -C feeds/packages/lang/python-crypto compile make[3] -C feeds/packages/lang/python-six compile make[3] -C feeds/packages/lang/python-dateutil compile make[3] -C feeds/packages/lang/python-enum34 compile make[3] -C feeds/packages/lang/python-gmpy2 compile make[3] -C feeds/packages/lang/python-idna compile make[3] -C feeds/packages/lang/python-ipaddress compile make[3] -C feeds/packages/lang/python-ldap compile make[3] -C feeds/packages/lang/python-mysql compile make[3] -C feeds/packages/lang/python-pip compile make[3] -C feeds/packages/lang/python-pyasn1 compile make[3] -C feeds/packages/lang/python-pyasn1-modules compile make[3] -C feeds/packages/lang/python-pyptlib compile make[3] -C feeds/packages/lang/python-pyserial compile make[3] -C feeds/packages/lang/python-urllib3 compile make[3] -C feeds/packages/libs/yaml compile make[3] -C feeds/packages/lang/python-yaml compile make[3] -C feeds/packages/lang/python3-setuptools compile make[3] -C feeds/packages/lang/python3-pip compile make[3] -C package/libs/popt compile make[3] -C feeds/packages/net/rsync compile make[3] -C feeds/packages/lang/ruby host-compile make[3] -C feeds/packages/lang/ruby compile make[3] -C feeds/packages/utils/screen compile make[3] -C feeds/packages/utils/shadow compile make[3] -C feeds/packages/sound/shairplay compile make[3] -C feeds/packages/sound/shairport compile make[3] -C package/libs/libconfig compile make[3] -C feeds/packages/sound/shairport-sync compile make[3] -C feeds/packages/sound/shairport-sync compile make[3] -C feeds/packages/lang/simplejson compile make[3] -C feeds/packages/utils/spi-tools compile make[3] -C package/network/utils/iproute2 compile make[3] -C feeds/packages/net/strongswan compile make[3] -C feeds/packages/admin/sudo host-compile make[3] -C feeds/packages/admin/sudo compile make[3] -C feeds/packages/utils/tar compile make[3] -C feeds/packages/utils/tcsh compile make[3] -C feeds/packages/utils/tmux compile make[3] -C feeds/packages/net/transmission compile make[3] -C feeds/packages/net/transmission compile make[3] -C feeds/packages/net/transmission compile make[3] -C feeds/packages/lang/zope-interface compile make[3] -C feeds/packages/lang/twisted compile make[3] -C feeds/packages/libs/unixodbc compile make[3] -C feeds/packages/net/vsftpd compile make[3] -C feeds/packages/net/vsftpd compile make[3] -C feeds/packages/utils/zoneinfo compile make[3] -C feeds/packages/utils/zsh compile make[3] -C feeds/routing/nodogsplash compile make[3] -C feeds/packages/libs/libxml2 host-compile make[3] -C feeds/telephony/libs/libsrtp compile make[3] -C feeds/telephony/libs/pjproject compile make[3] -C feeds/telephony/net/asterisk-13.x compile make[3] -C feeds/telephony/libs/spandsp compile make[3] -C package/kernel/gpio-button-hotplug compile make[3] -C package/firmware/b43legacy-firmware compile make[3] -C package/network/services/hostapd compile make[3] -C package/network/utils/iw compile make[3] -C package/kernel/mac80211 compile make[3] -C package/kernel/spi-gpio-custom compile make[3] -C package/kernel/w1-gpio-custom compile make[3] -C package/libs/libpcap compile make[3] -C package/libs/sysfsutils compile make[3] -C package/libs/uclient compile make[3] -C package/network/config/firewall compile make[3] -C package/network/config/swconfig compile make[3] -C package/network/ipv6/odhcp6c compile make[3] -C package/network/services/dnsmasq compile make[3] -C package/network/services/dropbear compile make[3] -C package/network/services/odhcpd compile make[3] -C package/network/utils/linux-atm compile make[3] -C package/network/utils/resolveip compile make[3] -C package/network/services/ppp compile make[3] -C package/network/services/samba36 compile make[3] -C package/network/utils/wwan compile make[3] -C package/network/utils/comgt compile make[3] -C package/network/utils/tcpdump compile make[3] -C package/network/utils/tcpdump compile make[3] -C package/network/utils/uqmi compile make[3] -C package/system/mountd compile make[3] -C package/system/mtd compile make[3] -C package/system/opkg compile make[3] -C package/utils/busybox compile make[3] -C package/utils/e2fsprogs compile make[3] -C package/utils/f2fs-tools compile make[3] -C package/utils/spidev_test compile make[3] -C package/utils/usbmode compile make[2] package/install make[3] -C package/libs/libubox host-compile make[3] -C package/system/opkg host-compile make[3] package/preconfig make[2] target/install make[3] -C target/linux install make[2] package/index make[2] diffconfig make[2] checksum root@860597d4f42f:~/source#
-
I had a similar issue building on Ubuntu 18, my research found there are some issues reported to the maintainers relating to this error, as I recall there is a beta patch circulating.
I just installed Ubuntu 17.10 instead and this resolved the issue.
-
Right, managed to fix this.
For the people coming here from Google, my issue was with HDD size, the build expands to almost 50GB. I ran the docker container on Fedora, giving it a ton of storage, and it completed. Takes forever in the VM though.Thanks for the help ladies and gents
-
I had the same issue here.
I tried with:- Ubuntu 18.10
- Ubuntu 18.04
- Kubuntu 18.10
- Kubuntu 18.04
with docker and native compile.
I tried using both clean Desktop installations (with SSD 120GB) and virtual machines using VirtualBox with no success.Finally I managed to build the toolchain successfully on Windows 10 x64 using the "Docker for Windows"
As @cas mentioned above:
There's only 4 steps:- Install docker
- docker pull onion/omega2-source
- docker run -it onion/omega2-source /bin/bash
- make
It took about 5 hours.
-
@zedf yep, building on windows works but it sounds like Linux and macOS it doesn’t. I thought docker was supposed to be the same across all OSes? There must be some differences. Would be great if it worked on mac and Linux.
I was able to build the image, I think with the docker container on OS X after disabling mosquitto or something like that. At least I’m almost certain I could build a full image...