All of lore.kernel.org
 help / color / mirror / Atom feed
* configure failes for mc-4.6.2-r4
@ 2010-02-08 14:24 Steffen Sledz
  2010-02-08 15:40 ` Petr Štetiar
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Steffen Sledz @ 2010-02-08 14:24 UTC (permalink / raw)
  To: openembedded-devel

Is anybody familar with autotools able to fix this?

ERROR: function do_configure failed
ERROR: log data follows (/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/temp/log.do_configure.3914)
| 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/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/mc-4.6.2/m4/ -I/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal-1.10 -I /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal
| autoreconf: Entering directory `.'
| autoreconf: running: aclocal -I /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/mc-4.6.2/m4/ -I /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal-1.10 -I /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal --force -I m4
| autoreconf: configure.ac: tracing
| autoreconf: configure.ac: adding subdirectory vfs/samba to autoreconf
| autoreconf: Entering directory `vfs/samba'
| autoreconf: configure.ac: not using Gettext
| autoreconf: configure.ac: not using aclocal
| autoreconf: configure.ac: not using Libtool
| autoreconf: running: /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/i686-linux/usr/bin/autoconf --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/mc-4.6.2/m4/ --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal-1.10 --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal --force --warnings=cross
| autoreconf: running: /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/i686-linux/usr/bin/autoheader --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/mc-4.6.2/m4/ --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal-1.10 --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal --force --warnings=cross
| autoreconf: configure.ac: not using Automake
| autoreconf: running: gnu-configize
| autoreconf: Leaving directory `vfs/samba'
| autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross
| automake: unknown warning category `cross'
| configure.ac:104: required file `config/config.rpath' not found
| configure.ac:10: installing `config/install-sh'
| configure.ac:10: installing `config/missing'
| configure.ac:104: installing `config/mkinstalldirs'
| edit/Makefile.am: installing `config/depcomp'
| autoreconf: automake failed with exit status: 1
| FATAL: autoreconf execution failed.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: configure failes for mc-4.6.2-r4
  2010-02-08 14:24 configure failes for mc-4.6.2-r4 Steffen Sledz
@ 2010-02-08 15:40 ` Petr Štetiar
  2010-02-08 16:21   ` Steffen Sledz
  2010-02-08 16:35 ` configure failes for mc-4.6.2-r4 Jens Seidel
  2010-02-08 20:50 ` GNUtoo
  2 siblings, 1 reply; 10+ messages in thread
From: Petr Štetiar @ 2010-02-08 15:40 UTC (permalink / raw)
  To: openembedded-devel

Steffen Sledz <sledz@dresearch.de> [2010-02-08 15:24:32]:

> Is anybody familar with autotools able to fix this?
> | configure.ac:104: required file `config/config.rpath' not found

You mean something like 'touch config.rpath' ? :)

-- ynezz



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: configure failes for mc-4.6.2-r4
  2010-02-08 15:40 ` Petr Štetiar
@ 2010-02-08 16:21   ` Steffen Sledz
  2010-02-08 17:38     ` Petr Štetiar
  0 siblings, 1 reply; 10+ messages in thread
From: Steffen Sledz @ 2010-02-08 16:21 UTC (permalink / raw)
  To: openembedded-devel

Petr Štetiar wrote:
> Steffen Sledz <sledz@dresearch.de> [2010-02-08 15:24:32]:
> 
>> Is anybody familar with autotools able to fix this?
>> | configure.ac:104: required file `config/config.rpath' not found
> 
> You mean something like 'touch config.rpath' ? :)

Maybe. But when and where?  ;-)

I've no idea how to patch the recipe to let it run succesfully.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: configure failes for mc-4.6.2-r4
  2010-02-08 14:24 configure failes for mc-4.6.2-r4 Steffen Sledz
  2010-02-08 15:40 ` Petr Štetiar
@ 2010-02-08 16:35 ` Jens Seidel
  2010-02-09 10:40   ` Steffen Sledz
  2010-02-08 20:50 ` GNUtoo
  2 siblings, 1 reply; 10+ messages in thread
From: Jens Seidel @ 2010-02-08 16:35 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Feb 08, 2010 at 03:24:32PM +0100, Steffen Sledz wrote:
> Is anybody familar with autotools able to fix this?
 
> ERROR: function do_configure failed
> ERROR: log data follows (/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/temp/log.do_configure.3914)
> | NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint

> | autoreconf: configure.ac: not using Gettext

> | configure.ac:104: required file `config/config.rpath' not found

As far as I remember config/config.rpath is added by autopoint which
provides translation support. I call in my scripts
$ autopoint --force
after
$ autoreconf --force --install -I config

I wonder about the "not using Gettext" but the problem is probably
"--exclude=autopoint".

