OLPC build creation failed

Jerry Vonau jvonau at shaw.ca
Tue Oct 2 12:57:24 EDT 2012


On Thu, 2012-09-13 at 17:51 -0700, John Gilmore wrote:
> > On Thu, Sep 13, 2012 at 3:57 PM, Jose Prous <joseprous at gmail.com> wrote:
> > > Yes it's a x86 machine, I guess that is the problem. Thanks.
> > 
> > Glad that we found the reason. We should add an explicit check in OOB
> > that gives you a more useful error msg.
> 
> Instead, you should fix OOB so it works to cross-compile.  

Sorry John, I don't think OOB is fixable without first fixing yum as
imgcreater uses yum to resolve dependencies and install the rpms. The
problem is that yum deduces what arch yum is running on by calling uname
and offers no way to override that variable[1]. The PTB didn't view this
behaviour as a bug, which later cropped up in other places in Fedora
like anaconda[2]. Even Martin felt the effects of this decision[3].

Jerry

1.https://bugzilla.redhat.com/show_bug.cgi?id=172080
2.https://bugzilla.redhat.com/show_bug.cgi?id=367731
3.http://www.redhat.com/archives/fedora-buildsys-list/2009-February/msg00028.html



> We at
> Cygnus spent years making the GNU tools able to cross-compile, and it
> all works.  We built a big test infrastructure and made sure that the
> resulting executables were bit-for-bit identical no matter what the
> build host was.  It's just your builder script that's unable to
> do it -- and that is under your control.
> 






More information about the Devel mailing list