freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] Fwd: Bug#176044: freetype: configure generated from broken libto


From: Anthony Fok
Subject: [Devel] Fwd: Bug#176044: freetype: configure generated from broken libtool.m4
Date: Sat, 18 Jan 2003 01:01:43 +0800
User-agent: Mutt/1.5.3i

Hello David,

I received the following message from a fellow Debian developer last week.
It appears that the libtool included in the current FreeType tree needs to
be updated in order to prevent build errors on mips/mipsel architecture.

Thanks in advance!  :-)

        http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=176044

----- Forwarded message from Ryan Murray <address@hidden> -----

Date: Thu,  9 Jan 2003 12:59:44 -0800 (PST)
From: Ryan Murray <address@hidden>
Subject: Bug#176044: freetype: configure generated from broken libtool.m4

Package: freetype
Version: 2.1.3-4
Severity: serious

The version of libtool used to build this source package is too old to
correctly support shared libraries for the Debian mips and mipsel
architectures.  At least version (1.4.2-7) and higher correctly supports
them.  You need to update all of the libtool related files by running
the following on your source tree:

        libtoolize --force --copy
        aclocal
        autoheader
        automake
        autoconf

autoheader may not be needed, and you may need to use autoconf2.13
rather than autoconf.

You may also need to apply the patch in libtool bug #98342 if your
package builds more than one library, where one library depends on the
other.  Versions of libtool from 1.4.2-7.1 include a fix for this problem
already, so using the newest version is recommended.

The correct 'configure' script will have output that looks like this:
# This must be Linux ELF.
linux-gnu*)
  case $host_cpu in
  alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* )
    lt_cv_deplibs_check_method=pass_all ;;
  *)

Older versions of libtool used a file_magic check for the pattern
file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )

The output of file(1) on a shared library on MIPS does not match this
regular expression, however.  Earlier versions of file had been
modified to match this regular expression, but the latest version uses
the same output as upstream once again.  The file check often causes
problems, and results on a build-dep on file that you might not
otherwise be aware of.  The new method doesn't need file(1) at all,
and is far less fragile, so it is best to upgrade the configure script
with proper mips support.

The current libfreetype6 package is broken on both mips and mipsel due
to this problem, which is causing several packages to fail to build.

----- End forwarded message -----

-- 
Anthony Fok Tung-Ling
ThizLinux Laboratory   <address@hidden> http://www.thizlinux.com/
Debian Chinese Project <address@hidden>       http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp!           http://www.olvc.ab.ca/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]