[Pkg-javascript-devel] Bug#872488: nodejs: Build-Dependency loop nodejs => node-yamlish, node-marked => nodejs

Felipe Sateler fsateler at debian.org
Mon Aug 21 12:47:33 UTC 2017


Hi,

On Sun, Aug 20, 2017 at 9:33 AM, Jérémy Lal <kapouer at melix.org> wrote:
> 2017-08-17 22:08 GMT+02:00 Felipe Sateler <fsateler at debian.org>:
>>
>> Source: nodejs
>> Version: 6.11.2~dfsg-2
>> Severity: important
>> Tags: patch
>>
>> Hi,
>>
>> Currently nodejs has a dependency loop which causes problems when
>> building on buildds when the previous nodejs version is not installable
>> for some reason. Fortunately, the node dependencies appear to only be
>> used for building documentation. Therefore the loop can be broken by
>> splitting the documentation into an Architecture: all package: this will
>> make buildds not require installing nodejs to build nodejs.

>
> The loop was previously taken care of using "staged" builds.
> See https://bugs.debian.org/850082
>
> However, what you suggest seems to be a better solution.
> Could you check that it is a good replacement for #850082 ?

I asked in #debian-devel about this. The advise I got is that staged
builds are not necessary if the cycle is broken with my patch, because
binary-only and indep-only builds are effectively separate profiles
that the tools doing the bootstrapping can handle. In particular,
building the indep parts is usually not necessary for bootstraps
because you can pick the Arch:all parts from another architecture.
With this patch, manual bootstrap on new debian architectures should
not be necessary. #850082 was about bootstrapping architectures so I
think my patch should cover that use case.

Reintroducing the stages is easy enough, but I think we should not
reintroduce it until someone explicitly asks for it.

-- 

Saludos,
Felipe Sateler



More information about the Pkg-javascript-devel mailing list