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.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages git-buildpackage depends on:
ii  devscripts            2.15.4
ii  git                   1:2.1.4-2.1
ii  man-db                2.7.0.2-5
ii  python                2.7.9-1
ii  python-dateutil       2.2-2
ii  python-pkg-resources  5.5.1-1
ii  python-six            1.9.0-3

Versions of packages git-buildpackage recommends:
ii  cowbuilder       0.73
ii  pristine-tar     1.33
ii  python-requests  2.4.3-6

Versions of packages git-buildpackage suggests:
ii  python-notify  0.1.1-4
ii  unzip          6.0-16

-- no debconf information

-- 
Kartik Mistry | IRC: kart_
{0x1f1f, kartikm}.wordpress.com

Attachment: signature.asc
Description: Digital signature

Reply via email to