Skip to contentSkip to conversation

sstate.bbclass: remove dependencies of SSTATE_EXTRAPATHWILDCARD

PATCH New Robert Yang 1 participant 2 messages Jan 16, 2019

lore
Share & tools
lore
#0 lore raw

cover sstate.bbclass: remove dependencies of SSTATE_EXTRAPATHWILDCARD

The following changes since commit fa7020c040189ae904625b5c60c8a7e79dc1145e:

perl: fix yet another race failure (2019-01-14 11:48:59 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/sstate
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/sstate

Robert Yang (1):
sstate.bbclass: remove dependencies of SSTATE_EXTRAPATHWILDCARD

 meta/classes/sstate.bbclass | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 sstate.bbclass: remove dependencies of SSTATE_EXTRAPATHWILDCARD

There might be do_cleansstate errors sometimes:
ERROR: When reparsing /path/to/meta/recipes-devtools/quilt/quilt-native_0.65.bb.do_cleansstate, the basehash value changed from b4dbcb956a32ed4c3f58b7971717907bfc03bb21f3b140fa97f7765ee695f4d0 to c8307418a671686349b73efbd51c5c82c897a88707a759ddb22fd95baa5df2ba. The metadata is not deterministic and this needs to be fixed.

The stable reproducer is:
- Initial a fresh build, this is a must, otherwise we may can't reproduce it

  $ . oe-init-build-env build
  $ bitbake quilt-native -ccleansstate

This is because uninative.bbclass resets NATIVELSBSTRING from distro (e.g., ubuntu) to universal, remove dependencies of SSTATE_EXTRAPATHWILDCARD as SSTATE_EXTRAPATH did can fix the problem.

---
 meta/classes/sstate.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/sstate.bbclass +1 -0
index 482ffa8..763fce0 100644
@@ -23,6 +23,7 @@ PV[vardepvalue] = "${PV}"
 # We don't want the sstate to depend on things like the distro string
 # of the system, we let the sstate paths take care of this.
 SSTATE_EXTRAPATH[vardepvalue] = ""
+SSTATE_EXTRAPATHWILDCARD[vardepvalue] = ""
 
 # For multilib rpm the allarch packagegroup files can overwrite (in theory they're identical)
 SSTATE_DUPWHITELIST = "${DEPLOY_DIR}/licenses/"
Signature · 1 line
2.7.4