Bug#656313: Iceweasel FTBFS

Mike Hommey mh at glandium.org
Wed Jan 18 18:14:06 UTC 2012


On Wed, Jan 18, 2012 at 07:01:34PM +0100, Rogier wrote:
> 
> > On Wed, Jan 18, 2012 at 03:36:04PM +0100, Rogier wrote:
> > > > > 32-bits userspace on 64-bits kernel.
> > > > > I assume that's the same from a build-point-of-view ?
> > > > 
> > > > I bet it works if you build using "linux32 dpkg-buildpackage
> > > > -b".
> > > 
> > > Never heard of that...
> > > Thanks for educating me. (but, even if I had known of 'linux32',
> > > I doubt I would have suspected that to be the cause).
> > > 
> > > I'll try it tonight (the build takes rather long on my machine).
> > > 
> > > If my understanding is correct (the manual page says it only
> > > affects the output of uname -m), it implies that the detected
> > > kernel architecture is used to make decisions about the desired
> > > or applicable userspace architecture ? To me, it seems this is
> > > not quite Right ?
> > > 
> > > Anyway, I assume this will solve it for me.
> > 
> > I think your setup makes the build system assume you are
> > cross-compiling, which you really aren't, but triggers using uname.
> > Please check what the build-xulrunner/config/autoconf.mk file says
> > about TARGET_CPU when building without linux32.
> 
> Some snippets from build-*/config/autoconf.mk:
> 	build-browser/config/autoconf.mk:target          = x86_64-unknown-linux-gnu
> 	build-browser/config/autoconf.mk:CROSS_COMPILE   =
> 	build-browser/config/autoconf.mk:host_cpu       = x86_64
> 	build-browser/config/autoconf.mk:TARGET_CPU     = x86_64
> 	build-browser/config/autoconf.mk:TARGET_XPCOM_ABI = x86_64-gcc3
> 	build-browser/config/autoconf.mk:OS_TEST=x86_64
> 	build-browser/config/autoconf.mk:CPU_ARCH=x86_64
> 
> 	build-xulrunner/config/autoconf.mk:target          = i486-pc-linux-gnu
> 	build-xulrunner/config/autoconf.mk:CROSS_COMPILE   = 
> 	build-xulrunner/config/autoconf.mk:host_cpu     = i486
> 	build-xulrunner/config/autoconf.mk:TARGET_CPU   = i486
> 	build-xulrunner/config/autoconf.mk:TARGET_XPCOM_ABI = x86-gcc3
> 	build-xulrunner/config/autoconf.mk:OS_TEST=i486
> 	build-xulrunner/config/autoconf.mk:CPU_ARCH=x86

Ah... so your build failure is happening under build-browser, not
build-xulrunner, right?

Mike





More information about the pkg-mozilla-maintainers mailing list