[OE-core] [PATCH] pango: Fix postinst

Richard Purdie richard.purdie at linuxfoundation.org
Thu Feb 27 22:17:53 UTC 2014


On Thu, 2014-02-27 at 23:15 +0100, Martin Jansa wrote:
> On Thu, Feb 27, 2014 at 09:20:38PM +0100, Martin Jansa wrote:
> > * do_split_packages was appending call to
> >   ${bindir}/${MLPREFIX}pango-querymodules
> >   without $D prefix or test if $D is empty, so it was always
> >   failing on buildhostis without pango-querymodules and such
> >   failure is fatal when rootfs is read-only (do_rootfs fails
> >   because some packages weren't configured)
> 
> Something is wrong, in theory the
> if [ "x$D" != "x" ]; then
> case should always exit with 0 or 1 before it reaches the call added by
> do_split_packages so it has to be qemu_run_binary call failing and
> causing exit 1

Saul's error shows the shell parser in bitbake exiting. The function in
question isn't getting run, its never getting past the parsing stage. As
Saul mentions, it appears the if/fi balance isn't correct which would
upset the shell parser...

Cheers,

Richard




More information about the Openembedded-core mailing list