Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2005 16:37:39 +0400 (MSD)
From:      "Lev A. Serbryakov" <lev@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/82028: `textproc/php4-xml' build fails on 4.11 system.
Message-ID:  <200506081237.j58CbdVK068936@ftp.translate.ru>
Resent-Message-ID: <200506081240.j58CeB04084133@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         82028
>Category:       ports
>Synopsis:       `textproc/php4-xml' build fails on 4.11 system.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 08 12:40:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Lev A. Serbryakov
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD ftp.translate.ru 4.11-STABLE FreeBSD 4.11-STABLE #1: Wed Apr 6 17:31:18 MSD 2005 root@ftp.translate.ru:/usr/src/sys/compile/FTPTR i386
Ports: cvsupped 8 Jun 2005 12:00 GMT+4

libtool-1.3.5_2
libtool-1.5.10_1

>Description:
 
   libtool generates wrong commandline for linker. Extension build fails! Here are log:

===#  Vulnerability check disabled
===#  Extracting for php4-xml-4.3.11_1
=# Checksum OK for php-4.3.11.tar.bz2.
===#  Patching for php4-xml-4.3.11_1
===#   php4-xml-4.3.11_1 depends on executable: phpize - found
===#   php4-xml-4.3.11_1 depends on file: /usr/local/bin/automake15 - found
===#   php4-xml-4.3.11_1 depends on file: /usr/local/bin/autoconf253 - found
===#   php4-xml-4.3.11_1 depends on shared library: expat.5 - found
===#  PHPizing for php4-xml-4.3.11_1
Configuring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20021010
autoheader253: `config.h.in' is created
===#  Configuring for php4-xml-4.3.11_1
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd4.11
checking host system type... i386-portbld-freebsd4.11
checking for i386-portbld-freebsd4.11-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend
checking for PHP extension directory... /usr/local/lib/php/20020429
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether byte ordering is bigendian... no
checking whether to enable XML support... yes, shared
checking external libexpat install dir... /usr/local
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for /usr/libexec/elf/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse nm output... ok
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-portbld-freebsd4.11-ranlib... no
checking for ranlib... ranlib
checking for i386-portbld-freebsd4.11-strip... no
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd4.11 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... yes
creating libtool
configure: creating ./config.status
config.status: creating config.h
===#  Building for php4-xml-4.3.11_1
/bin/sh /usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml/libtool --mode=compile cc  -I. -I/usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml -DPHP_ATOM_INC -I/usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml/include -I/usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml/main -I/usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include  -DHAVE_CONFIG_H  -O -pipe   -c /usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml/xml.c -o xml.lo
cc -I. -I/usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml -DPHP_ATOM_INC -I/usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml/include -I/usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml/main -I/usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include -DHAVE_CONFIG_H -O -pipe -c /usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml/xml.c  -fPIC -DPIC -o xml.lo
/bin/sh /usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml/libtool --mode=link cc -DPHP_ATOM_INC -I/usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml/include -I/usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml/main -I/usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include  -DHAVE_CONFIG_H  -O -pipe   -o ./xml.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml/modules  xml.lo -R/usr/local/lib -L/usr/local/lib -lexpat
mkdir ./.libs
rm -fr ./.libs/xml.la ./.libs/xml.* ./.libs/xml.*
(cd . && ln -s xml.lo xml.o)
cc -shared  xml.lo  -Wl,--rpath -Wl,/usr/local/lib/.libs -Wl,--rpath -Wl,/usr/local/lib  -L/usr/local/lib /usr/local/lib/.libs/libexpat.so   -Wl,-soname -Wl,xml.so -o ./.libs/xml.so
cc: /usr/local/lib/.libs/libexpat.so: No such file or directory
*** Error code 1

Stop in /usr/ports/textproc/php4-xml/work/php-4.3.11/ext/xml.
*** Error code 1

Stop in /usr/ports/textproc/php4-xml.


>How-To-Repeat:

   Try to build `textproc/php-xml' on 4-STABLE system.

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506081237.j58CbdVK068936>