Re: Allowed to build-depend a pkg in main on a pkg in non-free?
On 30.09.20 22:45, Josh Triplett wrote:
> [Accidentally sent this early before it was finished.]
>
> Roland Fehrenbacher wrote:
>>>>>>> "S" == Sven Joachim <svenjoac@gmx.de> writes:
>> S> In addition, the packages in *main*
>> S>
>> S> * must not require or recommend a package outside of *main* for
>> S> compilation or execution (thus, the package must not declare a "Pre-
>> S> Depends", "Depends", "Recommends", "Build-Depends", "Build-Depends-
>> S> Indep", or "Build-Depends-Arch" relationship on a non-*main* package
>> S> unless that package is only listed as a non-default alternative for
>> S> a package in *main*),
>>
>> Hmm, what I intend to do conforms to the first sentence of the paragraph
>> (the packages to go into main do not require or recommend a package
>> outside of *main* for compilation or execution),
>
> The *source package* would, though, and that isn't allowed either.
>
> One specific rationale for this: it must be possible for someone who
> *only* uses main to download the source, install the build dependencies,
> and successfully build the package themselves. Doing *that* must not
> require anything outside of main.
Somewhat ironically not depending on anything but main is also true for
non-free and contrib. (At least when you want it to be built by the
official builders.)
Kind regards
Philipp Kern
Reply to: