Bug#632856: pristine-tar does not work with .tgz archives

July 06th, 2011 - 09:50 am ET by Ritesh Raj Sarraf | Report spam
Package: pristine-tar
Version: 1.13
Severity: normal

Hello Joey,

In bug #507322, you've mentioned that pristine-tar should just work with
..tgz archives. That does not seem to be the case.

make[1]: Leaving directory `/home/rrs/Community/Packaging/smp-utils'
dh_clean
gbp:warn: Unknown compression type of pristine-tar data for
smp-utils_0.96.orig.tar.tgz, assuming gzip
gbp:info: Orig tarball 'smp-utils_0.96.orig.tar.gz' not found at
'/var/tmp/Debian/Tarballs/'
fatal: Path 'smp-utils_0.96.orig.tar.gz.delta' does not exist in 'refs/heads/pristine-tar'
/usr/bin/pristine-tar: git show refs/heads/pristine-tar:smp-utils_0.96.orig.tar.gz.delta failed
gbp:error: /usr/bin/pristine-tar returned 128
gbp:error: Couldn't run '/usr/bin/pristine-tar'

18:17:35 rrs@champaran:~/Community/Packaging/smp-utils (test)$ git help import-orig

18:58:47 rrs@champaran:~/Community/Packaging/smp-utils (test)$ git checkout pristine-tar
Switched to branch 'pristine-tar'

18:58:50 rrs@champaran:~/Community/Packaging/smp-utils (pristine-tar)$ ls
smp-utils_0.96.orig.tar.tgz.delta smp-utils_0.96.orig.tar.tgz.id


pristine-tar should look for tar.tgz.delta, in this case.


Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages pristine-tar depends on:
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii perl-modules 5.12.3-7 Core Perl modules
ii xdelta 1.1.3-9 A diff utility which works with bi
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages pristine-tar recommends:
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii pbzip2 1.1.1-1 parallel bzip2 implementation

pristine-tar suggests no packages.




To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Ritesh Raj Sarraf
July 06th, 2011 - 10:00 am ET | Report spam
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
boundary="030802050309000509030500"

This is a multi-part message in MIME format.

I think this should be assigned to git-buildpackage. pristine-tar worked
fine when committing manually.

19:20:33 :/tmp/foo (master)$ pristine-tar commit
/tmp/smp_utils-0.96.tgz
/usr/bin/pristine-tar: committed smp_utils-0.96.tgz.delta to branch
pristine-tar
19:20:39 :/tmp/foo (master)$ git checkout pristine-tar
Switched to branch 'pristine-tar'
19:20:43 :/tmp/foo (pristine-tar)$ ls
smp_utils-0.96.tgz.delta smp_utils-0.96.tgz.id


Ritesh


On 07/06/2011 07:11 PM, Ritesh Raj Sarraf wrote:
Package: pristine-tar
Version: 1.13
Severity: normal

Hello Joey,

In bug #507322, you've mentioned that pristine-tar should just work with
..tgz archives. That does not seem to be the case.

make[1]: Leaving directory `/home/rrs/Community/Packaging/smp-utils'
dh_clean
gbp:warn: Unknown compression type of pristine-tar data for
smp-utils_0.96.orig.tar.tgz, assuming gzip
gbp:info: Orig tarball 'smp-utils_0.96.orig.tar.gz' not found at
'/var/tmp/Debian/Tarballs/'
fatal: Path 'smp-utils_0.96.orig.tar.gz.delta' does not exist in 'refs/heads/pristine-tar'
/usr/bin/pristine-tar: git show refs/heads/pristine-tar:smp-utils_0.96.orig.tar.gz.delta failed
gbp:error: /usr/bin/pristine-tar returned 128
gbp:error: Couldn't run '/usr/bin/pristine-tar'

18:17:35 :~/Community/Packaging/smp-utils (test)$ git help import-orig

18:58:47 :~/Community/Packaging/smp-utils (test)$ git checkout pristine-tar
Switched to branch 'pristine-tar'

18:58:50 :~/Community/Packaging/smp-utils (pristine-tar)$ ls
smp-utils_0.96.orig.tar.tgz.delta smp-utils_0.96.orig.tar.tgz.id


pristine-tar should look for tar.tgz.delta, in this case.


Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages pristine-tar depends on:
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii perl-modules 5.12.3-7 Core Perl modules
ii xdelta 1.1.3-9 A diff utility which works with bi
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages pristine-tar recommends:
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii pbzip2 1.1.1-1 parallel bzip2 implementation

pristine-tar suggests no packages.







Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I think this should be assigned to git-buildpackage. pristine-tar
worked fine when committing manually.<br>
<br>
<blockquote>19:20:33 :/tmp/foo (master)$ pristine-tar
commit /tmp/smp_utils-0.96.tgz<br>
/usr/bin/pristine-tar: committed smp_utils-0.96.tgz.delta to
branch pristine-tar<br>
19:20:39 :/tmp/foo (master)$ git checkout
pristine-tar <br>
Switched to branch 'pristine-tar'<br>
19:20:43 :/tmp/foo (pristine-tar)$ ls<br>
smp_utils-0.96.tgz.delta&nbsp; smp_utils-0.96.tgz.id<br>
</blockquote>
<br>
Ritesh<br>
<br>
<br>
On 07/06/2011 07:11 PM, Ritesh Raj Sarraf wrote:
<blockquote
cite="mid:"
type="cite">
<pre wrap="">Package: pristine-tar
Version: 1.13
Severity: normal

Hello Joey,

In bug #507322, you've mentioned that pristine-tar should just work with
..tgz archives. That does not seem to be the case.

make[1]: Leaving directory `/home/rrs/Community/Packaging/smp-utils'
dh_clean
gbp:warn: Unknown compression type of pristine-tar data for
smp-utils_0.96.orig.tar.tgz, assuming gzip
gbp:info: Orig tarball 'smp-utils_0.96.orig.tar.gz' not found at
'/var/tmp/Debian/Tarballs/'
fatal: Path 'smp-utils_0.96.orig.tar.gz.delta' does not exist in 'refs/heads/pristine-tar'
/usr/bin/pristine-tar: git show refs/heads/pristine-tar:smp-utils_0.96.orig.tar.gz.delta failed
gbp:error: /usr/bin/pristine-tar returned 128
gbp:error: Couldn't run '/usr/bin/pristine-tar'

18:17:35 :~/Community/Packaging/smp-utils (test)$ git help import-orig

18:58:47 :~/Community/Packaging/smp-utils (test)$ git checkout pristine-tar
Switched to branch 'pristine-tar'

18:58:50 :~/Community/Packaging/smp-utils (pristine-tar)$ ls
smp-utils_0.96.orig.tar.tgz.delta smp-utils_0.96.orig.tar.tgz.id


pristine-tar should look for tar.tgz.delta, in this case.


Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages pristine-tar depends on:
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii perl-modules 5.12.3-7 Core Perl modules
ii xdelta 1.1.3-9 A diff utility which works with bi
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages pristine-tar recommends:
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii pbzip2 1.1.1-1 parallel bzip2 implementation

pristine-tar suggests no packages.



</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Ritesh Raj Sarraf | <a class="moz-txt-link-freetext" href="http://people.debian.org/~rrs">http://people.debian.org/~rrs</a>
Debian - The Universal Operating System
</pre>
</body>
</html>







To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics