Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7BA50C0015E for ; Fri, 21 Jul 2023 21:26:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 011374017B; Fri, 21 Jul 2023 21:26:10 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 011374017B X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QfQ3uFzqTF-b; Fri, 21 Jul 2023 21:26:09 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 1923941866; Fri, 21 Jul 2023 21:26:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 1923941866 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 7BB131BF82F for ; Fri, 21 Jul 2023 21:26:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 625DB83323 for ; Fri, 21 Jul 2023 21:26:03 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 625DB83323 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tIpYuwd5etdn for ; Fri, 21 Jul 2023 21:26:02 +0000 (UTC) Received: from dd20012.kasserver.com (dd20012.kasserver.com [85.13.140.57]) by smtp1.osuosl.org (Postfix) with ESMTPS id 7396983313 for ; Fri, 21 Jul 2023 21:26:02 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 7396983313 Received: from fli4l.lan.fli4l (p54a1b341.dip0.t-ipconnect.de [84.161.179.65]) by dd20012.kasserver.com (Postfix) with ESMTPSA id 8E48BA4C0836 for ; Fri, 21 Jul 2023 23:25:46 +0200 (CEST) Received: from bruckner.lan.fli4l ([192.168.1.1]:50768) by fli4l.lan.fli4l with esmtp (Exim 4.96) (envelope-from ) id 1qMxdB-0005X2-2d for buildroot@buildroot.org; Fri, 21 Jul 2023 23:25:45 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Fri, 21 Jul 2023 23:25:44 +0200 Message-Id: <20230721212545.2371188-1-bernd@kuhls.net> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spamd-Bar: + X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kuhls.net; s=kas202306131828; t=1689974746; bh=QR7IG3i0KPMKB2A+K8i2kTNBBTLfJYRELhF9x70u2qc=; h=From:To:Subject:Date:From; b=mUGw+LlHGzDdfDgyKTGll4kJEpgyqQwTubODHtg0F2Z7KTPbK6CB9TXsWPn2UuV3v eFnO94D5i6cV/A8NkDzDjTLEtgU+h4n6QmM/YopIXMCXoXRFOrfoLeBy2AKo0Wo95T qnqZDCfRpmLAndxrXvs+wvn8W3mos+FLBde5MGEV0lJCGfyhodzmBYp5l8NekpHAUv YZStMsNS/PNPfm4oLr+drDcS4Sy5oM1Pf1wAFjy3cJMDCj4uDYNwXF3TjIeYID5Ohe ky8kQKv/J/Rz1Kb27QEr02I8rNKAdiHJLDIXEwSLBvzmxP/qCPGW+dsrX5gYZmK9TQ 6mAgQoWX+SsWA== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=kuhls.net header.i=@kuhls.net header.a=rsa-sha256 header.s=kas202306131828 header.b=mUGw+LlH Subject: [Buildroot] [PATCH v2 1/2] package/mariadb: needs fmt X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Buildroot commit 88c7359f65381d49fa497f9e33bf54bb31a14e6c bumped mariadb from version 10.3.36 to 10.11.4. Upstream added fmt as dependency in version 10.7.1 with commit https://github.com/MariaDB/server/commit/e214e60201216b2e6330f86a84fec8ae14aa2887 Fixes: http://autobuild.buildroot.net/results/ce1/ce140a3923bc2f85b176fafcc38c6f68b177d33a/ Signed-off-by: Bernd Kuhls --- v2: added note about buildroot commit (Thomas) package/mariadb/mariadb.mk | 4 ++++ package/mysql/Config.in | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package/mariadb/mariadb.mk b/package/mariadb/mariadb.mk index a743d020c0..a9cd9c9516 100644 --- a/package/mariadb/mariadb.mk +++ b/package/mariadb/mariadb.mk @@ -18,12 +18,16 @@ MARIADB_CONFIG_SCRIPTS = mysql_config MARIADB_DEPENDENCIES = \ host-mariadb \ + fmt \ ncurses \ openssl \ zlib \ libaio \ libxml2 +MARIADB_CONF_OPTS += \ + -DWITH_FMT=system + # use bundled GPL-2.0+ licensed readline as package/readline is GPL-3.0+ MARIADB_CONF_OPTS += -DWITH_READLINE=ON diff --git a/package/mysql/Config.in b/package/mysql/Config.in index ef4a9531a7..8212d0fd3f 100644 --- a/package/mysql/Config.in +++ b/package/mysql/Config.in @@ -16,10 +16,13 @@ choice config BR2_PACKAGE_MARIADB bool "mariadb" + depends on BR2_INSTALL_LIBSTDCPP # fmt depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 + depends on BR2_USE_WCHAR # fmt select BR2_PACKAGE_LIBAIO select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_FMT select BR2_PACKAGE_NCURSES select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_HAS_MYSQL @@ -30,8 +33,9 @@ config BR2_PACKAGE_MARIADB http://www.mariadb.org/ -comment "mariadb needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS +comment "mariadb needs a toolchain w/ dynamic library, C++, wchar" + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 config BR2_PACKAGE_ORACLE_MYSQL -- 2.39.2 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot