From patchwork Tue Sep 24 10:59:23 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: 174263 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp3978991ill; Tue, 24 Sep 2019 04:00:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxQef1BSX5kkDWcoK2NBUAlSg1pw4goJMmSicCiWAZg2F71rMUMLcLyuutcjjwu06HGrDS X-Received: by 2002:a63:ff1a:: with SMTP id k26mr2533958pgi.154.1569322814841; Tue, 24 Sep 2019 04:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569322814; cv=none; d=google.com; s=arc-20160816; b=F+3GN6zztPdm7lGEn//9jx1x5Fx3lQYTsjLXUbFe+9acESbo59mmcYGrWsS5C2NOw0 DUu327DUbTnGQsg/pAeVoFjl5Y5URwRfAOyG7ayUPJpi4cjk57XmXa11PGqNt3gHj/nR 1GJkXUc9lKEbrbRv5R0rV6bGPpIRT+MeB7W0fsW7bfkLL7TUPCqaE6eh0g3EbyGS09V4 fxxSWCdVgUuDy8Ayi/kMMYtiSYQQXu+uJAtnh7NkSF0nB/cbxC3M36/lbkywRWIrni7y zOOZMDZH6s+k3zgyVz1RfzAt5Co9fsSXoHR0i6aog4WsYMhAfr/Apix8qlJcW2Nw6ifX 6DyA== 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=VY/mTDagRIIUX+preWUorahmO2RPgvmRAUjybO4oJ64a4n73PFHaddfD0hWV463nym 5H5QsYbixCOTb/lgjV1xyzQ6mSQw2rya/Sss5nCcr5QYUfL8AEBTWhAlhw/w5NT0gwa+ nDMTU45Ys+lNNV7rvuX0O7ECaKlme3OpJHjn7mDUgDT8MAjQVOa2wfS34E4rUXPCO7UU LHcHk7VlZ2NnOcvWVdKyVDmppI7Frq+ZKslhysN5MMUxsxRH7lvOaHwOtMznRjGH85Ch Ud7wBsY9x68NuXblzUPrN98PToUNYWRo4bNF6uR7N96hE4el8G/CBAvFglYfNkWOIYE9 zxlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=OumOEgd4; 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 x8si1493432pln.226.2019.09.24.04.00.14; Tue, 24 Sep 2019 04:00:14 -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=OumOEgd4; 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 61E007E668; Tue, 24 Sep 2019 11:00:07 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mail.openembedded.org (Postfix) with ESMTP id B04127E588 for ; Tue, 24 Sep 2019 10:59:41 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id i16so1718619wmd.3 for ; Tue, 24 Sep 2019 03:59:43 -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=OumOEgd4mzsVoj6CXwfGBGBBwicHQcqHr8k5TWjPBpO75Y9rC/WTfzvIKR5aFMYXRD hNgnaOO613newQXSTwAKlIuUuFSOUEOeBpeEutP4+/mSxZn5HdyvKBdlJ1aYcWNv7t5h PGvA6GbOaj1MPkOdSsqwxuHfxRmKCGKHNYujsrAItY3Yzhx9nO2YuNOra6AaH7rv+yN8 TxQ4Q4KkoyCqSlbyh2N/mg+dJIE9Zwhbnbiq1P0DRM9yjlUsOjucfsxAYXOzviA5pSNT 885m+py3tP9F6QnCZ4kUzO4Twpu4bNi0+Yk0hdne2IXoyL1KiDB6A3LwWh4ou1pbQJRm ghXw== 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=b+3KmAAOeZJORi8PXfpQ6PSGF7RT8DJGerHOeJbYIRbwiziQV4NYuy/lKvhEiUNEBf DhZUp+cKBUzgLzz6M2LNU35qhIqe/wRdKnJN1rMhWkwNQxHm4Boq5lc1Jl6ZQgp8JX1V cCA/lV0LwOQJ9M/QCSuXEzfmnmF7N2ZYqG18npdT+iXR3uX8J4F+9fJMbthCdEha/zbJ 76sxQrje7Y/xbsUEfwC+82OaJczpR5Q+ZTIDFFddnW9NFvfBUJB0GNkg15vQtOixhT3g hNpRoWB5D/RyKeqk2hR8Fv1sb0+/tAuSYqRN7LWi2eSxjf0EJko1CIlQMQoU/d9LZ2DS 51Lg== X-Gm-Message-State: APjAAAVos7H4hAcEwpc+iH6OSNSUNdoaeM+g27RL8MUat5CON8BZq3i9 IycmFvJVz/QwJqzsUVMuyWd5B8tz X-Received: by 2002:a7b:ce91:: with SMTP id q17mr2154091wmj.25.1569322782170; Tue, 24 Sep 2019 03:59:42 -0700 (PDT) Received: from localhost.localdomain (p509737a3.dip0.t-ipconnect.de. [80.151.55.163]) by smtp.gmail.com with ESMTPSA id n7sm1943753wrt.59.2019.09.24.03.59.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2019 03:59:41 -0700 (PDT) From: =?utf-8?q?Andreas_M=C3=BCller?= To: openembedded-core@lists.openembedded.org Date: Tue, 24 Sep 2019 12:59:23 +0200 Message-Id: <20190924105925.2287-3-schnitzeltony@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190924105925.2287-1-schnitzeltony@gmail.com> References: <20190924105925.2287-1-schnitzeltony@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [sumo][PATCH 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