Package Details: micromamba 2.5.0-2

Git Clone URL: https://aur.archlinux.org/micromamba.git (read-only, click to copy)
Package Base: micromamba
Description: The fast cross-platform package manager
Upstream URL: https://github.com/mamba-org/mamba
Licenses: BSD-3-Clause
Conflicts: micromamba-bin
Provides: libmamba, python-libmambapy
Submitter: gdolle
Maintainer: carlosal1015 (flying-sheep)
Last Packager: carlosal1015
Votes: 10
Popularity: 0.93
First Submitted: 2021-03-21 15:23 (UTC)
Last Updated: 2026-01-10 17:32 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

joni_999 commented on 2026-01-11 07:28 (UTC) (edited on 2026-01-11 07:28 (UTC) by joni_999)

For me the build failed on "libmamba/CMakeFiles/libmamba-dyn.dir/src/solver/problems_graph.cpp.o" with loads of errors when I had fmt9 installed, but after removing it (and keeping the "fmt" package) it worked fine

bcb commented on 2026-01-10 17:13 (UTC)

As per the previous comment, I get a failure to build as it cannot find a libmamba-spdlog library (note that this is actually a different error to the previous errors reported in October 2025).

I think this is due to pull request 4082 which removes spdlog and provides their own library of it.

The solution seems to be to add -DBUILD_LIBMAMBA_SPDLOG=ON to the CMake configuration arguments of the initial build to create the library. Then add -Dlibmamba-spdlog_DIR=$PWD/../../install/lib/cmake/libmamba-spdlog/ to the exported CMAKE_ARGS before building the wheel. At least, that results in a successful build for me.

kangaro0 commented on 2026-01-10 11:35 (UTC) (edited on 2026-01-10 11:41 (UTC) by kangaro0)

Hey, I tried to update my system and get the same error message as micwoy92. Version 2.5.0-1

==> Making package: micromamba 2.5.0-1 (Sat 10 Jan 2026 12:32:16 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 15.2.1
-- The CXX compiler identification is GNU 15.2.1
-- 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
-- Building libmamba v2.5.0
-- libmamba binary version: v5.0.1
-- Found Python3: /usr/bin/python3.13 (found version "3.13.11") found components: Interpreter
-- Found nlohmann_json: /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.12.0")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.5.1")
-- Found Libsolv: /usr/include (found version "0.7.35")
-- Setting LTO for target libmamba::solv-cpp
-- Adding shared libmamba target
-- Setting LTO for target libmamba::libmamba-dyn
   -> Dynamically linking against libmamba (shared) dependencies
-- Found CURL: /usr/lib/libcurl.so (found version "8.18.0")
-- Found LibArchive: /usr/lib/libarchive.so (found version "3.8.5")
-- Found BZip2: /usr/lib/libbz2.so (found version "1.0.8")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "3.6.0")
CMake Error at libmambapy/CMakeLists.txt:20 (find_package):
  Could not find a package configuration file provided by "libmamba-spdlog"
  with any of the following names:

    libmamba-spdlogConfig.cmake
    libmamba-spdlog-config.cmake

  Add the installation prefix of "libmamba-spdlog" to CMAKE_PREFIX_PATH or
  set "libmamba-spdlog_DIR" to a directory containing one of the above files.
  If "libmamba-spdlog" provides a separate development package or SDK, be
  sure it has been installed.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: micromamba-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
micromamba - exit status 4

carlchatfield commented on 2025-11-03 00:41 (UTC)

Had to change SKBUILD_CONFIGURE_OPTIONS to CMAKE_ARGS in PKGBUILD

build() {
  cmake \
    -S "${_pkgname}-${pkgver}" \
    -B build/ \
    -G Ninja \
    -D CMAKE_INSTALL_PREFIX="/usr" \
    -D CMAKE_BUILD_TYPE=Release \
    -D BUILD_LIBMAMBA=ON \
    -D BUILD_LIBMAMBAPY=ON \
    -D BUILD_MICROMAMBA=ON \
    -D BUILD_SHARED=ON \
    -D CMAKE_BUILD_WITH_INSTALL_RPATH=ON
  cmake --build build --parallel "$(nproc)"
  cmake --install build --prefix install

  cd "${_pkgname}-${pkgver}/libmambapy"
  #export SKBUILD_CONFIGURE_OPTIONS="\
  export CMAKE_ARGS="\
    -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \
    -DBUILD_LIBMAMBA=ON \
    -DBUILD_LIBMAMBAPY=ON \
    -DBUILD_MICROMAMBA=OFF \
    -DBUILD_MAMBA_PACKAGE=OFF \
    -Dlibmamba_ROOT=$PWD/../../install"
  python -m build --wheel --no-isolation --skip-dependency-check
}

micwoj92 commented on 2025-10-30 22:08 (UTC)

Building fails for me:

* Building wheel...
*** scikit-build-core 0.11.6 using CMake 4.1.2 (wheel)
*** Configuring CMake...
loading initial cache file /tmp/tmpavlu3_n5/build/CMakeInit.txt
-- The C compiler identification is GNU 15.2.1
-- The CXX compiler identification is GNU 15.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - 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/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:13 (find_package):
  Could not find a package configuration file provided by "libmamba" with any
  of the following names:

    libmambaConfig.cmake
    libmamba-config.cmake

  Add the installation prefix of "libmamba" to CMAKE_PREFIX_PATH or set
  "libmamba_DIR" to a directory containing one of the above files.  If
  "libmamba" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!

*** CMake configuration failed

ERROR Backend subprocess exited when trying to invoke build_wheel
==> ERROR: A failure occurred in build().
    Aborting...

peippo commented on 2025-10-20 10:59 (UTC) (edited on 2025-10-20 11:05 (UTC) by peippo)

Please remove the sed command that replaces certain paths in the pybind patch - it’s not needed anymore and fails with 2.3.3. Thanks!

Edit: Without the sed command, the patch succeeds, but then I run into the same issues as @kamocat shared below

kamocat commented on 2025-10-13 15:48 (UTC) (edited on 2025-10-13 15:49 (UTC) by kamocat)

I removed the pybind11 patch and built 2.3.3.alpha0 with the additional dependency python-scikit-build-core

However, it fails to find libmambaConfig.cmake when building the wheel.

flying-sheep commented on 2025-09-03 09:13 (UTC)

Good news! They added pybind11>=3 support!

We now apply the patch and it seems to work! https://github.com/mamba-org/mamba/pull/4059

flying-sheep commented on 2025-09-02 09:35 (UTC)

Hmm, doesn’t seem to work for me anymore.

seems like the cmake --install build --prefix install line is missing, also it should be -Dlibmamba_ROOT=$PWD/../../install.

https://github.com/mamba-org/mamba/issues/3554