Re: uploaded libstatistics-descriptive-perl
[Replying to the list too, in case others know better than me :-)]
Am Donnerstag, den 10.03.2005, 00:10 -0600 schrieb Carlo U. Segre:
> Could you please tell me exactly how you exported the tree for building.
I usually do it this way, for packages that already have a .orig.tar.gz
for that version in the archive:
$ svn co svn+ssh://firstname.lastname@example.org/svn/pkg-perl/packages/libstatistics-descriptive-perl/trunk libstatistics-descriptive-perl
$ cd tarballs
$ wget ...debian/archive/path/to/statistics-descriptive_2.6.orig.tar.gz
$ cd ..
$ cd libstatistics-descriptive-perl/
$ svn-buildpackage --svn-move --svn-builder debuild -uc -us
fakeroot debian/rules clean || debian/rules clean
Now running lintian...
W: libstatistics-descriptive-perl source:
Finished running lintian.
$ ls -d1 ../*stat*
> As I said before, I am new to svn and svn-buildpackage and I am sure that
> this is the problem but I am having a hard time figuring out what the
> proper procedure for using debuild and generating the upload files is
> since I have always used dpkg-buildpackge and had the original tarballs
> sitting in director above the source to be built.
Yeah, that is indeed trippy. What I figured out so far (maybe this
should be put in subversion.pod):
If there is already a version with the same upstream version of this
package in debian, put the appropriate tarball in the tarballs/
directory, otherwise don't worry about it (not sure about the second
part right now)
> Here is what I do and it seems to give a package which does not have any
> problems with lintian:
> First I check out the tagged release (pardon the newlines in teh commands)
Sidenote: You should not tag the release. Tagging is done by the one who
does the final upload (in your case your sponsor), using
svn-buildpackage --svn-tag, so that the tagged version is quaranteed to
be the one used to build the uploaded package. You can testbuild using
the trunk. You probably should delete the tagged release from svn.
> $ svn co
> Then I do as you say on the web page and create a file called deb-layout
> in libstatistics-descriptive-perl-2.6/.svn/ with the line
Hmm. I can't remember ever having had to do that. Not sure though.
(slightly confused) can anyone else on the list help?Ü
> and finally I build the package with svn-buildpackage:
> $ svn-buildpackage -rfakeroot -k93701EEF -us -uc --svn-builder=debuild
With debuild, no need for -rfakeroot, otherwise ok.
> The resultant file is in build-area. Lintian gives no error. The
> origianl tarball has the original directory name in the tree.
> There is something I don't understand in your message below. You say that
> you put the origianl source in the tarballs directory but how did you do
> that? I have it in that director from the original svn-inject command but
> I can't figure out how to check out the original tarball from the
> repository into a tar.gz file as it is just a directory in the svn tree.
I get the original tar ball by using apt-get source
libstastistics-descriptive-perl and then deleting everything but the
> I am sure that once you tell me how, I will be able to fix it so your
> build method works OK.
I hope I could help. As you can see, I'm not so much an expert of
svn-buildpackage myself, I just get along :-)
> In any case, I have added you to the uploaders and retagged the source. I
> had to keep myself as an Uploader: as well since I was getting NMU errors
> if my name was in the changelog but not in the control file. Can you tell
> me if I did the correct thing?
That's ok, we usually keep adding random people from the group to
uploaders as need arises :-)
Joachim "nomeata" Breitner
email@example.com | ICQ# 74513189 | GPG-Keyid: 4743206C
JID: firstname.lastname@example.org | http://people.debian.org/~nomeata