[oe-commits] [meta-openembedded] 33/48: postgresql: remove *_config from SSTATE_SCAN_FILES
git at git.openembedded.org
git at git.openembedded.org
Tue May 29 15:49:43 UTC 2018
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 3205d00170229d9d8a7cb4a1304c971f88038c35
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Tue May 22 10:00:29 2018 +0800
postgresql: remove *_config from SSTATE_SCAN_FILES
It fails to run command pg_config with segment fault. The root cause is
function sstate_hardcode_path takes elf file pg_config as a configure
file and edits it with 'sed'.
And then file pg_config is corrupt:
$ readelf -a package/usr/bin/pg_config >/dev/null
readelf: Error: Unable to read in 0x700 bytes of section headers
readelf: Error: Section headers are not available!
There is not other '*_config' file installed by postgresql except
pg_config, so remove '*_config' from SSTATE_SCAN_FILES for postgresql.
Signed-off-by: Kai Kang <kai.kang at windriver.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-dbs/postgresql/postgresql.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 5462332..1301060 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -202,6 +202,7 @@ do_install_append() {
}
SSTATE_SCAN_FILES += "Makefile.global"
+SSTATE_SCAN_FILES_remove = "*_config"
PACKAGES =+ "${PN}-client ${PN}-server-dev ${PN}-timezone \
libecpg-compat-dbg libecpg-compat libecpg-compat-dev \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list