<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
If you look at the log.do_rootfs it will give you more or less the
exact failure(using the message below as a guide), the error message
below is basically<br>
the final catchall that says "at least one of them failed, please go
fix it" kind of message.<br>
<br>
<div class="moz-cite-prefix">On 2/14/2020 10:30 AM, Andrew Boos
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGgh2e_TzXNQejWMog37ad7kf-ruSiRw-rvCC_NpOF-PjMbUhg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Thanks Jeremy for the hint about
update-alternatives. It turns out that lmbench was installing a
binary called "stream" that conflicts with ImageMagick's own
stream. All we had to do was remove lmbench from our
IMAGE_INSTALL and the problem went away. I'm posting the
original error for anyone that is having the same issue.
<div><br>
</div>
<div>ERROR: imx8-image-3.0b3-r0 do_rootfs: Postinstall
scriptlets of ['imagemagick'] have failed. If the intention is
to defer them to first boot,<br>
then please place them into pkg_postinst_ontarget_${PN} ().<br>
Deferring to first boot via 'exit 1' is no longer supported.<br>
</div>
<div><br>
</div>
<div>Andrew</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Feb 13, 2020 at 8:02
PM Jeremy A. Puhlman <<a href="mailto:jpuhlman@mvista.com"
moz-do-not-send="true">jpuhlman@mvista.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> <font size="+1"><tt>In these kind of cases, by
providing the actual error message, people can provide
more help. </tt><tt><br>
</tt><tt><br>
</tt><tt>The recipe inherits </tt></font><tt><span style="color:rgb(36,41,46);font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><font size="+1">update-alternatives and sets a large number of alternatives. The alternatives
are done in the automatically added post install scripts. In all likelihood one of the listed links
is wrong, or already a symlink or something similar.</font>
</span></tt><br>
<div>On 2/13/2020 4:49 PM, Andrew Boos wrote:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div dir="auto">Hi,</div>
<div dir="auto"><br>
</div>
<div dir="auto">I am working on a bitbake build and I am
running into an issue where a postinst scriptlet is
failing via "exit 1" to defer to first boot and I
cannot figure out which recipe is causing the issue.
Does anybody have any tips on identifying which recipe
is actually exiting with a failure? The error log says
that it is in imagemagick but the recipe does not have
any postinst scripts defined. Also, there are no
imagemagick .bbappend files in my layers. (<a
href="https://github.com/openembedded/meta-openembedded/blob/sumo/meta-oe/recipes-support/imagemagick/imagemagick_7.0.7.bb"
target="_blank" moz-do-not-send="true">https://github.com/openembedded/meta-openembedded/blob/sumo/meta-oe/recipes-support/imagemagick/imagemagick_7.0.7.bb</a>)</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks,</div>
<div dir="auto">Andrew</div>
</div>
<div
id="gmail-m_-7702559278781328841DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid rgb(211,212,222)">
<tbody>
<tr>
<td style="width:55px;padding-top:13px"><a
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
target="_blank" moz-do-not-send="true"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png"
alt="" style="width: 46px; height: 29px;"
moz-do-not-send="true" width="46"
height="29"></a></td>
<td
style="width:470px;padding-top:12px;color:rgb(65,66,78);font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virus-free.
<a
href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
style="color:rgb(68,83,234)" target="_blank"
moz-do-not-send="true">www.avg.com</a> </td>
</tr>
</tbody>
</table>
<a
href="#m_-7702559278781328841_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"
width="1" height="1" moz-do-not-send="true"> </a></div>
<br>
<fieldset></fieldset>
</blockquote>
<br>
<pre cols="72">--
Jeremy A. Puhlman
<a href="mailto:jpuhlman@mvista.com" target="_blank" moz-do-not-send="true">jpuhlman@mvista.com</a>
</pre>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div
style="color:rgb(0,0,0);font-family:Verdana;font-size:13.3333px"><strong>Andrew
Boos</strong> | Avilution, LLC</div>
<div
style="color:rgb(0,0,0);font-family:Verdana;font-size:13.3333px">(c)
251-895-5509</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Jeremy A. Puhlman
<a class="moz-txt-link-abbreviated" href="mailto:jpuhlman@mvista.com">jpuhlman@mvista.com</a>
</pre>
</body>
</html>