From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 5 10:00:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54C731065674 for ; Tue, 5 May 2009 10:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2299A8FC18 for ; Tue, 5 May 2009 10:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n45A03dA085396 for ; Tue, 5 May 2009 10:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n45A03LE085395; Tue, 5 May 2009 10:00:03 GMT (envelope-from gnats) Resent-Date: Tue, 5 May 2009 10:00:03 GMT Resent-Message-Id: <200905051000.n45A03LE085395@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, Tsurutani Naoki Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 034491065678 for ; Tue, 5 May 2009 09:56:10 +0000 (UTC) (envelope-from turutani@scphys.kyoto-u.ac.jp) Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [130.54.120.65]) by mx1.freebsd.org (Postfix) with ESMTP id 7902E8FC1C for ; Tue, 5 May 2009 09:56:09 +0000 (UTC) (envelope-from turutani@scphys.kyoto-u.ac.jp) Received: from h120.65.226.10.32118.vlan.kuins.net (wd233.AFL2.vectant.ne.jp [220.247.107.233]) by smtp-auth.kuins.kyoto-u.ac.jp (Postfix) with ESMTP id E96B1A90069; Tue, 5 May 2009 18:56:06 +0900 (JST) Received: from h120.65.226.10.32118.vlan.kuins.net (localhost [127.0.0.1]) by h120.65.226.10.32118.vlan.kuins.net (8.14.3/8.14.3/20071004-1) with ESMTP id n459u2fo004558; Tue, 5 May 2009 18:56:02 +0900 (JST) (envelope-from turutani@h120.65.226.10.32118.vlan.kuins.net) Received: (from turutani@localhost) by h120.65.226.10.32118.vlan.kuins.net (8.14.3/8.14.3/Submit) id n459u24R004555; Tue, 5 May 2009 18:56:02 +0900 (JST) (envelope-from turutani) Message-Id: <200905050956.n459u24R004555@h120.65.226.10.32118.vlan.kuins.net> Date: Tue, 5 May 2009 18:56:02 +0900 (JST) From: Tsurutani Naoki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: turutani@scphys.kyoto-u.ac.jp Subject: ports/134227: starting apache with www/mod_dnssd causes error X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tsurutani Naoki List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 10:00:04 -0000 >Number: 134227 >Category: ports >Synopsis: starting apache with www/mod_dnssd causes error >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: Tue May 05 10:00:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Tsurutani Naoki >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 7.2-STABLE FreeBSD 7.2-STABLE #18: Tue May 5 14:31:14 JST 2009 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386 >Description: starting apache22 with rc.d/apache22 causes error with www/mod_dnssd, which is required by gnome2. % /usr/local/etc/rc.d/apache22 start Performing sanity check on apache22 configuration: httpd: Syntax error on line 116 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_dnssd.so into server: /usr/local/lib/libavahi-common.so.3: Undefined symbol "libintl_bindtextdomain" Starting apache22. httpd: Syntax error on line 116 of /usr/local/etc/apache22/httpd.conf: Cannot load /usr/local/libexec/apache22/mod_dnssd.so into server: /usr/local/lib/libavahi-common.so.3: Undefined symbol "libintl_bindtextdomain" >How-To-Repeat: >Fix: mod_dnssd requires libavahi-common.so.3, which is installed by net/avahi-app, and libavahi-common.so.3 contains references to libintl_bindtextdomain(), which is provided by libintl.so.8 installed by gettext. however, libavahi-common.so.3 is not linked to libintl.so.8, hence an error of "undefined symbol" raises. here is a fix to net/avahi-app: --- Makefile.orig 2009-05-01 06:57:27.000000000 +0900 +++ Makefile 2009-05-05 18:36:29.000000000 +0900 @@ -107,7 +107,7 @@ ${WRKSRC}/avahi-client/Makefile.in \ ${WRKSRC}/avahi-daemon/Makefile.in @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ - ${REINPLACE_CMD} -e 's|(LIBINTL)|(LTLIBINTL)|g ; \ + ${REINPLACE_CMD} -e 's|(LIBINTL)|(INTLLIBS)|g ; \ s|(LIBICONV)|(LTLIBICONV)|g' @${REINPLACE_CMD} -e 's|%%RC_SUBR%%|${RC_SUBR}| ; \ s|%%GNOME_SUBR%%|${GNOME_SUBR}|' \ ---end of the patch --- I think a change to net/avahi-app/Makefile rev 1.16 is not adeqate, for no building process uses gettext.m4 and iconv.m4, which are guessed to define LTLIBINTL and LTLIBICONV. As a result, "LTLIBINTL" remains null string, and hence libintl.so.8 is not linked to libavahi-common.so.3. >Release-Note: >Audit-Trail: >Unformatted: