Re: bitbake minimo error

Frederic Devernay <[email protected]> Fri, 02 Sep 2005 19:56:02 +0200
Newsgroups gmane.comp.mozilla.devel.small-devices
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Doug, with your patch applied on today's mozilla CVS, the compilation=20
stops with:
make[4]: *** No rule to make target=20
`/local_scratch2/devernay/build/tmp/work/minimo-0.0cvs20050902-r8/mozilla=
/minimo/base/linux/minimo-link-names',=20
needed by `nsStaticComponents.cpp'.  Stop.
make[4]: Leaving directory=20
`/local_scratch2/devernay/build/tmp/work/minimo-0.0cvs20050902-r8/build-a=
rm-linux/embedding/browser/gtk/src'=20

make[3]: *** [libs] Error 2
make[3]: Leaving directory=20
`/local_scratch2/devernay/build/tmp/work/minimo-0.0cvs20050902-r8/build-a=
rm-linux/embedding/minimo'
make[2]: *** [tier_99] Error 2
make[2]: Leaving directory=20
`/local_scratch2/devernay/build/tmp/work/minimo-0.0cvs20050902-r8/build-a=
rm-linux'
make[1]: *** [default] Error 2
make[1]: Leaving directory=20
`/local_scratch2/devernay/build/tmp/work/minimo-0.0cvs20050902-r8/build-a=
rm-linux'
make: *** [build] Error 2

fred

