Re: Bug#692000: ITP: liblbfgs -- L-BFGS solver for dense nonlinear optimization problems
On Mon, Nov 12, 2012 at 12:39:51AM -0800, Dima Kogan wrote:
> > The checksum of the orig tarball is not in the *-2 changes file, but it
> > is in the *-2 dsc file that you will upload. So the problem that Andreas
> > described will hit.
>
> Aha. Thanks for clarifying. This still seems silly when used together with git,
> but it looks like there are new work-in-progress source formats such as 3.0(git)
> to resolve it.
I do not think that 3.0 (git) will solve this. Please try
$ tar xaf libdogleg_0.08.orig.tar.gz
$ tar caf libdogleg-0.08_tar1.tgz libdogleg-0.08
$ tar caf libdogleg-0.08_tar2.tgz libdogleg-0.08
$ md5sum libdogleg-0.08_tar1.tgz libdogleg-0.08_tar2.tgz
b58ad75b715e1936f7d033d0269435f8 libdogleg-0.08_tar1.tgz
7a75ad5a5591aa6c11d114dab38cc79b libdogleg-0.08_tar2.tgz
You simply get different md5sums and you somehow have to define which is
the correct one. That's the job of pristine-tar.
> I added pristine-tar to both liblbfgs and libdogleg. I did make sure that the
> liblbfgs tarball matches exactly the one that Andreas uploaded earlier.
Now I was able to build libdogleg without any problem. The only issue
in the packaging is that there is no explicite license statement for the
debian/* files. I realise that you are maintainer and upstream at the
same time, but missing this paragraph seems very inconvient and I assume
(without checking) that this case is somewhere covered in the packaging
docs. I'd suggest the patch given at the end of this mail.
Kind regards
Andreas.
diff --git a/debian/copyright b/debian/copyright
index b4744b4..b3b80b1 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -6,6 +6,12 @@ Upstream-Name: libdogleg
Files: *
Copyright: 2011,2012 Oblong Industries
License: LGPL
+
+Files: debian/*
+Copyright: 2012 Dima Kogan <dima@secretsauce.net>
+License: LGPL
+
+License: LGPL
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later version.
--
http://fam-tille.de
Reply to: