cannot bitbake console/x11-image

75 views
Skip to first unread message

Robert Kuhn

unread,
Dec 16, 2008, 5:14:07 PM12/16/08
to beagl...@googlegroups.com
Hello,

I am using the latest OE. Everything is up-to-date.

When I try to bitbake console-image I get these errors:

NOTE: package shared-mime-info-native-0.51-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: see log in
/home/developer/oe/tmp/work/i686-linux/shared-mime-info-native-0.51-r0/temp/log.do_compile.19953
NOTE: Task failed:
/home/developer/oe/tmp/work/i686-linux/shared-mime-info-native-0.51-r0/temp/log.do_compile.19953
NOTE: package shared-mime-info-native-0.51-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package shared-mime-info-native-0.51: failed
ERROR: Build of
/home/developer/oe/openembedded/packages/shared-mime-info/shared-mime-info-native_0.51.bb
do_compile failed
ERROR: Task 4024
(/home/developer/oe/openembedded/packages/shared-mime-info/shared-mime-info-native_0.51.bb,
do_compile) failed
NOTE: Tasks Summary: Attempted 1218 tasks of which 717 didn't need to
be rerun and 1 failed.
ERROR: '/home/developer/oe/openembedded/packages/shared-mime-info/shared-mime-info-native_0.51.bb'
failed


OE:beagleboard developer@big-ubuntu:~/oe/opt$ cat
/home/developer/oe/tmp/work/i686-linux/shared-mime-info-native-0.51-r0/temp/log.do_compile.19953
NOTE: make
Making check in po
make[1]: Entering directory
`/home/developer/oe3/tmp/work/i686-linux/shared-mime-info-native-0.51-r0/shared-mime-info-0.51/po'
rm -f missing notexist
srcdir=/home/developer/oe/tmp/work/i686-linux/shared-mime-info-native-0.51-r0/shared-mime-info-0.51/po
/home/developer/oe/tmp/staging/i686-linux/usr/bin/intltool-update -m
The following files contain translations and are currently not in use. Please
consider adding these to the POTFILES.in file, located in the po/ directory.

me/developer/oe/tmp/work/i686-linux/shared-mime-info-native-0.51-r0/shared-mime-info-0.51/po/../freedesktop.org.xml.in
me/developer/oe/tmp/work/i686-linux/shared-mime-info-native-0.51-r0/shared-mime-info-0.51/po/../update-mime-database.c

If some of these files are left out on purpose then please add them to
POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list
of left out files has been written in the current directory.
if [ -r missing -o -r notexist ]; then \
exit 1; \
fi
make[1]: *** [check] Error 1
make[1]: Leaving directory
`/home/developer/oe3/tmp/work/i686-linux/shared-mime-info-native-0.51-r0/shared-mime-info-0.51/po'
make: *** [check-recursive] Error 1
FATAL: oe_runmake failed


What can I do?

Thanks - Robert

santosh balakrishnan

unread,
Dec 16, 2008, 5:30:43 PM12/16/08
to beagl...@googlegroups.com
it is a problem with libxml and zlib.  ZLib cannot create gzopen64 without two #define values and libxml defines only one of them.

I have attached the patch and bb + inc files that i used to get around the issue. Replace the inc and bb files in OE/openembedded/packages/libxml and put the patch file in files directory in the same path.

santosh
libxml_gzopen64.patch
libxml2-native_2.7.2.bb
libxml2.inc

Robert Kuhn

unread,
Dec 17, 2008, 2:10:37 AM12/17/08
to beagl...@googlegroups.com
2008/12/16 santosh balakrishnan <san...@sanvalto.com>:

> it is a problem with libxml and zlib. ZLib cannot create gzopen64 without
> two #define values and libxml defines only one of them.
>
> I have attached the patch and bb + inc files that i used to get around the
> issue. Replace the inc and bb files in OE/openembedded/packages/libxml and
> put the patch file in files directory in the same path.

This di not solved the problem. The error remains the same.

Robert

Robert Kuhn

unread,
Dec 18, 2008, 2:29:36 AM12/18/08
to beagl...@googlegroups.com
> This did not solved the problem. The error remains the same.

I solved it by installing the glib and libxml developer packages on my
host system.

Now I have a problem with the !native package:
NOTE: package shared-mime-info-0.51-r2: task do_install: started
ERROR: function do_install failed
ERROR: see log in
/home/developer/oe/tmp/work/armv7a-angstrom-linux-gnueabi/shared-mime-info-0.51-r2/temp/log.do_install.31068
NOTE: Task failed:
/home/developer/oe/tmp/work/armv7a-angstrom-linux-gnueabi/shared-mime-info-0.51-r2/temp/log.do_install.31068
NOTE: package shared-mime-info-0.51-r2: task do_install: failed


ERROR: TaskFailed event exception, aborting

