reassign 784635 pristine-tar thanks On Thu, May 07, 2015 at 04:07:48PM +0530, Kartik Mistry wrote: > Package: git-buildpackage > Version: 0.6.27 > Severity: normal > > It seems that I can't import package which contains long (very?) filename. I > also tried import .dsc and also failed. > > Log: > > $gbp import-orig --verbose --pristine-tar > ../tmp/kaz/kaz/apertium-kaz_0.1.0\~r60155.orig.tar.gz > gbp:debug: ['git', 'rev-parse', '--show-cdup'] > gbp:debug: ['git', 'rev-parse', '--is-bare-repository'] > gbp:debug: ['git', 'symbolic-ref', 'HEAD'] > gbp:debug: ['git', 'show-ref', 'refs/heads/master'] > gbp:debug: ['git', 'show-ref', 'refs/heads/upstream'] > gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', > 'master:debian/changelog'] > What will be the source package name? [apertium-kaz] > What is the upstream version? [0.1.0~r60155] > gbp:debug: ['git', 'status', '--porcelain'] > gbp:debug: tar ['-C', '../tmpCCZvk9', '-a', '-xf', > '../tmp/kaz/kaz/apertium-kaz_0.1.0~r60155.orig.tar.gz'] [] > gbp:debug: Unpacked '../tmp/kaz/kaz/apertium-kaz_0.1.0~r60155.orig.tar.gz' to > '../tmpCCZvk9/apertium-kaz-0.1.0~r60155' > gbp:info: Importing '../tmp/kaz/kaz/apertium-kaz_0.1.0~r60155.orig.tar.gz' to > branch 'master'... > gbp:info: Source package is apertium-kaz > gbp:info: Upstream version is 0.1.0~r60155 > gbp:debug: ['git', 'add', '-f', '.'] > gbp:debug: ['git', 'write-tree'] > gbp:debug: ['git', 'commit-tree', '2d6dfe236859718ae48023260d142d2a7e3aa982'] > gbp:debug: ['git', 'update-ref', 'refs/heads/master', > '4b4633095bf16eb3f41ad9507431c94943b15668'] > gbp:debug: /usr/bin/pristine-tar [] ['commit', > '../tmp/kaz/kaz/apertium-kaz_0.1.0~r60155.orig.tar.gz', 'master'] > gbp:error: Couldn't commit to 'pristine-tar' with upstream 'master': mkdir > /tmp/pristine-tar.rgqKQS31Tx/workdir/apertium-kaz-0.1.0~r60155/texts/texts1/\320\226\320\260\320\277\320\276\320\275\320\270\321\217_\322\260\320\273\321\202\321\202\321\213\322\233_\321\204\321\203\321\202\320\261\320\276\320\273_\322\233\322\261\321\200\320\260\320\274\320\260_\320\272\320\276\320\274\320\260\320\275\320\264\320\260\321\201\321\213.raw.txt: > File name too long at /usr/bin/pristine-tar line 323. > gbp:error: Import of ../tmp/kaz/kaz/apertium-kaz_0.1.0~r60155.orig.tar.gz > failed: Couldn't commit to 'pristine-tar' with upstream 'master': mkdir > /tmp/pristine-tar.rgqKQS31Tx/workdir/apertium-kaz-0.1.0~r60155/texts/texts1/\320\226\320\260\320\277\320\276\320\275\320\270\321\217_\322\260\320\273\321\202\321\202\321\213\322\233_\321\204\321\203\321\202\320\261\320\276\320\273_\322\233\322\261\321\200\320\260\320\274\320\260_\320\272\320\276\320\274\320\260\320\275\320\264\320\260\321\201\321\213.raw.txt: > File name too long at /usr/bin/pristine-tar line 323. > gbp:debug: rm ['-rf', '../tmpCCZvk9'] [] > zsh: exit 1 gbp import-orig --verbose --pristine-tar > > If needed, I can point to package in question.
It's pristine-tar that's aborting here due to a too long file name. So I'm reassigning there. >From the gbp side you can work around this with --no-pristine-tar . Cheers, -- Guido -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

