RNBO on Patchbox OS

The steps I took:

  1. Basic setup
    1. Installed clean Patchbox OS Bookworm ARM64 2024-04-04 image on an SD card and put it in my RPi 3B+ (I was on the bullseye based Patchbox OS before, but c74 has stopped supporting it since RNBO 1.3.0)
    2. Completed the initial wizard, set jack setting, installed puredata module and set my wifi so that I could ssh to RPi
    3. Updated installed packages
  2. rnbooscquery build steps base on source repo readme
    1. installed dependecies:
      sudo apt-get -y install cmake build-essential libavahi-compat-libdnssd-dev libssl-dev libjack-jackd2-dev libdbus-1-dev libxml2-dev libgmock-dev google-mock libsdbus-c++-dev python3-pip ruby libsndfile1-dev

    2. copied the rnbo src files from my Win machine to RPi. I have RNBO 1.4.3 installed via package manager so I took the source from %HOMEPATH%\Documents\Max 9\Packages\RNBO\source\rnbo and put it in ~/Downloads/rnbooscquery so that now I have this:

      image

    3. making the build:
      mkdir build/
      cd build/
      cmake .. -DRNBO_DIR=~/Downloads/rnbooscquery/
      cmake --build .
      cpack

    4. result:

      – The C compiler identification is GNU 12.2.0
      – The CXX compiler identification is GNU 12.2.0
      – Detecting C compiler ABI info
      – Detecting C compiler ABI info - done
      – Check for working C compiler: /usr/bin/cc - skipped
      – Detecting C compile features
      – Detecting C compile features - done
      – Detecting CXX compiler ABI info
      – Detecting CXX compiler ABI info - done
      – Check for working CXX compiler: /usr/bin/c++ - skipped
      – Detecting CXX compile features
      – Detecting CXX compile features - done
      – Configuring done
      – Generating done
      CMake Warning:
      Manually-specified variables were not used by the project:
      
      RNBO_DIR
      
      – Build files have been written to: /home/patch/Downloads/rnbooscquery/build
      CPack Error: CPack generator not specified
      

Attached is the CMakeList from the source and the CMakeOutput.log generated as a result of the above. Thank you for the help Giedrius

CMakeLists.txt (1.7 KB)

CMakeOutput.log (43.2 KB)

The source code you copied is not for rnbooscquery, but for RNBO itself, keep it as is, but do this:

cd ~
git clone https://github.com/Cycling74/rnbo.oscquery.runner
cd rnbo.oscquery.runner
mkdir build
cd build
cmake .. -DRNBO_DIR=~/Downloads/rnbooscquery/
cmake --build .
1 Like

Makes sense. Tried your suggestion, found out that conan was missing:

Cloning into 'rnbo.oscquery.runner'...
remote: Enumerating objects: 5327, done.
remote: Counting objects: 100% (252/252), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 5327 (delta 248), reused 238 (delta 238), pack-reused 5075 (from 2)
Receiving objects: 100% (5327/5327), 1.13 MiB | 2.04 MiB/s, done.
Resolving deltas: 100% (3823/3823), done.
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Downloading conan.cmake from https://github.com/conan-io/cmake-conan
-- Conan: checking conan executable
CMake Error at build/conan.cmake:918 (message):
  Conan executable not found! Please install conan.
Call Stack (most recent call first):
  common/conan.cmake:13 (conan_check)
  CMakeLists.txt:14 (include)


-- Configuring incomplete, errors occurred!
See also "/home/patch/rnbo.oscquery.runner/build/CMakeFiles/CMakeOutput.log".
gmake: Makefile: No such file or directory
gmake: *** No rule to make target 'Makefile'.  Stop.

Installed conan (basing on the steps from the manual)
pip3 install --break-system-packages --user conan==1.61.0
, added /home/patch/.local/bin to PATH in ~/.bashrc as suggested when the conan installation completes, verified that conan works by calling it from command line.

Cleared content of the ~/rnbo.oscquery.runner/build directory and tried to make the build once more

