Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75877 - php 5.0.3 doesnt merge and complains about libt1.(a|so)
Summary: php 5.0.3 doesnt merge and complains about libt1.(a|so)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 60438
  Show dependency tree
 
Reported: 2004-12-27 21:57 UTC by Nicolas Vilz
Modified: 2005-08-25 11:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,54.58 KB, text/plain)
2004-12-28 09:32 UTC, Nicolas Vilz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Vilz 2004-12-27 21:57:16 UTC
When I try to merge php 5.0.3, i get following errors in the configure-section:

Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for pkg-config... /usr/bin/pkg-config
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... no
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking for cpdflib support... no
checking whether to enable ctype functions... no
checking for CURL support... no
checking if we should use CURL for url streams... no
checking whether to enable DBA... yes
checking for QDBM support... no
checking for gdbm_open in -lgdbm... yes
checking for GDBM support... yes
checking for NDBM support... no
checking for db4 minor version and patch level... ok
checking for Berkeley DB4 support... yes
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... builtin
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... yes
checking whether to enable dbase support... no
checking whether to enable dbx support... no
checking whether to enable direct I/O support... no
checking whether to enable DOM support... yes
checking whether libxml build works... (cached) yes
checking whether to enable EXIF (metadata from images) support... no
checking for fam support... yes
checking for fam files in default path... found in /usr
checking for FAMOpen in -lfam... yes
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable the bundled filePro support... no
checking whether to enable FTP support... yes
checking for GD support... yes
checking for the location of libjpeg... /usr
checking for the location of libpng... /usr
checking for the location of libXpm... no
checking for FreeType 1.x support... /usr
checking for FreeType 2... /usr
checking for T1lib support... /usr
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
checking for FreeType 1 support... no - FreeType 2.x is to be used instead
checking for T1_StrError in -lt1... no
configure: error: Problem with libt1.(a|so). Please check config.log for more information.

!!! ERROR: dev-php/php-5.0.3 failed.
!!! Function econf, Line 447, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

config.log says following:
configure:30133: checking for fabsf
configure:30161: gcc -o conftest -march=athlon-mp -O3 -pipe -fomit-frame-pointer  -L/usr/lib  conftest.c -lfam -ldb-4.2 -ldb-4.2 -lgdbm -lz -lresolv -lm -ldl -lnsl  -lxml2 -lz
 -lm -lssl -lcrypto -ldl -lxml2 -lz -lm 1>&5
configure:30145: warning: conflicting types for built-in function 'fabsf'
configure:30133: checking for floorf
configure:30161: gcc -o conftest -march=athlon-mp -O3 -pipe -fomit-frame-pointer  -L/usr/lib  conftest.c -lfam -ldb-4.2 -ldb-4.2 -lgdbm -lz -lresolv -lm -ldl -lnsl  -lxml2 -lz
 -lm -lssl -lcrypto -ldl -lxml2 -lz -lm 1>&5
configure:30145: warning: conflicting types for built-in function 'floorf'
configure:30293: checking for jpeg_read_header in -ljpeg
configure:30312: gcc -o conftest -march=athlon-mp -O3 -pipe -fomit-frame-pointer  -L/usr/lib  conftest.c -ljpeg  -lfam -ldb-4.2 -ldb-4.2 -lgdbm -lz -lresolv -lm -ldl -lnsl  -l
xml2 -lz -lm -lssl -lcrypto -ldl -lxml2 -lz -lm 1>&5
configure:30576: checking for png_write_image in -lpng
configure:30595: gcc -o conftest -march=athlon-mp -O3 -pipe -fomit-frame-pointer  -L/usr/lib  -lz conftest.c -lpng  -ljpeg -lfam -ldb-4.2 -ldb-4.2 -lgdbm -lz -lresolv -lm -ldl
 -lnsl  -lxml2 -lz -lm -lssl -lcrypto -ldl -lxml2 -lz -lm 1>&5
