From: chunrongguo <b40290@freescale.com>
To: <openembedded-devel@lists.openembedded.org>
Cc: McClintock Matthew-B29882 <B29882@freescale.com>,
Liu, Ting-B28495 <B28495@freescale.com>,
Luo Zhenhua-B19537 <B19537@freescale.com>
Subject: Re: [meta-oe] inetutils: fix configure error under automake 1.12
Date: Fri, 9 Nov 2012 15:53:03 +0800 [thread overview]
Message-ID: <509CB65F.6070808@freescale.com> (raw)
In-Reply-To: <1351755464-13839-1-git-send-email-b40290@freescale.com>
Ping!
Thanks,
Chunrong
On Thursday, November 01, 2012 03:37 PM, Chunrong Guo wrote:
> From: chunrong <b40290@freescale.com>
>
> * fix the following error :
> configure.ac:572: error: automatic de-ANSI-fication support has been removed
> | /tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12/protos.m4:10: AM_C_PROTOTYPES is expanded from...
> | configure.ac:572: the top level
> | autom4te: m4 failed with exit status: 1
> | aclocal: error: tmp/sysroots/x86_64-linux/usr/bin/autom4te failed with exit status: 1
> | autoreconf: aclocal failed with exit status: 1
> | ERROR: autoreconf execution failed.
> | ERROR: Function failed: do_configure (see inetutils-1.8-+fsl/temp/log.do_configure.23693 for further information)
> ERROR: meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb, do_configure) failed with exit code '1'
> * automake 1.12 removes support for AM_C_PROTOTYPES.
>
> Signed-off-by: chunrong <b40290@freescale.com>
> ---
> .../inetutils-1.8/disable-pre-ANSI-compilers.patch | 11 +++++++++++
> .../inetutils/inetutils-1.8/remove_gets.patch | 13 +++++++++++++
> .../inetutils/inetutils_1.8.bb | 4 ++++
> 3 files changed, 28 insertions(+), 0 deletions(-)
> create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/disable-pre-ANSI-compilers.patch
> create mode 100644 meta-oe/recipes-connectivity/inetutils/inetutils-1.8/remove_gets.patch
>
> diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/disable-pre-ANSI-compilers.patch b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/disable-pre-ANSI-compilers.patch
> new file mode 100644
> index 0000000..b945f3a
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/disable-pre-ANSI-compilers.patch
> @@ -0,0 +1,11 @@
> +--- inetutils-1.8.org/configure.ac 2012-10-23 02:05:20.516386701 -0500
> ++++ inetutils-1.8/configure.ac 2012-10-25 21:31:10.602591484 -0500
> +@@ -569,7 +569,7 @@
> + IU_CHECK_MEMBERS([struct stat.st_blksize])
> +
> + ### Checks for compiler characteristics.
> +-AM_C_PROTOTYPES dnl FIXME: Does inetutils even compile on pre-ANSI compilers?
> ++#AM_C_PROTOTYPES dnl FIXME: Does inetutils even compile on pre-ANSI compilers?
> + AC_C_CONST
> +
> + dnl See if `weak refs' are possible; these make it possible (with shared
> diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/remove_gets.patch b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/remove_gets.patch
> new file mode 100644
> index 0000000..f8081a2
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/inetutils/inetutils-1.8/remove_gets.patch
> @@ -0,0 +1,13 @@
> +--- inetutils-1.8.org/lib/stdio.in.h 2010-05-15 06:35:16.000000000 -0500
> ++++ inetutils-1.8/lib/stdio.in.h 2012-10-25 22:56:43.198607472 -0500
> +@@ -138,8 +138,10 @@
> + /* It is very rare that the developer ever has full control of stdin,
> + so any use of gets warrants an unconditional warning. Assume it is
> + always declared, since it is required by C89. */
> ++#if defined gets
> + #undef gets
> + _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
> ++#endif
> +
> + #if @GNULIB_FOPEN@
> + # if @REPLACE_FOPEN@
> diff --git a/meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb b/meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb
> index ce0df82..761b2e6 100644
> --- a/meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb
> +++ b/meta-oe/recipes-connectivity/inetutils/inetutils_1.8.bb
> @@ -8,6 +8,8 @@ LICENSE = "GPLv3"
>
> LIC_FILES_CHKSUM = "file://COPYING;md5=adefda309052235aa5d1e99ce7557010"
>
> +PR = "r1"
> +
> SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
> file://inetutils-1.8-0001-printf-parse-pull-in-features.h-for-__GLIBC__.patch \
> file://inetutils-1.8-0002-argp-fix-program_invocation_name-detection.patch \
> @@ -18,6 +20,8 @@ SRC_URI = "${GNU_MIRROR}/inetutils/inetutils-${PV}.tar.gz \
> file://inetutils-1.8-1004-detect-fork-support.patch \
> file://inetutils-1.8-1005-ftpd-add-daemon-D-nommu-support.patch \
> file://fix-disable-ipv6.patch \
> + file://disable-pre-ANSI-compilers.patch \
> + file://remove_gets.patch \
> "
> SRC_URI[md5sum] = "ad8fdcdf1797b9ca258264a6b04e48fd"
> SRC_URI[sha256sum] = "c8500baee04b9ea408c9e65e24ad7f5b41e7d96d42fb1d29abf25b52b68311c7"
prev parent reply other threads:[~2012-11-09 9:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-01 7:37 [meta-oe] inetutils: fix configure error under automake 1.12 Chunrong Guo
2012-11-09 7:53 ` chunrongguo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=509CB65F.6070808@freescale.com \
--to=b40290@freescale.com \
--cc=B19537@freescale.com \
--cc=B28495@freescale.com \
--cc=B29882@freescale.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.