Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libmamba fails to build on amd64 #38649

Open
murraybd opened this issue Jan 2, 2025 · 1 comment
Open

libmamba fails to build on amd64 #38649

murraybd opened this issue Jan 2, 2025 · 1 comment
Labels
bug Something isn't working service:ftbfs Failed to Build From Source

Comments

@murraybd
Copy link
Member

murraybd commented Jan 2, 2025

The package libmamba fails to build from source with the following error:

installing libsmartcols (2.40.2-r1)
installing util-linux-dev (2.40.2-r1)
installing e2fsprogs-dev (1.47.2-r0)
installing libpcre2-8-0 (10.44-r2)
installing glib (2.83.2-r1)
installing libverto-glib (0.3.2-r4)
installing libverto-libev (0.3.2-r4)
installing libverto-libevent (0.3.2-r4)
installing libverto-dev (0.3.2-r4)
installing krb5-server-ldap (1.21.3-r2)
installing krb5-dev (1.21.3-r2)
installing zlib-dev (1.3.1-r4)
installing curl-dev (8.11.1-r0)
installing doctest (2.4.11-r1)
installing fmt (11.1.1-r0)
installing fmt-dev (11.1.1-r0)
installing git (2.47.1-r0)
installing lz4-dev (1.10.0-r2)
installing xz-dev (5.6.3-r2)
installing zstd-dev (1.5.6-r5)
installing libarchive-dev (3.7.7-r1)
installing libsolv (0.7.31-r0)
installing libsolv-dev (0.7.31-r0)
installing mpdecimal (4.0.0-r3)
installing nlohmann-json (3.11.3-r2)
installing patch (2.7.6-r8)
installing py3-pip-wheel (24.3.1-r1)
installing py3-setuptools-wheel (75.6.0-r0)
installing python-3.10-base (3.10.16-r0)
installing py3.10-distro (1.9.0-r4)
installing python-3.11-base (3.11.11-r0)
installing py3.11-distro (1.9.0-r4)
installing python-3.12-base (3.12.8-r2)
installing py3.12-distro (1.9.0-r4)
installing python-3.13-base (3.13.1-r4)
installing py3.13-distro (1.9.0-r4)
installing py3-supported-distro (1.9.0-r4)
installing py3.10-setuptools (75.6.0-r1)
installing py3.10-pip-base (24.3.1-r1)
installing py3.11-setuptools (75.6.0-r1)
installing py3.11-pip-base (24.3.1-r1)
installing py3.12-setuptools (75.6.0-r1)
installing py3.12-pip-base (24.3.1-r1)
installing py3.13-setuptools (75.6.0-r1)
installing py3.13-pip-base (24.3.1-r1)
installing py3-supported-pip (24.3.1-r1)
installing py3.10-pybind11 (2.13.6-r1)
installing py3.11-pybind11 (2.13.6-r1)
installing py3.12-pybind11 (2.13.6-r1)
installing py3.13-pybind11 (2.13.6-r3)
installing py3-supported-pybind11 (2.13.6-r3)
installing python-3.10-base-dev (3.10.16-r0)
installing python-3.11-base-dev (3.11.11-r0)
installing python-3.12-base-dev (3.12.8-r2)
installing python-3.13-base-dev (3.13.1-r4)
installing py3-supported-python-dev (1-r4)
installing py3.10-scikit-build (0.18.1-r2)
installing py3.11-scikit-build (0.18.1-r2)
installing py3.12-scikit-build (0.18.1-r2)
installing py3.13-scikit-build (0.18.1-r2)
installing py3-supported-scikit-build (0.18.1-r2)
installing py3.10-wheel (0.45.1-r1)
installing py3.11-wheel (0.45.1-r1)
installing py3.12-wheel (0.45.1-r1)
installing py3.13-wheel (0.45.1-r1)
installing py3-supported-wheel (0.45.1-r1)
installing reproc (14.2.5-r2)
installing reproc++ (14.2.5-r2)
installing samurai (1.2-r3)
installing scanelf (1.3.8-r1)
installing simdjson (3.11.3-r0)
installing simdjson-dev (3.11.3-r0)
installing spdlog (1.15.0-r0)
installing spdlog-dev (1.15.0-r0)
installing tl-expected (1.1.0-r1)
installing yaml-cpp (0.8.0-r4)
installing yaml-cpp-dev (0.8.0-r4)
installing zstd-static (1.5.6-r5)
using /tmp/apko-temp-4262173850/apko-x86_64.tar.gz for image layer
ImgRef = /tmp/melange-guest-3437539630
running step "git-checkout"
[git checkout] repo='https://github.com/mamba-org/mamba' dest='.' depth='1' branch='' tag='2025.01.02' expcommit='771663cd9bfa1a9155c8175d29b243b8e9516a77' recurse='false'
[git checkout] execute: git config --global --add safe.directory /tmp/tmp.b6C0Ic
[git checkout] execute: git config --global --add safe.directory /home/build
[git checkout] execute: git clone --quiet --origin=origin --config=user.name=Melange Build [email protected] --config=advice.detachedHead=false --branch=2025.01.02 --depth=1 https://github.com/mamba-org/mamba /tmp/tmp.b6C0Ic
[git checkout] execute: cd /tmp/tmp.b6C0Ic
[git checkout] tar -c . | tar -C "/home/build" -x
[git checkout] execute: cd /home/build
[git checkout] execute: git config --global --add safe.directory /home/build
[git checkout] execute: git fetch --quiet origin --depth=1 --no-tags +refs/tags/2025.01.02:refs/origin/tags/2025.01.02
[git checkout] execute: git checkout --quiet origin/tags/2025.01.02
[git checkout] tag 2025.01.02 is 771663cd9bfa1a9155c8175d29b243b8e9516a77
running step "patch"
patching file libmamba/CMakeLists.txt
Hunk #1 FAILED at 445.
1 out of 1 hunk FAILED -- saving rejects to file libmamba/CMakeLists.txt.rej
deleting guest dir /tmp/melange-guest-114718928
deleting workspace dir /tmp/melange-workspace-231758846
removing image path /tmp/melange-guest-3437539630
failed to build package: unable to run package libmamba pipeline: unable to run pipeline: unable to run pipeline: exit status 1
@murraybd murraybd added bug Something isn't working service:ftbfs Failed to Build From Source labels Jan 2, 2025
@murraybd
Copy link
Member Author

