Files with multiple consecutive spaces cause errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
checkinstall (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I was trying to use checkinstall to create a package for projectM music visualizer which I compiled. I already made a tar.xz and was doing "sudo checkinstall tar -C / -xJf /d/projectm-
=======
Copying files to the temporary directory...tar: ./usr/local/
tar: Exiting with failure status due to previous errors
tar: ./usr/local/
tar: Exiting with failure status due to previous errors
tar: ./usr/local/
tar: Exiting with failure status due to previous errors
tar: ./usr/local/
tar: Exiting with failure status due to previous errors
There is a lot more of this. These files indeed do not exist in the .tar.xz or on disk once it is extracted. I tracked down a bunch of the files, and all the corresponding files which do exist have two consecutive spaces in the file name. Apparently checkinstall turns two consecutive spaces into a single space, and then fails to find the file.
As a simple test, I created a .tar.gz with "/usr/local/Hello World" (with two spaces between Hello and World) and "/usr/local/Hello World" (with a single space). Creating a package via "sudo checkinstall tar -C / -xzf /d/break_
Using --fstrans=0 or --fstrans=no doesn't help.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: checkinstall 1.6.2+git201704
ProcVersionSign
Uname: Linux 5.13.0-22-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Sat Dec 4 23:43:35 2021
SourcePackage: checkinstall
UpgradeStatus: Upgraded to impish on 2021-10-02 (63 days ago)