All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] graphviz: Do not build tcl support for native
@ 2022-12-15  7:30 changqing.li
  2022-12-15  8:53 ` [oe] " Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: changqing.li @ 2022-12-15  7:30 UTC (permalink / raw)
  To: openembedded-devel

From: Changqing Li <changqing.li@windriver.com>

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>
---
 meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb | 3 +++
 1 file changed, 3 insertions(+)

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 = "\
                 --disable-r \
                 --disable-sharp \
                 "
+EXTRA_OECONF:class-native = "\
+                --disable-tcl \
+                "
 CFLAGS:append:class-target = " -D_typ_ssize_t=1 -D_long_double=1"
 CFLAGS:append:class-nativesdk = " -D_typ_ssize_t=1 -D_long_double=1"
 do_configure:prepend() {
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-15  8:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1730E6FCF730855B.9432@lists.openembedded.org>
2022-12-15  8:27 ` [oe] [PATCH] graphviz: Do not build tcl support for native Changqing Li
2022-12-15  7:30 changqing.li
2022-12-15  8:53 ` [oe] " Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.