Skip to content

build exit server : compiling fail #1

@afconlab

Description

@afconlab

Hello,

i need to build exit server for testing purpose but i have an issue
when i try

ansible-playbook -e @profiles/devices/x86_64.yml -e @profiles/management/althea-release.yml -e @profiles/exit/config-example.yml firmware-build.yml

i have

`
TASK [build : Print help on failure] **********************************************************************************************************************************************************************
skipping: [127.0.0.1]

TASK [build : Build the firmware, could take a while] *****************************************************************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": "cd build/; export RUST_TRIPLE=x86_64-unknown-linux-musl; nice make -j2 world", "delta": "0:20:12.944796", "end": "2024-01-12 20:00:09.909619", "msg": "non-zero return code", "rc": 2, "start": "2024-01-12 19:39:56.964823", "stderr": "make: *** [/home/ovasens/src/rita-firmware/build/include/toplevel.mk:232: world] Error 1", "stderr_lines": ["make: *** [/home/ovasens/src/rita-firmware/build/include/toplevel.mk:232: world] Error 1"], "stdout": "make[2]: Entering directory '/home/ovasens/src/rita-firmware/build/scripts/config'\nmake[2]: 'conf' is up to date.\nmake[2]: Leaving directory '/home/ovasens/src/rita-firmware/build/scripts/config'\n make[1] world\n make[2] package/cleanup\n make[2] target/compile\n make[3] -C target/linux compile\n make[2] buildinfo\n make[2] package/compile\n make[3] -C package/libs/libjson-c host-compile\n make[3] diffconfig buildversion feedsversion\n make[3] -C package/libs/toolchain compile\n make[4] scripts/config/conf\n make[3] -C package/kernel/gpio-button-hotplug compile\n make[3] -C package/libs/ncurses host-compile\n make[3] -C package/libs/zlib compile\n make[3] -C package/system/fwtool host-compile\n make[3] -C package/system/usign host-compile\n make[3] -C package/system/openwrt-keyring compile\n make[3] -C package/boot/grub2 host-compile\n make[3] -C feeds/althea/althea/althea-babeld compile\n make[3] -C package/system/ca-certificates compile\n make[3] -C feeds/packages/libs/nghttp2 compile\n make[3] -C package/libs/openssl compile\n make[3] -C package/libs/mbedtls compile\n make[3] -C feeds/packages/libs/postgresql host-compile\n make[3] -C package/libs/libmnl compile\n make[3] -C package/utils/bzip2 compile\n make[3] -C package/libs/libnftnl compile\n make[3] -C feeds/packages/utils/hwdata compile\n make[3] -C feeds/packages/utils/kmod compile\n make[3] -C package/libs/pcre2 compile\n make[3] -C package/libs/libpcap compile\n make[3] -C feeds/packages/net/iperf3 compile\n make[3] -C package/network/utils/tcpdump compile\n make[3] -C package/libs/jansson compile\n make[3] -C package/network/services/dropbear compile\n make[3] -C package/network/utils/linux-atm compile\n make[3] -C package/network/utils/resolveip compile\n make[3] -C package/libs/libsepol compile\n make[3] -C package/utils/e2fsprogs host-compile\n make[3] -C package/libs/libubox host-compile\n make[3] -C package/libs/libnl-tiny compile\n make[3] -C package/libs/libjson-c compile\n make[3] -C package/utils/lua compile\n make[3] -C package/firmware/linux-firmware compile\n make[3] -C package/libs/ncurses compile\n make[3] -C package/system/fwtool compile\n make[3] -C package/system/ucert host-compile\n make[3] -C package/boot/grub2 compile\n make[3] -C package/boot/grub2 compile\n make[3] -C package/boot/grub2 compile\n make[3] -C feeds/packages/net/curl compile\n make[3] -C package/libs/readline compile\n make[3] -C package/libs/elfutils compile\n make[3] -C feeds/packages/utils/pciutils compile\n make[3] -C feeds/packages/net/iftop compile\n make[3] -C feeds/packages/utils/nano compile\n make[3] -C feeds/packages/net/mtr compile\n make[3] -C package/libs/libselinux compile\n make[3] -C package/system/opkg host-compile\n make[3] -C package/libs/libubox compile\n make[3] -C package/kernel/linux compile\n make[3] -C package/utils/util-linux compile\n make[3] -C package/utils/jsonfilter compile\n make[3] -C package/system/usign compile\n make[3] -C package/libs/ustream-ssl compile\n make[3] -C package/libs/ustream-ssl compile\n make[3] -C package/network/utils/ipset compile\n make[3] -C package/network/utils/wireguard-tools compile\n make[3] -C package/libs/libbpf compile\n make[3] -C package/network/utils/iptables compile\n make[3] -C feeds/packages/net/net-snmp compile\n make[3] -C package/kernel/button-hotplug compile\n make[3] -C package/libs/uclient compile\n make[3] -C package/network/utils/nftables compile\n make[3] -C package/network/ipv6/odhcp6c compile\n make[3] -C package/network/services/ppp compile\n make[3] -C package/system/mtd compile\n make[3] -C package/system/opkg compile\n make[3] -C package/system/urngd compile\n make[3] -C package/utils/busybox compile\n make[3] -C package/utils/e2fsprogs compile\n make[3] -C package/utils/f2fs-tools compile\n make[3] -C package/utils/f2fs-tools compile\n make[3] -C package/system/ubus compile\n make[3] -C package/system/uci compile\n make[3] -C package/network/utils/iproute2 compile\n make[3] -C package/network/utils/iproute2 compile\n make[3] -C feeds/packages/net/ifstat compile\n make[3] -C package/network/services/dnsmasq compile\n make[3] -C package/network/services/odhcpd compile\n make[3] -C package/network/config/netifd compile\n make[3] -C package/system/ubox compile\n make[3] -C package/network/utils/iwinfo compile\n make[3] -C package/utils/ucode compile\n make[3] -C feeds/althea/althea/althea-tools compile\n make[3] -C package/network/config/firewall4 compile\n make[3] -C package/system/urandom-seed compile\n make[3] -C package/system/fstools compile\n make[3] -C package/system/rpcd compile\n make[3] -C package/system/procd compile\n make[3] -C package/base-files compile\n make[3] -C feeds/althea/althea/postgresql-ssl compile\n make[3] -C feeds/althea/althea/althea-exit compile\n make[3] -C feeds/althea/althea/althea-cron-jobs compile\n ERROR: package/feeds/althea/althea-exit failed to build.\nmake -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on", "stdout_lines": ["make[2]: Entering directory '/home/ovasens/src/rita-firmware/build/scripts/config'", "make[2]: 'conf' is up to date.", "make[2]: Leaving directory '/home/ovasens/src/rita-firmware/build/scripts/config'", " make[1] world", " make[2] package/cleanup", " make[2] target/compile", " make[3] -C target/linux compile", " make[2] buildinfo", " make[2] package/compile", " make[3] -C package/libs/libjson-c host-compile", " make[3] diffconfig buildversion feedsversion", " make[3] -C package/libs/toolchain compile", " make[4] scripts/config/conf", " make[3] -C package/kernel/gpio-button-hotplug compile", " make[3] -C package/libs/ncurses host-compile", " make[3] -C package/libs/zlib compile", " make[3] -C package/system/fwtool host-compile", " make[3] -C package/system/usign host-compile", " make[3] -C package/system/openwrt-keyring compile", " make[3] -C package/boot/grub2 host-compile", " make[3] -C feeds/althea/althea/althea-babeld compile", " make[3] -C package/system/ca-certificates compile", " make[3] -C feeds/packages/libs/nghttp2 compile", " make[3] -C package/libs/openssl compile", " make[3] -C package/libs/mbedtls compile", " make[3] -C feeds/packages/libs/postgresql host-compile", " make[3] -C package/libs/libmnl compile", " make[3] -C package/utils/bzip2 compile", " make[3] -C package/libs/libnftnl compile", " make[3] -C feeds/packages/utils/hwdata compile", " make[3] -C feeds/packages/utils/kmod compile", " make[3] -C package/libs/pcre2 compile", " make[3] -C package/libs/libpcap compile", " make[3] -C feeds/packages/net/iperf3 compile", " make[3] -C package/network/utils/tcpdump compile", " make[3] -C package/libs/jansson compile", " make[3] -C package/network/services/dropbear compile", " make[3] -C package/network/utils/linux-atm compile", " make[3] -C package/network/utils/resolveip compile", " make[3] -C package/libs/libsepol compile", " make[3] -C package/utils/e2fsprogs host-compile", " make[3] -C package/libs/libubox host-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/firmware/linux-firmware compile", " make[3] -C package/libs/ncurses compile", " make[3] -C package/system/fwtool compile", " make[3] -C package/system/ucert host-compile", " make[3] -C package/boot/grub2 compile", " make[3] -C package/boot/grub2 compile", " make[3] -C package/boot/grub2 compile", " make[3] -C feeds/packages/net/curl compile", " make[3] -C package/libs/readline compile", " make[3] -C package/libs/elfutils compile", " make[3] -C feeds/packages/utils/pciutils compile", " make[3] -C feeds/packages/net/iftop compile", " make[3] -C feeds/packages/utils/nano compile", " make[3] -C feeds/packages/net/mtr compile", " make[3] -C package/libs/libselinux compile", " make[3] -C package/system/opkg host-compile", " make[3] -C package/libs/libubox compile", " make[3] -C package/kernel/linux compile", " make[3] -C package/utils/util-linux compile", " make[3] -C package/utils/jsonfilter compile", " make[3] -C package/system/usign compile", " make[3] -C package/libs/ustream-ssl compile", " make[3] -C package/libs/ustream-ssl compile", " make[3] -C package/network/utils/ipset compile", " make[3] -C package/network/utils/wireguard-tools compile", " make[3] -C package/libs/libbpf compile", " make[3] -C package/network/utils/iptables compile", " make[3] -C feeds/packages/net/net-snmp compile", " make[3] -C package/kernel/button-hotplug compile", " make[3] -C package/libs/uclient compile", " make[3] -C package/network/utils/nftables compile", " make[3] -C package/network/ipv6/odhcp6c compile", " make[3] -C package/network/services/ppp compile", " make[3] -C package/system/mtd compile", " make[3] -C package/system/opkg compile", " make[3] -C package/system/urngd 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/f2fs-tools compile", " make[3] -C package/system/ubus compile", " make[3] -C package/system/uci compile", " make[3] -C package/network/utils/iproute2 compile", " make[3] -C package/network/utils/iproute2 compile", " make[3] -C feeds/packages/net/ifstat compile", " make[3] -C package/network/services/dnsmasq compile", " make[3] -C package/network/services/odhcpd compile", " make[3] -C package/network/config/netifd compile", " make[3] -C package/system/ubox compile", " make[3] -C package/network/utils/iwinfo compile", " make[3] -C package/utils/ucode compile", " make[3] -C feeds/althea/althea/althea-tools compile", " make[3] -C package/network/config/firewall4 compile", " make[3] -C package/system/urandom-seed compile", " make[3] -C package/system/fstools compile", " make[3] -C package/system/rpcd compile", " make[3] -C package/system/procd compile", " make[3] -C package/base-files compile", " make[3] -C feeds/althea/althea/postgresql-ssl compile", " make[3] -C feeds/althea/althea/althea-exit compile", " make[3] -C feeds/althea/althea/althea-cron-jobs compile", " ERROR: package/feeds/althea/althea-exit failed to build.", "make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on"]}
...ignoring

TASK [build : Print help on failure] **********************************************************************************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Firmware compliation failed, run 'cd build/; export RUST_TRIPLE=x86_64-unknown-linux-musl; make V=s world' to see why."}

PLAY RECAP ************************************************************************************************************************************************************************************************
127.0.0.1 : ok=25 changed=19 unreachable=0 failed=1 skipped=7 rescued=0 ignored=1

ovasens@althea:~/src/rita-firmware$ ansible-playbook -e @profiles/devices/x86_64.yml -e @profiles/management/althea-release.yml -e @profiles/exit/config-example.yml firmware-build.yml
`
how can i solve it
regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions