Skip to contentSkip to conversation

two fixes for sstate issue

PATCH New Robert Yang 1 participant 3 messages Mar 25, 2014

lore
Share & tools
lore
#0 lore raw

cover two fixes for sstate issue

The following changes since commit 5d70928a37ce6dbebf41d42ca1f09d99b272a728:

base-files: do_install.sigdata: remove the depends on DATE (2014-03-25 11:09:05 +0800)

are available in the git repository at:

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

Robert Yang (2):
tcl: fix path in Config.sh for sstate
perl-native: fix path in Config.sh for sstate

 meta/recipes-devtools/perl/perl-native_5.14.3.bb | 3 +++
 meta/recipes-devtools/tcltk/tcl_8.6.1.bb         | 3 +++
 2 files changed, 6 insertions(+)
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/2 tcl: fix path in Config.sh for sstate

We need fix the path in tclConfig.sh, tdbcConfig.sh and itclConfig.sh for sstate, otherwise there would be build failures when use the sstate across different builds.

e.g., when building expect:
[snip]
tmp/sysroots/qemuarma9/usr/include/tcl8.6
checking for Tcl private include files... configure: error: Cannot find private header tclInt.h in /path/to/another/build/tmp/sysroots/qemuarma9/usr/include/tcl8.6.1
Configure failed.
[snip]

[YOCTO #6035]

---
 meta/recipes-devtools/tcltk/tcl_8.6.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/tcltk/tcl_8.6.1.bb +3 -0
index 79a3f08..9d35da1 100644
@@ -90,3 +90,6 @@ do_install_ptest() {
 	cp -r ${S}/../library ${D}${PTEST_PATH}
 	cp -r ${S}/../tests ${D}${PTEST_PATH}
 }
+
+# Fix the path in sstate
+SSTATE_SCAN_FILES += "*Config.sh"
Signature · 1 line
1.8.3.1
#2 lore raw

PATCH 2/2 perl-native: fix path in Config.sh for sstate

In reply to Robert Yang

We need fix the path in *.pm, *.pod, *.h, *.pl and *.sh as we have done for target perl.

[YOCTO #6035]

---
 meta/recipes-devtools/perl/perl-native_5.14.3.bb | 3 +++
 1 file changed, 3 insertions(+)
meta/recipes-devtools/perl/perl-native_5.14.3.bb +3 -0
index e664e24..2ef0a51 100644
@@ -118,3 +118,6 @@ EOF
 	chmod 0755 ${SYSROOT_DESTDIR}${bindir}/../nativeperl
 	cat ${SYSROOT_DESTDIR}${bindir}/../nativeperl
 }
+
+# Fix the path in sstate
+SSTATE_SCAN_FILES += "*.pm *.pod *.h *.pl *.sh"
Signature · 1 line
1.8.3.1