From: Wang Mingyu <wan...@fujitsu.com>

fix the error when do_compile:
CMake Error at libfmt-stamp/download-libfmt.cmake:163 (message):
  Each download failed!

    error: downloading 
'https://github.com/fmtlib/fmt/releases/download/11.0.1/fmt-11.0.1.zip' failed
          status_code: 6
          status_string: "Could not resolve hostname"
          log:
          --- LOG BEGIN ---
          timeout on name lookup is not supported

  getaddrinfo(3) failed for github.com:443

  Could not resolve host: github.com 

  closing connection #0

Signed-off-by: Wang Mingyu <wan...@fujitsu.com>
---
 meta-oe/recipes-dbs/mysql/mariadb.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc 
b/meta-oe/recipes-dbs/mysql/mariadb.inc
index d3192cc59c..982c82cd59 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -31,6 +31,9 @@ SRC_URI[sha256sum] = 
"0a00180864cd016187c986faab8010de23a117b9a75f91d6456421f894
 
 UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags";
 
+# network is required by go to get dependent packages
+do_compile[network] = "1"
+
 BINCONFIG_GLOB = "mysql_config"
 
 inherit cmake gettext binconfig update-rc.d systemd multilib_script 
multilib_header pkgconfig
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114826): 
https://lists.openembedded.org/g/openembedded-devel/message/114826
Mute This Topic: https://lists.openembedded.org/mt/110583044/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to