From owner-freebsd-ports Wed Dec 4 14:10: 4 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCE9037B401 for ; Wed, 4 Dec 2002 14:10:01 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0739543EBE for ; Wed, 4 Dec 2002 14:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB4MA0x3075325 for ; Wed, 4 Dec 2002 14:10:00 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB4MA0Mg075324; Wed, 4 Dec 2002 14:10:00 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51F6C37B401 for ; Wed, 4 Dec 2002 14:06:24 -0800 (PST) Received: from helo.liwing.de (helo.liwing.de [213.70.188.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5573E43E4A for ; Wed, 4 Dec 2002 14:06:21 -0800 (PST) (envelope-from root@helo.liwing.de) Received: from helo.liwing.de (localhost.liwing.de [127.0.0.1]) by helo.liwing.de (8.12.6/8.12.5) with ESMTP id gB4M7bVY010358; Wed, 4 Dec 2002 22:07:37 GMT (envelope-from root@helo.liwing.de) Received: (from root@localhost) by helo.liwing.de (8.12.6/8.12.6/Submit) id gB4M7asX010357; Wed, 4 Dec 2002 22:07:36 GMT Message-Id: <200212042207.gB4M7asX010357@helo.liwing.de> Date: Wed, 4 Dec 2002 22:07:36 GMT From: Jens Rehsack Reply-To: Jens Rehsack To: FreeBSD-gnats-submit@FreeBSD.org Cc: Jens Rehsack X-Send-Pr-Version: 3.113 Subject: ports/45997: failure building lang/php4 with sablot Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 45997 >Category: ports >Synopsis: failure building lang/php4 with sablot >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 04 14:10:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jens Rehsack >Release: FreeBSD 5.0-CURRENT i386 >Organization: LiWing IT-Services >Environment: System: FreeBSD hogthrob.muppets.liwing.de 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Wed Nov 27 22:33:15 CET 2002 root@hogthrob.muppets.liwing.de:/usr/obj/usr/src/sys/HOGTHROB i386 not machine specific >Description: On my 5.0-CURRENT box neither www/mod_php4 nor lang/php4 works because of the linker error in the sablot module. The funny thing is, that www/mod_php4 compiles fine but fails apache start and lang/php4 didn't link. I assume it's because www/mod_php4 is a dynamic library - which doesn't really help me find the point where to start searching to find a fix. >How-To-Repeat: $ cat /etc/make.conf | grep PHP4_OPTIONS PHP4_OPTIONS=\"GD2\" \"zlib\" \"bzip2\" \"mcrypt\" \"mhash\" \ \"pdflib\" \"MySQL\" \"PostgreSQL\" \"OpenLDAP2\" \"XML\" \ \"DOMXML\" \"XMLRPC\" \"XSLT\" \"gettext\" \"iconv\" \ \"sockets\" \"sysvsem\" \"sysvshm\" \"OpenSSL\" $ cd /usr/ports/lang/php4 $ BATCH=yes make install clean >Fix: /bin/sh /usr/ports/lang/php4/work/php-4.2.3/libtool --silent --mode=link \ cc -I. -I/usr/ports/lang/php4/work/php-4.2.3/ \ -I/usr/ports/lang/php4/work/php-4.2.3/main i\ -I/usr/ports/lang/php4/work/php-4.2.3 i\ -I/usr/ports/lang/php4/work/php-4.2.3/Zend \ -I/usr/local/include/libxml2 -I/usr/local/include \ -I/usr/local/include/freetype2/freetype -I/usr/local/include/mysql \ -I/usr/ports/lang/php4/work/php-4.2.3/ext/xmlrpc/libxmlrpc \ -I/usr/ports/lang/php4/work/php-4.2.3/TSRM -O2 -pipe -DNO_WERROR \ -march=pentium2 -I/usr/local/include -I/usr/local/include/pgsql \ -o php -e xport-dynamic stub.lo libphp4.la /usr/local/lib/libsablot.so: undefined reference to `operator new[](unsigned)' /usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /usr/local/lib/libsablot.so: undefined reference to `operator delete(void*)' /usr/local/lib/libsablot.so: undefined reference to `__gxx_personality_v0' /usr/local/lib/libsablot.so: undefined reference to `__cxa_pure_virtual' /usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__class_type_info' /usr/local/lib/libsablot.so: undefined reference to `operator delete[](void*)' /usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info' /usr/local/lib/libsablot.so: undefined reference to `operator new(unsigned)' *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.2.3. *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.2.3. *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Stop in /usr/ports/lang/php4. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message