Skip to contentSkip to conversation

configure failes for mc-4.6.2-r4

PATCH In review Steffen Sledz 4 participants 10 messages Feb 8, 2010 – Feb 9, 2010

lore
Share & tools
lore
#0 lore raw

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 <[email protected]>
|        and Alexandre Duret-Lutz <[email protected]>.
| 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.
#1 lore raw

Steffen Sledz <[email protected]> [2010-02-08 15:24:32]:

Quoted 2 lines

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

#2 lore raw
Quoted 6 lines · Petr Štetiar

Steffen Sledz <[email protected]> [2010-02-08 15:24:32]:

Quoted 2 lines

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.

#6 lore raw
In reply to Steffen Sledz
Quoted 9 lines · Steffen Sledz

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

#3 lore raw
In reply to Steffen Sledz

Steffen Sledz <[email protected]> [2010-02-08 17:21:10]:

Quoted 11 lines
Quoted 6 lines · Petr Štetiar

Steffen Sledz <[email protected]> [2010-02-08 15:24:32]:

Quoted 2 lines

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?

recipes/mc/mc_4.6.2.bb +0 -0
index 387187d..0ceda89 100644
@@ -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
}

#4 lore raw

PATCH 1/1 mc 4.6.2: fix do_configure error on missing config.rpath

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.

---
 recipes/mc/mc_4.6.2.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
recipes/mc/mc_4.6.2.bb +3 -1
index 387187d..3eb6bf3 100644
@@ -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
 }
Signature · 1 line
1.6.0.4
#9 lore raw
In reply to Steffen Sledz
Quoted 28 lines · Steffen Sledz

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 <[email protected]>
|        and Alexandre Duret-Lutz <[email protected]>.
| 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
Quoted 8 lines
| 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

#5 lore raw

Re: [PATCH] mc 4.6.2: fix do_configure error on missing config.rpath

In reply to Petr Štetiar
Quoted 10 lines · Petr Štetiar

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.

recipes/mc/mc_4.6.2.bb AUTOFOO="config.guess config.rpath config.sub depcomp install-sh missing mkinsta · line 91

Quoted 6 lines
recipes/mc/mc_4.6.2.bb +2 -0
@@ -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

#7 lore raw
In reply to Jens Seidel
Quoted 8 lines · Jens Seidel
Quoted 7 lines

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

Quoted 8 lines

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

#8 lore raw
Quoted 8 lines · Steffen Sledz
Quoted 5 lines · Jens Seidel
Quoted 3 lines

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