Hi Quentin, ________________________________________ Von: Quentin Schulz <quentin.sch...@theobroma-systems.com>
> What does > bitbake-getvar -r libxml2-native PACKAGECONFIG > and > bitbake-getvar -r libxml2 PACKAGECONFIG > > return? Here is the output of the respective commands: $ bitbake-getvar -r libxml2-native PACKAGECONFIG # # $PACKAGECONFIG [6 operations] # :append[pn-qemu-system-native] /home/hosebert.ext/data/poky-python-getvar/build/conf/local.conf:251 # " sdl" # :remove[class-target:pn-libxml2] /home/hosebert.ext/data/poky-python-getvar/build/conf/local.conf:292 # "python" # set /home/hosebert.ext/data/poky-python-getvar/meta/conf/documentation.conf:320 # [doc] "This variable provides a means of enabling or disabling features of a recipe on a per-recipe basis." # set /home/hosebert.ext/data/poky-python-getvar/meta/recipes-core/libxml/libxml2_2.11.5.bb:32 # [_defaultval] "python ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} " # set /home/hosebert.ext/data/poky-python-getvar/meta/recipes-core/libxml/libxml2_2.11.5.bb:33 # [python] "--with-python=${PYTHON},--without-python,python3" # set /home/hosebert.ext/data/poky-python-getvar/meta/recipes-core/libxml/libxml2_2.11.5.bb:34 # [ipv6] "--enable-ipv6,--disable-ipv6," # pre-expansion value: # "python ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} " PACKAGECONFIG="python ipv6 " $ bitbake-getvar -r libxml2 PACKAGECONFIG # # $PACKAGECONFIG [6 operations] # :append[pn-qemu-system-native] /home/hosebert.ext/data/poky-python-getvar/build/conf/local.conf:251 # " sdl" # :remove[class-target:pn-libxml2] /home/hosebert.ext/data/poky-python-getvar/build/conf/local.conf:292 # "python" # set /home/hosebert.ext/data/poky-python-getvar/meta/conf/documentation.conf:320 # [doc] "This variable provides a means of enabling or disabling features of a recipe on a per-recipe basis." # set /home/hosebert.ext/data/poky-python-getvar/meta/recipes-core/libxml/libxml2_2.11.5.bb:32 # [_defaultval] "python ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} " # set /home/hosebert.ext/data/poky-python-getvar/meta/recipes-core/libxml/libxml2_2.11.5.bb:33 # [python] "--with-python=${PYTHON},--without-python,python3" # set /home/hosebert.ext/data/poky-python-getvar/meta/recipes-core/libxml/libxml2_2.11.5.bb:34 # [ipv6] "--enable-ipv6,--disable-ipv6," # pre-expansion value: # "python ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} " PACKAGECONFIG=" ipv6 " So ... PACKAGECONFIG seems o.k. Notice, however, that the value of the PYTHON variable is incorrect: $ bitbake-getvar -r libxml2-native PYTHON # # $PYTHON # set /home/hosebert.ext/data/poky-python-getvar/meta/conf/bitbake.conf:575 # "${@sys.executable}" PYTHON="/usr/bin/python3" It points to the host's Python installation and not the one in Yocto! Best, Holger
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62248): https://lists.yoctoproject.org/g/yocto/message/62248 Mute This Topic: https://lists.yoctoproject.org/mt/103871920/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-