From 34cb6e65f171251ad331bdd67f33511904f36fb2 Mon Sep 17 00:00:00 2001 From: bitflash-maintainer Date: Wed, 2 Sep 2026 05:23:05 +0000 Subject: build: ask apt for libboost-dev, and update the package lists first libboost-system-dev is gone from Ubuntu 26.04 -- Boost.System has been header-only since 1.69, and this tree only includes two boost headers and links no boost library. The recipe also installed without an apt-get update, so a fresh image failed on stale or empty lists. Closes #28 --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 83a2c73..0eec4c2 100644 --- a/Makefile +++ b/Makefile @@ -89,11 +89,17 @@ linux-node: deps-linux deps-linux: deps-apt deps-secp256k1 deps-randomx +# libboost-dev, not libboost-system-dev: Boost.System has been header-only +# since 1.69 and Ubuntu 26.04 (resolute) no longer ships the -system package. +# This tree only includes two boost headers and links no boost library. The +# apt-get update comes first: a fresh image's package lists are empty, and +# install then fails on the first name it cannot find. deps-apt: @if command -v apt-get >/dev/null 2>&1; then \ + $(SUDO) apt-get update; \ $(SUDO) apt-get install -y build-essential cmake git pkg-config autoconf \ libtool libssl-dev libdb5.3++-dev libsodium-dev nlohmann-json3-dev \ - libboost-system-dev libglfw3-dev libgl-dev python3-pil clang; \ + libboost-dev libglfw3-dev libgl-dev python3-pil clang; \ else \ echo "Not an apt system — install: g++ cmake git autoconf libtool"; \ echo " libssl libdb++ libsodium nlohmann-json boost glfw3 opengl python3-pil"; \ -- cgit v1.2.3