Console-image fails to build (dropbear fails install)

Hi,

Last nights update to dropbear prevents console-image for beagleboard from building.

OE:beagleboard john.stower@bikini:~/beagle/oe/org.openembedded.dev$ bitbake console-image

NOTE: package dropbear-0.51-r1.01: task do_install: started
ERROR: function do_install failed
ERROR: log data follows (/exports/john_tmp/built/work/armv7a-angstrom-linux-gnueabi/dropbear-0.51-r1.01/temp/log.do_install.19101)
NOTE: Task failed: /exports/john_tmp/built/work/armv7a-angstrom-linux-gnueabi/dropbear-0.51-r1.01/temp/log.do_install.19101
NOTE: package dropbear-0.51-r1.01: task do_install: failed
ERROR: TaskFailed event exception, aborting
NOTE: package dropbear-0.51: failed
ERROR: Build of /home/john.stower/beagle/oe/org.openembedded.dev/packages/dropbear/dropbear_0.51.bb do_install failed
ERROR: Task 480 (/home/john.stower/beagle/oe/org.openembedded.dev/packages/dropbear/dropbear_0.51.bb, do_install) failed
NOTE: Tasks Summary: Attempted 1428 tasks of which 1428 didn’t need to be rerun and 1 failed.
ERROR: ‘/home/john.stower/beagle/oe/org.openembedded.dev/packages/dropbear/dropbear_0.51.bb’ failed
NOTE: build 200810301319: completed

Nothing is written to the logfile so I dont know what is wrong.

John

Hi,

Last nights update to dropbear prevents console-image for beagleboard from
building.

One of the openmoko people made a think in do_install:

test -e foo && bar will make it exit with an error is 'foo' is not
there.

Should be fixed now.

regards,

Koen

I too am getting a failure when building console image -- with
preferred virtual/kernel="linux-omap".

NOTE: package shared-mime-info-native-0.51: started
NOTE: package shared-mime-info-native-0.51-r0: task do_qa_configure:
started
NOTE: Checking sanity of the config.log file
NOTE: package shared-mime-info-native-0.51-r0: task do_qa_configure:
completed
NOTE: package shared-mime-info-native-0.51: completed
NOTE: Running task 731 of 2080 (ID: 2021, /home/build/oe/openembedded/
packages/shared-mime-info/shared-mime-info-native_0.51.bb, do_compile)
NOTE: package shared-mime-info-native-0.51: started
NOTE: package shared-mime-info-native-0.51-r0: task do_compile:
started
ERROR: function do_compile failed
ERROR: see log in /home/build/oe/tmp/work/i686-linux/shared-mime-info-
native-0.51-r0/temp/log.do_compile.11421

When I look in the log file, I find:

/usr/bin/ld: cannot find -lgio-2.0
collect2: ld returned 1 exit status
make[1]: *** [test-tree-magic] Error 1

Any ideas how to cure this?

Thanks.
Geof

That should be fixed by:
http://gitweb.openembedded.net/?p=openembedded.git;a=commitdiff;h=bfa489ee37aa8c752bb5a7981caae1972fbb4329

regards,

Koen

Thanks Koen,
this works for me too.
I just execute:
cd $OE_HOME/openembedded
git pull
git checkout

and then

cd $OE_HOME
bitbake console-image

and this time works like a charm!

Clemente.

Hi,
  I blew away my OE tree, rebuilt console-image from scratch and
achieved a successful build.
  I next decided to try a uclibc console-image and ran into problems.
My settings are
TARGET_OS = "linux-ulibc"
ANGSTROM_MODE= 'uclibc"

Error I received:
......

  CC libc/sysdeps/linux/common/capset.os
  CC libc/sysdeps/linux/common/chdir.os
In file included from ./include/limits.h:124,
                 from ./include/sys/param.h:22,
                 from libc/sysdeps/linux/common/chdir.c:13:
/mnt/PROJECTS/BeagleBoard/OE/build/tmp/staging/armv7a-angstrom-linux-uclibcgnueabi/usr/include/limits.h:124:26:

error: li

make[1]: *** [libc/sysdeps/linux/common/chdir.os] Error 1
make: *** [lib/libc.so.0] Error 2
FATAL: oe_runmake failed

I know this is an old uClibc release but am I missing something?

regards
  George Boudreau

Please ignore my ramblings, I jumped the gun.
I created a patch from the 0.9.30-rc3 release for 0.9.29 base code.

Please don't set TARGET_OS yourself, ANGSTROM_MODE takes care of it.
You case is a nice example since you set TARGET_OS to 'linux-uclibc'
while you want it to be 'linux-uclibc-gnueabi' :slight_smile:

regards,

Koen