imported tarball mismatches archive

Bug #1737984 reported by Christian Ehrhardt 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-ubuntu
Incomplete
Medium
Unassigned

Bug Description

Hi,
I just happened to find that when source-build on slof to the point where it gets the orig tarball out of the pristine-tar branches it doesn't match.

I got this out of pristine tar by doing the build:
-rw-rw-r-- 1 paelzer paelzer 417240 Aug 29 09:19 slof_20170724+dfsg.orig.tar.xz

On an upload this got rejected
File slof_20170724+dfsg.orig.tar.xz already exists in Primary Archive for Ubuntu, but uploaded version has different contents. See more information about this error in https://help.launchpad.net/Packaging/UploadErrors.
Files specified in DSC are broken or missing, skipping package unpack verification.

I did a pull-lp-source and got:
-rw-rw-r-- 1 paelzer paelzer 403024 Dez 13 15:04 slof_20170724+dfsg.orig.tar.xz

No md5sum needed, the size is different.

Workaround for now:
1. pull-lp-source
2. build with --no-pristine-tar

Tags: import
tags: added: import
Revision history for this message
Robie Basak (racb) wrote :

14:35 <rbasak> cpaelzer: thank you for the report. I'm not sure about hash-abi-break because a change to pristine-tar won't change the main imported commit graph, but a change to upstream/ might. So I'll tag it for now.

tags: added: hash-abi-break
Revision history for this message
Nish Aravamudan (nacc) wrote :

I'll try and dig into this next week.

Changed in usd-importer:
importance: Undecided → Critical
assignee: nobody → Nish Aravamudan (nacc)
milestone: none → future
Revision history for this message
Nish Aravamudan (nacc) wrote :

I just did the following:

nacc@pitfall:/tmp/foo$ pull-lp-source -d slof
pull-lp-source: Downloading slof version 20170724+dfsg-1ubuntu1
pull-lp-source: Downloading slof_20170724+dfsg.orig.tar.xz from archive.ubuntu.com (0.384 MiB)
pull-lp-source: Downloading slof_20170724+dfsg-1ubuntu1.debian.tar.xz from archive.ubuntu.com (0.005 MiB)
nacc@pitfall:/tmp/foo$ md5sum slof_20170724+dfsg.orig.tar.xz
d046f06beac8c9ecb312728a3ee482f0 slof_20170724+dfsg.orig.tar.xz

nacc@pitfall:/tmp$ git ubuntu clone slof
nacc@pitfall:/tmp$ cd slof/
nacc@pitfall:/tmp/slof (ubuntu/devel)$ git ubuntu export-orig
01/08/2018 11:18:38 - WARNING:pristine-tar data found for both debian and ubuntu, using ubuntu
01/08/2018 11:18:40 - INFO:Successfully fetched:
../slof_20170724+dfsg.orig.tar.xz
using fetch_orig_from_pristine_tar(source=ubuntu)
nacc@pitfall:/tmp/slof (ubuntu/devel)$ md5sum ../slof_20170724+dfsg.orig.tar.xz d046f06beac8c9ecb312728a3ee482f0 ../slof_20170724+dfsg.orig.tar.xz

So I'm unable to reproduce with the first example that refers to the same tarball.

Can you let me know what branch you were on when you did your build?

Changed in usd-importer:
status: New → Incomplete
Robie Basak (racb)
Changed in usd-importer:
importance: Critical → Medium
Revision history for this message
Robie Basak (racb) wrote :

> I'm not sure about hash-abi-break because a change to pristine-tar won't change the main imported commit graph, but a change to upstream/ might. So I'll tag it for now.

I'm not considering the upstream branches part of hash stability, so untagging.

Changed in usd-importer:
assignee: Nish Aravamudan (nacc) → nobody
Robie Basak (racb)
tags: removed: hash-abi-break
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.