* Can't build glib-2.0
@ 2011-12-05 17:11 Gary Thomas
2011-12-05 17:18 ` McClintock Matthew-B29882
2011-12-05 19:47 ` Tom Rini
0 siblings, 2 replies; 6+ messages in thread
From: Gary Thomas @ 2011-12-05 17:11 UTC (permalink / raw)
To: Poky Project
OE Build Configuration:
BB_VERSION = "1.15.0"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "cobra3530p60"
DISTRO = "amltd"
DISTRO_VERSION = "1.1+snapshot-20111205"
TUNE_FEATURES = "armv7a vfp neon cortexa8"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "master:e5b9ac3b71b6c16fb9a629f12e4d83103db2d5b0"
...
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
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can't build glib-2.0
2011-12-05 17:11 Can't build glib-2.0 Gary Thomas
@ 2011-12-05 17:18 ` McClintock Matthew-B29882
2011-12-05 17:23 ` Gary Thomas
2011-12-05 19:47 ` Tom Rini
1 sibling, 1 reply; 6+ messages in thread
From: McClintock Matthew-B29882 @ 2011-12-05 17:18 UTC (permalink / raw)
To: Gary Thomas; +Cc: Poky Project
On Mon, Dec 5, 2011 at 11:11 AM, Gary Thomas <gary@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?
-M
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can't build glib-2.0
2011-12-05 17:18 ` McClintock Matthew-B29882
@ 2011-12-05 17:23 ` Gary Thomas
2011-12-05 17:25 ` McClintock Matthew-B29882
0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2011-12-05 17:23 UTC (permalink / raw)
To: McClintock Matthew-B29882; +Cc: Poky Project
On 2011-12-05 10:18, McClintock Matthew-B29882 wrote:
> On Mon, Dec 5, 2011 at 11:11 AM, Gary Thomas<gary@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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can't build glib-2.0
2011-12-05 17:23 ` Gary Thomas
@ 2011-12-05 17:25 ` McClintock Matthew-B29882
0 siblings, 0 replies; 6+ messages in thread
From: McClintock Matthew-B29882 @ 2011-12-05 17:25 UTC (permalink / raw)
To: Gary Thomas; +Cc: McClintock Matthew-B29882, Poky Project
On Mon, Dec 5, 2011 at 11:23 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> 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?
Is your recipe inheriting anything from base.bbclass?
-M
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can't build glib-2.0
2011-12-05 17:11 Can't build glib-2.0 Gary Thomas
2011-12-05 17:18 ` McClintock Matthew-B29882
@ 2011-12-05 19:47 ` Tom Rini
2011-12-07 15:53 ` Gary Thomas
1 sibling, 1 reply; 6+ messages in thread
From: Tom Rini @ 2011-12-05 19:47 UTC (permalink / raw)
To: Gary Thomas; +Cc: Poky Project
On Mon, Dec 5, 2011 at 10:11 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> OE Build Configuration:
> BB_VERSION = "1.15.0"
> TARGET_ARCH = "arm"
> TARGET_OS = "linux-gnueabi"
> MACHINE = "cobra3530p60"
> DISTRO = "amltd"
> DISTRO_VERSION = "1.1+snapshot-20111205"
> TUNE_FEATURES = "armv7a vfp neon cortexa8"
> TARGET_FPU = "vfp-neon"
> meta
> meta-yocto = "master:e5b9ac3b71b6c16fb9a629f12e4d83103db2d5b0"
> ...
> 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
>
Have you made any changes recently? Often this is a mismatch ', `, "
or similar somewhere.
--
Tom
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Can't build glib-2.0
2011-12-05 19:47 ` Tom Rini
@ 2011-12-07 15:53 ` Gary Thomas
0 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2011-12-07 15:53 UTC (permalink / raw)
To: Tom Rini; +Cc: Poky Project
On 2011-12-05 12:47, Tom Rini wrote:
> On Mon, Dec 5, 2011 at 10:11 AM, Gary Thomas<gary@mlbassoc.com> wrote:
>> OE Build Configuration:
>> BB_VERSION = "1.15.0"
>> TARGET_ARCH = "arm"
>> TARGET_OS = "linux-gnueabi"
>> MACHINE = "cobra3530p60"
>> DISTRO = "amltd"
>> DISTRO_VERSION = "1.1+snapshot-20111205"
>> TUNE_FEATURES = "armv7a vfp neon cortexa8"
>> TARGET_FPU = "vfp-neon"
>> meta
>> meta-yocto = "master:e5b9ac3b71b6c16fb9a629f12e4d83103db2d5b0"
>> ...
>> 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
>>
>
> Have you made any changes recently? Often this is a mismatch ', `, "
> or similar somewhere.
>
No local changes, it just wasn't working. I updated master (again) to
meta
meta-yocto = "master:f17e0ae38b2e6c4cbe7f0f9d76c3e1a386335fd1"
and now it builds. Don't know what the problem was, but I'm happy with
it working once again.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-12-07 15:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05 17:11 Can't build glib-2.0 Gary Thomas
2011-12-05 17:18 ` McClintock Matthew-B29882
2011-12-05 17:23 ` Gary Thomas
2011-12-05 17:25 ` McClintock Matthew-B29882
2011-12-05 19:47 ` Tom Rini
2011-12-07 15:53 ` Gary Thomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.