Dear Jonas,

TL;DR:

The following list of packages allows to build Monero under sid:

build-essential cmake pkg-config libboost-all-dev libssl-dev libzmq3-dev 
libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev 
libldns-dev libexpat1-dev libpgm-dev libhidapi-dev libusb-1.0-0-dev 
libprotobuf-dev protobuf-compiler libudev-dev

Longer explanation:

I have been experimenting with sid, using Docker (see attachement) and I was 
able to reproduce the problem, by simulating the list of dependencies, that 
occur in your build log (line 8 of the attached Dockerfile). The problem 
appears to be, that the Debian's dependency list is missing some of the boost 
libraries, needed to build Monero. The list above (and the only uncommented one 
in the Dockerfile) is the default, officially documented list. This list is 
being used in the Monero CI and it should serve as a pragmatic solution for you 
for the time being.

What I didn't have time to do, is to bisect the individual packages, in order 
to find the root cause of the problem, which might turn out to be simply a 
packaging problem.
I was looking for the optional_io.hpp file, mentioned in the error log, and it 
does appear to be available in the default 
[libboost1.74-dev](https://packages.debian.org/sid/libboost1.74-dev):
https://packages.debian.org/search?suite=sid&arch=amd64&mode=path&searchon=contents&keywords=optional_io.hpp
... so I got not more clues unfortunately.

In order to use the Dockerfile properly, please put it into the monero root 
source tree and run from the same directory:
sudo docker build -t monero .

I hope it helps.

MJ
Monero dev

Attachment: Dockerfile
Description: Binary data

Reply via email to