Hi Manju!

> On Dec 13, 2019, at 13:11, Manjukumar Harthikote Matha <[email protected]> 
> wrote:
> 
> xsct-tc inherits xsct-tarball, not sure how this will fix the issue you are 
> seeing.
> https://github.com/Xilinx/meta-xilinx-tools/blob/rel-v2019.2/classes/xsct-tc.bbclass#L1

Currently yes, correct. The problem is that the layer.conf inherits xsct-tc 
instead of
just xsct-tarball which actually contains the required event handler bits.

> 
>> Maxime and I were thinking that the xsct tarball could be refactored into a
>> recipe which bundles up the toolchain perhaps so that only recipes that need 
>> the
>> toolchain (those that inherit xsct-tc.bbclass) would get the toolchain in 
>> their
>> recipe-sysroot.
>> 
> 
> Does this help?
> https://github.com/Xilinx/meta-xilinx-tools/commit/143bc2f3e622805e432584a587cf32cfce02d3b1#diff-e0bda8197e58839fe38b56adbfec55ff

I haven't tried it but right off the bat, I would say that the problem is that 
layer.conf
making everyone inherit xsct-tc. So this change would not help in any way.

To replicate, just `bitbake -c install gdk-pixmap` (specify "install" so actual 
work is
done, not just setscenes) with meta-xilinx-tools in your bblayers.conf, then
`grep -rI sysroot-xsct tmp/work/aarch*/gdk-pixmap`

You should find that gtk-doc in the recipe sysroot has seized
/builds/yocto/*/tmp/sysroots-xsct/Scout/2019.1/bin/xsltproc
in a file called config.py. Also, that meson.build file I pointed out should 
have found
xsltproc too and thus enabled man creation because of `xsltproc.found()` being 
true.

We suspect that other build configurations using things like cmake's 
find_program(...) and
whatever autotools uses to accomplish the same thing might fall "prey" to 
binaries found
in xsct paths.

Surely, INHERIT xsct-tc for all (class-native, class-sdk, class-target, mc) and 
thus
affecting the PATH for ALL recipes like that is a bit of a blunt way to 
accomplish
the auto preparation of the xsct-tarball.

Indeed that commit you pointed out is a nice improvement. But this following 
change would
fix things:

diff --git a/conf/layer.conf b/conf/layer.conf
index 14436a1..38567b0 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -19,5 +19,5 @@ XILINX_VER_MAIN ??= "2019.1"
 SDK_LOCAL_CONF_WHITELIST_append = " XILINX_SDK_TOOLCHAIN XILINX_VER_MAIN"
 
 HOSTTOOLS += "ps"
-INHERIT += "xsct-tc"
+INHERIT += "xsct-tarball"
 LAYERSERIES_COMPAT_xilinx-tools = "sumo thud zeus"

(Oh! A you just saw, we are running this on zeus if that makes any difference. 
If it is just
occuring on zeus, I guess we got lucky, but the disruptive potential of 
changing PATH for all
remains.)

And BTW, changing the INHERIT above unfortunately doesn't affect the sstate 
hashes! A force
build is required... well, in the case of gtk-doc and gdk-pixbuf anyway.

Cheers!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#4589): 
https://lists.yoctoproject.org/g/meta-xilinx/message/4589
Mute This Topic: https://lists.yoctoproject.org/mt/68534996/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to