On Tue, May 31, 2016 at 11:51 AM, Peter Kjellerstedt <peter.kjellerst...@axis.com> wrote: > The recent change of how ${bindir_crossscripts} is installed to the > sysroot had the unforeseen effect that tclConfig.sh in the sysroot > contained invalid paths, which caused postgresql to fail to build. > The change in the contents of tclConfig.sh was due to that it was > previously installed to the sysroot after binconfig had done its work, > and was thus unaffected by it. > > This change makes sure the contents of tclConfig.sh is the same as > before, both in the sysroots and on target. This will make postgresql > build again. > > This also changes the BINCONFIG_GLOB to only match tclConfig.sh. > Before it would also match itclConfig.sh, tclooConfig.sh and > tdbcConfig.sh, which were consequently installed to the sysroots. > However, that seems to have been accidentally introduced with the use > of binconfig (based on what is installed in do_install()). > > Signed-off-by: Peter Kjellerstedt <peter.kjellerst...@axis.com> > --- > meta/recipes-devtools/tcltk/tcl_8.6.4.bb | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.4.bb > b/meta/recipes-devtools/tcltk/tcl_8.6.4.bb > index 61be81d..3a3fd83 100644 > --- a/meta/recipes-devtools/tcltk/tcl_8.6.4.bb > +++ b/meta/recipes-devtools/tcltk/tcl_8.6.4.bb > @@ -93,7 +93,7 @@ do_install_ptest() { > } > > # Fix some paths that might be used by Tcl extensions > -BINCONFIG_GLOB = "*Config.sh" > +BINCONFIG_GLOB_class-target = "tclConfig.sh" > > # Fix the path in sstate > SSTATE_SCAN_FILES += "*Config.sh" > -- > 2.1.0 > > -- For me tclConfig.sh still contains absolute paths and postgresql still fails. I did ccleansstate for tcl and postgresql, applied this patch and tried to build postgresql.
Andreas -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core