configure:31578: checking for FreeType 1 support
configure:31675: checking for T1_StrError in -lt1
configure:31694: gcc -o conftest -march=athlon-mp -O3 -pipe -fomit-frame-pointer  -L/usr/lib  conftest.c -lt1  -lfreetype -lpng -lz -ljpeg -lfam -ldb-4.2 -ldb-4.2 -lgdbm -lz -
lresolv -lm -ldl -lnsl  -lxml2 -lz -lm -lssl -lcrypto -ldl -lxml2 -lz -lm 1>&5
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lt1
collect2: ld returned 1 exit status
configure: failed program was:
#line 31683 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char T1_StrError();

int main() {
T1_StrError()
; return 0; }



Reproducible: Always
Steps to Reproduce:
1.emerge -u php
2.
3.

Actual Results:  
portage tries to merge php 5.0.3 and crashes...

Expected Results:  
it should have merged correctly...

emerge -pvuD php   

These are the packages that I would merge, in order:

Calculating dependencies                            ...done!  
[ebuild     U ] dev-php/php-5.0.3 [5.0.2-r1] -adabas -bcmath +berkdb -birdstep
-bzlib -calendar -cdb -cpdflib +crypt -ctype -curl -curlwrappers -db2 +dba
-dbase -dbm -dbmaker -dbx -debug -dio -empress -empress-bcs -esoob -exif +fam*
-fdftk -filepro -flatfile -frontbase +ftp* +gd -gd-external +gdbm -gmp
-hyperwave-api -iconv -imap -informix -ingres -inifile -interbase -iodbc +jpeg
-kerberos -ldap -libedit -mcve -memlimit -mhash -mime -ming -mnogosearch
-msession -msql -mssql +mysql -mysqli +ncurses -nis +nls -oci8 -odbc -oracle7
-ovrimos -pcntl -pcre -pfpro +png -posix -postgres -qdbm +readline -recode
-sapdb -sasl +session* -shared -sharedmem -simplexml -snmp -soap -sockets -solid
+spell -spl +sqlite +ssl -sybase -sybase-ct -sysvipc -tidy +tiff* -tokenizer
+truetype -wddx +xml2 -xmlrpc -xpm -xsl +zlib 0 kB 

Total size of downloads: 0 kB

---
gatekeeper ~ # emerge info
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.8-gentoo-r5 i686)
=================================================================
System uname: 2.6.8-gentoo-r5 i686 AMD Athlon(tm) MP Processor 1900+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 15 2004, 21:57:03)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.6.3, 1.5, 1.7.9, 1.9.3, 1.4_p6, 1.8.5-r2
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://gatekeeper.local.nil.nul/gentoo-portage"
USE="x86 X aalib acl acpi alsa apache2 apm arts avi bash-completion berkdb
bitmap-fonts crypt cups dba dedicated encode esd fam foomaticdb fortran freetype
ftp gd gdbm gif gimp gkrellm gnome gpm gtk gtk2 icq imagemagick imlib ipv6
ithreads jack java jpeg libwww mad mailbox maildir maildrop mbox mikmod mmx
motif mozilla mpeg mplayer mysql ncurses nls nvidia oav offensive oggvorbis
opengl oss pam pdflib perl png postgresql python qt quicktime readline sdl
session slang spell sqlite ssl svga tcltk tcpd tiff truetype vhosts xfs xinerama
xml2 xmms xv zlib"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-12-27 23:23:31 UTC
post all of config.log.

one of the other PHP folk will have to help you on this, I'm departing shortly on vacation.
Comment 2 Nicolas Vilz 2004-12-28 09:32:46 UTC
Created attachment 47034 [details]
config.log

requested config.log
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-25 11:57:30 UTC
Hmm, pretty much dead bug. This looks like broken media-libs/t1lib or
media-libs/freetype. If you are still having this issue, re-emerge either of
them you are using and see if it fixes the problem. 

You might also want to try Gentoo PHP Overlay [1].  We'll be adding these
packages to the Portage tree in the next few weeks, but the overlay is available
for use right now if you can't wait.

[1] http://svn.gnqs.org/projects/gentoo-php-overlay/