Using checkinstall on Debian 12 fails for any package
1
vote
1
answer
117
views
On Debian 12 using
checkinstall
fails on every package I attempt to use it on. If the package has not been make install
ed prior to using checkinstall, then checkinstall fails as soon as the installation process tries to see or touch a file it already installed (ie: running ranlib
on a library after it copies it). If one runs make install
first to put the files on the filesystem, then checkinstall
will fail because it won't be able to overwrite the existing file.
I also tried with fakeroot
which fails to be able to create temp files.
I have tried --fstrans=yes
to try and turn on filesystem translation, but this has no effect. As far as I can tell, checkinstall
is simply broken.
Is checkinstall
hopelessly broken? This would surprise me as it was a staple for so long.
Here is a log of the typical use failing:
$ checkinstall --fstrans=yes
checkinstall 1.6.3, Copyright 2010 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
*****************************************
**** Debian package creation selected ***
*****************************************
This package will be built according to these values:
0 - Maintainer: [ kfitzner@artoo ]
1 - Summary: [ Apache Guacamole server ]
2 - Name: [ guacamole-server ]
3 - Version: [ 1.5.5 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ guacamole-server-1.5.5 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Recommends: [ ]
12 - Suggests: [ ]
13 - Provides: [ guacamole-server ]
14 - Conflicts: [ ]
15 - Replaces: [ ]
Enter a number to change any of them or press ENTER to continue:
Installing with make install...
========================= Installation results ===========================
Making install in src/libguac
make: Entering directory '/home/kfitzner/devel/guacamole-server-1.5.5/src/libguac'
Making install in .
make: Entering directory '/home/kfitzner/devel/guacamole-server-1.5.5/src/libguac'
make: Entering directory '/home/kfitzner/devel/guacamole-server-1.5.5/src/libguac'
/usr/bin/mkdir -p '/usr/lib'
/bin/bash ../../libtool --mode=install /usr/bin/install -c libguac.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libguac.so.24.0.0 /usr/lib/libguac.so.24.0.0
libtool: install: (cd /usr/lib && { ln -s -f libguac.so.24.0.0 libguac.so.24 || { rm -f libguac.so.24 && ln -s libguac.so.24.0.0 libguac.so.24; }; })
libtool: install: (cd /usr/lib && { ln -s -f libguac.so.24.0.0 libguac.so || { rm -f libguac.so && ln -s libguac.so.24.0.0 libguac.so; }; })
libtool: install: /usr/bin/install -c .libs/libguac.lai /usr/lib/libguac.la
libtool: install: /usr/bin/install -c .libs/libguac.a /usr/lib/libguac.a
libtool: install: chmod 644 /usr/lib/libguac.a
chmod: cannot access '/usr/lib/libguac.a': No such file or directory
make: *** [Makefile:649: install-libLTLIBRARIES] Error 1
make: Leaving directory '/home/kfitzner/devel/guacamole-server-1.5.5/src/libguac'
make: *** [Makefile:1204: install-am] Error 2
make: Leaving directory '/home/kfitzner/devel/guacamole-server-1.5.5/src/libguac'
make: *** [Makefile:1041: install-recursive] Error 1
make: Leaving directory '/home/kfitzner/devel/guacamole-server-1.5.5/src/libguac'
make: *** [Makefile:545: install-recursive] Error 1
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
}
Asked by Kurt Fitzner
(237 rep)
Apr 27, 2025, 10:49 PM
Last activity: Apr 28, 2025, 01:19 AM
Last activity: Apr 28, 2025, 01:19 AM