From patchwork Sat Jan 18 16:39:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1225179 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=q/5/VZUa; dkim-atps=neutral Received: from hemlock.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 ozlabs.org (Postfix) with ESMTPS id 480Nsw4NBSz9sPJ for ; Sun, 19 Jan 2020 03:38:44 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1D2DB87EA0; Sat, 18 Jan 2020 16:38:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ohTYZgpWmPj8; Sat, 18 Jan 2020 16:38:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 620FD87C76; Sat, 18 Jan 2020 16:38:39 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 36F721BF3C2 for ; Sat, 18 Jan 2020 16:38:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2D0F686235 for ; Sat, 18 Jan 2020 16:38:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fYy1KZCH78lU for ; Sat, 18 Jan 2020 16:38:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0CBB586233 for ; Sat, 18 Jan 2020 16:38:35 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id f129so10578584wmf.2 for ; Sat, 18 Jan 2020 08:38:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K6B6pKDZv81T4mRYv5clJ9f9mOx9GEEuzZzw3fX3aZ4=; b=q/5/VZUaRSzbh0M6D/GQQd/e12nhaFFIEDynau3FCjmTLsKjeZzl4IGqBCm1JAcOf7 EBnzOEirzu94fVawGycTCp9DJjjrw46jh2m6FT5xjgwP+rswM725vI72/Qc0583fQaxL y22yWPWZCiMberKMc1Dt6GxVTFbGcqnLYmXZu8D1JkyiVNNtKmoaFVq5PR35la4oIL4j EScx3AKwEFV+N5ZBXD94gtIQzKgsKiiVsNUcXlYoYmMff09k5wwMCLmJbThTDk58Kp3W gc5LL8I8QT0XmCymtUv9nUDKwl/RlP/dlzyTT8WQrYOjAtlhvYT3BRowwwKDNGZAo1n9 eFdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K6B6pKDZv81T4mRYv5clJ9f9mOx9GEEuzZzw3fX3aZ4=; b=tcllhwXIKnPyOGAlrYRt03LM6Ny/zCPM1JMFSfzjS05t3sGko4Pt6Wm5SPnVpZpSzZ FX/j5J+R3QsZ5YCJMRTkH9vXBjgWYRGFu1b34QykgeOzDrhT1ePUBtn1IRh82dwxRyK1 CPNxL3DoS9/CV92mIeCdUMRlQnMKkmjdcQokeJqJk79BZicYd+lyqBpZtoMsAgUzObTX ZOJaTdVBFgPsGb3OmGif3eCJhE5m+qdDoW6nCe+6EPiUbh60pO09F0cb5ZuYSV5n315S s6XDk4+4OT76wRmIkJTYpXKOlIrG04iybWEDzc0aIPXbPABhxrzPags/nOz5HDZ3u9Lp q+jw== X-Gm-Message-State: APjAAAVJaav+SuFcbL89stLr3n6dbwVhv91srz2RdEscKYLK8/lcrgXb Zf9AIkdjeYe3Oj2ZwoCozS0sLFWD X-Google-Smtp-Source: APXvYqzhaApHsFR8/Olj1vRy61A98dXdcbIZFymwFczPvwE8YV8x/WMuU8FPMIIysVcc6PQcmfdVOg== X-Received: by 2002:a05:600c:228f:: with SMTP id 15mr10839722wmf.56.1579365513205; Sat, 18 Jan 2020 08:38:33 -0800 (PST) Received: from kali.home (lfbn-ren-1-602-70.w81-53.abo.wanadoo.fr. [81.53.179.70]) by smtp.gmail.com with ESMTPSA id k11sm3821367wmc.20.2020.01.18.08.38.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jan 2020 08:38:32 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sat, 18 Jan 2020 17:39:29 +0100 Message-Id: <20200118163929.663035-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/parted: disable on uclibc X-BeenThere: buildroot@busybox.net 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: , Cc: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Like postgreSQL (and imagemagick), parted does not build against uClibc with locales enabled, due to an uClibc bug, see http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html: In file included from atari.c:42: atari.c: In function 'atr_part_correct': atari.c:221:9: error: dereferencing pointer to incomplete type 'struct __uclibc_locale_struct' return isalnum_l(part->id[0], atr_c_locale) ^~~~~~~~~ So disable parted on uclibc Fixes: - http://autobuild.buildroot.org/results/992518d340a9f32a0721d6e66936850c4c3ef2e4 Signed-off-by: Fabrice Fontaine Reviewed-by: Giulio Benetti --- package/parted/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/parted/Config.in b/package/parted/Config.in index f48b365a2d..a35b30662f 100644 --- a/package/parted/Config.in +++ b/package/parted/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_PARTED bool "parted" depends on BR2_ENABLE_LOCALE depends on BR2_USE_WCHAR + depends on !BR2_TOOLCHAIN_USES_UCLIBC select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID help @@ -9,5 +10,6 @@ config BR2_PACKAGE_PARTED http://www.gnu.org/software/parted/ -comment "parted needs a toolchain w/ locale, wchar" - depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR +comment "parted needs a glibc or musl toolchain w/ locale, wchar" + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR