Bug 3124 - libtool fails to recognize the echo command
Summary: libtool fails to recognize the echo command
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2011-10-20 20:44 CEST by Bruno Mahe
Modified: 2012-01-30 22:37 CET (History)
5 users (show)

See Also:
Source RPM: libtool-2.4-3
CVE:
Status comment:


Attachments

Description Bruno Mahe 2011-10-20 20:44:56 CEST
Description of problem:
I am trying to build hadoop 0.20.205 for Mageia and I am getting this issue:
https://issues.apache.org/jira/browse/BIGTOP-128

By searching online about that issue, I noticed a lot of people have experienced it and blame it on their libtool version.
Usually the simplest work around is to edit the generated libtool script and manually add an echo definition, which worked also in this case.
For instance: http://jira.globus.org/browse/RIC-137

This issue does not happened on Fedora 15, which has a libtool-2.4-6 (in case the mageia spec file comes from Fedora)


Version-Release number of selected component (if applicable):
latest version of libtool in Mageia1: libtool-2.4-3

How reproducible:
Every build on Mageia 1. It cannot be reproduced on other GNU/Linux distributions such as Fedora 15, latest Ubuntu or CentOS (see http://bigtop01.cloudera.org:8080/job/Bigtop-trunk-matrix/ ).

Steps to Reproduce:
1. git clone git://github.com/apache/bigtop.git
2. Install dependencies listed there: http://incubator.apache.org/bigtop/
3. make hadoop-rpm
Bruno Mahe 2011-10-20 20:45:12 CEST

CC: (none) => bruno.mahe

Comment 1 Marja Van Waes 2011-12-13 17:25:40 CET
Thanks for your bug report.

We don't have a maintainer for libtools, atm, but we have a newer version of libtools in cauldron and expect that to go into Mga 2 stable.

CC'ing some committers of libtools

CC: (none) => cjw, fundawang, mageia, marja11

Comment 2 Marja Van Waes 2011-12-13 17:26:14 CET
(In reply to comment #1)
> Thanks for your bug report.
> 
> We don't have a maintainer for libtools, atm, but we have a newer version of
> libtools in cauldron and expect that to go into Mga 2 stable.
> 
> CC'ing some committers of libtools

s /libtools /libtool
Comment 3 Olivier Blin 2011-12-13 23:02:45 CET
Looks like you have some old libtool files using $echo in the tarball:
$ LC_ALL=C ls -lh $(grep -rl \$echo ./build/hadoop/rpm/BUILD/hadoop-0.20.205.0/)
-rwxr-xr-x 1 blino blino 217K Dec 13 22:51 ./build/hadoop/rpm/BUILD/hadoop-0.20.205.0/build/native/Linux-amd64-64/libtool*
-rw-r--r-- 1 blino blino 426K Dec 13 22:50 ./build/hadoop/rpm/BUILD/hadoop-0.20.205.0/src/c++/libhdfs/autom4te.cache/output.0
-rw-r--r-- 1 blino blino 256K Oct  7 08:19 ./build/hadoop/rpm/BUILD/hadoop-0.20.205.0/src/native/aclocal.m4
-rw-r--r-- 1 blino blino 196K Oct  7 08:19 ./build/hadoop/rpm/BUILD/hadoop-0.20.205.0/src/native/config/ltmain.sh
-rw-r--r-- 1 blino blino 728K Oct  7 08:19 ./build/hadoop/rpm/BUILD/hadoop-0.20.205.0/src/native/configure


You should run autoreconf.
Comment 4 Marja Van Waes 2012-01-30 19:05:04 CET
@ Bruno

Did you see blino's reply and if so, is this solved now?

Keywords: (none) => NEEDINFO

Comment 5 Bruno Mahe 2012-01-30 22:37:20 CET
Olivier> Marja> Thanks a lot!
This is exactly how I worked around it on https://issues.apache.org/jira/browse/BIGTOP-128
So I guess the ticket can be closed.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.