From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 13 02:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CC5DDA71 for ; Sun, 13 Oct 2013 02:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC69B2BF8 for ; Sun, 13 Oct 2013 02:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9D2U0c5096071 for ; Sun, 13 Oct 2013 02:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9D2U0tw096070; Sun, 13 Oct 2013 02:30:00 GMT (envelope-from gnats) Resent-Date: Sun, 13 Oct 2013 02:30:00 GMT Resent-Message-Id: <201310130230.r9D2U0tw096070@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, "Matthew X. Economou" Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CBC35A4D for ; Sun, 13 Oct 2013 02:26:04 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B95962BE4 for ; Sun, 13 Oct 2013 02:26:04 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r9D2Q3Sk099188 for ; Sun, 13 Oct 2013 02:26:03 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r9D2Q3Xp099183; Sun, 13 Oct 2013 02:26:03 GMT (envelope-from nobody) Message-Id: <201310130226.r9D2Q3Xp099183@oldred.freebsd.org> Date: Sun, 13 Oct 2013 02:26:03 GMT From: "Matthew X. Economou" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/182943: [patch] www/mod_mono won't build if Apache 2.4 is installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Oct 2013 02:30:01 -0000 >Number: 182943 >Category: ports >Synopsis: [patch] www/mod_mono won't build if Apache 2.4 is installed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Oct 13 02:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Matthew X. Economou >Release: 9.2-RELEASE >Organization: IRTNOG >Environment: FreeBSD cinep001bsdgw.irtnog.net 9.2-RELEASE FreeBSD 9.2-RELEASE #13 r256049M: Sat Oct 5 17:04:46 EDT 2013 root@cinep001bsdgw.irtnog.net:/usr/obj/usr/src/sys/FIREWALL amd64 >Description: If Apache HTTPD 2.4 (www/apache24) is installed, attempts to build the www/mod_mono port will fail. First, USE_APACHE is set to "22", not "22+", so the port infrastructure automatically sets BROKEN if APACHE_VERSION equals 24. Second, if USE_APACHE is overridden by setting it to "22+" or "24", the build fails with the following errors: mod_mono.c: In function 'apache_get_userid': mod_mono.c:389: error: 'unixd_config' undeclared (first use in this function) mod_mono.c:389: error: (Each undeclared identifier is reported only once mod_mono.c:389: error: for each function it appears in.) mod_mono.c: In function 'apache_get_groupid': mod_mono.c:399: error: 'unixd_config' undeclared (first use in this function) mod_mono.c: In function 'apache_get_username': mod_mono.c:409: error: 'unixd_config' undeclared (first use in this function) mod_mono.c: In function 'ensure_dashboard_initialized': mod_mono.c:488: warning: implicit declaration of function 'unixd_set_global_mutex_perms' mod_mono.c: In function 'connection_get_remote_port': mod_mono.c:854: warning: implicit declaration of function 'apr_sockaddr_port_get' mod_mono.c:854: error: 'conn_rec' has no member named 'remote_addr' mod_mono.c: In function 'send_initial_data': mod_mono.c:1981: error: 'conn_rec' has no member named 'remote_ip' mod_mono.c:2029: error: 'conn_rec' has no member named 'remote_ip' I assume that this is due to mod_mono using deprecated parts of Apache's API. >How-To-Repeat: (cd /usr/ports/www/apache24 && make install clean BATCH=yes) ed /usr/ports/www/mod_mono <Fix: >Release-Note: >Audit-Trail: >Unformatted: