mlpack: FTBFS: mkdir: cannot create directory ‘/usr/lib/python3.11/site-packages/’: Permission denied

Bug #2025291 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mlpack (Debian)
Fix Released
Unknown
mlpack (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/1028633:

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: <email address hidden>

https://buildd.debian.org/status/fetch.php?pkg=mlpack&arch=amd64&ver=4.0.1-1&stamp=1673622675&raw=0

-- Installing: /<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>/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

Related branches

Nick Rosbrook (enr0n)
tags: added: update-excuse
Changed in mlpack (Debian):
importance: Undecided → Unknown
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mlpack - 4.1.0-1ubuntu1

---------------
mlpack (4.1.0-1ubuntu1) mantic; urgency=medium

  * Fix FTBFS (LP: #2025291):
    - debian/control: Build-Depends: python3-pip
    - debian/rules: export DESTDIR=debian/tmp

 -- Nick Rosbrook <email address hidden> Thu, 29 Jun 2023 09:46:27 -0400

Changed in mlpack (Ubuntu):
status: New → Fix Released
Changed in mlpack (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.