From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 14 10:50:26 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DF2816A4DE for ; Mon, 14 Aug 2006 10:50:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA84D43D53 for ; Mon, 14 Aug 2006 10:50:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7EAoGEx061856 for ; Mon, 14 Aug 2006 10:50:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7EAoGBd061851; Mon, 14 Aug 2006 10:50:16 GMT (envelope-from gnats) Resent-Date: Mon, 14 Aug 2006 10:50:16 GMT Resent-Message-Id: <200608141050.k7EAoGBd061851@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rainer Duffner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73D4816A4DF for ; Mon, 14 Aug 2006 10:40:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBFFC43D4C for ; Mon, 14 Aug 2006 10:40:40 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7EAeeLJ072533 for ; Mon, 14 Aug 2006 10:40:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k7EAeeRg072532; Mon, 14 Aug 2006 10:40:40 GMT (envelope-from nobody) Message-Id: <200608141040.k7EAeeRg072532@www.freebsd.org> Date: Mon, 14 Aug 2006 10:40:40 GMT From: Rainer Duffner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/102003: Problem compiling libapreq2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 10:50:26 -0000 >Number: 102003 >Category: ports >Synopsis: Problem compiling libapreq2 >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 14 10:50:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Rainer Duffner >Release: 6.1 >Organization: >Environment: FreeBSD mtest 6.1-RELEASE-p1 FreeBSD 6.1-RELEASE-p1 #1: Fri Jun 9 13:04:58 CEST 2006 root@mtest:/usr/obj/usr/src/sys/SMP i386 >Description: libapreq2 doesn't compile: c -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/local/include/apache2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -pipe -fno-strict-aliasing -c error.c -Wp,-MD,.deps/error.TPlo -fPIC -DPIC -o .libs/error.o cc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/local/include/apache2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O -pipe -fno-strict-aliasing -c error.c -Wp,-MD,.deps/error.TPlo -o error.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link cc -O -pipe -fno-strict-aliasing -o libapreq2.la -rpath /usr/local/lib -version-info 8:0:6 /usr/local/lib/apache2/libapr-0.la /usr/local/lib/apache2/libaprutil-0.la -lexpat -liconv -lm -lcrypt util.lo version.lo cookie.lo param.lo parser.lo parser_urlencoded.lo parser_header.lo parser_multipart.lo module.lo module_custom.lo module_cgi.lo error.lo -L/usr/local cc -shared .libs/util.o .libs/version.o .libs/cookie.o .libs/param.o .libs/parser.o .libs/parser_urlencoded.o .libs/parser_header.o .libs/parser_multipart.o .libs/module.o .libs/module_custom.o .libs/module_cgi.o .libs/error.o -Wl,--rpath -Wl,/usr/local/lib/apache2 -Wl,--rpath -Wl,/usr/local/lib/apache2 /usr/local/lib/apache2/libapr-0.so /usr/local/lib/apache2/libaprutil-0.so -lexpat -liconv -lm -lcrypt -L/usr/local -Wl,-soname -Wl,libapreq2.so.8 -o .libs/libapreq2.so.8 /usr/libexec/elf/ld: cannot find -lexpat gmake[2]: *** [libapreq2.la] Error 1 gmake[2]: Leaving directory `/usr/ports/www/libapreq2/work/libapreq2-2.08/library' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/ports/www/libapreq2/work/libapreq2-2.08/library' gmake: *** [all-recursive] Error 1 *** Error code 2 Stop in /usr/ports/www/libapreq2. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall55569.0 env make PORT_UPGRADE=yes ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! www/libapreq2 (linker error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed But libexpat seems to be here: www# ll /usr/local/lib/libexpat.* -rw-r--r-- 1 root wheel 149588 Aug 11 15:30 /usr/local/lib/libexpat.a -rwxr-xr-x 1 root wheel 793 Aug 11 15:30 /usr/local/lib/libexpat.la lrwxr-xr-x 1 root wheel 13 Aug 11 15:30 /usr/local/lib/libexpat.so -> libexpat.so.6 -rwxr-xr-x 1 root wheel 130604 Aug 11 15:30 /usr/local/lib/libexpat.so.6 (portinstall, with WITH_MODPERL2). >How-To-Repeat: portinstall libapreq2 >Fix: The solution seems to be described here: http://marc2.theaimsgroup.com/?l=apreq-dev&m=112005716319909&w=2 Maybe a regression has slipped in - when I add the "--with-expat=/usr/local" to +CONFIGURE, it works for me. >Release-Note: >Audit-Trail: >Unformatted: