Hi,
I've reassigned this bug from git-buildpackage to pristine-tar; as
Sergio says, it's pristine-tar that's failing.
I've pushed this to important, since it is preventing rclone packaging
from proceeding (without bodges at least); might be RC? I think the
problem relates to pristine-tar's handling of non-ascii filenames.
I used gbp import-orig --verbose --uscan --pristine-tar to tell me what
args it was passing to pristine-tar, and then re-ran that command adding
-v -d to get more debug output (at the bottom of this mail)
The complained-of file is in the upstream tarball:
cmd/bisync/testdata/test_extended_char_paths/golden/normal-sync._testdir_path1_測試_Русский_____ě_áñ.._testdir_path2_測試_Русский_____ě_áñ.copy1to2.que
...and in upstream git:
https://github.com/rclone/rclone/blob/v1.60.0/cmd/bisync/testdata/test_extended_char_paths/golden/normal-sync._testdir_path1_%E6%B8%AC%E8%A9%A6_%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_____%C4%9B_%C3%A1%C3%B1.._testdir_path2_%E6%B8%AC%E8%A9%A6_%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9_____%C4%9B_%C3%A1%C3%B1.copy1to2.que
So I think the problem may be both in pristine-tar's decision that that
file is missing in the manifest, and then in whatever it's doing to make
a filename too long - which is a bit confusing, since if I do the
"mkdir" that it says is failing, it works just fine...
matthew@tsk:~/packages/rclone$ pristine-tar -v -d commit
../rclone_1.60.0.orig.tar.gz 28901851aa753bee063df1fff99ee90f097fb2e9
pristine-tar: git archive --format=tar
28901851aa753bee063df1fff99ee90f097fb2e9 | (cd
'/tmp/pristine-tar.QSprqRxiCj' && tar x)
pristine-tar: set subdir to rclone-1.60.0
pristine-tar: subdir is rclone-1.60.0
pristine-tar: mkdir /tmp/pristine-tar.nK854kS9zf/workdir
pristine-tar: mv /tmp/pristine-tar.QSprqRxiCj
/tmp/pristine-tar.nK854kS9zf/workdir/rclone-1.60.0
pristine-tar:
rclone-1.60.0/cmd/bisync/testdata/test_extended_char_paths/golden/normal-sync._testdir_path1_\346\270\254\350\251\246_\320\240\321\203\321\201\321\201\320\272\320\270\320\271_____\304\233_\303\241\303\261.._testdir_path2_\346\270\254\350\251\246_\320\240\321\203\321\201\321\201\320\272\320\270\320\271_____\304\233_\303\241\303\261.copy1to2.que
is listed in the manifest but may not be present in the source directory
pristine-tar: creating missing
rclone-1.60.0/cmd/bisync/testdata/test_extended_char_paths/golden/normal-sync._testdir_path1_\346\270\254\350\251\246_\320\240\321\203\321\201\321\201\320\272\320\270\320\271_____\304\233_\303\241\303\261.._testdir_path2_\346\270\254\350\251\246_\320\240\321\203\321\201\321\201\320\272\320\270\320\271_____\304\233_\303\241\303\261.copy1to2.que
mkdir
/tmp/pristine-tar.nK854kS9zf/workdir/rclone-1.60.0/cmd/bisync/testdata/test_extended_char_paths/golden/normal-sync._testdir_path1_\346\270\254\350\251\246_\320\240\321\203\321\201\321\201\320\272\320\270\320\271_____\304\233_\303\241\303\261.._testdir_path2_\346\270\254\350\251\246_\320\240\321\203\321\201\321\201\320\272\320\270\320\271_____\304\233_\303\241\303\261.copy1to2.que:
File name too long at /usr/bin/pristine-tar line 451.
Thanks,
Matthew