Skip to contentSkip to conversation

graphviz: Do not build tcl support for native

PATCH Changqing Li 1 participant 1 message Dec 15, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Sorry, Please ignore this,  Seems I send it twice.

Quoted 46 lines · Changqing Li

From: Changqing Li <[email protected]>

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)

---
  meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb | 3 +++
  1 file changed, 3 insertions(+)
meta-oe/recipes-graphics/graphviz/graphviz_2.50.0.bb +3 -1
index 4c51af669c..967b9321b8 100644
@@ -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() {
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#100080): https://lists.openembedded.org/g/openembedded-devel/message/100080
Mute This Topic: https://lists.openembedded.org/mt/95684473/3616873
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-