summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2022-12-06 14:27:43 +0800
committerKhem Raj <raj.khem@gmail.com>2022-12-06 09:23:33 -0800
commitfa616dca0a910aa75565de4988bc7a83102ed17a (patch)
tree409cdd0ba3f6fc2759c9a746d5b70629b6a5f613
parent2d0e47cd85631de36a6155be6c9c916bd8a81a72 (diff)
downloadmeta-openembedded-fa616dca0a910aa75565de4988bc7a83102ed17a.tar.gz
graphviz: Do not build tcl support for native
with enable-tcl=yes, task do_configure looks for tclConfig.sh on buildhost, and source it. But there is no dpkg-architecture in current PATH, and the tclConfig.sh enter into an dead loop since dpkg-architecture not found and finanlly Segmentation faulted. Therefore it is better to disable tcl do_configure failure: using /usr/lib/tclConfig.sh /usr/lib/tclConfig.sh: line 2: dpkg-architecture: command not found /usr/lib//tcl8.6/tclConfig.sh: line 2: dpkg-architecture: command not found ... /usr/lib//tcl8.6/tclConfig.sh: line 2: dpkg-architecture: command not found /usr/lib//tcl8.6/tclConfig.sh: line 2: dpkg-architecture: command not found NOTE: The following config.log files may provide further information. Segmentation fault (core dumped) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb b/meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb
index 4c51af669c..967b9321b8 100644
--- a/meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb
+++ b/meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb
@@ -58,6 +58,9 @@ EXTRA_OECONF:class-nativesdk = "\
58 --disable-r \ 58 --disable-r \
59 --disable-sharp \ 59 --disable-sharp \
60 " 60 "
61EXTRA_OECONF:class-native = "\
62 --disable-tcl \
63 "
61CFLAGS:append:class-target = " -D_typ_ssize_t=1 -D_long_double=1" 64CFLAGS:append:class-target = " -D_typ_ssize_t=1 -D_long_double=1"
62CFLAGS:append:class-nativesdk = " -D_typ_ssize_t=1 -D_long_double=1" 65CFLAGS:append:class-nativesdk = " -D_typ_ssize_t=1 -D_long_double=1"
63do_configure:prepend() { 66do_configure:prepend() {