Bug#1028633:
Hi, I have opened a pull request[1] to fix this FTBFS. We experienced the same problem in Ubuntu[2], and these changes resolved the problem for us. Thanks, Nick [1] https://salsa.debian.org/science-team/mlpack/-/merge_requests/2 [2] https://bugs.launchpad.net/ubuntu/+source/mlpack/+bug/2025291
Bug#1028633: mlpack: FTBFS: mkdir: cannot create directory ‘/usr/lib/python3.11/site-packages/’: Permission denied
Source: mlpack Version: 4.0.1-1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramac...@debian.org https://buildd.debian.org/status/fetch.php?pkg=mlpack=amd64=4.0.1-1=1673622675=0 -- Installing: /<>/debian/tmp/usr/include/mlpack/methods/CMakeLists.txt mkdir: cannot create directory ‘/usr/lib/python3.11/site-packages/’: Permission denied /usr/bin/python3: No module named pip CMake Error at /<>/src/mlpack/bindings/python/PythonInstall.cmake:23 (message): Error installing Python bindings! Call Stack (most recent call first): src/mlpack/bindings/python/cmake_install.cmake:66 (include) src/mlpack/bindings/cmake_install.cmake:50 (include) src/mlpack/cmake_install.cmake:68 (include) cmake_install.cmake:55 (include) make[1]: *** [Makefile:113: install] Error 1 Cheers -- Sebastian Ramacher