pristine-tar error: Can't exec "cmp": No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
git-ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
$ git ubuntu import vulkan-tools -d vulkan-tools --no-push --no-fetch
...
10/06/2021 11:32:33 - ERROR:Command exited 128: pristine-tar verify /home/paelzer/
10/06/2021 11:32:33 - ERROR:stdout:
10/06/2021 11:32:33 - ERROR:stderr: fatal: Path 'vulkan-
pristine-tar: git show refs/heads/
...
10/06/2021 11:34:56 - INFO:Downloading vulkan-
10/06/2021 11:34:58 - ERROR:Command exited 1: gbp import-orig --no-merge --upstream-branch do-not-push --pristine-tar --no-interactive --no-symlink-orig '--upstream-
10/06/2021 11:34:58 - ERROR:stdout: gbp:info: Importing '/home/
gbp:info: Source package is vulkan-tools
gbp:info: Upstream version is 1.2.189.0+dfsg1
gbp:info: Rolling back branch do-not-push by resetting it to 830f1ed7c9191b4
gbp:info: Rolling back branch pristine-tar by resetting it to 799a37570a87645
10/06/2021 11:34:58 - ERROR:stderr: gbp:error: Import of /home/paelzer/
Failed to execute cmp: No such file or directory
pristine-tar: failed to generate delta
gbp:error: Error detected, Will roll back changes.
gbp:error: Rolled back changes after import error.
...
Are these any problem?
installed: 1.0-79-g0500536 (652) 114MB classic
Thanks. Looks like we need to make the cmp command available in the snap for pristine-tar like some of the others (and there's an existing test pattern to avoid future regression).
If it helps, there's an import option to skip pristine-tar. I forget the name, but if -h doesn't list it try inspecting parse_args in importer.py.