Ben Kirk a =C3=A9crit :
> Hi Doug,
>=20
> I tried to apply the patch you gave me, but it failed (=E2=80=9Cmalform=
ed... line 9=E2=80=9D=20
> patch error). So I then applied it manually and did a 'bitbake minimo' =
which=20
> also failed. When I looked at the date stamps of the mozilla/ files, I=20
> noticed Makefile.in was still the *old* date... bitbake was unzipping o=
ver my=20
> manual patch! Since I don't know how to stop it from doing that, I did =
a rm=20
> -rf on /tmp/work/minimo-0.0cvs20050824-r8 and then did a bitbake minimo=
=20
> hoping the patch you gave would now be in the minimo code, but I got th=
e=20
> following *new* error:
>=20
> bkirk@aika ~/oe/build $ bitbake minimo
> NOTE: Using cache in '/home/bkirk/oe/build/tmp/cache'
> NOTE: Parsing finished. 2606 cached, 0 parsed, 68 skipped, 0 masked.
> NOTE: build 200508250907: started
>=20
> OE Build Configuration:
> TARGET_ARCH   =3D "arm"
> TARGET_OS     =3D "linux"
> MACHINE       =3D "h3900"
> DISTRO        =3D "familiar"
> TARGET_FPU    =3D ""
>=20
> NOTE: preferred version 0.0cvs${CVSDATE-minimo} of minimo not available
> NOTE: package minimo-0.0cvs20050824: started
> NOTE: package minimo-0.0cvs20050824-r8: task do_fetch: started
> NOTE: package minimo-0.0cvs20050824-r8: task do_fetch: completed
> NOTE: package minimo-0.0cvs20050824-r8: task do_compile: started
> ERROR: function do_compile failed
> ERROR: log data follows=20
> (/home/bkirk/oe/build/tmp/work/minimo-0.0cvs20050824-r8/temp/log.do_com=
pile.5807)
> | NOTE: make=20
> HOST_LIBIDL_LIBS=3D`PKG_CONFIG_PATH=3D/home/bkirk/oe/build/tmp/staging/=
i686-linux/bin/../share/pkgconfig=20
> pkg-config libIDL-2.0 --libs`=20
> HOST_LIBIDL_CFLAGS=3D`PKG_CONFIG_PATH=3D/home/bkirk/oe/build/tmp/stagin=
g/i686-linux/bin/../share/pkgconfig=20
> pkg-config libIDL-2.0 --cflags` -f client.mk build_all
> | make: client.mk: No such file or directory
> | make: *** No rule to make target `client.mk'.  Stop.
> | FATAL: oe_runmake failed
> NOTE: Task=20
> failed: /home/bkirk/oe/build/tmp/work/minimo-0.0cvs20050824-r8/temp/log=
.do_compile.5807
> NOTE: package minimo-0.0cvs20050824-r8: task do_compile: failed
> ERROR: TaskFailed event exception, aborting
> NOTE: package minimo-0.0cvs20050824: failed
> ERROR: Build of minimo failed
> bkirk@aika ~/oe/build $
>=20
> Any new suggestions?
>=20
> Regards,
> Ben
>=20
>=20
> On Wednesday 24 August 2005 02:45 pm, you wrote:
>=20
>>Growing pains.
>>
>>
>>Try this patch to mozilla/Makefile.in:
>>
>>
>>Index: Makefile.in
>>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>>RCS file: /cvsroot/mozilla/Makefile.in,v
>>retrieving revision 1.303
>>diff -u -r1.303 Makefile.in
>>--- Makefile.in    23 Aug 2005 20:33:59 -0000    1.303
>>+++ Makefile.in    24 Aug 2005 19:44:47 -0000
>>@@ -110,7 +110,6 @@
>> #
>> # tier 1 -  3rd party individual libraries
>> #
>>-tier_1_dirs    +=3D dbm
>>
>> ifndef MOZ_NATIVE_JPEG
>> tier_1_dirs    +=3D jpeg
>>@@ -276,7 +275,7 @@
>> endif
>>
>> ifdef MOZ_PSM
>>-tier_50_dirs    +=3D security/manager
>>+tier_50_dirs    +=3D dbm security/manager
>> endif
>>
>> ifdef MOZ_STORAGE
>>@@ -373,7 +372,11 @@
>> endif
>>
>> ifdef MINIMO
>>-tier_99_dirs    +=3D embedding/minimo minimo
>>+ifdef MOZ_XUL
>>+tier_99_dirs    +=3D minimo
>>+else
>>+tier_99_dirs    +=3D embedding/minimo
>>+endif
>> endif
>>
>> ifdef MOZ_XUL_APP
>>@@ -389,9 +392,19 @@
>> endif
>>
>> ifneq (,$(MOZ_ENABLE_GTK)$(MOZ_ENABLE_GTK2))
>>+
>>+ifdef MINIMO
>>+
>>+ifndef MOZ_XUL
>> tier_99_dirs    +=3D embedding/browser/gtk
>> endif
>>
>>+else
>>+tier_99_dirs    +=3D embedding/browser/gtk
>>+endif
>>+
>>+endif
>>+
>> # viewer
>> ifneq (,$(ENABLE_TESTS))
>> ifndef MOZ_ENABLE_LIBXUL
>>
>>Ben Kirk wrote:
>>
>>>I get an error when I try to bitbake minimo:
>>>
>>><snip>
>>>
>>>| /home/bkirk/oe/build/tmp/work/minimo-0.0cvs20050824-r8/mozilla/build=
/au
>>>|toconf/
>>>
>>>make-makefile: Cannot
>>>read /home/bkirk/oe/build/tmp/work/minimo-0.0cvs20050824-r
>>>8/mozilla/minimo/Makefile.in: No such file or directory
>>>
>>>| make[3]: Entering directory
>>>
>>>`/home/bkirk/oe/build/tmp/work/minimo-0.0cvs200508
>>>24-r8/build-arm-linux/minimo'
>>>
>>>| make[3]: *** No rule to make target `export'.  Stop.
>>>| make[3]: Leaving directory
>>>
>>>`/home/bkirk/oe/build/tmp/work/minimo-0.0cvs2005082
>>>4-r8/build-arm-linux/minimo'
>>>
>>>| make[2]: *** [tier_99] Error 2
>>>| make[2]: Leaving directory
>>>
>>>`/home/bkirk/oe/build/tmp/work/minimo-0.0cvs2005082
>>>4-r8/build-arm-linux'
>>>
>>>| make[1]: *** [default] Error 2
>>>| make[1]: Leaving directory
>>>
>>>`/home/bkirk/oe/build/tmp/work/minimo-0.0cvs2005082
>>>4-r8/build-arm-linux'
>>>
>>>| make: *** [build] Error 2
>>>| FATAL: oe_runmake failed
>>>
>>>NOTE: Task
>>>failed: /home/bkirk/oe/build/tmp/work/minimo-0.0cvs20050824-r8/temp/l
>>>og.do_compile.27861
>>>NOTE: package minimo-0.0cvs20050824-r8: task do_compile: failed
>>>ERROR: TaskFailed event exception, aborting
>>>NOTE: package minimo-0.0cvs20050824: failed
>>>ERROR: Build of minimo failed
>>>
>>>Any ideas on how to fix?
>>>
>>>Thanks,
>>>Ben
>=20
>=20