<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 30 March 2017 at 00:08, Andrea Adami <span dir="ltr">&lt;<a href="mailto:andrea.adami@gmail.com" target="_blank">andrea.adami@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, Mar 29, 2017 at 10:40 PM, Christopher Larson &lt;<a href="mailto:kergoth@gmail.com">kergoth@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Wed, Mar 29, 2017 at 1:33 PM, Andrea Adami &lt;<a href="mailto:andrea.adami@gmail.com">andrea.adami@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Mar 28, 2017 at 6:14 PM, Christopher Larson &lt;<a href="mailto:kergoth@gmail.com">kergoth@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; From: Abdur Rehman &lt;<a href="mailto:abdur_rehman@mentor.com">abdur_rehman@mentor.com</a>&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; update_gio_module_cache intercept creates file:<br>
&gt;&gt; &gt; $D${libdir}/gio/modules/<wbr>giomodule.cache<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Change ownership of this file to root:root to avoid user contamination<br>
&gt;&gt; &gt; by host.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Signed-off-by: Abdur Rehman &lt;<a href="mailto:abdur_rehman@mentor.com">abdur_rehman@mentor.com</a>&gt;<br>
&gt;&gt; &gt; Signed-off-by: Christopher Larson &lt;<a href="mailto:chris_larson@mentor.com">chris_larson@mentor.com</a>&gt;<br>
&gt;&gt; &gt; ---<br>
&gt;&gt; &gt;  scripts/postinst-intercepts/<wbr>update_gio_module_cache | 2 ++<br>
&gt;&gt; &gt;  1 file changed, 2 insertions(+)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; diff --git a/scripts/postinst-intercepts/<wbr>update_gio_module_cache<br>
&gt;&gt; &gt; b/scripts/postinst-intercepts/<wbr>update_gio_module_cache<br>
&gt;&gt; &gt; index fe468092cf..92092f2144 100644<br>
&gt;&gt; &gt; --- a/scripts/postinst-intercepts/<wbr>update_gio_module_cache<br>
&gt;&gt; &gt; +++ b/scripts/postinst-intercepts/<wbr>update_gio_module_cache<br>
&gt;&gt; &gt; @@ -5,3 +5,5 @@ set -e<br>
&gt;&gt; &gt;  PSEUDO_UNLOAD=1 qemuwrapper -L $D -E<br>
&gt;&gt; &gt; LD_LIBRARY_PATH=$D${libdir}:$<wbr>D${base_libdir} \<br>
&gt;&gt; &gt;          $D${libexecdir}/${binprefix}<wbr>gio-querymodules<br>
&gt;&gt; &gt; $D${libdir}/gio/modules/<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; +chown root:root $D${libdir}/gio/modules/<wbr>giomodule.cache<br>
&gt;&gt; &gt; +<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; 2.11.1<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --<br>
&gt;&gt; &gt; ______________________________<wbr>_________________<br>
&gt;&gt; &gt; Openembedded-core mailing list<br>
&gt;&gt; &gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
&gt;&gt; &gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hello,<br>
&gt;&gt; There must be something wrong with this patch.<br>
&gt;&gt; After fresh pull of an hour ago I git:<br>
&gt;&gt;<br>
&gt;&gt; andrea@ThinkPad-T520:/oe/oe-<wbr>core/build$ bitbake core-image-base<br>
&gt;&gt; Loading cache: 100% |#############################<wbr>###############| Time:<br>
&gt;&gt; 0:00:00<br>
&gt;&gt; Loaded 2095 entries from dependency cache.<br>
&gt;&gt; NOTE: Resolving any missing task queue dependencies<br>
&gt;&gt;<br>
&gt;&gt; Build Configuration:<br>
&gt;&gt; BB_VERSION        = &quot;1.33.2&quot;<br>
&gt;&gt; BUILD_SYS         = &quot;x86_64-linux&quot;<br>
&gt;&gt; NATIVELSBSTRING   = &quot;ubuntu-16.04&quot;<br>
&gt;&gt; TARGET_SYS        = &quot;arm-oe-linux-gnueabi&quot;<br>
&gt;&gt; MACHINE           = &quot;c7x0&quot;<br>
&gt;&gt; DISTRO            = &quot;nodistro&quot;<br>
&gt;&gt; DISTRO_VERSION    = &quot;nodistro.0&quot;<br>
&gt;&gt; TUNE_FEATURES     = &quot;arm armv5 thumb dsp&quot;<br>
&gt;&gt; TARGET_FPU        = &quot;soft&quot;<br>
&gt;&gt; meta              = &quot;master:<wbr>c187326afcf1e9d781c1bd0923e136<wbr>2a6f50f613&quot;<br>
&gt;&gt; meta-handheld     = &quot;master:<wbr>f88f5bc546ec18de232a91dc1c8185<wbr>ad242c45f7&quot;<br>
&gt;&gt; meta-oe<br>
&gt;&gt; meta-initramfs    = &quot;master:<wbr>225e64d95bc41077782815f3dceb6f<wbr>2d1a42b167&quot;<br>
&gt;&gt;<br>
&gt;&gt; Initialising tasks: 100% |#############################<wbr>##########| Time:<br>
&gt;&gt; 0:00:08<br>
&gt;&gt; NOTE: Executing SetScene Tasks<br>
&gt;&gt; NOTE: Executing RunQueue Tasks<br>
&gt;&gt; WARNING: core-image-base-1.0-r0 do_rootfs: The postinstall intercept<br>
&gt;&gt; hook &#39;update_gio_module_cache&#39; failed (exit code: 1)! See log for<br>
&gt;&gt; details! (Output: b&#39;&#39;)<br>
&gt;&gt; WARNING: core-image-base-1.0-r0 do_rootfs: The postinstalls for the<br>
&gt;&gt; following packages will be postponed for first boot: libglib-2.0-0<br>
&gt;&gt; NOTE: Tasks Summary: Attempted 3440 tasks of which 3427 didn&#39;t need to<br>
&gt;&gt; be rerun and all succeeded.<br>
&gt;<br>
&gt;<br>
&gt; Odd, we’ve been running with this applied for ages. Is there anything useful<br>
&gt; in do_rootfs? I’ll attempt to repro here. Thanks, and sorry for the hassle.<br>
&gt; --<br>
<br>
</div></div>There is just a laconical message:<br>
<br>
NOTE: Running intercept scripts:<br>
NOTE: &gt; Executing update_gio_module_cache intercept ...<br>
chown: cannot access<br>
&#39;/tmp/build/tmp-glibc/work/<wbr>c7x0-oe-linux-gnueabi/core-<wbr>image-base/1.0-r0/rootfs/usr/<wbr>lib/gio/modules/giomodule.<wbr>cache&#39;:<br>
No such file or directory<br>
<br>
Here the permissions:<br>
andrea@ThinkPad-T520:/tmp/<wbr>build/tmp-glibc/work/c7x0-oe-<wbr>linux-gnueabi/core-image-base/<wbr>1.0-r0/rootfs/usr/lib/gio$<br>
ls -al<br>
total 0<br>
drwxr-xr-x 3 andrea andrea   60 mar 29 21:33 .<br>
drwxr-xr-x 6 andrea andrea 1660 mar 29 22:51 ..<br>
drwxr-xr-x 2 andrea andrea   40 mar 29 21:33 modules<br></blockquote><div><br></div><div>Can you check if usr/lib/gio/modules/giomodule.cache really exists or not? And if it does not, what the gio-querymodules call looks like in temp/run.do_rootfs?<br></div><div><br></div><div>Jussi</div></div></div></div>