From patchwork Tue Feb 19 22:35:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Stewart X-Patchwork-Id: 1044933 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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=none (p=none dis=none) header.from=paral.in Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=paral-in.20150623.gappssmtp.com header.i=@paral-in.20150623.gappssmtp.com header.b="p+cf1sln"; 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 443wYV5MLhz9s3l for ; Wed, 20 Feb 2019 09:35:42 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1168E85F5D; Tue, 19 Feb 2019 22:35:39 +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 8xBlwCIsOZLN; Tue, 19 Feb 2019 22:35:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3CD5B8608F; Tue, 19 Feb 2019 22:35:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 492BF1BF366 for ; Tue, 19 Feb 2019 22:35:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 45B98847C4 for ; Tue, 19 Feb 2019 22:35:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I3bPTn2W-hmO for ; Tue, 19 Feb 2019 22:35:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 03F8085513 for ; Tue, 19 Feb 2019 22:35:33 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id m2so8538964pgl.5 for ; Tue, 19 Feb 2019 14:35:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paral-in.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=jp8MF1ZJqTI0ah9h9WpgEfp//O1JF6D7HaRVxC0GHzg=; b=p+cf1slno4/7lHCWarQCDHb8TdeU79Zc5ufCsLlhF4TLDGH5KLVSj2cYZvPzNdo+3o S89qh0t39WnAl8YWMCDVx3J7THJWT2WVnztfe6MO+lPtSZANRqgiBRXzvYS6/8jyVXEF 3U+geUX9zmFsB3LMtbp2K4jIR+A/o6ARbyLXYR/oomOizM+ewh30d8CUiXFpFQGea8dV wDVltQvwxdLDzQTWtVnC9HUvpfryYw3LNbtW1LgJcTdgRTwnaRwKHlkrEF2YEwLx3wIA M+65TsEZFH693/BJZQoKcHLzx/tL2e7xj2ugL+Y6RADbAOxfVLZu2BPvOoP/MahQWumD d4Yw== 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=jp8MF1ZJqTI0ah9h9WpgEfp//O1JF6D7HaRVxC0GHzg=; b=aWQsfVD2eQaStU9pWHYbpdcVvWBZsfED3f1kZx3efiHHFzaDjSi2QgNHenbWchHB2M DmXDvjaJEO+JISdF/7Nwrr0u/+OBD7js50anRDcCZxVFvC81LlAqGo9+oQ8xN2bk8DFz XMmyYwci4GpbIwxBHItS1YXfJN/g0efSdBgEqxwmQ77WcPYQSXqk0iyje3JhNJJMeH25 oFdJf4+pC+hlKs4/613I7/T4aZv+nR/7FMKtunZdDoDTLltRO+vIo7NJTiGPrSORuSbn UzFtUairgPq+PVx2Vp9IqEPXGy9sFoooEiTdVUn3BnUsdMyWELkEg5XzZ36aZGxtJ7v+ EGww== X-Gm-Message-State: AHQUAuZXExJCln/0U8JmeBr5fQcb3+xPsmUqoIG2gkiNuiPedUvz4ERu knpsqBIuu3noI6T76FJ3ZqiUQXec+C0= X-Google-Smtp-Source: AHgI3IaJabzmn1uBDPbCQGE7ey1y44Fo6mbLAqLCGqPlBizNk+fMxkf3CYuIrjkJKK3kzWxxgicp8A== X-Received: by 2002:a63:3541:: with SMTP id c62mr26152346pga.191.1550615733114; Tue, 19 Feb 2019 14:35:33 -0800 (PST) Received: from localhost.localdomain (cpe-172-91-133-215.socal.res.rr.com. [172.91.133.215]) by smtp.gmail.com with ESMTPSA id s21sm34090210pfk.133.2019.02.19.14.35.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 14:35:32 -0800 (PST) From: Christian Stewart To: buildroot@buildroot.org Date: Tue, 19 Feb 2019 14:35:28 -0800 Message-Id: <20190219223530.15956-1-christian@paral.in> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/3] runc: depend on linux headers >= 3.11 for O_TMPFILE 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: Christian Stewart , Peter Korsgaard , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Add dependency on headers >= 3.11. O_TMPFILE, required by runc, was not available until this version. Fixes: http://autobuild.buildroot.net/results/63e9d88ae5177541be463f1e2aafec59aa410479 Signed-off-by: Christian Stewart --- package/runc/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/runc/Config.in b/package/runc/Config.in index 47c850ef30..44713222e4 100644 --- a/package/runc/Config.in +++ b/package/runc/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_RUNC depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 # O_TMPFILE depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve help runC is a CLI tool for spawning and running containers @@ -10,7 +11,8 @@ config BR2_PACKAGE_RUNC https://github.com/opencontainers/runc -comment "runc needs a glibc or musl toolchain toolchain w/ threads" +comment "runc needs a glibc or musl toolchain w/ threads, headers >= 3.11" depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS && \ BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAN_USES_UCLIBC + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 || BR2_TOOLCHAN_USES_UCLIBC