[Debian-olpc-devel] sugar-terminal-activity troubles

Jonas Smedegaard dr at jones.dk
Thu Jul 1 19:36:35 UTC 2010

On Thu, Jul 01, 2010 at 12:58:26PM -0400, Luke Faraone wrote:

>On 07/01/2010 12:44 PM, Jonas Smedegaard wrote:
>> On Thu, Jul 01, 2010 at 12:04:53PM -0400, Luke Faraone wrote:
>>> However, when I attempt to build the package, it builds as 
>>> debian-native, despite having used[1] pristine-tar on 
>>> git-import-orig and in debian/gbp.conf.
>>> Is there something I'm not doing correctly?
>> Git repository looks odd - no tags.  Did you perhaps forget to do a 
>> "git push --tags"?
>Yeah, I did. And I subsequently removed the original repository, so I 
>retagged manually. I think I did it properly.

Yes, it works now.

What you need to do now is to remove the autogenerated tarball lying 
just outside of the source dir.

What happened was that due to missing Git tagging, git-buildpackage 
failed to (re)generate the upstream tarball and just continued without 
it.  When dpkg-buildpackage builds a package without an upstream 
tarball, it assumes that it is a Debian-native source and generates a 
new tarball with Debian stuff inside, instead of a diff (or, with 
version 3.0, a tarball) containing only the debian subdir.

...and even if you later fix the Git tagging, there is now a bogus 
Debian-native tarball lying outside the source dir, which makes 
dpkg-buildpackage ignore the later generated pristine tarball and 
continue to treat it as Debian-native.

[I'll comment on that other issue separately]


  - Jonas

  * Jonas Smedegaard - idealist & Internet-arkitekt
  * Tlf.: +45 40843136  Website: http://dr.jones.dk/

  [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-olpc-devel/attachments/20100701/6bfef840/attachment-0001.pgp>

More information about the Debian-olpc-devel mailing list