NOTE: package shared-mime-info-0.51: failed
ERROR: Build of
/home/developer/oe/openembedded/packages/shared-mime-info/shared-mime-info_0.51.bb
do_install failed
ERROR: Task 1711
(/home/developer/oe/openembedded/packages/shared-mime-info/shared-mime-info_0.51.bb,
do_install) failed


cat /home/developer/oe/tmp/work/armv7a-angstrom-linux-gnueabi/shared-mime-info-0.51-r2/temp/log.do_install.31068
NOTE: make DESTDIR=/home/developer/oe/tmp/work/armv7a-angstrom-linux-gnueabi/shared-mime-info-0.51-r2/image
install
make: *** No rule to make target `install'. Stop.
FATAL: oe_runmake failed


The /home/developer/oe/tmp/work/armv7a-angstrom-linux-gnueabi/shared-mime-info-0.51-r2/image
folder is empty!?!?
Any ideas?

Robert

arne.c...@gmail.com

unread,
Feb 11, 2009, 10:53:35 AM2/11/09
to Beagle Board
If anybody still has this issue ( I just came across this issue ):

after applying santosh's patches, you need to:

bitbake -c clean libxml2-native
bitbake -c compile libxml2-native
bitbake -c install libxml2-native

bitbake -c clean libxml2
bitbake -c compile libxml2
bitbake -c install libxml2



/Arne

ti...@harbaum.org

unread,
Mar 10, 2009, 5:05:52 AM3/10/09
to Beagle Board
Hmm, still not working here. The error is exactly the one from the
initial posting. I also see that the libxml patch is actually being
applied:

NOTE: package libxml2-2.7.2-r0: task do_patch: started
NOTE: Applying patch 'libxml_gzopen64.patch' (/home/test/angstrom/
openembedded/packages/libxml/files/libxml_gzopen64.patch)
NOTE: package libxml2-2.7.2-r0: task do_patch: completed
NOTE: package libxml2-2.7.2: completed
...

Still the exact same error remains ...

Any clues?

MoG

Stefan Buschmann

unread,
Mar 10, 2009, 1:41:04 PM3/10/09
to beagl...@googlegroups.com
Hi!

ti...@harbaum.org schrieb:


> Hmm, still not working here. The error is exactly the one from the
> initial posting. I also see that the libxml patch is actually being
> applied:
>
> NOTE: package libxml2-2.7.2-r0: task do_patch: started
> NOTE: Applying patch 'libxml_gzopen64.patch' (/home/test/angstrom/
> openembedded/packages/libxml/files/libxml_gzopen64.patch)
> NOTE: package libxml2-2.7.2-r0: task do_patch: completed
> NOTE: package libxml2-2.7.2: completed
> ...
>
> Still the exact same error remains ...
>
> Any clues?
>

I had the same issue, and the only way to solve it was to rebuild the
whole system. Yep, that sucked, but cleaning/rebuilding only the
mentioned packages did not work for me either. I guess that to many
packages rely on those packages (zlib and libxml2)...

Stefan

ti...@harbaum.org

unread,
Mar 11, 2009, 4:26:03 AM3/11/09
to Beagle Board
I solved this by manually going to the build directory of shared-mime-
info and doing a "configure" and "make" there. Afterwards bitbake was
able to continue.

On 10 Mrz., 18:41, Stefan Buschmann <s_buschm...@gmx.de> wrote:
> Hi!
>
> t...@harbaum.org schrieb:> Hmm, still not working here. The error is exactly the one from the

ti...@harbaum.org

unread,
Mar 12, 2009, 6:20:12 AM3/12/09
to Beagle Board
Ok, that only helped for the i686 part, the arm part still broke.

But i think i found something. I did notice, that these paths were
truncated:

me/developer/oe/tmp/work/i686-linux/shared-mime-info-native-0.51-r0/
shared-mime-info-0.51/po/../freedesktop.org.xml.in
me/developer/oe/tmp/work/i686-linux/shared-mime-info-native-0.51-r0/
shared-mime-info-0.51/po/../update-mime-database.c

They were truncated in my setup also. So i moved everything from /home/
harbaum
to /mnt and guess what? Now the build process passed shared-mime-info
without
errors ...

Hsun-Cheng Hu

unread,
Apr 5, 2009, 10:11:22 PM4/5/09
to Beagle Board
Hi all

has anyone solved this problem??

I met the same one. After downloading the patch provided by santosh,
it says

NOTE: Handling BitBake files: / (4995/6632) [75 %]ERROR: libxml2.inc:
1: unparsed line: '--- libxml2-2.7.2/libxml.h 2007-11-23
02:47:23.000000000 -0800' while parsing /OE/openembedded/recipes/
libxml/libxml2_2.7.2.bb
ERROR: /OE/openembedded/recipes/libxml/libxml2-native_2.7.2.bb:1:
unparsed line: '--- libxml2-2.7.2/libxml.h 2007-11-23
02:47:23.000000000 -0800' while parsing /OE/openembedded/recipes/
libxml/libxml2-native_2.7.2.bb

So, it doesn't work for me.
Reply all
Reply to author
Forward
0 new messages