[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh-cmake writing to /usr instead of fakeroot?



Elliana May:
Sorry, I have a few tabs open, this is the correct one:

https://launchpadlibrarian.net/715071071/buildlog_ubuntu-jammy-amd64.duckdb_0.10.0-10_BUILDING.txt.gz

I've tried now overriding the override_dh_auto_configure rule in the
debian/rules file, but even that seems to not be making a difference:

[2/3] Install the project...
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:66 (file):
   file cannot create directory: /usr/local/lib/cmake/DuckDB.  Maybe need
   administrative privileges.

Many thanks,
Elliana


The upstream code seems to be installing during the "build" (dh_auto_build), whereas the Debian tooling expects this to happen in a separate "install" step (dh_auto_install). This may be related since dh_auto_build does not set any form of dest-dir but dh_auto_install does.

Consider it a possible hint for what to look for. That is what I can give you from the 5 minutes I had to look at this.

Best regards,
Niels


Reply to: