Error found on "make fso-gta02-milestone5-image"

Daniel.Li lida_mail at 163.com
Sat Feb 28 05:12:39 CET 2009


On Thu, 2009-02-26 at 23:17 +0800, HouYu Li wrote:
> What's your system?

ubuntu 8.10 with latest update.

I compared my log with
http://wiki.openmoko.org/wiki/Talk:MokoMakefile#glibc_fails_to_build
quite different.

Any ideas?



diff --git a/web-log b/local-log
index 69ab881..7aefa0d 100644
--- a/web-log
+++ b/local-log
@@ -1,72 +1,29 @@
 NOTE: package glibc-2.6.1: started
-NOTE: package glibc-2.6.1-r10: task do_configure: started
-ERROR: function do_configure failed
-ERROR: log data follows
(/home/alex/moko/build/tmp/work/armv4t-angstrom-linux-gn
-ueabi/glibc-2.6.1-r10/temp/log.do_configure.11446)
-| NOTE:
Running /home/alex/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/gli
-bc-2.6.1-r10/glibc-2.6.1/configure                  --build=i686-linux
---host=arm-angstrom-linux-gnueabi
--target=arm-angstrom-linux-
-gnueabi                     --prefix=/usr
--exec_prefix=/usr
---bindir=/usr/bin                --sbindir=/usr/sbin
--li
-bexecdir=/usr/libexec               --datadir=/usr/share
--sy
-sconfdir=/etc               --sharedstatedir=/usr/com
--localstate
-dir=/var                    --libdir=/usr/lib
--includedir=/usr/in
-clude               --oldincludedir=/usr/include
--infodir=/u
-sr/share/info               --mandir=/usr/share/man
--enab
-le-kernel=2.4.0   --without-cvs --disable-profile --disable-debug
--without-gd
---enable-clocale=gnu   --enable-add-ons=ports,nptl,libidn
--with-headers=/hom
-e/alex/moko/build/tmp/staging/arm-angstrom-linux-gnueabi/usr/include
--without
--selinux     --without-fp --without-fp              ...
-| configure: loading site
script /home/alex/moko/openembedded/site/endian-little
-| configure: loading site
script /home/alex/moko/openembedded/site/common-linux
-| configure: loading site
script /home/alex/moko/openembedded/site/common-glibc
-| configure: loading site
script /home/alex/moko/openembedded/site/arm-common
-| configure: loading site
script /home/alex/moko/openembedded/site/arm-linux
-| configure: loading site
script /home/alex/moko/openembedded/site/common
-| configure: loading site
script /home/alex/moko/openembedded/site/common
-| checking build system type... i686-pc-linux-gnu
-| checking host system type... arm-angstrom-linux-gnueabi
-| checking add-on ports for preconfigure fragments... am33 arm hppa
m68k mips
-| configure: running configure fragment for add-on nptl
-| configure: running configure fragment for add-on libidn
-| checking sysdep dirs... ports/sysdeps/arm/elf
ports/sysdeps/unix/sysv/linux/ar
-m/eabi/nptl ports/sysdeps/unix/sysv/linux/arm/eabi
sysdeps/unix/sysv/linux/arm/e
-abi ports/sysdeps/unix/sysv/linux/arm/nptl
ports/sysdeps/unix/sysv/linux/arm sys
-deps/unix/sysv/linux/arm ports/sysdeps/unix/sysv/linux
nptl/sysdeps/unix/sysv/li
-nux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux
sysdeps/gnu sys
-deps/unix/common sysdeps/unix/mman sysdeps/unix/inet
ports/sysdeps/unix/sysv npt
-l/sysdeps/unix/sysv sysdeps/unix/sysv ports/sysdeps/unix/arm
ports/sysdeps/unix
-nptl/sysdeps/unix sysdeps/unix sysdeps/posix ports/sysdeps/arm/eabi
ports/sysdep
-s/arm/nptl ports/sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32
sysdeps/
-ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
-| checking for a BSD-compatible
install... /home/alex/moko/build/tmp/staging/i68
-6-linux/usr/bin/install -c
-| checking whether ln -s works... yes
-| checking for arm-angstrom-linux-gnueabi-gcc...
arm-angstrom-linux-gnueabi-gcc
--march=armv4t -mtune=arm920t
-| checking for suffix of object files... o
-| checking whether we are using the GNU C compiler... yes
-| checking whether arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm920t a
-ccepts -g... yes
-| checking for arm-angstrom-linux-gnueabi-gcc -march=armv4t
-mtune=arm920t optio
-n to accept ANSI C... none needed
-| checking for gcc... gcc
-| checking how to run the C preprocessor...
arm-angstrom-linux-gnueabi-gcc -E
-| configure: error: C preprocessor "arm-angstrom-linux-gnueabi-gcc -E"
fails san
-ity check
-| See `config.log' for more details.
-| FATAL: oe_runconf failed
-NOTE: Task
failed: /home/alex/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/
-glibc-2.6.1-r10/temp/log.do_configure.11446
-NOTE: package glibc-2.6.1-r10: task do_configure: failed
+NOTE: package glibc-2.6.1-r15: task do_package: started  //
+NOTE: preparing tree for binary locale generation
+NOTE: generating locale es_NI (UTF-8)
+NOTE: generating locale gv_GB (UTF-8)
+NOTE: generating locale kw_GB (UTF-8)
+NOTE: generating locale en_BW (UTF-8)
+NOTE: generating locale xh_ZA (UTF-8)
+NOTE: generating locale mg_MG (UTF-8)
+NOTE: generating locale en_SG (UTF-8)
+NOTE: generating locale ta_IN (UTF-8)
+NOTE: generating locale th_TH (UTF-8)
+NOTE: generating locale ss_ZA (UTF-8)
+NOTE: generating locale mai_IN (UTF-8)
+NOTE: generating locale om_KE (UTF-8)
+NOTE: generating locale es_VE (UTF-8)
+NOTE: generating locale tr_CY (UTF-8)
+NOTE: Task failed: localedef returned an error (command was
PATH="/home/daniel/work4/fso/fso-milestone5/tmp/staging/i686-linux/usr/bin/armv4t-angstrom-linux-gnueabi:/home/daniel/work4/fso/fso-milestone5/tmp/staging/i686-linux/usr/bin/armv4t-angstrom-linux-gnueabi:/home/daniel/work4/fso/fso-milestone5/tmp/staging/i686-linux/usr/sbin:/home/daniel/work4/fso/fso-milestone5/tmp/staging/i686-linux/usr/bin:/home/daniel/work4/fso/fso-milestone5/tmp/cross/armv4t/bin:/home/daniel/work4/fso/fso-milestone5/tmp/staging/i686-linux/sbin:/home/daniel/work4/fso/fso-milestone5/tmp/staging/i686-linux/bin:/home/daniel/work4/fso/fso-milestone5/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/gcc-3.4.5-glibc-2.3.6/bin/:/opt/arm-none-linux-gnueabi/bin/:/opt/real/RealPlayer:/opt/real/RealPlayer" I18NPATH="/home/daniel/work4/fso/fso-milestone5/tmp/work/armv4t-angstrom-linux-gnueabi/glibc-2.6.1-r15/locale-tree//usr/share/i18n" qemu-arm  -s 1048576 -r 2.6.16 -L /home/daniel/work4/fso/fso-milestone5/tmp/work/armv4t-angstrom-linux-gnueabi/glibc-2.6.1-r15/locale-tree  /home/daniel/work4/fso/fso-milestone5/tmp/work/armv4t-angstrom-linux-gnueabi/glibc-2.6.1-r15/locale-tree/bin/localedef --force --old-style --no-archive --prefix=/home/daniel/work4/fso/fso-milestone5/tmp/work/armv4t-angstrom-linux-gnueabi/glibc-2.6.1-r15/locale-tree --inputfile=/usr/share/i18n/locales/tr_CY --charmap=UTF-8 tr_CY).
+NOTE: package glibc-2.6.1-r15: task do_package: failed
 ERROR: TaskFailed event exception, aborting
 NOTE: package glibc-2.6.1: failed
-ERROR: Build
of /home/alex/moko/openembedded/packages/glibc/glibc_2.6.1.bb do_co
-nfigure failed
-ERROR: Task 7
(/home/alex/moko/openembedded/packages/glibc/glibc_2.6.1.bb, do_co
-nfigure) failed
-NOTE: Tasks Summary: Attempted 448 tasks of which 440 didn't need to be
rerun an
-d 1 failed.
-ERROR: '/home/alex/moko/openembedded/packages/glibc/glibc_2.6.1.bb'
failed
-NOTE: build 200808041052: completed
-
+ERROR: Build
of /home/daniel/work4/fso/fso-milestone5/openembedded/packages/glibc/glibc_2.6.1.bb do_package failed
+ERROR: Task 216
(/home/daniel/work4/fso/fso-milestone5/openembedded/packages/glibc/glibc_2.6.1.bb, do_package) failed
+NOTE: Tasks Summary: Attempted 591 tasks of which 1 didn't need to be
rerun and 1 failed.
+ERROR:
'/home/daniel/work4/fso/fso-milestone5/openembedded/packages/glibc/glibc_2.6.1.bb' failed
+NOTE: build 200902262243: completed
+make[1]: *** [image] Error 1
+make[1]: Leaving directory `/home/daniel/work4/fso/fso-milestone5'
+make: *** [fso-gta02-milestone5-image] Error 2

> 
> On Thu, Feb 26, 2009 at 7:16 PM, Daniel.Li <lida_mail at 163.com> wrote:
>         On Wed, 2009-02-25 at 22:25 -0300, Tomas Riveros Schober
>         wrote:
>         > since it's glibc related, why not try this:
>         >
>         http://wiki.openmoko.org/wiki/Talk:MokoMakefile#glibc_fails_to_build
>         >
>         > Tom
>         >
>         
>         
>         Thanks for tips. After checking the above link.
>         
>         I found the case is quite different from mine. Since I don't
>         have build
>         folder.
>         
>         
>         > =====================>From above link=======================
>         > NOTE: Task
>         failed: /home/alex/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/
>         > glibc-2.6.1-r10/temp/log.do_configure.11446
>         >
>         My folder structure is:
>         .
>         |-- Makefile -> common/Makefile
>         |-- bitbake
>         |-- common
>         |-- downloads
>         |-- fso-milestone5
>         `-- openembedded
>         
>         I also googled website, found really strange :(
>         
>         
>         
>         > Daniel.Li escribió:
>         > > On Thu, 2009-02-26 at 07:50 +0800, HouYu Li wrote:
>         > >
>         > >> using the default makefile from download site works well.
>         haven't
>         > >> tried the git version. I think you might try
>         milestone5.1.
>         > >>
>         > >
>         > > I have check "wget
>         http://downloads.freesmartphone.org/Makefile".
>         > > And diff this file with common/Makefile.
>         > >
>         > > They are the same.
>         > >
>         > >> On Thu, Feb 26, 2009 at 7:43 AM, Daniel.Li
>         <lida_mail at 163.com> wrote:
>         > >>         Dear List,
>         > >>
>         > >>         I have followed
>         http://wiki.openmoko.org/wiki/Building_FSO to
>         > >>         build fso
>         > >>         $ git clone
>         git://git.freesmartphone.org/fso-makefile common
>         > >>         $ ln -s common/Makefile Makefile
>         > >>         $ make fso-gta02-milestone5-image
>         > >>
>         > >>         blabla......
>         > >>
>         > >>         NOTE: Psyco JIT Compiler (http://psyco.sf.net)
>         not available.
>         > >>         Install it
>         > >>         to increase performance.
>         > >>         NOTE: Handling BitBake files: | (5389/6406) [84
>         %]ERROR: Could
>         > >>         not
>         > >>         include required file glibc_2.6.1.bb while
>         > >>
>         parsing /home/daniel/work4/fso/fso-milestone5/openembedded/packages/glibc/glibc-initial_2.6.1.bb
>         > >>         NOTE: Handling BitBake files: - (6406/6406) [100
>         %]
>         > >>         NOTE: Parsing finished. 0 cached, 6123 parsed,
>         282 skipped, 0
>         > >>         masked.
>         > >>         ERROR: Parsing errors found, exiting...
>         > >>         make[1]: *** [image] Error 1
>         > >>         make[1]: Leaving directory
>         > >>         `/home/daniel/work4/fso/fso-milestone5'
>         > >>         make: *** [fso-gta02-milestone5-image] Error 2
>         > >>
>         > >>
>         > >>         Have anyone met this before, how can i solve
>         this? Thanks.
>         > >>
>         > >>
>         > >>         --
>         > >>         Daniel.Li <lida_mail at 163.com>
>         > >>         PALFocus (http://palfocus.oicp.net)
>         > >>
>         > >>
>         > >>
>         > >>         _______________________________________________
>         > >>         Openmoko community mailing list
>         > >>         community at lists.openmoko.org
>         > >>
>         http://lists.openmoko.org/mailman/listinfo/community
>         > >>
>         > >>
>         > >>
>         > >> --
>         > >> Best Regards
>         > >>
>         > >> HouYu Li, Karajan
>         > >>
>         > >> karajan_ii (at) hotmail.com
>         > >> karadog (at) gmail.com
>         > >> lihouyu (at) phpex.net
>         > >>
>         > >> PHP Programmer
>         > >> Red Hat Certified Engineer
>         > >>
>         > >> Shanghai, China
>         > >>
>         >
>         
>         --
>         
>         Daniel.Li <lida_mail at 163.com>
>         PALFocus (http://palfocus.oicp.net)
>         
>         
>         
>         _______________________________________________
>         Openmoko community mailing list
>         community at lists.openmoko.org
>         http://lists.openmoko.org/mailman/listinfo/community
>         
> 
> 
> 
> -- 
> Best Regards
> 
> HouYu Li, Karajan
> 
> karajan_ii (at) hotmail.com
> karadog (at) gmail.com
> lihouyu (at) phpex.net
> 
> PHP Programmer
> Red Hat Certified Engineer
> 
> Shanghai, China
-- 
Daniel.Li <lida_mail at 163.com>
PALFocus (http://palfocus.oicp.net)






More information about the community mailing list