Public bug reported: 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-linux-x86_64-20211102.tar.xz" and that was failing with a bunch of errors after "Installation successful":
======================== Installation successful ========================== Copying files to the temporary directory...tar: ./usr/local/share/projectM/presets/presets_eyetune/New Creation Sensation - AdamFx,Flexi,Amandio c n Martin - Star to Another World ft Hexocollie n Shadow Harlequin n Geiss B.milk: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors tar: ./usr/local/share/projectM/presets/presets_milkdrop/Rovastar - Kalideostars (Round Round Mix).milk: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors tar: ./usr/local/share/projectM/presets/presets_mischa_collection/A New Definition for Milk - AdamFX - Laser Show in a Crystalstorm ft Orb n Martin Inside the Forge of Isengard.milk: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors tar: ./usr/local/share/projectM/presets/presets_mischa_collection/Stahlregen & AdamFX closer to god through bacon.milk: Cannot stat: No such file or directory 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_checkinstall_spaces.tar.gz", only the file with a single space gets included, though I don't see the "Cannot stat: No such file or directory" error. Using --fstrans=0 or --fstrans=no doesn't help. ProblemType: Bug DistroRelease: Ubuntu 21.10 Package: checkinstall 1.6.2+git20170426.d24a630-2ubuntu1 ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19 Uname: Linux 5.13.0-22-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu71 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Sat Dec 4 23:43:35 2021 SourcePackage: checkinstall UpgradeStatus: Upgraded to impish on 2021-10-02 (63 days ago) ** Affects: checkinstall (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug impish ** Attachment added: "Shows how file with two consecutive spaces isn't included" https://bugs.launchpad.net/bugs/1953239/+attachment/5545410/+files/break_checkinstall_spaces.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1953239 Title: Files with multiple consecutive spaces cause errors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/checkinstall/+bug/1953239/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs