On Sat, Sep 12, 2015 at 11:06:28AM +0200, Johannes Schauer wrote:
> looking at the rebootstrap source, it seems freetype is part of the source
> packages that have to be crossed:
> 
> https://anonscm.debian.org/cgit/users/helmutg/rebootstrap.git/tree/bootstrap.sh#n3257
> 
> Furthermore, it seems there are no patches (build profiles or otherwise) are
> needed to cross build it.
> 
> This suggests that Peter's patch to add a build profile is not needed.

We need to clarify what bootstrapping means here. As I learned from
Daniel Schepler, there is more than one way to do it (which I consider a
feature).

The approach taken by rebootstrap is to cross build a big lump of
packages to finally arrive at something that makes build-essential
installable (in theory). With this approach, it seems very likely that
freetype needs to be cross built. Even if there is no reason it needs to
be crossed, crossing can still be used to break native cycles and
freetype works well for crossing as Johannes pointed out.

Daniel Schepler's approach (as far as I understand) consists of building
a cross-LFS system, running it and then natively building Debian
packages from such a system. With this approach, all of what Peter
Pentchev reported may be relevant. I don't know.

So if one assumes that cross building can be used to break cycles, then
no profiles are needed for freetype at all. Whether that assumption is a
good one, is up to others to decide, but I certainly rely on it in
rebootstrap. So you want to discuss this bug with Daniel Schepler
instead of me. CCed.

Helmut

Reply via email to