[Rpm-maint] [rpm-software-management/rpm] find-debuginfo.sh: cpio looking into wrong path (#322)

srakitnican notifications at github.com
Fri Sep 8 15:01:35 UTC 2017


Don't know what is wrong, these messages appear when package is being created at debuginfo part.
```
cpio: timeshift-17.2/src/AboutWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/AppConsole.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/AppExcludeEntry.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/AppGtk.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/AppLock.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ArchiveFile.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/AsyncTask.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BackupBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BackupDeviceBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BackupFinishBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BackupWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/Bash.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BootOptionsBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BootOptionsWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/CronTab.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/CryptTabEntry.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/CustomMessageDialog.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/DeleteBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/DeleteFileTask.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/DeleteFinishBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/DeleteWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/Device.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/DonationWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/EstimateBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ExcludeAppsBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ExcludeBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ExcludeListSummaryWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ExcludeMessageWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/FileItem.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/FinishBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/FsTabEntry.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/GtkHelper.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/IncludeBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/LinuxDistro.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/Main.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/MainWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/MountEntry.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/OSDNotify.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ProcStats.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreDeviceBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreExcludeBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreFinishBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreSummaryBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RsyncLogWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RsyncTask.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ScheduleBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/SettingsWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/SetupWizardWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/Snapshot.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/SnapshotBackendBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/SnapshotListBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/SnapshotRepo.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/Subvolume.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.FileSystem.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.Json.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.Logging.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.Misc.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.Process.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.System.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TerminalWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TimeoutCounter.c: Cannot stat: No such file or directory

```

But that seems to be wrong as these are not located at root directories "src/" but instead located in multiple sub-directories od src/ . I am not sure how that happens. debugsources.list file contains correct path to files. I've noticed, though, that paths are not separated by newline, but by NULL character instead, so sort at the beginning of the command does not do anything.

I am able to reproduce it from command line by passing [debugsources.list](https://github.com/rpm-software-management/rpm/files/1288223/debugsources.zip) to the following command:

```bash
$ LC_ALL=C sort -z -u "/var/lib/mock/fedora-25-x86_64/root/builddir/build/BUILD/timeshift-17.2/debugsources.list" | grep -E -v -z '(<internal>|<built-in>)$' | (cd "/var/lib/mock/fedora-25-x86_64/root/builddir/build/BUILD/"; cpio -pd0mL "/tmp/test")
cpio: timeshift-17.2/src/AboutWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/AppConsole.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/AppExcludeEntry.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/AppGtk.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/AppLock.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ArchiveFile.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/AsyncTask.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BackupBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BackupDeviceBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BackupFinishBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BackupWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/Bash.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BootOptionsBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/BootOptionsWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/CronTab.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/CryptTabEntry.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/CustomMessageDialog.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/DeleteBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/DeleteFileTask.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/DeleteFinishBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/DeleteWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/Device.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/DonationWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/EstimateBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ExcludeAppsBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ExcludeBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ExcludeListSummaryWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ExcludeMessageWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/FileItem.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/FinishBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/FsTabEntry.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/GtkHelper.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/IncludeBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/LinuxDistro.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/Main.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/MainWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/MountEntry.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/OSDNotify.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ProcStats.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreDeviceBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreExcludeBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreFinishBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreSummaryBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RestoreWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RsyncLogWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/RsyncTask.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/ScheduleBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/SettingsWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/SetupWizardWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/Snapshot.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/SnapshotBackendBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/SnapshotListBox.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/SnapshotRepo.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/Subvolume.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.FileSystem.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.Json.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.Logging.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.Misc.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.Process.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TeeJee.System.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TerminalWindow.c: Cannot stat: No such file or directory
cpio: timeshift-17.2/src/TimeoutCounter.c: Cannot stat: No such file or directory
15356 blocks

```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170908/c35671f3/attachment-0001.html>


More information about the Rpm-maint mailing list