From patchwork Sun Aug 5 02:06:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 143458 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1804518ljj; Sat, 4 Aug 2018 19:08:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdjr/7NYmNPBC791Ol1+Ux9KouvYvRl9A+ZPMsxf3YUqQ0cGtPJ43Istff/zerR4F/QzLac X-Received: by 2002:a63:b74a:: with SMTP id w10-v6mr9335435pgt.266.1533434898368; Sat, 04 Aug 2018 19:08:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533434898; cv=none; d=google.com; s=arc-20160816; b=M1dQMMpwurI40pMxakbgfBI61DNJiDY5XnParntbUJ440qsMitAJADUzTP7ebQX4+/ LoDRnYzkLtFSfNYj01Vm3A2gC15PgDbG2q3QcFT9x3g958lo6dIeiPGOWE+7KWCuih2F 67vbB7CwYYVFfGr5iO/yD2UbpZxB6/W1ew98dO7u6+7d98dtYGYgWEqCHgRnN8+gU/yg fBhBPWsGJs0XLK49mhrxUhCXWMs9k/R8y+Lmv6PUCYOWYZPnoiNT0JzrnqTSKYSjyjWW kZOdqEdaB2iNJtOe4xqslSHG9FlEbOkhgw56d/ghM9+vPoYO2bZStgDxjCPJzPn3vfje ldWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=WjGOAJlFet6H7Lmz+1tewHqCE4kqwnpZOUh7T6IjfWo=; b=P0JoY4fof7QNr5E0toyzHB2qT3RkmZ1XF233YQxaEUJGntXtX6Tf88q8K9JfJi9dx/ OjhPdkxlV4k5D1phvsVYwkWZ21FzXMqKEmSayhdLndEAenPOIsjwpJOKuaMbPS5eevrN 9KH4HXUkWENBee2kFhGl6yg2TROTh6a4wbovRpNRGK/Bdk3I6BLaamcPk552tsm7ArXp RSQzbk0/MMC7f9Z9kTRxXS+QM8shFJXWbOM4iI3gwQnGhfOSZRnLhsXZTeyeuShoncqN lywDd/sQiKiZu7bRC3cml1D3cfxBO/kMdJv5bgoXtVRfrsQ+dohRjOmn8NlNyBiq5i0U nOTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=aRvN+g7T; 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 m1-v6si3165978pfb.305.2018.08.04.19.08.18; Sat, 04 Aug 2018 19:08:18 -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=aRvN+g7T; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A5FE778C6B; Sun, 5 Aug 2018 02:07:41 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by mail.openembedded.org (Postfix) with ESMTP id 23348783DE for ; Sun, 5 Aug 2018 02:07:17 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id i26-v6so5122886pfo.12 for ; Sat, 04 Aug 2018 19:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=miJVhpZn7mpqXvQYQrSoFayAv9wVbUCM7NawS+nmzsc=; b=aRvN+g7Tk9F7TDjWTOOkrZ61McvzDBO2m9HO4CFA7zmb1y9a9CStm6JNSiMoF+3fBg 40zv3TyYgI51vvlcuqZYZrvhuymQCZfR3t+sSRm+KSN9ylrgb/1QYIuJ8z9bRjQRGmkY IZqizmK+fk4NW2LdIKuJ+xukB47nwZz8R89K76VJisNg4Frr5IVzjaDLvMJV8PjHwq/R sWkSPAuiz7zNL8b/95rKbeRDgcw/y0dS7CtaziZLFZu/kyCuOMdTGzqarIc7I6KYSj94 77Vf4r/0WUtbsKkeluifYPRiytOWgPLRAzKjGvGMdGG6Ogd+noJmqEQ8huBpShp5vZOb K0oQ== 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:in-reply-to :references; bh=miJVhpZn7mpqXvQYQrSoFayAv9wVbUCM7NawS+nmzsc=; b=qzYpZzxigh4G99lwL78gGtkr2ZCO/D+xz/gR9/WkIyNGKzQHd7mJ7qWhNAG+GmLIjE Pxt9/lYMWjtZucSYsmASj7OUl9j2InCPqJB1mnkpM2397eNMd7lnQnXwm5XLu5qXsTNM ddVHE/ypRsjyerG4qLNGSLUR3jEsg15NTUGdNbGLJfV5kIsIfJTZPv2K7ZkDRqyBx9Te W8DPQieuVwHMqjUNzAW85fBnqRi+pt1bCKcjDYYOIu0agL5IhfZKG8vdLKVYtAwZ0I/P rKZ4l59AOPhZuHeW6plG6OOXzp6ex8hGMs/gefIta423lRiYen0owBUShuOpp4sfIKDU yiyw== X-Gm-Message-State: AOUpUlE/VjQamnwbSA9+rY7kUqcZcRyDfguAFUqQGf3spIIz/iu2LQLW Tw2eZgDbN7OeVvZ4k5CwOEpMhCfz X-Received: by 2002:a63:d54e:: with SMTP id v14-v6mr9577970pgi.264.1533434837991; Sat, 04 Aug 2018 19:07:17 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::5b3b]) by smtp.gmail.com with ESMTPSA id b195-v6sm4486021pfb.2.2018.08.04.19.07.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Aug 2018 19:07:16 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sat, 4 Aug 2018 19:06:59 -0700 Message-Id: <38e273d10cb57c980c8216b0c7862313741e20f0.1533434674.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 07/10] 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- .../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.18.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 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 58728f5021..cc155f0fbe 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