displaycal-py3
displaycal-py3 copied to clipboard
Files missing from tarball
DisplayCAL-3.9.6.tar.gz is missing files that exist in git such as misc/45-Argyll.rules whose absence causes installs to fail with:
error: can't copy '/home/user/rpm/BUILD/DisplayCAL-3.9.6/DisplayCAL/../misc/45-Argyll.rules': doesn't exist or not a regular file
We have removed that file after the long discussions in #117
What command are you using to install the tarball?
The install command is:
/usr/bin/python3 setup.py install -O1 --skip-build --root /home/user/rpm/BUILDROOT/displaycal-3.9.6-1.lcl9.x86_64 --no-compile --prefix=/usr --skip-postinstall
If 45-Argyll.rules file was deliberately removed, its ghost is still present:
$ grep -rl 45-Argyll.rules DisplayCAL-3.9.6/ | wc -l
7
DisplayCAL-3.9.11 now has a different missing file when that install command is used:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/DisplayCAL-3.9.11/misc/debian.rules'
Creating a dummy misc/debian.rules
allows the install to run to completion. There are still the same number of references to the file 45-Argyll.rules
, and the file is still missing, but at least the install process succeeds with this workaround.