Bug 140345

Summary: libtoolize creates invalid libtool files
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: libtoolAssignee: Daniel Reed <djr>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-11-22 19:19:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karsten Hopp 2004-11-22 15:12:26 UTC
Description of problem:
assume that you have the following in your .spec file (see the latest gtk+):
libtoolize --force
aclocal-1.4
automake-1.4
autoconf-2.13
autoheader-2.13

When you now try to build the package, you'll end up with lots of errors like
../libtool: line 297: s,^.*/,,g: No such file or directory
../libtool: line 632: -e: command not found
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
../libtool: line 926: -e: command not found
../libtool: line 926: -e: command not found
../libtool: line 926: -e: command not found
../libtool: line 926: -e: command not found
...
That's because SED isn't defined anywhere.
export SED=/bin/sed rpmbuild --rebuild ....  worked for me, but that's just a
workaround, not the solution.

Version-Release number of selected component (if applicable):
libtool-1.5.10-1

How reproducible:
always

Steps to Reproduce:
1. rpmbuild --rebuild gtk+-1.2.10-33.src.rpm
2. check the output

Comment 1 Daniel Reed 2004-11-22 19:19:16 UTC
Automake 1.4 and Autoconf 2.13 are not supported or maintained, either upstream
or by Red Hat. One or both may be incompatible with modern Libtool. (I believe
Libtool 1.5.2 and beyond have had an explicit requirement on Autoconf 2.54 or
beyond.)

As both of these packages have been marked "deprecated", they may disappear at
any time. Please help the affected project migrate their build control files to
a form accepted by Automake 1.9 and Autoconf 2.59. If you can reproduce this
problem using Autoconf 2.59, please reopen. Thanks.