Bug 94

Summary: Libtool related packaging problem
Product: fontconfig Reporter: Greg Schafer <gschafer>
Component: libraryAssignee: Keith Packard <keithp>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: 2.2   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Greg Schafer 2003-06-21 22:18:43 UTC
The fontconfig-2.2.1.tar.gz tarball (and most of the other tarballs available
from fontconfig.org it seems) have a small problem in that there is a mismatch
between the supplied ltmain.sh and the libtool m4 macros (contained in aclocal.m4).

The ltmain.sh is version 1.5
The libtool m4 macros appear to be from 1.4.x

This mismatch results in ugliness like this:-

(cd .libs && rm -f libfontconfig.so.1 && ln -s libfontconfig.so.1.0.4
libfontconfig.so.1)
(cd .libs && rm -f libfontconfig.so && ln -s libfontconfig.so.1.0.4
libfontconfig.so)
../libtool: line 5251: test: : integer expression expected
../libtool: line 5251: test: : integer expression expected
using piecewise archive linking...
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
../libtool: line 5286: test: : integer expression expected
ar cru .libs/libfontconfig.a fcatomic.o
: .libs/libfontconfig.a
ar cru .libs/libfontconfig.a fcblanks.o
: .libs/libfontconfig.a
ar cru .libs/libfontconfig.a fccache.o

I'm not sure how you managed it, but possibly the host on which the tarballs are
made has a horked autotools setup.

Something like:-

libtoolize --copy --force
aclocal

should fix it.

Thanks
Comment 1 Keith Packard 2003-06-22 22:43:22 UTC
Good call -- there was a broken version of libtoolize on the build machine. 
Future tarballs should work better, but as this mistake shouldn't cause any
actual problems, I'm not going to re-release the existing packages.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.