Skip to content

Building packages with docker fails at mpd #119

@alexmaras

Description

@alexmaras

I'm trying to build with docker as the current binaries are causing a boot-loop with my LX06, so I'm going to try patching the extracted system image.

building the docker image works fine, but running the series of package builds with docker run -it -v $PWD:/xiaoai xiaoai-patch from the top-level of the cloned repo eventually fails at the mpd package, with an error that boost could not be found.

All the other packages up until that point have built happily, including boost.
Re-running happens quickly, so I can make changes and test them out without any problems. I've tried deleting the built boost package and boost.status from the build-packages/build/armv7 dir. After that, it re-runs the boost build but then still fails at the same point in the mpd build.

The error from the mpd build is:

Run-time dependency Boost found: NO (tried system)

../mpd/meson.build:247:12: ERROR: Dependency "boost" not found, tried system

A full log can be found at /xiaoai/build-packages/build/armv7/mpd-build/output/release/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
Entering premake_package... 
setting a horrible hack to fix the build 
Entering make_package... 
ninja: Entering directory `output/release'
ninja: error: loading 'build.ninja': No such file or directory
undoing toolchain changes 
make_package returned error
Build for package 'mpd' not completed 

I added echo "${BUILD_DIR}/boost" to the ./packages/mpd/package.mk file above the meson command and it points to the correct place:

______ DEBUGGING BOOST MISSING ________
/xiaoai/build-packages/build/armv7/boost
total 416
-rw-r--r--   1 root root    291 Dec  7  2023 INSTALL
-rw-r--r--   1 root root  12230 Dec  7  2023 Jamroot
-rw-r--r--   1 root root   1338 Dec  7  2023 LICENSE_1_0.txt
-rw-r--r--   1 root root    541 Dec  7  2023 README.md
-rwxr-xr-x   1 root root 282792 Oct 13 18:56 b2
drwxr-xr-x   6 root root   4096 Oct 13 18:58 bin.v2
drwxr-xr-x 141 root root  12288 Dec  7  2023 boost
-rw-r--r--   1 root root    851 Dec  7  2023 boost-build.jam
-rw-r--r--   1 root root    989 Dec  7  2023 boost.css
-rw-r--r--   1 root root   6308 Dec  7  2023 boost.png
-rw-r--r--   1 root root   1021 Oct 13 18:56 boost_1_70_cross.patch
-rw-r--r--   1 root root  20245 Dec  7  2023 boostcpp.jam
-rw-r--r--   1 root root   2486 Dec  7  2023 bootstrap.bat
-rwxr-xr-x   1 root root  10811 Dec  7  2023 bootstrap.sh
drwxr-xr-x   7 root root   4096 Dec  7  2023 doc
-rw-r--r--   1 root root    769 Dec  7  2023 index.htm
-rw-r--r--   1 root root   5418 Dec  7  2023 index.html
drwxr-xr-x 151 root root   4096 Dec  7  2023 libs
drwxr-xr-x   4 root root   4096 Dec  7  2023 more
-rw-r--r--   1 root root    953 Oct 13 18:56 project-config.jam
-rw-r--r--   1 root root   2608 Dec  7  2023 rst.css
drwxr-xr-x   2 root root   4096 Dec  7  2023 status
drwxr-xr-x  14 root root   4096 Dec  7  2023 tools
______ DEBUGGING BOOST MISSING ________

I've attached the meson logs for the mpd build here.

meson-log.txt

Let me know if I can provide any more info

EDIT:

removing mpd from the dependencies of music, everything seems to build fine, so I'll crack on without mpd for the time being. Happy to help debug anything while I continue to get this working on my speaker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions