Re: bitbake minimo error

Ben Kirk <[email protected]> Thu, 25 Aug 2005 09:25:39 -0500
Newsgroups gmane.comp.mozilla.devel.small-devices
Message-ID <[email protected]>
Hi Doug,

I tried to apply the patch you gave me, but it failed (=E2=80=9Cmalformed=
... line 9=E2=80=9D=20
patch error). So I then applied it manually and did a 'bitbake minimo' wh=
ich=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 ove=
r 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 the=20
following *new* error:

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

OE Build Configuration:
TARGET_ARCH   =3D "arm"
TARGET_OS     =3D "linux"
MACHINE       =3D "h3900"
DISTRO        =3D "familiar"
TARGET_FPU    =3D ""

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_compi=
le.5807)
| NOTE: make=20
HOST_LIBIDL_LIBS=3D`PKG_CONFIG_PATH=3D/home/bkirk/oe/build/tmp/staging/i6=
86-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/staging/=
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.d=
o_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 $

Any new suggestions?

Regards,
Ben


On Wednesday 24 August 2005 02:45 pm, you wrote:
> 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/buil=
d/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