Date: Sun, 13 Oct 2013 02:26:03 GMT From: "Matthew X. Economou" <xenophon+fbsdports@irtnog.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182943: [patch] www/mod_mono won't build if Apache 2.4 is installed Message-ID: <201310130226.r9D2Q3Xp099183@oldred.freebsd.org> Resent-Message-ID: <201310130230.r9D2U0tw096070@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <<EOF 20c USE_APACHE=22+ >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310130226.r9D2Q3Xp099183>