patch@patchbox:~/rnbo.oscquery.runner $ cd build
cmake .. -DRNBO_DIR=~/Downloads/rnbooscquery/
cmake --build .
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Downloading conan.cmake from https://github.com/conan-io/cmake-conan
-- Conan: checking conan executable
-- Conan: Found program /home/patch/.local/bin/conan
-- Conan: Version found Conan version 1.61.0
-- Conan: Adding cycling-public remote repository (https://conan-public.cycling74.com) verify ssl (True)
WARN: Remotes registry file missing, creating default one in /home/patch/.conan/remotes.json
CMake Error at CMakeLists.txt:151 (find_package):
  Could not find a configuration file for package "sdbus-c++" that is
  compatible with requested version "0.8.3".

  The following configuration files were considered but not accepted:

    /usr/lib/aarch64-linux-gnu/cmake/sdbus-c++/sdbus-c++-config.cmake, version: 1.2.0
    /lib/aarch64-linux-gnu/cmake/sdbus-c++/sdbus-c++-config.cmake, version: 1.2.0

-- Configuring incomplete, errors occurred!
See also "/home/patch/rnbo.oscquery.runner/build/CMakeFiles/CMakeOutput.log".
gmake: Makefile: No such file or directory
gmake: *** No rule to make target 'Makefile'.  Stop.

I’m not entirely sure how to proceed now. CMakeOutput.log is attached below

CMakeOutput.log (43.2 KB)

Delete all the contents in ~/rnbo.oscquery.runner/build/ and try with this cmake command:

cmake .. -DRNBO_DIR=~/Downloads/rnbooscquery/ -DWITH_DBUS=Off

It should skip using the sdbus library, not sure what it is being used for exactly, peeking at the code, it has something to do with ‘Update Service’.

1 Like

I have now renamed the directory with rnbo source files for it to have a less misleading name.

I believe the sdbus is used for the rnbo-update-service that handles updates and allows for managing the rnbooscquery versions, but it only makes sense to use it if the rnbooscquery package was coming from the c74 repository, so skipping it should be fine in the case that I make the package build manually

patch@patchbox:~/rnbo.oscquery.runner/build $ cmake .. -DRNBO_DIR=~/Downloads/rnbo/ -DWITH_DBUS=Off -- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Downloading conan.cmake from https://github.com/conan-io/cmake-conan
-- Conan: checking conan executable
-- Conan: Found program /home/patch/.local/bin/conan
-- Conan: Version found Conan version 1.61.0
-- Conan: Adding cycling-public remote repository (https://conan-public.cycling74.com) verify ssl (True)
-- Conan: checking conan executable
-- Conan: Found program /home/patch/.local/bin/conan
-- Conan: Version found Conan version 1.61.0
-- Conan executing: /home/patch/.local/bin/conan install . --build missing --profile:host default --profile:build default --settings:host build_type=Debug --settings:build build_type=Debug
Auto detecting your dev setup to initialize the default profile (/home/patch/.conan/profiles/default)
CC and CXX: /usr/bin/cc, /usr/bin/c++
No compiler was detected (one may not be needed)
Default settings
        os=Linux
        os_build=Linux
        arch=armv8
        arch_build=armv8
        build_type=Release
ERROR: Not able to automatically detect '/usr/bin/cc' version
*** You can change them in /home/patch/.conan/profiles/default ***
*** Or override with -s compiler='other' -s ...s***

Configuration (profile_host):
[settings]
arch=armv8
arch_build=armv8
build_type=Debug
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

Configuration (profile_build):
[settings]
arch=armv8
arch_build=armv8
build_type=Debug
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

cpp-optparse/cci.20171104: Not found in local cache, looking in remotes...
cpp-optparse/cci.20171104: Trying with 'cycling-public'...
Downloading conanmanifest.txt
Downloading conanfile.py
Downloading conan_export.tgz
cpp-optparse/cci.20171104: Downloaded recipe revision 0
ERROR: cpp-optparse/cci.20171104: 'settings.compiler' value not defined
CMake Error at build/conan.cmake:651 (message):
  Conan install failed='1'
Call Stack (most recent call first):
  CMakeLists.txt:170 (conan_cmake_install)

-- Configuring incomplete, errors occurred!
See also "/home/patch/rnbo.oscquery.runner/build/CMakeFiles/CMakeOutput.log".

CMakeOutput.log (43.2 KB)

You have to solve the conan compiler detection issue somehow. Maybe try using the latest conan version available, or provide the config manually, see issues like these:

It seems that I was able to resolve it by setting the compiler setting for conan default profile:

conan profile update settings.compiler=gcc default
conan profile update settings.compiler.version=12 default
conan profile update settings.compiler.libcxx=libstdc++11 default

As a result my conan default profile looks as follows:

Configuration for profile default:

[settings]
os=Linux
os_build=Linux
arch=armv8
arch_build=armv8
build_type=Release
compiler=gcc
compiler.version=12
compiler.libcxx=libstdc++11
[options]
[conf]
[build_requires]
[env]

The first attempt at making the build after doing the above got stuck. I have rebooted RPi, cleared ~/rnbo.oscquery.runner/build directory and tried again, this time it returned yet another error:

patch@patchbox:~/rnbo.oscquery.runner/build $ cmake .. -DRNBO_DIR=~/Downloads/rn                                        bo/ -DWITH_DBUS=Off
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Conan: checking conan executable
-- Conan: Found program /home/patch/.local/bin/conan
-- Conan: Version found Conan version 1.61.0
-- Conan: Adding cycling-public remote repository (https://conan-public.cycling7                                        4.com) verify ssl (True)
-- Conan: checking conan executable
-- Conan: Found program /home/patch/.local/bin/conan
-- Conan: Version found Conan version 1.61.0
-- Conan executing: /home/patch/.local/bin/conan install . --build missing --pro                                        file:host default --profile:build default --settings:host build_type=Debug --set                                        tings:build build_type=Debug
Configuration (profile_host):
[settings]
arch=armv8
arch_build=armv8
build_type=Debug
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

Configuration (profile_build):
[settings]
arch=armv8
arch_build=armv8
build_type=Debug
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

conanfile.txt: Installing package
Requirements
    cpp-optparse/cci.20171104 from 'cycling-public' - Cache
Packages
    cpp-optparse/cci.20171104:85ce4c0d86940a4e34aecfd1180059b562149e0d - Cache

Installing (downloading, building) binaries...
cpp-optparse/cci.20171104: Already installed!
conanfile.txt: Generator txt created conanbuildinfo.txt
conanfile.txt: Generator cmake_find_package created Findcpp-optparse.cmake
conanfile.txt: WARN:
     ************************************************
     The 'cmake_find_package' generator is deprecated.
     Please update your code and remove it.
     *************************************************

conanfile.txt: Aggregating env generators
conanfile.txt: Generated conaninfo.txt
conanfile.txt: Generated graphinfo
-- Conan: checking conan executable
-- Conan: Found program /home/patch/.local/bin/conan
-- Conan: Version found Conan version 1.61.0
-- Conan executing: /home/patch/.local/bin/conan install . --build missing --pro                                        file:host default --profile:build default --settings:host build_type=Debug --set                                        tings:build build_type=Debug
Configuration (profile_host):
[settings]
arch=armv8
arch_build=armv8
build_type=Debug
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

Configuration (profile_build):
[settings]
arch=armv8
arch_build=armv8
build_type=Debug
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

conanfile.txt: Installing package
Requirements
    base64/0.5.2 from 'cycling-public' - Cache
Packages
    base64/0.5.2:7272fefde592744746790a0b465fa5db099ebcd2 - Cache

Installing (downloading, building) binaries...
base64/0.5.2: Already installed!
conanfile.txt: WARN:
     ************************************************
     The 'cmake_find_package' generator is deprecated.
     Please update your code and remove it.
     *************************************************

conanfile.txt: Generator cmake_find_package created Findbase64.cmake
conanfile.txt: Generator txt created conanbuildinfo.txt
conanfile.txt: Aggregating env generators
conanfile.txt: Generated conaninfo.txt
conanfile.txt: Generated graphinfo
-- Conan: checking conan executable
-- Conan: Found program /home/patch/.local/bin/conan
-- Conan: Version found Conan version 1.61.0
-- Conan executing: /home/patch/.local/bin/conan install . --build missing --pro                                        file:host default --profile:build default --settings:host build_type=Debug --set                                        tings:build build_type=Debug
Configuration (profile_host):
[settings]
arch=armv8
arch_build=armv8
build_type=Debug
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

Configuration (profile_build):
[settings]
arch=armv8
arch_build=armv8
build_type=Debug
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

conanfile.txt: Installing package
Requirements
    sqlite3/3.45.0 from 'cycling-public' - Cache
    sqlitecpp/3.3.1 from 'conancenter' - Cache
Packages
    sqlite3/3.45.0:29b06383725230f8dfcbca665d891958a93d968c - Cache
    sqlitecpp/3.3.1:72d4d75be146a0d18be76ee82e57353f06a2eeba - Cache

Installing (downloading, building) binaries...
sqlite3/3.45.0: Already installed!
sqlitecpp/3.3.1: Already installed!
conanfile.txt: WARN:
     ************************************************
     The 'cmake_find_package' generator is deprecated.
     Please update your code and remove it.
     *************************************************

conanfile.txt: Generator cmake_find_package created FindSQLiteCpp.cmake
conanfile.txt: Generator cmake_find_package created FindSQLite3.cmake
conanfile.txt: Generator txt created conanbuildinfo.txt
conanfile.txt: Aggregating env generators
conanfile.txt: Generated conaninfo.txt
conanfile.txt: Generated graphinfo
-- Conan: checking conan executable
-- Conan: Found program /home/patch/.local/bin/conan
-- Conan: Version found Conan version 1.61.0
-- Conan executing: /home/patch/.local/bin/conan install . --build missing --pro                                        file:host default --profile:build default --settings:host build_type=Debug --set                                        tings:build build_type=Debug
Configuration (profile_host):
[settings]
arch=armv8
arch_build=armv8
build_type=Debug
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

Configuration (profile_build):
[settings]
arch=armv8
arch_build=armv8
build_type=Debug
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

boost/1.80.0: WARN: Package binary is corrupted, removing: 8cde9e0f4c86fda215548                                        9bb7dc9fdc660784b38
Version ranges solved
    Version range '>=1.2.11 <2' required by 'boost/1.80.0' resolved to 'zlib/1.3                                        ' in local cache

conanfile.txt: Installing package
Requirements
    boost/1.80.0 from 'cycling-public' - Cache
    bzip2/1.0.8 from 'cycling-public' - Cache
    zlib/1.3 from 'cycling-public' - Cache
Packages
    boost/1.80.0:8cde9e0f4c86fda2155489bb7dc9fdc660784b38 - Build
    bzip2/1.0.8:1db4a01f3c29dee0304121dd6409c7433f426e56 - Cache
    zlib/1.3:7272fefde592744746790a0b465fa5db099ebcd2 - Cache
Build requirements
    b2/4.10.1 from 'cycling-public' - Cache
Build requirements packages
    b2/4.10.1:b0bab81756b4971d42859e9b1bc6f8b3fa8e036e - Cache

Installing (downloading, building) binaries...
b2/4.10.1: Already installed!
bzip2/1.0.8: Already installed!
zlib/1.3: Already installed!
boost/1.80.0: Applying build-requirement: b2/4.10.1
boost/1.80.0: WARN: Build folder is dirty, removing it: /home/patch/.conan/data/                                        boost/1.80.0/_/_/build/8cde9e0f4c86fda2155489bb7dc9fdc660784b38
boost/1.80.0: Building your package in /home/patch/.conan/data/boost/1.80.0/_/_/                                        build/8cde9e0f4c86fda2155489bb7dc9fdc660784b38
boost/1.80.0: Generator txt created conanbuildinfo.txt
boost/1.80.0: Calling generate()
boost/1.80.0: Aggregating env generators
boost/1.80.0: Calling build()
boost/1.80.0: WARN: replace_in_file didn't find pattern '/* thread_local */' in                                         '/home/patch/.conan/data/boost/1.80.0/_/_/source/src/boost/stacktrace/detail/lib                                        backtrace_impls.hpp' file.
boost/1.80.0: WARN: replace_in_file didn't find pattern '/* static __thread */'                                         in '/home/patch/.conan/data/boost/1.80.0/_/_/source/src/boost/stacktrace/detail/                                        libbacktrace_impls.hpp' file.
boost/1.80.0: WARN: replace_in_file didn't find pattern 'local generic-os = [ se                                        t.difference $(all-os) : aix darwin vxworks solaris osf hpux ] ;' in '/home/patc                                        h/.conan/data/boost/1.80.0/_/_/source/src/tools/build/src/tools/gcc.jam' file.
boost/1.80.0: WARN: replace_in_file didn't find pattern 'local no-threading = an                                        droid beos haiku sgi darwin vxworks ;' in '/home/patch/.conan/data/boost/1.80.0/                                        _/_/source/src/tools/build/src/tools/gcc.jam' file.
boost/1.80.0: WARN: replace_in_file didn't find pattern '    <conditional>@numa'                                         in '/home/patch/.conan/data/boost/1.80.0/_/_/source/src/libs/fiber/build/Jamfil                                        e.v2' file.
boost/1.80.0: WARN: Patching user-config.jam
boost/1.80.0: WARN:
using zlib : 1.3 : <include>"/home/patch/.conan/data/zlib/1.3/_/_/package/7272fe                                        fde592744746790a0b465fa5db099ebcd2/include" <search>"/home/patch/.conan/data/zli                                        b/1.3/_/_/package/7272fefde592744746790a0b465fa5db099ebcd2/lib" <name>z ;
using bzip2 : 1.0.8 : <include>"/home/patch/.conan/data/bzip2/1.0.8/_/_/package/                                        1db4a01f3c29dee0304121dd6409c7433f426e56/include" <search>"/home/patch/.conan/da                                        ta/bzip2/1.0.8/_/_/package/1db4a01f3c29dee0304121dd6409c7433f426e56/lib" <name>b                                        z2 ;
using "gcc" :  :  "/usr/bin/g++-12" :
 ;
boost/1.80.0: WARN: b2 -q target-os=linux architecture=arm address-model=64 bina                                        ry-format=elf abi=aapcs --layout=system --user-config=/home/patch/.conan/data/bo                                        ost/1.80.0/_/_/source/src/tools/build/user-config.jam -sNO_ZLIB=0 -sNO_BZIP2=0 -                                        sNO_LZMA=1 -sNO_ZSTD=1 boost.locale.icu=off --disable-icu boost.locale.iconv=off                                         --disable-iconv threading=multi visibility=hidden link=static variant=debug --w                                        ith-atomic --with-chrono --with-container --with-contract --with-date_time --wit                                        h-exception --with-filesystem --with-graph --with-iostreams --with-json --with-m                                        ath --with-nowide --with-program_options --with-random --with-regex --with-seria                                        lization --with-system --with-test --with-thread --with-timer --with-type_erasur                                        e --with-wave toolset=gcc define=_GLIBCXX_USE_CXX11_ABI=1 pch=on linkflags="" cx                                        xflags="-fPIC" install --prefix=/home/patch/.conan/data/boost/1.80.0/_/_/package                                        /8cde9e0f4c86fda2155489bb7dc9fdc660784b38 -j4 --abbreviate-paths -d0 --debug-con                                        figuration --build-dir="/home/patch/.conan/data/boost/1.80.0/_/_/build/8cde9e0f4                                        c86fda2155489bb7dc9fdc660784b38/build-debug"
notice: found boost-build.jam at /home/patch/.conan/data/boost/1.80.0/_/_/source                                        /src/boost-build.jam
notice: loading B2 from /home/patch/.conan/data/b2/4.10.1/_/_/package/b0bab81756                                        b4971d42859e9b1bc6f8b3fa8e036e/bin/.b2/kernel/bootstrap.jam
notice: Searching '/etc' '/home/patch' '/home/patch/.conan/data/b2/4.10.1/_/_/pa                                        ckage/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e/bin/.b2/kernel' '/home/patch/.con                                        an/data/b2/4.10.1/_/_/package/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e/bin/.b2/u                                        til' '/home/patch/.conan/data/b2/4.10.1/_/_/package/b0bab81756b4971d42859e9b1bc6                                        f8b3fa8e036e/bin/.b2/build' '/home/patch/.conan/data/b2/4.10.1/_/_/package/b0bab                                        81756b4971d42859e9b1bc6f8b3fa8e036e/bin/.b2/tools' '/home/patch/.conan/data/b2/4                                        .10.1/_/_/package/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e/bin/.b2/contrib' '/ho                                        me/patch/.conan/data/b2/4.10.1/_/_/package/b0bab81756b4971d42859e9b1bc6f8b3fa8e0                                        36e/bin/.b2/.' for site-config configuration file 'site-config.jam'.
notice: Configuration file 'site-config.jam' not found in '/etc' '/home/patch' '                                        /home/patch/.conan/data/b2/4.10.1/_/_/package/b0bab81756b4971d42859e9b1bc6f8b3fa                                        8e036e/bin/.b2/kernel' '/home/patch/.conan/data/b2/4.10.1/_/_/package/b0bab81756                                        b4971d42859e9b1bc6f8b3fa8e036e/bin/.b2/util' '/home/patch/.conan/data/b2/4.10.1/                                        _/_/package/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e/bin/.b2/build' '/home/patch                                        /.conan/data/b2/4.10.1/_/_/package/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e/bin/                                        .b2/tools' '/home/patch/.conan/data/b2/4.10.1/_/_/package/b0bab81756b4971d42859e                                        9b1bc6f8b3fa8e036e/bin/.b2/contrib' '/home/patch/.conan/data/b2/4.10.1/_/_/packa                                        ge/b0bab81756b4971d42859e9b1bc6f8b3fa8e036e/bin/.b2/.'.
notice: Loading explicitly specified user configuration file:
    /home/patch/.conan/data/boost/1.80.0/_/_/source/src/tools/build/user-config.                                        jam
notice: Searching '/home/patch/.conan/data/boost/1.80.0/_/_/source/src/tools/bui                                        ld' for user-config configuration file 'user-config.jam'.
notice: Loading user-config configuration file 'user-config.jam' from '/home/pat                                        ch/.conan/data/boost/1.80.0/_/_/source/src/tools/build'.
notice: [zlib] Using pre-installed library
notice: [zlib] Condition
notice: [bzip2] Using pre-installed library
notice: [bzip2] Condition
notice: will use '/usr/bin/g++-12' for gcc, condition <toolset>gcc-12
notice: using gcc libraries :: <toolset>gcc-12 :: /usr/bin /usr/lib /usr/lib32 /                                        usr/lib64
notice: using gcc archiver :: <toolset>gcc-12 :: /usr/bin/ar
warning: toolset gcc initialization: can not find tool windres
warning: initialized from /home/patch/.conan/data/boost/1.80.0/_/_/source/src/to                                        ols/build/user-config.jam:5
notice: using rc compiler :: <toolset>gcc-12 :: /usr/bin/as
notice: [zlib] zlib is already configured
notice: [bzip2] bzip is already configured
notice: iostreams: not using lzma compression
notice: iostreams: not using zstd compression
notice: [python-cfg] Configuring python...
notice: [python-cfg] Checking interpreter command "python"...
notice: [python-cfg] running command 'python -c "from sys import *; print('versi                                        on=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s' % (version_info                                        [0],version_info[1],platform,prefix,exec_prefix,executable))" 2>&1'
notice: [python-cfg] ...requested configuration matched!
notice: [python-cfg] Details of this Python configuration:
notice: [python-cfg]   interpreter command: "python"
notice: [python-cfg]   include path: "/usr/include/python3.11"
notice: [python-cfg]   library path: "/usr/lib/python3.11/config" "/usr/lib"
notice: [python-cfg] Checking for NumPy...
notice: [python-cfg] running command 'python -c "import sys; sys.stderr = sys.st                                        dout; import numpy; print(numpy.get_include())"'
notice: [python-cfg] NumPy enabled
Performing configuration checks

    - default address-model    : 64-bit [1]
    - default architecture     : arm [1]
    - has std::atomic_ref      : no [2]
    - has statx                : yes [2]
    - has init_priority attribute : yes [2]
    - has stat::st_blksize     : yes [2]
    - has stat::st_mtim        : yes [2]
    - has stat::st_mtimensec   : no [2]
    - has stat::st_mtimespec   : no [2]
    - has stat::st_birthtim    : no [2]
    - has stat::st_birthtimensec : no [2]
    - has stat::st_birthtimespec : no [2]
    - has fdopendir(O_NOFOLLOW) : yes [2]
    - has POSIX *at APIs       : yes [2]
    - has_icu builds           : no [2]
    - zlib                     : yes [3]
    - bzip2                    : yes [3]
    - cxx11_constexpr          : yes [2]
    - cxx11_decltype           : yes [2]
    - cxx11_hdr_tuple          : yes [2]
    - cxx11_template_aliases   : yes [2]
    - cxx11_variadic_templates : yes [2]
    - cxx11_basic_alignas      : yes [2]
    - gcc visibility           : yes [2]
    - cxx11_noexcept           : yes [2]
    - cxx11_rvalue_references  : yes [2]
    - sfinae_expr              : yes [2]
    - cxx11_auto_declarations  : yes [2]
    - cxx11_lambdas            : yes [2]
    - cxx11_unified_initialization_syntax : yes [2]
    - cxx11_hdr_initializer_list : yes [2]
    - cxx11_hdr_chrono         : yes [2]
    - cxx11_thread_local       : yes [2]
    - cxx11_nullptr            : yes [2]
    - cxx11_numeric_limits     : yes [2]
    - cxx11_hdr_array          : yes [2]
    - cxx11_hdr_atomic         : yes [2]
    - cxx11_hdr_type_traits    : yes [2]
    - cxx11_allocator          : yes [2]
    - cxx11_explicit_conversion_operators : yes [2]
    - long double support      : yes [2]
    - cxx11_defaulted_functions : yes [2]
    - cxx11_static_assert      : yes [2]
    - std::fstream is moveable and swappable : yes [2]
    - Has Large File Support   : yes [2]
    - Has attribute init_priority : yes [2]
    - BOOST_COMP_GNUC >= 4.3.0 : yes [2]
    - lockfree boost::atomic_flag : yes [2]
    - cxx11_hdr_thread         : yes [2]
    - cxx11_hdr_mutex          : yes [2]
    - cxx11_hdr_regex          : yes [2]

[1] gcc-12
[2] gcc-12/dbg/abi-apcs/bst.l-off/bst.l-off/lnk-sttc/pythn-3.1/thrd-mlt/vsblt-hd                                        n
[3] lnk-sttc

Component configuration:

    - atomic                   : building
    - chrono                   : building
    - container                : building
    - context                  : not building
    - contract                 : building
    - coroutine                : not building
    - date_time                : building
    - exception                : building
    - fiber                    : not building
    - filesystem               : building
    - graph                    : building
    - graph_parallel           : not building
    - headers                  : not building
    - iostreams                : building
    - json                     : building
    - locale                   : not building
    - log                      : not building
    - math                     : building
    - mpi                      : not building
    - nowide                   : building
    - program_options          : building
    - python                   : not building
    - random                   : building
    - regex                    : building
    - serialization            : building
    - stacktrace               : not building
    - system                   : building
    - test                     : building
    - thread                   : building
    - timer                    : building
    - type_erasure             : building
    - wave                     : building

Killed
boost/1.80.0:
boost/1.80.0: ERROR: Package '8cde9e0f4c86fda2155489bb7dc9fdc660784b38' build fa                                        iled
boost/1.80.0: WARN: Build folder /home/patch/.conan/data/boost/1.80.0/_/_/build/                                        8cde9e0f4c86fda2155489bb7dc9fdc660784b38/build-debug
ERROR: boost/1.80.0: Error in build() method, line 935
        self.run(full_command)
        ConanException: Error 137 while executing b2 -q target-os=linux architec                                        ture=arm address-model=64 binary-format=elf abi=aapcs --layout=system --user-con                                        fig=/home/patch/.conan/data/boost/1.80.0/_/_/source/src/tools/build/user-config.                                        jam -sNO_ZLIB=0 -sNO_BZIP2=0 -sNO_LZMA=1 -sNO_ZSTD=1 boost.locale.icu=off --disa                                        ble-icu boost.locale.iconv=off --disable-iconv threading=multi visibility=hidden                                         link=static variant=debug --with-atomic --with-chrono --with-container --with-c                                        ontract --with-date_time --with-exception --with-filesystem --with-graph --with-                                        iostreams --with-json --with-math --with-nowide --with-program_options --with-ra                                        ndom --with-regex --with-serialization --with-system --with-test --with-thread -                                        -with-timer --with-type_erasure --with-wave toolset=gcc define=_GLIBCXX_USE_CXX1                                        1_ABI=1 pch=on linkflags="" cxxflags="-fPIC" install --prefix=/home/patch/.conan                                        /data/boost/1.80.0/_/_/package/8cde9e0f4c86fda2155489bb7dc9fdc660784b38 -j4 --ab                                        breviate-paths -d0 --debug-configuration --build-dir="/home/patch/.conan/data/bo                                        ost/1.80.0/_/_/build/8cde9e0f4c86fda2155489bb7dc9fdc660784b38/build-debug"
CMake Error at build/conan.cmake:651 (message):
  Conan install failed='1'
Call Stack (most recent call first):
  CMakeLists.txt:248 (conan_cmake_install)


-- Configuring incomplete, errors occurred!
See also "/home/patch/rnbo.oscquery.runner/build/CMakeFiles/CMakeOutput.log".

CMakeOutput.log (86.4 KB)

I don’t see the exact underlying error, only that some patches failed to apply on top of boost 1.80.0 source code and some command returned an error 137, whatever it means.

Try enabling --trace to get verbose output from cmake:

cmake .. -DRNBO_DIR=~/Downloads/rnbo/ -DWITH_DBUS=Off --trace

Same as above, with trace, console output attached below.

Perhaps it would make sense to remove content of ~/.conan/data/boost and let it rebuild it’s content?:thinking:

CMakeOutput.log (43.2 KB)

console_output.txt (163.7 KB)

Try inspecting the contents of this folder:

/home/patch/.conan/data/boost/1.80.0/_/_/build/8cde9e0f4c86fda2155489bb7dc9fdc660784b38/build-debug

Maybe it has some additional build log - it looks like it runs as a single command somewhere, but does not end up logged in the cmake output.

Maybe setting VERBOSE=1 and V=1 environment variables can help see more info.

The only log I was able to find in this directory was:

/home/patch/.conan/data/boost/1.80.0///build/8cde9e0f4c86fda2155489bb7dc9fdc660784b38/build-debug/boost/bin.v2/config.log

Attached below

config.log (4.9 KB)

Ok, it actually contains some errors, but some of them are probably alright - it might be attempting to discover the target OS environment it’s being built in, like arm32 or aarch64.

I’m thinking what would happen if you tried to switch to using 1.81.0 version instead by editing this line locally:

It seems that it could not find boost 1.81

cmake_log.txt (1.1 MB)

CMakeOutput.log (43.2 KB)

I tried to install boost from Cycling 74 conan remote and it seems to have succeeded.

I used conan version 1.66.0 instead of 1.61.0. Here’s how I’ve set it up:

cd rnbo.oscquery.runner
python3 -m venv venv
source venv/bin/active
pip3 install conan==1.66.0

No config tweaks for compiler were necessary, just in case, these are the default values it’s using:

conan profile show default
Configuration for profile default:

[settings]
os=Linux
os_build=Linux
arch=armv8
arch_build=armv8
compiler=gcc
compiler.version=14
compiler.libcxx=libstdc++
build_type=Release
[options]
[conf]
[build_requires]
[env]

The continue as normal:

mkdir build
cd build
cmake .. -DRNBO_DIR=~/Downloads/rnbo/ -DWITH_DBUS=Off

I don’t have the rnbo source code, so I disabled that part so it installs the conan dependencies anyway, and it seems to have installed boost 1.80.0 ok.

I won’t have my RPi at hand for the next couple of days but I will for sure get back to this process. Thank you for looking into it so far Giedrius :blush: