From patchwork Tue Nov 20 15:10:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Raphael Kubo da Costa X-Patchwork-Id: 151597 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp716622ljp; Tue, 20 Nov 2018 07:10:46 -0800 (PST) X-Google-Smtp-Source: AJdET5f6pJfLxjj+mV4SDJ7DsUIIn20xqya9z9TuoLgawKfrQUaCLD5i3oy+hZA5Pf33uOCQYo46 X-Received: by 2002:a62:83ce:: with SMTP id h197mr2517831pfe.187.1542726646715; Tue, 20 Nov 2018 07:10:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542726646; cv=none; d=google.com; s=arc-20160816; b=A4zGnLOERlcyLudiOZ2lLdqjdBQYBJALxIBbh7JQUBeA3AbWE4gIPcbZWEJfS1HWK3 wZjlvOtt3z9A3oqsEPDtOKDI30YCgk+Jor6tbmQkH4jFRf5LSsptWSq93OhUmpV/BtNm Ong9n/f34JDZHDJo0ybESwseJQqbvg4z/0EOOyavcX8D8ToRUVWpPeiUxHcVQFgz7yH9 k2w1q3+xiMd4pXFb3OsJODKMxJSukPy78MWEeXEDq4w5/WDBVvl7wShU/nmRbzf975dF TT/NWHluMl4HN234x5MaeklvaqPS8Elcm8rw8iHkFAZ4paQuax+WmI+MsTB8kBAt3nxy 9QcA== 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:message-id:date:to:from:delivered-to; bh=6ApW3GE+2NgPx4JAv5eVavciEHFejmghVKSYxxpwBRs=; b=YW92DScAmDnrNrhGAQ5w2Acd6IKSMFODHRpUHbHNx6c48yQVZyzivgR3/jSr3iD6bp Dkp6niQwfVbbNQmqjyh32t+WipOHXgSCGgLV+mHZRn32Zhu7T6WfTXG0rNV6+Mp2NHgI EAhL8AmF1biQfVtdnQXQVBNVPat0aGnxUKCYMfgyroWT93XEUtdB/A3pUFTcp68YmLnQ QvMMtE2qKVophljxkHFoPoShIrBK0FSHP8yzulWDSL5W36EunvwpMpcbApaGpYTjnkNa +8iOL4sSkqJTgPHxD6J1z0vfUmDC9Xw14t43V03gCYlTqDLgnKIY2E70NlN5Ympbx2vS lMJA== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id c21si11086929plo.165.2018.11.20.07.10.38; Tue, 20 Nov 2018 07:10:46 -0800 (PST) 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; 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=NONE dis=NONE) header.from=intel.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 370B56C494; Tue, 20 Nov 2018 15:10:34 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mail.openembedded.org (Postfix) with ESMTP id 042EF6C489 for ; Tue, 20 Nov 2018 15:10:30 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Nov 2018 07:10:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,257,1539673200"; d="scan'208";a="101762593" Received: from rkubodac-desk.ger.corp.intel.com ([10.252.31.112]) by orsmga003.jf.intel.com with ESMTP; 20 Nov 2018 07:10:30 -0800 From: Raphael Kubo da Costa To: openembedded-core@lists.openembedded.org Date: Tue, 20 Nov 2018 16:10:26 +0100 Message-Id: <20181120151026.51842-1-raphael.kubo.da.costa@intel.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [OE-core] [rocko][PATCH] 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.19.1 -- _______________________________________________ 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 0000000000..7eaf0ce0fa --- /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 7d066be0ad..a86549c086 100644 --- a/meta/recipes-devtools/bison/bison_3.0.4.bb +++ b/meta/recipes-devtools/bison/bison_3.0.4.bb @@ -15,6 +15,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