From patchwork Tue Sep 24 12:08:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Andreas_M=C3=BCller?= X-Patchwork-Id: 174271 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp4052865ill; Tue, 24 Sep 2019 05:09:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqwg6u3cP6XoGQK/yipIH8Ey73+kqCqqqB2Nt0nCQkmLlYTP3A1GgWW/r8C9NlprSEMk21vL X-Received: by 2002:a63:e1a:: with SMTP id d26mr2716575pgl.73.1569326973430; Tue, 24 Sep 2019 05:09:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569326973; cv=none; d=google.com; s=arc-20160816; b=h+LXtKzdOjnD4zbdq/zPiaWx5ZwrbSpd8/QIimIMEjoMBHi6TVolMt8MB6KJUuGi70 Qq+ngMatbKnoZ4/e1yEST7C+ZhuYKx8sEb4uK7yCoVBnj08gol9/k3h+Gu1tJzV5A1y+ uIePlmRdYAEb9iYoLcss1jKr8N7pWOQVr/9JSUx0EZMkgUOCoAjjp+erYeW7jLhJn/Wf QMiNUEONQciNPs9bvkBXatDBrC9gEevykfzmL85ErnsKgPc2e1Fj2aRsy3TAivXM7SWo 6y2X3gHsJW82ZFAHaokfUK30wEao6bjdIZc38zk2CY5YNGfSBqJ4SUhkWMAn5ldaE71K vxzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=J4xUdR2MrsqUbmLMGNfdi4ytN4LTnhPp6r9Zo/UxyhQ=; b=EBtg0F4GtRYTxEFI7nj16CV3cqiXtXy4iakVE5nWgh8PWjn9VlLPBLmzJphDUxSnh2 oC+4ynZBwVflP8TBFs6qwXLu9yPmX1xLnqCoH+DB0NYxTUfhk0+lx01q3sVUZPK+2nvH E5jdt7p9t8sRt1hbrqQ8Rjv/iL8VAgmkmyE7ybeIodztUwTfH9H7mexot3DJycqB1I1P sDxeiwzDup0aQFaIDPs0te5gcyMV0HOfH4AChfPW00Ut8hR0JW7J5sEYzENuRoFLml95 YjH6jVs40u7eSeghvhhGhFeXb8/tMz5ZNxfr+EUIk1GOWQRl/cjT26G1TrmxtdEA/5fI fEcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=vbZKkGzW; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id h4si1596319pls.69.2019.09.24.05.09.33; Tue, 24 Sep 2019 05:09:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=vbZKkGzW; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C18927E6EF; Tue, 24 Sep 2019 12:09:24 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by mail.openembedded.org (Postfix) with ESMTP id A87F87DDCC for ; Tue, 24 Sep 2019 12:09:04 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id n14so1647742wrw.9 for ; Tue, 24 Sep 2019 05:09:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=/LtRlZ91FS4j6cu7FZdRfX97lCuMiTUvC3034f8CG5c=; b=vbZKkGzW1BWV6LB28bzsESjq++lEKk//SwUIOw+NoH8nlYJ/rJEZQIKlSg22zHrGwq VaQVRrwImJJEdXpsfF9HBJfAQCP3cRsMSqCOOCF9MKiYqjRmLgx3OIXBYFh0VAL8MSdb gPKMnp4ELeyn8rVSax9yKtrh4Clwgq9J4xhWGBjA++V2o5ZgRhw1lstjH6uQISw7Hmr9 Dn6KmabRYfevrjcMv0w7qlnUNUV8g2Bhd4bsrQT31q++qZhvaZ2AJn9/fnUZdW79gvjB hTzHhQ+9ddgRzlMWiSPIUGEQZIcr5J26uAUMUR32hjbdhLiV9Ck9R4sC/LB59UojYOqS HFUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/LtRlZ91FS4j6cu7FZdRfX97lCuMiTUvC3034f8CG5c=; b=CB5ulkofjlzcZlRb8kkm4yG+nFrUqsQU6nSmHLZUU497MfnIDw4rGb+s2bCY8S3mEZ Btsml4Z/WHxLx5QmI4TQkKvkqKpBzsh9uF12+EZdvFooKxn3ie3TJ/1yvTzEdJkEpZct 71HBF2qXoJlAfz8uqcI1G7v/C3eXVk2GbMPlMPpkdwZQRbuc9YA8a20m+t6lxd/wm9zn YD5jfqM7W57X9kTxI+VEAwCOR+Nic5wo4JDt5/3JHJimDa9+2qKMoRN23z/9C/SadB5w id8gZ+g0InOuYjTOS9NEFq8pLkow3tWWGLcpF5vF6/v/0yikxNHqmr5huZvt73W2Bxt8 GUMw== X-Gm-Message-State: APjAAAUetb235R6A7E90Hi9fd7LfJyKaF5Sgh86yGjby5uxA/Iy6eD15 Lc3qf220+9Dar20rCMffZsFqgQRd X-Received: by 2002:a5d:4041:: with SMTP id w1mr1967041wrp.313.1569326944987; Tue, 24 Sep 2019 05:09:04 -0700 (PDT) Received: from localhost.localdomain (p509737a3.dip0.t-ipconnect.de. [80.151.55.163]) by smtp.gmail.com with ESMTPSA id q66sm3110466wme.39.2019.09.24.05.09.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2019 05:09:04 -0700 (PDT) From: =?utf-8?q?Andreas_M=C3=BCller?= To: openembedded-core@lists.openembedded.org Date: Tue, 24 Sep 2019 14:08:46 +0200 Message-Id: <20190924120848.25479-3-schnitzeltony@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190924120848.25479-1-schnitzeltony@gmail.com> References: <20190924120848.25479-1-schnitzeltony@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [sumo][PATCH v2 2/4] bison: Fix build break with glibc 2.28 X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Khem Raj (From OE-Core rev: 741415c58b3565764000028c26efd081212eb989) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- .../recipes-devtools/bison/bison/gnulib.patch | 21 +++++++++++++++++++ meta/recipes-devtools/bison/bison_3.0.4.bb | 1 + 2 files changed, 22 insertions(+) create mode 100644 meta/recipes-devtools/bison/bison/gnulib.patch -- 2.21.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/bison/bison/gnulib.patch b/meta/recipes-devtools/bison/bison/gnulib.patch new file mode 100644 index 00000000000..7eaf0ce0fa9 --- /dev/null +++ b/meta/recipes-devtools/bison/bison/gnulib.patch @@ -0,0 +1,21 @@ +Fix gnulib issues found with glibc 2.28 libio.h removal + +see +https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html + +Upstream-Status: Pending +Signed-off-by: Khem Raj + +Index: bison-3.0.4/lib/fseterr.c +=================================================================== +--- bison-3.0.4.orig/lib/fseterr.c ++++ bison-3.0.4/lib/fseterr.c +@@ -29,7 +29,7 @@ fseterr (FILE *fp) + /* Most systems provide FILE as a struct and the necessary bitmask in + , because they need it for implementing getc() and putc() as + fast macros. */ +-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ ++#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ + fp->_flags |= _IO_ERR_SEEN; + #elif defined __sferror || defined __DragonFly__ /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin */ + fp_->_flags |= __SERR; diff --git a/meta/recipes-devtools/bison/bison_3.0.4.bb b/meta/recipes-devtools/bison/bison_3.0.4.bb index 58728f5021f..cc155f0fbe3 100644 --- a/meta/recipes-devtools/bison/bison_3.0.4.bb +++ b/meta/recipes-devtools/bison/bison_3.0.4.bb @@ -14,6 +14,7 @@ SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.xz \ file://dont-depend-on-help2man.patch.patch \ file://0001-src-local.mk-fix-parallel-issue.patch \ file://add-with-bisonlocaledir.patch \ + file://gnulib.patch \ " # No point in hardcoding path to m4, just use PATH