Package: git-buildpackage
Version: 0.4.61
Severity: normal

For some reason the import fails. See attached archive for testing.

    $ git-import-dsc --verbose stterm_0.0+20091211-1.dsc

    Upstream version: 0.0+20091211
    Debian version: 1
    No git repository found, creating one.
    git ['init'] []
    Initialized empty Git repository in 
/srv/deb/todo/stterm/build-area/stterm/.git/
    tar ['-C', '/srv/deb/todo/stterm/build-area/tmpAQO0i_', '--gzip', '-xf', 
'/srv/deb/todo/stterm/build-area/stterm_0.0+200912\
    11-1.debian.tar.gz'] []
    tag upstream/0.0+20091211 not found, importing Upstream tarball
    git ['add'] ['-f', '.']
    git ['commit', '-a', '-q'] ['-m', 'Imported Upstream version 0.0+20091211']
    git ['tag'] ['-m', 'Upstream version 0.0+20091211', 'upstream/0.0+20091211']
    git ['branch'] ['upstream']
    /usr/bin/pristine-tar [] ['commit', 
'/srv/deb/todo/stterm/build-area/stterm_0.0+20091211-1.debian.tar.gz', 
'refs/heads/upst\
    ream']
    pristine-tar: committed stterm_0.0+20091211-1.debian.tar.gz.delta to branch 
pristine-tar
    Merging to master
    git ['merge', 'upstream', '--no-summary'] []
    Already up-to-date.
    git ['add'] ['-f', '.']
    Traceback (most recent call last):
      File "/usr/bin/git-import-dsc", line 224, in <module>
        sys.exit(main(sys.argv))
      File "/usr/bin/git-import-dsc", line 206, in main
        apply_debian_patch(repo, src, options)
      File "/usr/bin/git-import-dsc", line 60, in apply_debian_patch
        os.chmod('debian/rules', 0755)
    OSError: [Errno 2] No such file or directory: 'debian/rules'

    $ stterm/build-area ls -la

    total 76
    drwxr-sr-x 4 root src   4096 2009-12-11 14:51 .
    drwxr-sr-x 7 root src   4096 2009-12-11 14:43 ..
    drwxr-sr-x 5 root root  4096 2009-12-11 14:43 stterm
    -rw-r--r-- 1 root src   7197 2009-12-11 14:43 
stterm_0.0+20091211-1_amd64.build
    -rw-r--r-- 1 root src   1498 2009-12-11 14:43 
stterm_0.0+20091211-1_amd64.changes
    -rw-r--r-- 1 root src  14816 2009-12-11 14:43 
stterm_0.0+20091211-1_amd64.deb
    -rw-r--r-- 1 root src   7408 2009-12-11 14:43 
stterm_0.0+20091211-1.debian.tar.gz
    -rw-r--r-- 1 root src   5378 2009-12-11 13:50 stterm_0.0+20091211-1.diff.gz
    -rw-r--r-- 1 root src    913 2009-12-11 14:43 stterm_0.0+20091211-1.dsc

    $ dpkg --info stterm_0.0+20091211-1_amd64.deb ; \
      dpkg --contents stterm_0.0+20091211-1_amd64.deb

    $ ar -tv stterm_0.0+20091211-1_amd64.deb
    rw-r--r-- 0/0      4 Dec 11 14:43 2009 debian-binary
    rw-r--r-- 0/0    783 Dec 11 14:43 2009 control.tar.gz
    rw-r--r-- 0/0  13840 Dec 11 14:43 2009 data.tar.gz

    $  lsdiff -z stterm_0.0+20091211-1.diff.gz
    stterm-0.0+20091211/debian/README.source
    stterm-0.0+20091211/debian/stterm.1.pod
    stterm-0.0+20091211/debian/changelog
    stterm-0.0+20091211/debian/copyright
    stterm-0.0+20091211/debian/debian-vars.mk
    stterm-0.0+20091211/debian/info
    stterm-0.0+20091211/debian/watch
    stterm-0.0+20091211/debian/compat
    stterm-0.0+20091211/debian/pod2man.mk
    stterm-0.0+20091211/debian/README.Debian
    stterm-0.0+20091211/debian/rules
    stterm-0.0+20091211/debian/control
    stterm-0.0+20091211/debian/docs
    stterm-0.0+20091211/debian/patches/10-st.c-option-version.dpatch
    stterm-0.0+20091211/debian/patches/10-st.c-option-version.patch
    stterm-0.0+20091211/debian/patches/series

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages git-buildpackage depends on:
ii  devscripts                    2.10.59    scripts to make the life of a Debi
ii  git-core                      1:1.6.5-1  fast, scalable, distributed revisi
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-dateutil               1.4.1-3    powerful extensions to the standar
ii  python-support                1.0.4      automated rebuilding support for P

Versions of packages git-buildpackage recommends:
ii  pristine-tar                  1.00       regenerate pristine tarballs

Versions of packages git-buildpackage suggests:
pn  git-load-dirs                 <none>     (no description available)

-- no debconf information

Attachment: stterm.tar.bz2
Description: BZip2 compressed data

Reply via email to