* error trying to build parted 1.8.8 : configure.ac:173: error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE
[not found] <mailman.1729.1265722552.14961.openembedded-devel@lists.openembedded.org>
@ 2010-02-09 15:36 ` Jay Snyder
2010-05-19 16:24 ` David MOUSSAUD
0 siblings, 1 reply; 3+ messages in thread
From: Jay Snyder @ 2010-02-09 15:36 UTC (permalink / raw)
To: openembedded-devel
I'm trying to build parted 1.8.8 on OE:
NOTE: Running task 551 of 565 (ID: 3,
/home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb, do_unpack)
NOTE: Running task 552 of 565 (ID: 13,
/home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb,
do_distribute_sources)
NOTE: Unpacking ../downloads/parted-1.8.8.tar.gz to
tmp/work/i686-angstrom-linux/parted-1.8.8-r2/
NOTE: Running task 553 of 565 (ID: 4,
/home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb,
do_patch)
NOTE: Applying patch 'use_llseek_syscall.patch'
(../2009-12-04/openembedded/recipes/parted/files/use_llseek_syscall.patch)
NOTE: Applying patch 'parted-1.8.x.patch'
(../2009-12-04/openembedded/recipes/parted/files/parted-1.8.x.patch)
NOTE: Running task 554 of 565 (ID: 5,
/home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb,
do_configure)
ERROR: function do_configure
failed
ERROR: log data follows
(/home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/temp/log.do_configure.24731)
| automake (GNU automake)
1.10.2
| Copyright (C) 2008 Free Software Foundation,
Inc.
| License GPLv2+: GNU GPL version 2 or later
<http://gnu.org/licenses/gpl.html>
| This is free software: you are free to change and redistribute
it.
| There is NO WARRANTY, to the extent permitted by
law.
|
| Written by Tom Tromey
<tromey@redhat.com>
| and Alexandre Duret-Lutz
<adl@gnu.org>.
| AUTOV is
1.10
| NOTE: Executing autoreconf --verbose --install --force
--exclude=autopoint -I
/home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/
-I/home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal-1.10
-I /home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal
| autoreconf: Entering directory `.'
| autoreconf: running: aclocal -I
/home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/
-I /home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal-1.10
-I /home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal
--force -I m4
| configure.ac:173: error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE
|
/home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/extensions.m4:19:
AC_USE_SYSTEM_EXTENSIONS is expanded from...
| ../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
|
/home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/gnulib-comp.m4:23:
gl_EARLY is expanded from...
| configure.ac:173: the top level
| autom4te: /home/oe/build/tmp/staging/x86_64-linux/usr/bin/m4 failed
with exit status: 1
| aclocal: autom4te failed with exit status: 1
| autoreconf: aclocal failed with exit status: 1
| FATAL: autoreconf execution failed.
NOTE: Task failed:
/home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/temp/log.do_configure.24731
ERROR: TaskFailed event exception, aborting
ERROR: Build of
/home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb
do_configure failed
ERROR: Task 5
(/home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb,
do_configure) failed
NOTE: Tasks Summary: Attempted 553 tasks of which 548 didn't need to be
rerun and 1 failed.
ERROR: '/home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb'
failed
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: error trying to build parted 1.8.8 : configure.ac:173: error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE
2010-02-09 15:36 ` error trying to build parted 1.8.8 : configure.ac:173: error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE Jay Snyder
@ 2010-05-19 16:24 ` David MOUSSAUD
2010-05-25 12:35 ` [PATCH] " David MOUSSAUD
0 siblings, 1 reply; 3+ messages in thread
From: David MOUSSAUD @ 2010-05-19 16:24 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 5690 bytes --]
Hi,
that patch works for me.
diff --git a/recipes/parted/files/extensions-m4.patch
b/recipes/parted/files/extensions-m4.patch
new file mode 100644
index 0000000..1ec53f7
--- /dev/null
+++ b/recipes/parted/files/extensions-m4.patch
@@ -0,0 +1,26 @@
+diff -Nru parted-1.8.8/m4/extensions.m4 parted-1.8.8.patched/m4/extensions.m4
+--- parted-1.8.8/m4/extensions.m4 2006-10-12 10:01:18.000000000 +0200
++++ parted-1.8.8.patched/m4/extensions.m4 2010-05-19 18:14:35.000000000 +0200
+@@ -1,4 +1,4 @@
+-# serial 4 -*- Autoconf -*-
++# serial 5 -*- Autoconf -*-
+ # Enable extensions on systems that normally disable them.
+
+ # Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+@@ -16,6 +16,7 @@
+ # ------------------------
+ # Enable extensions on systems that normally disable them,
+ # typically due to standards-conformance issues.
++m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [], [
+ AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
+ [
+ AC_BEFORE([$0], [AC_COMPILE_IFELSE])
+@@ -48,7 +49,7 @@
+ AC_DEFINE([__EXTENSIONS__])
+ AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
+ AC_DEFINE([_TANDEM_SOURCE])
+-])
++])])
+
+ # gl_USE_SYSTEM_EXTENSIONS
+ # ------------------------
diff --git a/recipes/parted/parted_1.8.8.bb b/recipes/parted/parted_1.8.8.bb
index 2890e23..82369f1 100644
--- a/recipes/parted/parted_1.8.8.bb
+++ b/recipes/parted/parted_1.8.8.bb
@@ -3,11 +3,12 @@ HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"
LICENSE = "GPLv3"
SECTION = "console/tools"
DEPENDS = "readline util-linux-ng"
-PR = "r3"
+PR = "r4"
SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \
file://use_llseek_syscall.patch;patch=1 \
file://parted-1.8.x.patch;patch=1 \
+ file://extensions-m4.patch;patch=1 \
"
EXTRA_OECONF = "--disable-Werror ac_cv_func_calloc_0_nonnull=yes"
regards,
David
On Tue, Feb 9, 2010 at 5:36 PM, Jay Snyder
<jay.snyder@tycoelectronics.com> wrote:
> I'm trying to build parted 1.8.8 on OE:
>
>
> NOTE: Running task 551 of 565 (ID: 3,
> /home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb, do_unpack)
> NOTE: Running task 552 of 565 (ID: 13,
> /home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb,
> do_distribute_sources)
> NOTE: Unpacking ../downloads/parted-1.8.8.tar.gz to
> tmp/work/i686-angstrom-linux/parted-1.8.8-r2/
> NOTE: Running task 553 of 565 (ID: 4,
> /home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb, do_patch)
> NOTE: Applying patch 'use_llseek_syscall.patch'
> (../2009-12-04/openembedded/recipes/parted/files/use_llseek_syscall.patch)
>
> NOTE: Applying patch 'parted-1.8.x.patch'
> (../2009-12-04/openembedded/recipes/parted/files/parted-1.8.x.patch)
>
> NOTE: Running task 554 of 565 (ID: 5,
> /home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb,
> do_configure) ERROR: function do_configure failed
>
> ERROR: log data follows
> (/home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/temp/log.do_configure.24731)
>
> | automake (GNU automake) 1.10.2
>
> | Copyright (C) 2008 Free Software Foundation, Inc.
>
> | License GPLv2+: GNU GPL version 2 or later
> <http://gnu.org/licenses/gpl.html>
>
> | This is free software: you are free to change and redistribute it.
> | There is NO WARRANTY, to
> the extent permitted by law.
> |
>
> | Written by Tom Tromey <tromey@redhat.com>
>
> | and Alexandre Duret-Lutz <adl@gnu.org>.
>
> | AUTOV is 1.10
>
> | NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint
> -I
> /home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/
> -I/home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal-1.10 -I
> /home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal
> | autoreconf: Entering directory `.'
> | autoreconf: running: aclocal -I
> /home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/
> -I /home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal-1.10 -I
> /home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal --force -I
> m4
> | configure.ac:173: error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE
> |
> /home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/extensions.m4:19:
> AC_USE_SYSTEM_EXTENSIONS is expanded from...
> | ../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
> |
> /home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/gnulib-comp.m4:23:
> gl_EARLY is expanded from...
> | configure.ac:173: the top level
> | autom4te: /home/oe/build/tmp/staging/x86_64-linux/usr/bin/m4 failed with
> exit status: 1
> | aclocal: autom4te failed with exit status: 1
> | autoreconf: aclocal failed with exit status: 1
> | FATAL: autoreconf execution failed.
> NOTE: Task failed:
> /home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/temp/log.do_configure.24731
> ERROR: TaskFailed event exception, aborting
> ERROR: Build of
> /home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb do_configure
> failed
> ERROR: Task 5
> (/home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb,
> do_configure) failed
> NOTE: Tasks Summary: Attempted 553 tasks of which 548 didn't need to be
> rerun and 1 failed.
> ERROR: '/home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb'
> failed
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
[-- Attachment #2: parted-build-error.patch --]
[-- Type: application/octet-stream, Size: 1773 bytes --]
diff --git a/recipes/parted/files/extensions-m4.patch b/recipes/parted/files/extensions-m4.patch
new file mode 100644
index 0000000..1ec53f7
--- /dev/null
+++ b/recipes/parted/files/extensions-m4.patch
@@ -0,0 +1,26 @@
+diff -Nru parted-1.8.8/m4/extensions.m4 parted-1.8.8.patched/m4/extensions.m4
+--- parted-1.8.8/m4/extensions.m4 2006-10-12 10:01:18.000000000 +0200
++++ parted-1.8.8.patched/m4/extensions.m4 2010-05-19 18:14:35.000000000 +0200
+@@ -1,4 +1,4 @@
+-# serial 4 -*- Autoconf -*-
++# serial 5 -*- Autoconf -*-
+ # Enable extensions on systems that normally disable them.
+
+ # Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+@@ -16,6 +16,7 @@
+ # ------------------------
+ # Enable extensions on systems that normally disable them,
+ # typically due to standards-conformance issues.
++m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [], [
+ AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
+ [
+ AC_BEFORE([$0], [AC_COMPILE_IFELSE])
+@@ -48,7 +49,7 @@
+ AC_DEFINE([__EXTENSIONS__])
+ AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
+ AC_DEFINE([_TANDEM_SOURCE])
+-])
++])])
+
+ # gl_USE_SYSTEM_EXTENSIONS
+ # ------------------------
diff --git a/recipes/parted/parted_1.8.8.bb b/recipes/parted/parted_1.8.8.bb
index 2890e23..82369f1 100644
--- a/recipes/parted/parted_1.8.8.bb
+++ b/recipes/parted/parted_1.8.8.bb
@@ -3,11 +3,12 @@ HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"
LICENSE = "GPLv3"
SECTION = "console/tools"
DEPENDS = "readline util-linux-ng"
-PR = "r3"
+PR = "r4"
SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \
file://use_llseek_syscall.patch;patch=1 \
file://parted-1.8.x.patch;patch=1 \
+ file://extensions-m4.patch;patch=1 \
"
EXTRA_OECONF = "--disable-Werror ac_cv_func_calloc_0_nonnull=yes"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] error trying to build parted 1.8.8 : configure.ac:173: error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE
2010-05-19 16:24 ` David MOUSSAUD
@ 2010-05-25 12:35 ` David MOUSSAUD
0 siblings, 0 replies; 3+ messages in thread
From: David MOUSSAUD @ 2010-05-25 12:35 UTC (permalink / raw)
To: openembedded-devel
On Wed, May 19, 2010 at 6:24 PM, David MOUSSAUD <d.moussaud@gmail.com> wrote:
> Hi,
>
> that patch works for me.
>
>
> diff --git a/recipes/parted/files/extensions-m4.patch
> b/recipes/parted/files/extensions-m4.patch
> new file mode 100644
> index 0000000..1ec53f7
> --- /dev/null
> +++ b/recipes/parted/files/extensions-m4.patch
> @@ -0,0 +1,26 @@
> +diff -Nru parted-1.8.8/m4/extensions.m4 parted-1.8.8.patched/m4/extensions.m4
> +--- parted-1.8.8/m4/extensions.m4 2006-10-12 10:01:18.000000000 +0200
> ++++ parted-1.8.8.patched/m4/extensions.m4 2010-05-19 18:14:35.000000000 +0200
> +@@ -1,4 +1,4 @@
> +-# serial 4 -*- Autoconf -*-
> ++# serial 5 -*- Autoconf -*-
> + # Enable extensions on systems that normally disable them.
> +
> + # Copyright (C) 2003, 2006 Free Software Foundation, Inc.
> +@@ -16,6 +16,7 @@
> + # ------------------------
> + # Enable extensions on systems that normally disable them,
> + # typically due to standards-conformance issues.
> ++m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [], [
> + AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
> + [
> + AC_BEFORE([$0], [AC_COMPILE_IFELSE])
> +@@ -48,7 +49,7 @@
> + AC_DEFINE([__EXTENSIONS__])
> + AC_DEFINE([_POSIX_PTHREAD_SEMANTICS])
> + AC_DEFINE([_TANDEM_SOURCE])
> +-])
> ++])])
> +
> + # gl_USE_SYSTEM_EXTENSIONS
> + # ------------------------
> diff --git a/recipes/parted/parted_1.8.8.bb b/recipes/parted/parted_1.8.8.bb
> index 2890e23..82369f1 100644
> --- a/recipes/parted/parted_1.8.8.bb
> +++ b/recipes/parted/parted_1.8.8.bb
> @@ -3,11 +3,12 @@ HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"
> LICENSE = "GPLv3"
> SECTION = "console/tools"
> DEPENDS = "readline util-linux-ng"
> -PR = "r3"
> +PR = "r4"
>
> SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \
> file://use_llseek_syscall.patch;patch=1 \
> file://parted-1.8.x.patch;patch=1 \
> + file://extensions-m4.patch;patch=1 \
> "
>
> EXTRA_OECONF = "--disable-Werror ac_cv_func_calloc_0_nonnull=yes"
>
>
> regards,
> David
>
> On Tue, Feb 9, 2010 at 5:36 PM, Jay Snyder
> <jay.snyder@tycoelectronics.com> wrote:
>> I'm trying to build parted 1.8.8 on OE:
>>
>>
>> NOTE: Running task 551 of 565 (ID: 3,
>> /home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb, do_unpack)
>> NOTE: Running task 552 of 565 (ID: 13,
>> /home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb,
>> do_distribute_sources)
>> NOTE: Unpacking ../downloads/parted-1.8.8.tar.gz to
>> tmp/work/i686-angstrom-linux/parted-1.8.8-r2/
>> NOTE: Running task 553 of 565 (ID: 4,
>> /home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb, do_patch)
>> NOTE: Applying patch 'use_llseek_syscall.patch'
>> (../2009-12-04/openembedded/recipes/parted/files/use_llseek_syscall.patch)
>>
>> NOTE: Applying patch 'parted-1.8.x.patch'
>> (../2009-12-04/openembedded/recipes/parted/files/parted-1.8.x.patch)
>>
>> NOTE: Running task 554 of 565 (ID: 5,
>> /home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb,
>> do_configure) ERROR: function do_configure failed
>>
>> ERROR: log data follows
>> (/home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/temp/log.do_configure.24731)
>>
>> | automake (GNU automake) 1.10.2
>>
>> | Copyright (C) 2008 Free Software Foundation, Inc.
>>
>> | License GPLv2+: GNU GPL version 2 or later
>> <http://gnu.org/licenses/gpl.html>
>>
>> | This is free software: you are free to change and redistribute it.
>> | There is NO WARRANTY, to
>> the extent permitted by law.
>> |
>>
>> | Written by Tom Tromey <tromey@redhat.com>
>>
>> | and Alexandre Duret-Lutz <adl@gnu.org>.
>>
>> | AUTOV is 1.10
>>
>> | NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint
>> -I
>> /home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/
>> -I/home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal-1.10 -I
>> /home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal
>> | autoreconf: Entering directory `.'
>> | autoreconf: running: aclocal -I
>> /home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/
>> -I /home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal-1.10 -I
>> /home/oe/build/tmp/staging/i686-angstrom-linux/usr/share/aclocal --force -I
>> m4
>> | configure.ac:173: error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE
>> |
>> /home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/extensions.m4:19:
>> AC_USE_SYSTEM_EXTENSIONS is expanded from...
>> | ../../lib/autoconf/specific.m4:332: AC_GNU_SOURCE is expanded from...
>> |
>> /home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/parted-1.8.8/m4/gnulib-comp.m4:23:
>> gl_EARLY is expanded from...
>> | configure.ac:173: the top level
>> | autom4te: /home/oe/build/tmp/staging/x86_64-linux/usr/bin/m4 failed with
>> exit status: 1
>> | aclocal: autom4te failed with exit status: 1
>> | autoreconf: aclocal failed with exit status: 1
>> | FATAL: autoreconf execution failed.
>> NOTE: Task failed:
>> /home/oe/build/tmp/work/i686-angstrom-linux/parted-1.8.8-r2/temp/log.do_configure.24731
>> ERROR: TaskFailed event exception, aborting
>> ERROR: Build of
>> /home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb do_configure
>> failed
>> ERROR: Task 5
>> (/home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb,
>> do_configure) failed
>> NOTE: Tasks Summary: Attempted 553 tasks of which 548 didn't need to be
>> rerun and 1 failed.
>> ERROR: '/home/oe/2009-12-04/openembedded/recipes/parted/parted_1.8.8.bb'
>> failed
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-25 12:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1729.1265722552.14961.openembedded-devel@lists.openembedded.org>
2010-02-09 15:36 ` error trying to build parted 1.8.8 : configure.ac:173: error: AC_REQUIRE: circular dependency of AC_GNU_SOURCE Jay Snyder
2010-05-19 16:24 ` David MOUSSAUD
2010-05-25 12:35 ` [PATCH] " David MOUSSAUD
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.