Hope it helps,
Jens



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: configure failes for mc-4.6.2-r4
  2010-02-08 16:21   ` Steffen Sledz
@ 2010-02-08 17:38     ` Petr Štetiar
  2010-02-08 19:50       ` [PATCH] mc 4.6.2: fix do_configure error on missing config.rpath Petr Štetiar
  0 siblings, 1 reply; 10+ messages in thread
From: Petr Štetiar @ 2010-02-08 17:38 UTC (permalink / raw)
  To: openembedded-devel

Steffen Sledz <sledz@dresearch.de> [2010-02-08 17:21:10]:

> Petr Štetiar wrote:
> > Steffen Sledz <sledz@dresearch.de> [2010-02-08 15:24:32]:
> > 
> >> Is anybody familar with autotools able to fix this?
> >> | configure.ac:104: required file `config/config.rpath' not found
> > 
> > You mean something like 'touch config.rpath' ? :)
> 
> Maybe. But when and where?  ;-)
> 
> I've no idea how to patch the recipe to let it run succesfully.

Something like that?

diff --git a/recipes/mc/mc_4.6.2.bb b/recipes/mc/mc_4.6.2.bb
index 387187d..0ceda89 100644
--- a/recipes/mc/mc_4.6.2.bb
+++ b/recipes/mc/mc_4.6.2.bb
@@ -86,4 +86,6 @@ AUTOFOO="config.guess config.rpath config.sub depcomp
install-sh missing mkinsta
          for i in ${AUTOFOO}; do
            rm config/${i}
          done
+         # raises error if it's not found
+         touch config/config.rpath
 }



^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH] mc 4.6.2: fix do_configure error on missing config.rpath
  2010-02-08 17:38     ` Petr Štetiar
@ 2010-02-08 19:50       ` Petr Štetiar
  2010-02-09  8:44         ` Jens Seidel
  0 siblings, 1 reply; 10+ messages in thread
From: Petr Štetiar @ 2010-02-08 19:50 UTC (permalink / raw)
  To: openembedded-devel

This patch fixes configure error, complaining about missing config.rpath file
which gets deleted by autofoo in recipe, so to avoid error bellow we create
empty file, making configure happy.

configure.ac:104: required file `config/config.rpath' not found
[...snip...]
autoreconf: automake failed with exit status: 1
FATAL: autoreconf execution failed.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
---
 recipes/mc/mc_4.6.2.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/mc/mc_4.6.2.bb b/recipes/mc/mc_4.6.2.bb
index 387187d..3eb6bf3 100644
--- a/recipes/mc/mc_4.6.2.bb
+++ b/recipes/mc/mc_4.6.2.bb
@@ -1,5 +1,5 @@
 require mc.inc
-PR = "r4"
+PR = "r5"
 HOMEPAGE = "http://www.midnight-commander.org/"
 
 # most of these fixes were copied from openSUSE Factory.
@@ -86,4 +86,6 @@ AUTOFOO="config.guess config.rpath config.sub depcomp install-sh missing mkinsta
          for i in ${AUTOFOO}; do
            rm config/${i}
          done
+         # raises error if it's not found
+         touch config/config.rpath
 }
-- 
1.6.0.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: configure failes for mc-4.6.2-r4
  2010-02-08 14:24 configure failes for mc-4.6.2-r4 Steffen Sledz
  2010-02-08 15:40 ` Petr Štetiar
  2010-02-08 16:35 ` configure failes for mc-4.6.2-r4 Jens Seidel
@ 2010-02-08 20:50 ` GNUtoo
  2 siblings, 0 replies; 10+ messages in thread
From: GNUtoo @ 2010-02-08 20:50 UTC (permalink / raw)
  To: openembedded-devel

On Mon, 2010-02-08 at 15:24 +0100, Steffen Sledz wrote:
> Is anybody familar with autotools able to fix this?
> 
> ERROR: function do_configure failed
> ERROR: log data follows (/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/temp/log.do_configure.3914)
> | 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/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/mc-4.6.2/m4/ -I/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal-1.10 -I /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal
> | autoreconf: Entering directory `.'
> | autoreconf: running: aclocal -I /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/mc-4.6.2/m4/ -I /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal-1.10 -I /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal --force -I m4
> | autoreconf: configure.ac: tracing
> | autoreconf: configure.ac: adding subdirectory vfs/samba to autoreconf
> | autoreconf: Entering directory `vfs/samba'
> | autoreconf: configure.ac: not using Gettext
> | autoreconf: configure.ac: not using aclocal
> | autoreconf: configure.ac: not using Libtool
> | autoreconf: running: /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/i686-linux/usr/bin/autoconf --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/mc-4.6.2/m4/ --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal-1.10 --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal --force --warnings=cross
> | autoreconf: running: /home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/i686-linux/usr/bin/autoheader --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/mc-4.6.2/m4/ --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal-1.10 --include=/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/staging/armv5te-angstrom-linux-gnueabi/usr/share/aclocal --force --warnings=cross
> | autoreconf: configure.ac: not using Automake
> | autoreconf: running: gnu-configize
> | autoreconf: Leaving directory `vfs/samba'
> | autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross
> | automake: unknown warning category `cross'
> | configure.ac:104: required file `config/config.rpath' not found
> | configure.ac:10: installing `config/install-sh'
> | configure.ac:10: installing `config/missing'
> | configure.ac:104: installing `config/mkinstalldirs'
> | edit/Makefile.am: installing `config/depcomp'
> | autoreconf: automake failed with exit status: 1
> | FATAL: autoreconf execution failed.
I think you have to look in configure.ac at line 104
It will give you the part that is making this problem.
I had a similar problem with an enlightenment thing(not yet commited...I
just came back from fosdem)
I had to gettextize before configuring to make it work.

