All of lore.kernel.org
 help / color / mirror / Atom feed
* firefox fails at xpidl: missing glib
@ 2011-04-08 18:23 Neil MacMunn
  2011-04-08 20:56 ` Henning Heinold
  2011-04-08 21:22 ` Neil MacMunn
  0 siblings, 2 replies; 4+ messages in thread
From: Neil MacMunn @ 2011-04-08 18:23 UTC (permalink / raw)
  To: openembedded-devel

I'm trying to bitbake firefox with this configuration.

> Build Configuration:
> BB_VERSION        = "1.12.0"
> METADATA_BRANCH   = "unstable"
> METADATA_REVISION = "219f1e9"
> TARGET_ARCH       = "arm"
> TARGET_OS         = "linux-gnueabi"
> MACHINE           = "overo"
> DISTRO            = "angstrom"
> DISTRO_VERSION    = "v20110408"
> TARGET_FPU        = "hard"

But it fails  in the directory 
...work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/xpcom/typelib/xpidl

> gcc -o host_xpidl.o -c -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include -O2 -g -DXP_UNIX -O3  -DMDCPUCFG=\"md/_linux.cfg\"  -I. -I. -I../../../dist/include -I../../../dist/include/nsprpub  -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss      -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr xpidl.c
> xpidl_idl.c
> gcc -o host_xpidl_idl.o -c -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include -O2 -g -DXP_UNIX -O3  -DMDCPUCFG=\"md/_linux.cfg\"  -I. -I. -I../../../dist/include -I../../../dist/include/nsprpub  -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss      -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr xpidl_idl.c
> xpidl_util.c
> gcc -o host_xpidl_util.o -c -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include -O2 -g -DXP_UNIX -O3  -DMDCPUCFG=\"md/_linux.cfg\"  -I. -I. -I../../../dist/include -I../../../dist/include/nsprpub  -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss      -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr xpidl_util.c
> xpidl_header.c
> gcc -o host_xpidl_header.o -c -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include -O2 -g -DXP_UNIX -O3  -DMDCPUCFG=\"md/_linux.cfg\"  -I. -I. -I../../../dist/include -I../../../dist/include/nsprpub  -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss      -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr xpidl_header.c
> In file included from xpidl.c:42:
> xpidl.h:49: fatal error: glib.h: No such file or directoryIn file included from xpidl_util.c:42:
> xpidl.h:49: fatal error: glib.h: No such file or directory

cp sysroots/x86_64-linux/usr/include/glib-2.0/glib.h 
sysroots/x86_64-linux/usr/include/ got me to another missing header 
error. Comparing the log of my last successful build, this is missing.

> -pthread -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libIDL-2.0 -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include

What would cause these includes to be omitted?

--
Neil






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: firefox fails at xpidl: missing glib
  2011-04-08 18:23 firefox fails at xpidl: missing glib Neil MacMunn
@ 2011-04-08 20:56 ` Henning Heinold
  2011-04-08 21:22 ` Neil MacMunn
  1 sibling, 0 replies; 4+ messages in thread
From: Henning Heinold @ 2011-04-08 20:56 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Apr 08, 2011 at 11:23:44AM -0700, Neil MacMunn wrote:
> I'm trying to bitbake firefox with this configuration.
> 
> >Build Configuration:
> >BB_VERSION        = "1.12.0"
> >METADATA_BRANCH   = "unstable"
> >METADATA_REVISION = "219f1e9"
> >TARGET_ARCH       = "arm"
> >TARGET_OS         = "linux-gnueabi"
> >MACHINE           = "overo"
> >DISTRO            = "angstrom"
> >DISTRO_VERSION    = "v20110408"
> >TARGET_FPU        = "hard"
> 
> 
> cp sysroots/x86_64-linux/usr/include/glib-2.0/glib.h
> sysroots/x86_64-linux/usr/include/ got me to another missing header
> error. Comparing the log of my last successful build, this is
> missing.

Hi,

copying the headers wild around don't get you further, the right include option
is needed. As pkg-config --cflags glib-2.0 returns it. So in the end 
you need to fix the Makefile.

