configure failes for mc-4.6.2-r4
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.
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
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 foundYou 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.
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 foundYou 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
@@ -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
}
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
@@ -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
Re: [PATCH] mc 4.6.2: fix do_configure error on missing config.rpath
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
Quoted 9 lines · Steffen Sledz
Is anybody familar with autotools able to fix this?
ERROR: function
do_configurefailed
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
Quoted 8 lines · Jens Seidel
Quoted 7 lines
ERROR: function
do_configurefailed
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 configI wonder about the "not using Gettext" but the problem is probably "--exclude=autopoint".
Sounds good. Can you try to create a patch?
Steffen
Quoted 8 lines · Steffen Sledz
Quoted 5 lines · Jens Seidel
Quoted 3 lines
ERROR: function
do_configurefailed
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=autopointI 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
Quoted 28 lines · Steffen Sledz
Is anybody familar with autotools able to fix this?
ERROR: function
do_configurefailed
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