[OE-core] Interesting case of different signature in TUNE_PKGARCH recipe
Martin Jansa
martin.jansa at gmail.com
Sat Nov 16 15:57:04 UTC 2013
Found in:
meta-oe/meta-oe/recipes-multimedia/libdvdread/libdvdread_4.2.0.bb
this line:
CONFIGUREOPTS := "${@d.getVar('CONFIGUREOPTS', True).replace('--disable-silent-rules', ' ')}"
is able to trick variable tracking code to forget that STAGING_DIR_HOST is included in
BB_HASHBASE_WHITELIST, it came from:
meta/classes/autotools.bbclass:def append_libtool_sysroot(d):
--with-libtool-sysroot=${STAGING_DIR_HOST}
So it behaves like with
CONFIGUREOPTS[vardepvalue] = "${CONFIGUREOPTS}"
And the result is:
basehash changed from c54dc1c615c0a94b3e5a072c72325ba3 to 6bea3354c011fa0e4dce25bba058806b
Variable CONFIGUREOPTS value changed from '
--build=x86_64-linux
--host=i586-webos-linux
--target=i586-webos-linux
--prefix=/usr
--exec_prefix=/usr
--bindir=/usr/bin
--sbindir=/usr/sbin
--libexecdir=/usr/lib/libdvdread
--datadir=/usr/share
--sysconfdir=/etc
--sharedstatedir=/com
--localstatedir=/var
--libdir=/usr/lib
--includedir=/usr/include
--oldincludedir=/usr/include
--infodir=/usr/share/info
--mandir=/usr/share/man
--disable-dependency-tracking
--with-libtool-sysroot=/home/mjansa/build-webos/BUILD-qemux86copy/sysroots/qemux86copy' to '
--build=x86_64-linux
--host=i586-webos-linux
--target=i586-webos-linux
--prefix=/usr
--exec_prefix=/usr
--bindir=/usr/bin
--sbindir=/usr/sbin
--libexecdir=/usr/lib/libdvdread
--datadir=/usr/share
--sysconfdir=/etc
--sharedstatedir=/com
--localstatedir=/var
--libdir=/usr/lib
--includedir=/usr/include
--oldincludedir=/usr/include
--infodir=/usr/share/info
--mandir=/usr/share/man
--disable-dependency-tracking
--with-libtool-sysroot=/home/mjansa/build-webos/BUILD-qemux86/sysroots/qemux86'
Good news is that rewriting that line with new _remove operator as:
CONFIGUREOPTS_remove = "--disable-silent-rules"
makes signatures the same.
For curious people there is bitbake-diffsigs between old CONFIGUREOPTS line and new one:
Task dependencies changed from:
['ABIEXTENSION', 'ACLOCALDIR', 'AR', 'ARMPKGARCH', 'ARMPKGARCH_tune-cortexa8t-neon', 'ARMPKGSFX_DSP', 'ARMPKGSFX_EABI', 'ARMPKGSFX_ENDIAN', 'ARMPKGSFX_FPU', 'ARMPKGSFX_THUMB', 'AS', 'ASNEEDED', 'AUTOTOOLS_AUXDIR', 'B', 'BASE_WORKDIR', 'BP', 'BPN', 'BUILD_AR', 'BUILD_ARCH', 'BUILD_AS', 'BUILD_AS_ARCH', 'BUILD_CC', 'BUILD_CCLD', 'BUILD_CC_ARCH', 'BUILD_CFLAGS', 'BUILD_CPP', 'BUILD_CPPFLAGS', 'BUILD_CXX', 'BUILD_CXXFLAGS', 'BUILD_F77', 'BUILD_LD', 'BUILD_LDFLAGS', 'BUILD_LD_ARCH', 'BUILD_NM', 'BUILD_OPTIMIZATION', 'BUILD_OS', 'BUILD_PREFIX', 'BUILD_RANLIB', 'BUILD_STRIP', 'BUILD_SYS', 'BUILD_VENDOR', 'CACHED_CONFIGUREVARS', 'CC', 'CCLD', 'CC_FOR_BUILD', 'CFLAGS', 'CFLAGS_FOR_BUILD', 'CONFIGUREOPTS', 'CONFIG_SITE', 'CPP', 'CPPFLAGS', 'CPPFLAGS_FOR_BUILD', 'CPP_FOR_BUILD', 'CXX', 'CXXFLAGS', 'CXXFLAGS_FOR_BUILD', 'CXX_FOR_BUILD', 'DEBUG_BUILD', 'DEBUG_FLAGS', 'DEBUG_OPTIMIZATION', 'DEFAULTTUNE', 'EXTENDPE', 'EXTRA_AUTORECONF', 'EXTRA_OECONF', 'F77', 'FULL_OPTIMIZATION', 'HOST_ARCH', 'HOST_AS_ARCH', 'HOST_CC_ARCH', 'HOST_LD_ARCH', 'HOST_OS', 'HOST_PREFIX', 'LC_ALL', 'LD', 'LDFLAGS', 'LDFLAGS_FOR_BUILD', 'LD_FOR_BUILD', 'LIBCEXTENSION', 'LINKER_HASH_STYLE', 'MAKE', 'MULTIMACH_TARGET_SYS', 'NM', 'OBJCOPY', 'OBJDUMP', 'PACKAGE_ARCH', 'PATCH_GET', 'PE', 'PKG_CONFIG_DIR', 'PKG_CONFIG_DISABLE_UNINSTALLED', 'PKG_CONFIG_LIBDIR', 'PKG_CONFIG_PATH', 'PKG_CONFIG_SYSROOT_DIR', 'PN', 'PR', 'PSEUDO_DISABLED', 'PV', 'RANLIB', 'S', 'SELECTED_OPTIMIZATION', 'SITECONFIG_SYSROOTCACHE', 'SPECIAL_PKGSUFFIX', 'STAGING_BASE_LIBDIR_NATIVE', 'STAGING_DATADIR', 'STAGING_DATADIR_NATIVE', 'STAGING_DIR', 'STAGING_DIR_NATIVE', 'STAGING_INCDIR_NATIVE', 'STAGING_LIBDIR_NATIVE', 'STRINGS', 'STRIP', 'TARGET_ARCH', 'TARGET_AS_ARCH', 'TARGET_CC_ARCH', 'TARGET_CFLAGS', 'TARGET_CPPFLAGS', 'TARGET_CXXFLAGS', 'TARGET_LDFLAGS', 'TARGET_LD_ARCH', 'TARGET_LINK_HASH_STYLE', 'TARGET_OS', 'TARGET_PREFIX', 'TARGET_SYS', 'TARGET_VENDOR', 'TOOLCHAIN_OPTIONS', 'TUNE_ASARGS', 'TUNE_CCARGS', 'TUNE_FEATURES', 'TUNE_FEATURES_tune-armv7a', 'TUNE_FEATURES_tune-armv7at', 'TUNE_FEATURES_tune-armv7at-neon', 'TUNE_FEATURES_tune-cortexa8t-neon', 'TUNE_LDARGS', 'TUNE_PKGARCH', 'WORKDIR', 'acpaths', 'autotools_copy_aclocal', 'autotools_do_configure', 'base_bindir', 'base_libdir', 'base_libdir_native', 'base_prefix', 'base_prune_suffix', 'base_sbindir', 'baselib', 'bbfatal', 'bbnote', 'bindir', 'datadir', 'datadir_native', 'do_configure[umask]', 'docdir', 'exec_prefix', 'includedir', 'includedir_native', 'infodir', 'libdir', 'libdir_native', 'libexecdir', 'localstatedir', 'lt_cv_sys_lib_dlsearch_path_spec', 'mandir', 'nonarch_base_libdir', 'oe_runconf', 'oldincludedir', 'prefix', 'prefix_native', 'sbindir', 'servicedir', 'sharedstatedir', 'siteinfo_data', 'siteinfo_get_files', 'sysconfdir', 'systemd_unitdir']
to:
['ABIEXTENSION', 'ACLOCALDIR', 'AR', 'ARMPKGARCH', 'ARMPKGARCH_tune-cortexa8t-neon', 'ARMPKGSFX_DSP', 'ARMPKGSFX_EABI', 'ARMPKGSFX_ENDIAN', 'ARMPKGSFX_FPU', 'ARMPKGSFX_THUMB', 'AS', 'ASNEEDED', 'AUTOTOOLS_AUXDIR', 'B', 'BASE_WORKDIR', 'BP', 'BPN', 'BUILD_AR', 'BUILD_ARCH', 'BUILD_AS', 'BUILD_AS_ARCH', 'BUILD_CC', 'BUILD_CCLD', 'BUILD_CC_ARCH', 'BUILD_CFLAGS', 'BUILD_CPP', 'BUILD_CPPFLAGS', 'BUILD_CXX', 'BUILD_CXXFLAGS', 'BUILD_F77', 'BUILD_LD', 'BUILD_LDFLAGS', 'BUILD_LD_ARCH', 'BUILD_NM', 'BUILD_OPTIMIZATION', 'BUILD_OS', 'BUILD_PREFIX', 'BUILD_RANLIB', 'BUILD_STRIP', 'BUILD_SYS', 'BUILD_VENDOR', 'CACHED_CONFIGUREVARS', 'CC', 'CCLD', 'CC_FOR_BUILD', 'CFLAGS', 'CFLAGS_FOR_BUILD', 'CONFIGUREOPTS', 'CONFIGUREOPT_DEPTRACK', 'CONFIG_SITE', 'CPP', 'CPPFLAGS', 'CPPFLAGS_FOR_BUILD', 'CPP_FOR_BUILD', 'CXX', 'CXXFLAGS', 'CXXFLAGS_FOR_BUILD', 'CXX_FOR_BUILD', 'DEBUG_BUILD', 'DEBUG_FLAGS', 'DEBUG_OPTIMIZATION', 'DEFAULTTUNE', 'EXTENDPE', 'EXTRA_AUTORECONF', 'EXTRA_OECONF', 'F77', 'FULL_OPTIMIZATION', 'HOST_ARCH', 'HOST_AS_ARCH', 'HOST_CC_ARCH', 'HOST_LD_ARCH', 'HOST_OS', 'HOST_PREFIX', 'HOST_SYS', 'HOST_VENDOR', 'LC_ALL', 'LD', 'LDFLAGS', 'LDFLAGS_FOR_BUILD', 'LD_FOR_BUILD', 'LIBCEXTENSION', 'LINKER_HASH_STYLE', 'MAKE', 'MULTIMACH_TARGET_SYS', 'NM', 'OBJCOPY', 'OBJDUMP', 'PACKAGE_ARCH', 'PATCH_GET', 'PE', 'PKG_CONFIG_DIR', 'PKG_CONFIG_DISABLE_UNINSTALLED', 'PKG_CONFIG_LIBDIR', 'PKG_CONFIG_PATH', 'PKG_CONFIG_SYSROOT_DIR', 'PN', 'PR', 'PSEUDO_DISABLED', 'PV', 'RANLIB', 'S', 'SELECTED_OPTIMIZATION', 'SITECONFIG_SYSROOTCACHE', 'SPECIAL_PKGSUFFIX', 'STAGING_BASE_LIBDIR_NATIVE', 'STAGING_DATADIR', 'STAGING_DATADIR_NATIVE', 'STAGING_DIR', 'STAGING_DIR_NATIVE', 'STAGING_INCDIR_NATIVE', 'STAGING_LIBDIR_NATIVE', 'STRINGS', 'STRIP', 'TARGET_ARCH', 'TARGET_AS_ARCH', 'TARGET_CC_ARCH', 'TARGET_CFLAGS', 'TARGET_CPPFLAGS', 'TARGET_CXXFLAGS', 'TARGET_LDFLAGS', 'TARGET_LD_ARCH', 'TARGET_LINK_HASH_STYLE', 'TARGET_OS', 'TARGET_PREFIX', 'TARGET_SYS', 'TARGET_VENDOR', 'TOOLCHAIN_OPTIONS', 'TUNE_ASARGS', 'TUNE_CCARGS', 'TUNE_FEATURES', 'TUNE_FEATURES_tune-armv7a', 'TUNE_FEATURES_tune-armv7at', 'TUNE_FEATURES_tune-armv7at-neon', 'TUNE_FEATURES_tune-cortexa8t-neon', 'TUNE_LDARGS', 'TUNE_PKGARCH', 'WORKDIR', 'acpaths', 'append_libtool_sysroot', 'autotools_copy_aclocal', 'autotools_do_configure', 'base_bindir', 'base_libdir', 'base_libdir_native', 'base_prefix', 'base_prune_suffix', 'base_sbindir', 'baselib', 'bbfatal', 'bbnote', 'bindir', 'datadir', 'datadir_native', 'do_configure[umask]', 'docdir', 'exec_prefix', 'includedir', 'includedir_native', 'infodir', 'libdir', 'libdir_native', 'libexecdir', 'localstatedir', 'lt_cv_sys_lib_dlsearch_path_spec', 'mandir', 'nonarch_base_libdir', 'oe_runconf', 'oldincludedir', 'prefix', 'prefix_native', 'sbindir', 'servicedir', 'sharedstatedir', 'siteinfo_data', 'siteinfo_get_files', 'sysconfdir', 'systemd_unitdir']
basehash changed from 8f1454bacc1e96701a2ea517850e91bd to 68ef3e1148747a594c65a7cc0ce93565
List of dependencies for variable CONFIGUREOPTS changed from 'set([])' to 'set(['CONFIGUREOPT_DEPTRACK', 'HOST_SYS', 'sysconfdir', 'infodir', 'TARGET_SYS', 'libdir', 'localstatedir', 'datadir', 'includedir', 'sharedstatedir', 'prefix', 'BUILD_SYS', 'sbindir', 'bindir', 'exec_prefix', 'libexecdir', 'oldincludedir', 'append_libtool_sysroot', 'mandir'])'
Dependency on Variable HOST_SYS was removed
Dependency on Variable CONFIGUREOPT_DEPTRACK was removed
Dependency on Variable HOST_VENDOR was removed
Dependency on Variable append_libtool_sysroot was removed
Variable CONFIGUREOPTS value changed from ' --build=x86_64-linux --host=arm-oe-linux-gnueabi --target=arm-oe-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/libdvdread --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-dependency-tracking --with-libtool-sysroot=/OE/build/shr-core/tmp-eglibc/sysroots/maguro' to ' --build=${BUILD_SYS} --host=${HOST_SYS} --target=${TARGET_SYS} --prefix=${prefix} --exec_prefix=${exec_prefix} --bindir=${bindir} --sbindir=${sbindir} --libexecdir=${libexecdir} --datadir=${datadir} --sysconfdir=${sysconfdir} --sharedstatedir=${sharedstatedir} --localstatedir=${localstatedir} --libdir=${libdir} --includedir=${includedir} --oldincludedir=${oldincludedir} --infodir=${infodir} --mandir=${mandir} ${CONFIGUREOPT_DEPTRACK} ${@append_libtool_sysroot(d)}'
Dependency on Variable HOST_SYS was removed
Dependency on Variable CONFIGUREOPT_DEPTRACK was removed
Dependency on Variable HOST_VENDOR was removed
Dependency on Variable append_libtool_sysroot was removed
Variable CONFIGUREOPTS value changed from ' --build=x86_64-linux --host=arm-oe-linux-gnueabi --target=arm-oe-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/libdvdread --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-dependency-tracking --with-libtool-sysroot=/OE/build/shr-core/tmp-eglibc/sysroots/maguro' to ' --build=${BUILD_SYS} --host=${HOST_SYS} --target=${TARGET_SYS} --prefix=${prefix} --exec_prefix=${exec_prefix} --bindir=${bindir} --sbindir=${sbindir} --libexecdir=${libexecdir} --datadir=${datadir} --sysconfdir=${sysconfdir} --sharedstatedir=${sharedstatedir} --localstatedir=${localstatedir} --libdir=${libdir} --includedir=${includedir} --oldincludedir=${oldincludedir} --infodir=${infodir} --mandir=${mandir} ${CONFIGUREOPT_DEPTRACK} ${@append_libtool_sysroot(d)}'
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20131116/312f6b99/attachment-0002.sig>
More information about the Openembedded-core
mailing list