far2l
far2l copied to clipboard
DEB package incomplete
Debian Bullseye,
Built with: cmake -DUSEWX=yes -DCMAKE_BUILD_TYPE=Release -DPYTHON=yes -G Ninja ..
Repo state:
commit 9d9c367f83046157e29deb93d7465cb6dac82106
Author: elfmz <[email protected]>
Date: Sun Dec 5 02:29:26 2021 +0300
use separate units for avail/total sizes
cpack fails to build full-featured package:
$ cpack
CPack: Create package using DEB
CPack: Install projects
CPack: - Install project: far2l []
CPack: - Install component: base
CPack: - Install component: desktop
CPack: - Install component: system
Python: preparing virtual environment
Error: [Errno 13] Permission denied: '/usr/local/lib/far2l'
Python: installing packages
ln: failed to create symbolic link '/usr/local/lib/far2l/far2l_askpass': No such file or directory
ln: failed to create symbolic link '/usr/local/lib/far2l/far2l_sudoapp': No such file or directory
CPack: Create package
CPack: - package: /home/andy/Projects/far2l/build/far2l_2.3.211205-9d9c367f-alpha_amd64.deb generated.
on which version of debian is that?
First row of my report: Debian Bullseye
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
your cpack
fails as it tries to do something on the system, and you're only user without permission to do so.
Since I haven't modified any line of the source code prior to building it, that means it's the project's source code which defines some actions which my operating system prohibits. Like unprivileged modification of /usr/local/lib
. Seems it tries to commit these actions on live filesystem instead of a chroot sandbox as, for example, dpkg
does.
cpack is not the preferred way of creating debs. but debian source package, the official from debian.org. maybe close this issue?