Bye Henning



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: firefox fails at xpidl: missing glib
  2011-04-08 18:23 firefox fails at xpidl: missing glib Neil MacMunn
  2011-04-08 20:56 ` Henning Heinold
@ 2011-04-08 21:22 ` Neil MacMunn
  2011-04-12  0:43   ` Neil MacMunn
  1 sibling, 1 reply; 4+ messages in thread
From: Neil MacMunn @ 2011-04-08 21:22 UTC (permalink / raw)
  To: openembedded-devel

On 11-04-08 11:23 AM, Neil MacMunn wrote:
> I'm trying to bitbake firefox with this configuration.
>
>> Build Configuration:
>> BB_VERSION = "1.12.0"
>> METADATA_BRANCH = "unstable"
>> METADATA_REVISION = "219f1e9"
>> TARGET_ARCH = "arm"
>> TARGET_OS = "linux-gnueabi"
>> MACHINE = "overo"
>> DISTRO = "angstrom"
>> DISTRO_VERSION = "v20110408"
>> TARGET_FPU = "hard"
>
> But it fails in the directory
> ...work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/xpcom/typelib/xpidl
>
>
>> gcc -o host_xpidl.o -c
>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>> -I../../../dist/include -I../../../dist/include/nsprpub
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>> xpidl.c
>> xpidl_idl.c
>> gcc -o host_xpidl_idl.o -c
>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>> -I../../../dist/include -I../../../dist/include/nsprpub
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>> xpidl_idl.c
>> xpidl_util.c
>> gcc -o host_xpidl_util.o -c
>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>> -I../../../dist/include -I../../../dist/include/nsprpub
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>> xpidl_util.c
>> xpidl_header.c
>> gcc -o host_xpidl_header.o -c
>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>> -I../../../dist/include -I../../../dist/include/nsprpub
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>> xpidl_header.c
>> In file included from xpidl.c:42:
>> xpidl.h:49: fatal error: glib.h: No such file or directoryIn file
>> included from xpidl_util.c:42:
>> xpidl.h:49: fatal error: glib.h: No such file or directory
>
> cp sysroots/x86_64-linux/usr/include/glib-2.0/glib.h
> sysroots/x86_64-linux/usr/include/ got me to another missing header
> error. Comparing the log of my last successful build, this is missing.
>
>> -pthread
>> -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libIDL-2.0
>> -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0
>> -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include
>>
>
> What would cause these includes to be omitted?
>
> --
> Neil
>
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

I manually changed this line

> HOST_LIBIDL_CFLAGS =
to
> HOST_LIBIDL_CFLAGS = -pthread -I/home/neil/overo-oe/tmp-overo/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libIDL-2.0 -I/home/neil/overo-oe/tmp-overo/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/home/neil/overo-oe/tmp-overo/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include

in autoconf.mk and the compile succeeded. autoconf.mk.in hasn't changed 
since my previous successful build. This is a clean build so maybe 
libIDL was missing?

--
Neil

--
Neil



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: firefox fails at xpidl: missing glib
  2011-04-08 21:22 ` Neil MacMunn
@ 2011-04-12  0:43   ` Neil MacMunn
  0 siblings, 0 replies; 4+ messages in thread
From: Neil MacMunn @ 2011-04-12  0:43 UTC (permalink / raw)
  To: openembedded-devel

On 11-04-08 02:22 PM, Neil MacMunn wrote:
> On 11-04-08 11:23 AM, Neil MacMunn wrote:
>> I'm trying to bitbake firefox with this configuration.
>>
>>> Build Configuration:
>>> BB_VERSION = "1.12.0"
>>> METADATA_BRANCH = "unstable"
>>> METADATA_REVISION = "219f1e9"
>>> TARGET_ARCH = "arm"
>>> TARGET_OS = "linux-gnueabi"
>>> MACHINE = "overo"
>>> DISTRO = "angstrom"
>>> DISTRO_VERSION = "v20110408"
>>> TARGET_FPU = "hard"
>>
>> But it fails in the directory
>> ...work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/xpcom/typelib/xpidl
>>
>>
>>
>>> gcc -o host_xpidl.o -c
>>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>>>
>>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>>> -I../../../dist/include -I../../../dist/include/nsprpub
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> xpidl.c
>>> xpidl_idl.c
>>> gcc -o host_xpidl_idl.o -c
>>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>>>
>>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>>> -I../../../dist/include -I../../../dist/include/nsprpub
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> xpidl_idl.c
>>> xpidl_util.c
>>> gcc -o host_xpidl_util.o -c
>>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>>>
>>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>>> -I../../../dist/include -I../../../dist/include/nsprpub
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> xpidl_util.c
>>> xpidl_header.c
>>> gcc -o host_xpidl_header.o -c
>>> -isystem/home/neil/overo-oe/tmp-unstable/sysroots/x86_64-linux/usr/include
>>>
>>> -O2 -g -DXP_UNIX -O3 -DMDCPUCFG=\"md/_linux.cfg\" -I. -I.
>>> -I../../../dist/include -I../../../dist/include/nsprpub
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nss
>>>
>>> -I/home/neil/overo-oe/tmp-unstable/work/armv7a-angstrom-linux-gnueabi/firefox-3.6.8-r3/mozilla-1.9.2/dist/include/nspr
>>>
>>> xpidl_header.c
>>> In file included from xpidl.c:42:
>>> xpidl.h:49: fatal error: glib.h: No such file or directoryIn file
>>> included from xpidl_util.c:42:
>>> xpidl.h:49: fatal error: glib.h: No such file or directory
>>
>> cp sysroots/x86_64-linux/usr/include/glib-2.0/glib.h
>> sysroots/x86_64-linux/usr/include/ got me to another missing header
>> error. Comparing the log of my last successful build, this is missing.
>>
>>> -pthread
>>> -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libIDL-2.0
>>>
>>> -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0
>>>
>>> -I/home/neil/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include
>>>
>>>
>>
>> What would cause these includes to be omitted?
>>
>> --
>> Neil
>>
>>
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> I manually changed this line
>
>> HOST_LIBIDL_CFLAGS =
> to
>> HOST_LIBIDL_CFLAGS = -pthread
>> -I/home/neil/overo-oe/tmp-overo/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libIDL-2.0
>> -I/home/neil/overo-oe/tmp-overo/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0
>> -I/home/neil/overo-oe/tmp-overo/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include
>>
>
> in autoconf.mk and the compile succeeded. autoconf.mk.in hasn't changed
> since my previous successful build. This is a clean build so maybe
> libIDL was missing?
>


I hit this problem again on another machine and found that
>
> HOST_LIBIDL_LIBS   = -pthread -lIDL-2 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0

also needs to be added and building libIDL first doesn't change anything.








^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-12  0:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-08 18:23 firefox fails at xpidl: missing glib Neil MacMunn
2011-04-08 20:56 ` Henning Heinold
2011-04-08 21:22 ` Neil MacMunn
2011-04-12  0:43   ` Neil MacMunn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.