[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building and uploading package, depending on experimental



Thanks all for suggestions, I have done it!

So, if the package requires even 1 depending from "experimental" it should be targeted as "experimental"?

Anton Gladky



On Sun, Dec 26, 2010 at 2:44 PM, Peter Pentchev <roam@ringlet.net> wrote:
On Sun, Dec 26, 2010 at 02:22:42PM +0100, Niels Thykier wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 2010-12-26 14:18, Anton Gladky wrote:
> > Dear mentors,
> >
> > I want to upload  a package to http://mentors.debian.net, which I am working
> > on (https://launchpad.net/yade).
> > Now I am trying to build the package with pbuilder.
> > The problem is, that the software depends on package from experimental
> > branch (python-sphinx>0.99).
> >
>
> Hey
>
> > I have 2 questions:
> > 1) How can I build the package in pbuilder (--othermirror option did not
> > work)?
>
> You want to create a --distribution experimental chroot for this (man
> pbuilder for more information). Note you should not use the experimental
> chroot except when you build packages targeted for experimental.

...or you could use your existing pbuilder chroot (or copy it), then
login into it (pbuilder --login --save-after-login), add the experimental
lines to /etc/apt/sources.list and use /etc/apt/preferences to specify
that python-sphinx should be fetched from experimental.

Of course, if you want to use that chroot for other purposes (building
other packages that do not need the newer python-sphinx version), you'd
better copy it instead of just modifying it.  That's not too hard - copy
the base.tgz file under another name, create a new directory for the result,
and copy the pbuilderrc, specifying the new basetgz and result directory.

And then again, since the pbuilder manual page says that experimenal is
special-cased in pbuilder, it just might turn out that all this is already
implemented in pbuilder itself and I'm just wasting everyone's time :)
(I have to admit I'm pretty good at that sometimes...)

> > 2) May I upload such package to mentors.debian.net?
> >
>
> Yes, if you target the package for experimental (instead of unstable).
>
> > I would appreciate any comments or links, where I can find a solution for
> > the problem.
> >
> > Thank you.
> >
> > Anton Gladky
> >
>
>
> ~Niels

G'luck,
Peter

--
Peter Pentchev  roam@space.bg    roam@ringlet.net    roam@FreeBSD.org
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence claims to be an Epimenides paradox, but it is lying.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJNF0a3AAoJEGUe77AlJ98TJdUQAKGEdsTysgzoVjbUq9PgTRac
R473pPQAhxxfca6f1EdsM2EyBzW8QQIPezGQJIs5iniIxmXms56J67AjyFV4VQBN
QKUMVoKZf+gVV8Thv8rZgJvpSRs0c4p4/w3YHGx1bD9Oc8rhepPCX1WzCLyomLs4
U8w2OIh8d4UQH+A08aYI1aRG5gddAMlWj00dTF9lZDAkCU+/UMK1fWV067PnViwl
/hmLtTd7LMPLvYQXvpVteE6euC8omm5QHwG7eDgEHoCe0ohD0sB9yyRJh+pDNuAq
1MKwPycJpaMTS8vM0cnG8NBzd0C+QGb9JMnUAJeUskUqQC9VnlCakf39tqH7bJYe
uDB/LUnDtNR66hbYJXsUldNNrisZWYhrrHsxvFfNlnz0tmDEvorQzpV/KyxKwN8Z
e+65ed558FKILUtxg+090rfCG+ZLE/Sg3MR1c1a0JH2cATlQBc9xTIfQHIyInZL0
m5G810qkYJ5RqY18pJUkv9nB+25l+uVq3QHLcIUpXBejXUqi0iEqqx3uD2S0Xf6+
eELd9F6nV7OUelJ5MlY7R/LyaZ6xJ6bcXQzuMIa7ywfQI1rRXYLJRLnqswmVVCid
n3w7DDDdfFl6B9yai3DDbgIRUcCn/g/xOL9rl/3D5eThn5zPwip1ydoZLjrhFr1S
j5ZwWxRNTsltCx9uAlAE
=Dg82
-----END PGP SIGNATURE-----



Reply to: