[poky] Can't build glib-2.0
Gary Thomas
gary at mlbassoc.com
Mon Dec 5 09:23:28 PST 2011
On 2011-12-05 10:18, McClintock Matthew-B29882 wrote:
> On Mon, Dec 5, 2011 at 11:11 AM, Gary Thomas<gary at mlbassoc.com> wrote:
>> NOTE: package glib-2.0-1_2.30.1-r0: task do_install: Started
>> ERROR: Function 'do_install' failed (see
>> /home/local/p60_poky/tmp/work/armv7a-vfp-neon-amltd-linux-gnueabi/glib-2.0-1_2.30.1-r0/temp/log.do_install.8610
>> for further information)
>> ERROR: Logfile of failure stored in:
>> /home/local/p60_poky/tmp/work/armv7a-vfp-neon-amltd-linux-gnueabi/glib-2.0-1_2.30.1-r0/temp/log.do_install.8610
>> Log data follows:
>> | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
>> 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
>> | ERROR: Function 'do_install' failed (see
>> /home/local/p60_poky/tmp/work/armv7a-vfp-neon-amltd-linux-gnueabi/glib-2.0-1_2.30.1-r0/temp/log.do_install.8610
>> for further information)
>> |
>> /home/local/p60_poky/tmp/work/armv7a-vfp-neon-amltd-linux-gnueabi/glib-2.0-1_2.30.1-r0/temp/run.do_install.8610:
>> line 96: oe_runmake: command not found
>> NOTE: package glib-2.0-1_2.30.1-r0: task do_install: Failed
>
> What's on line 96?
The normal 'autotools_do_install' boilerplate:
autotools_do_install() {
oe_runmake 'DESTDIR=/home/local/p60_poky/tmp/work/armv7a-vfp-neon-amltd-linux-gnueabi/glib-2.0-1_2.30.1-r0/image' install
# Info dir listing isn't interesting at this point so remove it if it exists.
if [ -e "/home/local/p60_poky/tmp/work/armv7a-vfp-neon-amltd-linux-gnueabi/glib-2.0-1_2.30.1-r0/image/usr/share/info/dir" ]; then
rm -f /home/local/p60_poky/tmp/work/armv7a-vfp-neon-amltd-linux-gnueabi/glib-2.0-1_2.30.1-r0/image/usr/share/info/dir
fi
}
What's missing is the functions which should be coming from base.bbclass.
I looked at an older build of glib-2.0 and these functions are missing:
==============================================================
oe_runmake() {
if [ x"$MAKE" = x ]; then MAKE=make; fi
bbnote make -j 4 "$@"
make -j 4 "$@" || die "oe_runmake failed"
}
die() {
bbfatal "$*"
}
bbnote() {
echo "NOTE: $*"
}
bbfatal() {
echo "ERROR: $*"
exit 1
}
==============================================================
Why would they be missing from this run.do_install script?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the poky
mailing list