[CFT] Calculating dependencies inside chroots

Philip M. Gollucci pgollucci at p6m7g8.com
Sun Sep 8 15:15:03 EDT 2013


I agree.  However any port that does that is fundamentally broken.
On Sep 8, 2013 11:22 AM, "Chris Rees" <crees at marcuscom.com> wrote:

> Hi all,
>
> The main criticism of Tinderbox from the point of view of portmgr and the
> Poudriere developers is that the calculation of dependencies is done in the
> host, not in the jail.
>
> Thus, ports do not have the correct dependencies recorded if they do things
> like this:
>
> .if !exists(/usr/bin/kinit)
> BUILD_DEPENDS=some_kerberos
> .endif
>
> The patch at [1] fixes this problem, and also corrects the Makefile
> generation to do this inside the chroot as well.  As a consequence, the
> Makefile generation depends on the build being extracted and ready, so I've
> moved it later.
>
> I believe this is a huge improvement to the dependency calculation, and
> would *really* appreciate testing & feedback.
>
> Chris
>
> [1] http://www.bayofrum.net/~crees/patches/tinderbox-calculate-deps-in-
> chroot.diff
>
> --
> Open WebMail Project (http://openwebmail.org)
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> tinderbox-list at marcuscom.com mailing list
> http://marcuscom.com/mailman/listinfo/tinderbox-list
> To unsubscribe, send any mail to "tinderbox-list-unsubscribe at marcuscom.com
> "
>


More information about the tinderbox-list mailing list