Denis





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] mc 4.6.2: fix do_configure error on missing config.rpath
  2010-02-08 19:50       ` [PATCH] mc 4.6.2: fix do_configure error on missing config.rpath Petr Štetiar
@ 2010-02-09  8:44         ` Jens Seidel
  0 siblings, 0 replies; 10+ messages in thread
From: Jens Seidel @ 2010-02-09  8:44 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Feb 08, 2010 at 08:50:12PM +0100, Petr Štetiar wrote:
> This patch fixes configure error, complaining about missing config.rpath file
> which gets deleted by autofoo in recipe, so to avoid error bellow we create
> empty file, making configure happy.
 
> configure.ac:104: required file `config/config.rpath' not found
> [...snip...]
> autoreconf: automake failed with exit status: 1
> FATAL: autoreconf execution failed.

> @@ -86,4 +86,6 @@ AUTOFOO="config.guess config.rpath config.sub depcomp install-sh missing mkinsta
>           for i in ${AUTOFOO}; do
>             rm config/${i}
>           done
> +         # raises error if it's not found
> +         touch config/config.rpath
>  }

Mhm, and you know that this patch is right? If config.rpath is called it is
expected that it sets a few variables such as shlibext (normally to "so"),
libext ("a") but this does not happen with an empty config.rpath. This patch
may indeed fix the current error but what about support for all platforms?
I would ship a proper file instead of a faked one and I mentioned that e.g.
autopoint creates this file ...

Jens



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: configure failes for mc-4.6.2-r4
  2010-02-08 16:35 ` configure failes for mc-4.6.2-r4 Jens Seidel
@ 2010-02-09 10:40   ` Steffen Sledz
  2010-02-09 11:20     ` Jens Seidel
  0 siblings, 1 reply; 10+ messages in thread
From: Steffen Sledz @ 2010-02-09 10:40 UTC (permalink / raw)
  To: openembedded-devel

Jens Seidel wrote:
>> ERROR: function do_configure failed
>> ERROR: log data follows (/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/temp/log.do_configure.3914)
>> | NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint
> 
>> | autoreconf: configure.ac: not using Gettext
> 
>> | configure.ac:104: required file `config/config.rpath' not found
> 
> As far as I remember config/config.rpath is added by autopoint which
> provides translation support. I call in my scripts
> $ autopoint --force
> after
> $ autoreconf --force --install -I config
> 
> I wonder about the "not using Gettext" but the problem is probably
> "--exclude=autopoint".

Sounds good. Can you try to create a patch?

Steffen




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: configure failes for mc-4.6.2-r4
  2010-02-09 10:40   ` Steffen Sledz
@ 2010-02-09 11:20     ` Jens Seidel
  0 siblings, 0 replies; 10+ messages in thread
From: Jens Seidel @ 2010-02-09 11:20 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Feb 09, 2010 at 11:40:34AM +0100, Steffen Sledz wrote:
> Jens Seidel wrote:
> >> ERROR: function do_configure failed
> >> ERROR: log data follows (/home/DRESEARCH/sledz/work/HydraIP/OE/tmp.5/work/armv5te-angstrom-linux-gnueabi/mc-4.6.2-r4/temp/log.do_configure.3914)
> >> | NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint
> > I wonder about the "not using Gettext" but the problem is probably
> > "--exclude=autopoint".
> 
> Sounds good. Can you try to create a patch?

I'm capable of it especially releated to autotools+gettext and git. But to
be honest I never used bitbake up to now and I'm just lurking on this
list because I own an OpenMoko mobile which distribution uses OpenEmbedded  :-)

I will try my best but I cannot promise anything ...

Jens



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-02-09 11:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-08 14:24 configure failes for mc-4.6.2-r4 Steffen Sledz
2010-02-08 15:40 ` Petr Štetiar
2010-02-08 16:21   ` Steffen Sledz
2010-02-08 17:38     ` Petr Štetiar
2010-02-08 19:50       ` [PATCH] mc 4.6.2: fix do_configure error on missing config.rpath Petr Štetiar
2010-02-09  8:44         ` Jens Seidel
2010-02-08 16:35 ` configure failes for mc-4.6.2-r4 Jens Seidel
2010-02-09 10:40   ` Steffen Sledz
2010-02-09 11:20     ` Jens Seidel
2010-02-08 20:50 ` GNUtoo

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.