murraybd commented Jan 2, 2025

This actually fails to build for me differently locally ...

2025/01/02 21:12:25 INFO /usr/include/spdlog/common.h:369:54: error: 'template<class T, class ... Args> fmt::v11::basic_string_view<Char> spdlog::details::to_string_vi
ew' redeclared as different kind of entity
2025/01/02 21:12:25 INFO   369 | inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_string<T, Args...> fmt) {
2025/01/02 21:12:25 INFO       |                                                      ^~~~~~~~~~~~~~~~~~~
2025/01/02 21:12:25 INFO /usr/include/spdlog/common.h:350:45: note: previous declaration 'constexpr spdlog::string_view_t spdlog::details::to_string_view(spdlog::strin
g_view_t)'
2025/01/02 21:12:25 INFO   350 | SPDLOG_CONSTEXPR_FUNC spdlog::string_view_t to_string_view(spdlog::string_view_t str)
2025/01/02 21:12:25 INFO       |                                             ^~~~~~~~~~~~~~
2025/01/02 21:12:25 INFO /usr/include/spdlog/common.h:369:54: error: 'basic_format_string' is not a member of 'fmt'
2025/01/02 21:12:25 INFO   369 | inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_string<T, Args...> fmt) {
2025/01/02 21:12:25 INFO       |                                                      ^~~~~~~~~~~~~~~~~~~
2025/01/02 21:12:25 INFO /usr/include/spdlog/common.h:369:75: error: expected primary-expression before ',' token
2025/01/02 21:12:25 INFO   369 | inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_string<T, Args...> fmt) {
2025/01/02 21:12:25 INFO       |                                                                           ^
2025/01/02 21:12:25 INFO /usr/include/spdlog/common.h:369:81: error: expected primary-expression before '...' token
2025/01/02 21:12:25 INFO   369 | inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_string<T, Args...> fmt) {
2025/01/02 21:12:25 INFO       |                                                                                 ^~~
2025/01/02 21:12:25 INFO /home/build/libmambapy/src/libmambapy/bindings/legacy.cpp: In lambda function:
2025/01/02 21:12:25 INFO /home/build/libmambapy/src/libmambapy/bindings/legacy.cpp:556:47: warning: 'mamba::expected_t<std::__cxx11::basic_string<char> > mamba::Subdir
Data::cache_path() const' is deprecated: since version 2.0 use ``valid_solv_cache`` or ``valid_json_cache`` instead [-Wdeprecated-declarations]
2025/01/02 21:12:25 INFO   556 |                 return extract(self.cache_path());
2025/01/02 21:12:25 INFO       |                                ~~~~~~~~~~~~~~~^~
2025/01/02 21:12:25 INFO In file included from /home/build/libmambapy/src/libmambapy/bindings/legacy.cpp:30:
2025/01/02 21:12:25 INFO /home/build/libmamba/include/mamba/core/subdirdata.hpp:135:33: note: declared here
2025/01/02 21:12:25 INFO   135 |         expected_t<std::string> cache_path() const;
2025/01/02 21:12:25 INFO       |                                 ^~~~~~~~~~
2025/01/02 21:12:33 WARN ninja: subcommands failed
2025/01/02 21:12:34 INFO deleting guest dir /home/user/tmp/melange-guest-2404446598
2025/01/02 21:12:34 INFO deleting workspace dir /home/user/tmp/melange-workspace-2030359869
2025/01/02 21:12:34 INFO removing image path /home/user/tmp/melange-guest-880804632
2025/01/02 21:12:35 ERRO failed to build package: unable to run package libmamba pipeline: unable to run pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:99: packages/x86_64/libmamba-2024.10.02-r2.apk] Error 1
make[1]: Leaving directory '/home/user/src/wolfi-os'
make: *** [Makefile:89: package/libmamba] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working service:ftbfs Failed to Build From Source
Projects
None yet
Development

No branches or pull requests

1 participant