From owner-freebsd-apache@freebsd.org Sun Feb 25 13:28:07 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C4EFF2EBD0 for ; Sun, 25 Feb 2018 13:28:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 924FC7D385 for ; Sun, 25 Feb 2018 13:28:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 49B1CF2EBC2; Sun, 25 Feb 2018 13:28:06 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 372BBF2EBC1 for ; Sun, 25 Feb 2018 13:28:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C8E0F7D380 for ; Sun, 25 Feb 2018 13:28:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 30B4B1F4ED for ; Sun, 25 Feb 2018 13:28:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1PDS5TY044870 for ; Sun, 25 Feb 2018 13:28:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1PDS5MS044869 for apache@FreeBSD.org; Sun, 25 Feb 2018 13:28:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 223691] [exp-run] Migrate bsd.apache.mk to Uses/apache.mk Date: Sun, 25 Feb 2018 13:28:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: joneum@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 13:28:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223691 Jochen Neumeister changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joneum@FreeBSD.org --- Comment #20 from Jochen Neumeister --- Currently there are two private exp-runs going on for https://reviews.freebsd.org/D12308: http://joneumbox.org/build.html?mastername=3D11-1-AMD64-apache-ports&build= =3D2018-02-25_14h03m35s http://joneumbox.org/build.html?mastername=3D11-1-i386-apache-ports&build= =3D2018-02-25_14h03m35s --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-apache@freebsd.org Sun Feb 25 13:47:12 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7F9EF2F3F7 for ; Sun, 25 Feb 2018 13:47:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7C4387DB7A for ; Sun, 25 Feb 2018 13:47:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 38CBAF2F3F3; Sun, 25 Feb 2018 13:47:12 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26CBAF2F3F2 for ; Sun, 25 Feb 2018 13:47:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66E4E7DB75 for ; Sun, 25 Feb 2018 13:47:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8B7E51F7BB for ; Sun, 25 Feb 2018 13:47:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1PDlASn090260 for ; Sun, 25 Feb 2018 13:47:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1PDlAB2090259 for apache@FreeBSD.org; Sun, 25 Feb 2018 13:47:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 201984] Error 413 in www/apache22 2.2.29_6 whith POST zero size Date: Sun, 25 Feb 2018 13:47:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: joneum@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Feedback Timeout X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution cc bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 13:47:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201984 Jochen Neumeister changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Feedback Timeout CC| |joneum@FreeBSD.org Status|In Progress |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-apache@freebsd.org Sun Feb 25 13:54:09 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65709F2F733 for ; Sun, 25 Feb 2018 13:54:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EADB67DF4E for ; Sun, 25 Feb 2018 13:54:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A7733F2F730; Sun, 25 Feb 2018 13:54:08 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94D3DF2F72F for ; Sun, 25 Feb 2018 13:54:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 319097DF4C for ; Sun, 25 Feb 2018 13:54:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 773341F91B for ; Sun, 25 Feb 2018 13:54:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1PDs7AL007455 for ; Sun, 25 Feb 2018 13:54:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1PDs7dU007454 for apache@FreeBSD.org; Sun, 25 Feb 2018 13:54:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 225005] Apache modules are touching user modified config file httpd.conf Date: Sun, 25 Feb 2018 13:54:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: joneum@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 13:54:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225005 --- Comment #7 from Jochen Neumeister --- please note: https://reviews.freebsd.org/D12308 Here we are currently in the last final tests --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-apache@freebsd.org Sun Feb 25 13:25:34 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3547FF2EB52 for ; Sun, 25 Feb 2018 13:25:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C0B107D348 for ; Sun, 25 Feb 2018 13:25:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7C818F2EB51; Sun, 25 Feb 2018 13:25:33 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 68B61F2EB50 for ; Sun, 25 Feb 2018 13:25:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 022D67D343 for ; Sun, 25 Feb 2018 13:25:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 475531F4E7 for ; Sun, 25 Feb 2018 13:25:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1PDPW1M041350 for ; Sun, 25 Feb 2018 13:25:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1PDPW4g041349 for apache@FreeBSD.org; Sun, 25 Feb 2018 13:25:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 225499] www/apache24: child pid exit signal Segmentation fault Date: Sun, 25 Feb 2018 13:25:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: joneum@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 13:25:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225499 Jochen Neumeister changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|In Progress |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-apache@freebsd.org Sun Feb 25 13:49:40 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C1B7F2F45D for ; Sun, 25 Feb 2018 13:49:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 002FF7DBA9 for ; Sun, 25 Feb 2018 13:49:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B2B75F2F45C; Sun, 25 Feb 2018 13:49:39 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A02C1F2F45B for ; Sun, 25 Feb 2018 13:49:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 385F57DBA7 for ; Sun, 25 Feb 2018 13:49:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 8496A1F7C2 for ; Sun, 25 Feb 2018 13:49:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1PDnc8r093366 for ; Sun, 25 Feb 2018 13:49:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1PDncXs093365 for apache@FreeBSD.org; Sun, 25 Feb 2018 13:49:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 209585] www/apache24 dynamic loading of MySQL client library generates errors with mod_perl CGI scripts Date: Sun, 25 Feb 2018 13:49:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: joneum@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_status keywords cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 13:49:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209585 Jochen Neumeister changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Keywords| |needs-qa CC| |joneum@FreeBSD.org --- Comment #2 from Jochen Neumeister --- (In reply to papowell from comment #0) Is the problem still going on? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-apache@freebsd.org Tue Feb 27 02:51:45 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E446F3E216 for ; Tue, 27 Feb 2018 02:51:45 +0000 (UTC) (envelope-from freebsd-apache@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A1C657C537 for ; Tue, 27 Feb 2018 02:51:43 +0000 (UTC) (envelope-from freebsd-apache@herveybayaustralia.com.au) Received: from [192.168.0.101] (laptop1.herveybayaustralia.com.au [192.168.0.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rocky@HERVEYBAYAUSTRALIA.COM.AU) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 8AE1913A18 for ; Tue, 27 Feb 2018 12:44:45 +1000 (AEST) To: freebsd-apache@freebsd.org From: Da Rock Subject: mod_auth_kerb2 causes apache to fail to start Message-ID: <3fd7ffd1-c098-f8a2-47fb-9e26128fc68c@herveybayaustralia.com.au> Date: Tue, 27 Feb 2018 12:43:59 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 02:51:45 -0000 In theory I could submit this as a bug, but given the bug reports already and that have been closed without specific resolution I think that might not be a good idea. AFAICT most kerberos stuff has been geared toward using heimdal, and little testing has been done for mit krb5. What I have is an error: httpd: Syntax error on line 169 of /usr/local/etc/apache24/httpd.conf: Cannot load libexec/apache24/mod_auth_kerb.so into server: /usr/local/libexec/apache24/mod_auth_kerb.so: Undefined symbol "krb5_rc_dfl_init" This is a new install (entire base as well) with 11.1-Release and using krb5 from ports. ldd reveals: ldd /usr/local/libexec/apache24/mod_auth_kerb.so /usr/local/libexec/apache24/mod_auth_kerb.so:     libgssapi_krb5.so.10 => /usr/lib/libgssapi_krb5.so.10 (0x801208000)     libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x801427000)     libk5crypto.so.3.1 => /usr/local/lib/libk5crypto.so.3.1 (0x8016a5000)     libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x8018d9000)     libc.so.7 => /lib/libc.so.7 (0x800824000)     libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x801adb000)     libcrypto.so.8 => /lib/libcrypto.so.8 (0x801e00000)     libroken.so.11 => /usr/lib/libroken.so.11 (0x802269000)     libasn1.so.11 => /usr/lib/libasn1.so.11 (0x80247c000)     libcrypt.so.5 => /lib/libcrypt.so.5 (0x80271e000)     libhx509.so.11 => /usr/lib/libhx509.so.11 (0x80293d000)     libwind.so.11 => /usr/lib/libwind.so.11 (0x802b8a000)     libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x802db2000)     libprivateheimipcc.so.11 => /usr/lib/libprivateheimipcc.so.11 (0x802fb6000)     libkrb5support.so.0.1 => /usr/local/lib/libkrb5support.so.0.1 (0x8031b8000)     libintl.so.8 => /usr/local/lib/libintl.so.8 (0x8033c6000)     libthr.so.3 => /lib/libthr.so.3 (0x8035d1000) And here we can see that the module is looking in the wrong place for the gssapi and krb5 libs - /usr/lib rather than /usr/local/lib. Somewhere this is getting screwed up, and I have yet to figure out where - when I do I'll pass it on, but meanwhile I figured a heads up is in order. Cheers From owner-freebsd-apache@freebsd.org Tue Feb 27 03:17:20 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 75AA6F40B33 for ; Tue, 27 Feb 2018 03:17:20 +0000 (UTC) (envelope-from freebsd-apache@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 862447DD0A for ; Tue, 27 Feb 2018 03:17:19 +0000 (UTC) (envelope-from freebsd-apache@herveybayaustralia.com.au) Received: from [192.168.0.101] (laptop1.herveybayaustralia.com.au [192.168.0.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rocky@HERVEYBAYAUSTRALIA.COM.AU) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id D301313A18 for ; Tue, 27 Feb 2018 13:17:03 +1000 (AEST) Subject: Re: mod_auth_kerb2 causes apache to fail to start To: freebsd-apache@freebsd.org References: <3fd7ffd1-c098-f8a2-47fb-9e26128fc68c@herveybayaustralia.com.au> From: Da Rock Message-ID: <13686e25-b647-75a3-2f98-fda363b10b8e@herveybayaustralia.com.au> Date: Tue, 27 Feb 2018 13:16:17 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <3fd7ffd1-c098-f8a2-47fb-9e26128fc68c@herveybayaustralia.com.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 03:17:20 -0000 On 27/02/18 12:43, Da Rock wrote: > In theory I could submit this as a bug, but given the bug reports > already and that have been closed without specific resolution I think > that might not be a good idea. > > AFAICT most kerberos stuff has been geared toward using heimdal, and > little testing has been done for mit krb5. What I have is an error: > > httpd: Syntax error on line 169 of /usr/local/etc/apache24/httpd.conf: > Cannot load libexec/apache24/mod_auth_kerb.so into server: > /usr/local/libexec/apache24/mod_auth_kerb.so: Undefined symbol > "krb5_rc_dfl_init" > > This is a new install (entire base as well) with 11.1-Release and > using krb5 from ports. > > ldd reveals: > > ldd /usr/local/libexec/apache24/mod_auth_kerb.so > /usr/local/libexec/apache24/mod_auth_kerb.so: >     libgssapi_krb5.so.10 => /usr/lib/libgssapi_krb5.so.10 (0x801208000) >     libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x801427000) >     libk5crypto.so.3.1 => /usr/local/lib/libk5crypto.so.3.1 (0x8016a5000) >     libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x8018d9000) >     libc.so.7 => /lib/libc.so.7 (0x800824000) >     libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x801adb000) >     libcrypto.so.8 => /lib/libcrypto.so.8 (0x801e00000) >     libroken.so.11 => /usr/lib/libroken.so.11 (0x802269000) >     libasn1.so.11 => /usr/lib/libasn1.so.11 (0x80247c000) >     libcrypt.so.5 => /lib/libcrypt.so.5 (0x80271e000) >     libhx509.so.11 => /usr/lib/libhx509.so.11 (0x80293d000) >     libwind.so.11 => /usr/lib/libwind.so.11 (0x802b8a000) >     libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x802db2000) >     libprivateheimipcc.so.11 => /usr/lib/libprivateheimipcc.so.11 > (0x802fb6000) >     libkrb5support.so.0.1 => /usr/local/lib/libkrb5support.so.0.1 > (0x8031b8000) >     libintl.so.8 => /usr/local/lib/libintl.so.8 (0x8033c6000) >     libthr.so.3 => /lib/libthr.so.3 (0x8035d1000) > > And here we can see that the module is looking in the wrong place for > the gssapi and krb5 libs - /usr/lib rather than /usr/local/lib. Output from make debug-krb: cc -O2 -pipe  -fstack-protector -fno-strict-aliasing -o /tmp/debug-krb.x -I"/usr/local/include"  -lkrb5 -lgssapi_krb5 -L"/usr/local/lib" -Wl,-rpath,/usr/local/lib  /tmp/debug-krb.c &&  ldd /tmp/debug-krb.x;  /bin/rm -f /tmp/debug-krb.x /tmp/debug-krb.x:     libkrb5.so.3.3 => /usr/local/lib/libkrb5.so.3.3 (0x800822000)     libgssapi_krb5.so.2.2 => /usr/local/lib/libgssapi_krb5.so.2.2 (0x800b08000)     libc.so.7 => /lib/libc.so.7 (0x800d50000)     libk5crypto.so.3.1 => /usr/local/lib/libk5crypto.so.3.1 (0x801108000)     libcom_err.so.3.0 => /usr/local/lib/libcom_err.so.3.0 (0x80133c000)     libkrb5support.so.0.1 => /usr/local/lib/libkrb5support.so.0.1 (0x80153f000)     libintl.so.8 => /usr/local/lib/libintl.so.8 (0x80174d000) PREFIX: /usr/local GSSAPIBASEDIR: /usr/local GSSAPIINCDIR: /usr/local/include GSSAPILIBDIR: /usr/local/lib GSSAPILIBS: -lkrb5 -lgssapi_krb5 GSSAPICPPFLAGS: -I/usr/local/include GSSAPILDFLAGS: -L/usr/local/lib GSSAPI_CONFIGURE_ARGS: CFLAGS=-I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing  LDFLAGS=-L/usr/local/lib -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector  LIBS=-lkrb5 -lgssapi_krb5   KRB5CONFIG=/usr/local/bin/krb5-config KRB5CONFIG: /usr/local/bin/krb5-config CFLAGS: -O2 -pipe  -fstack-protector -fno-strict-aliasing LDFLAGS:  -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector LDADD: > > Somewhere this is getting screwed up, and I have yet to figure out > where - when I do I'll pass it on, but meanwhile I figured a heads up > is in order. I'd forgotten to mention that I'm still rather newb for this kind of diagnosis, so help here would very much be appreciated :-) > > > Cheers > > _______________________________________________ > freebsd-apache@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-apache > To unsubscribe, send any mail to "freebsd-apache-unsubscribe@freebsd.org" From owner-freebsd-apache@freebsd.org Tue Feb 27 05:23:30 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ABBC1F25D03 for ; Tue, 27 Feb 2018 05:23:30 +0000 (UTC) (envelope-from freebsd-apache@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B0CD382D1C for ; Tue, 27 Feb 2018 05:23:29 +0000 (UTC) (envelope-from freebsd-apache@herveybayaustralia.com.au) Received: from [192.168.0.101] (laptop1.herveybayaustralia.com.au [192.168.0.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rocky@HERVEYBAYAUSTRALIA.COM.AU) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id B2DF513A18 for ; Tue, 27 Feb 2018 15:23:24 +1000 (AEST) Subject: Re: mod_auth_kerb2 causes apache to fail to start To: freebsd-apache@freebsd.org References: <3fd7ffd1-c098-f8a2-47fb-9e26128fc68c@herveybayaustralia.com.au> <13686e25-b647-75a3-2f98-fda363b10b8e@herveybayaustralia.com.au> From: Da Rock Message-ID: <2a435e14-d91c-8e80-79d1-e29df9a9ea93@herveybayaustralia.com.au> Date: Tue, 27 Feb 2018 15:22:36 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <13686e25-b647-75a3-2f98-fda363b10b8e@herveybayaustralia.com.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 05:23:31 -0000 On 27/02/18 13:16, Da Rock wrote: > On 27/02/18 12:43, Da Rock wrote: >> In theory I could submit this as a bug, but given the bug reports >> already and that have been closed without specific resolution I think >> that might not be a good idea. >> >> AFAICT most kerberos stuff has been geared toward using heimdal, and >> little testing has been done for mit krb5. What I have is an error: >> >> httpd: Syntax error on line 169 of >> /usr/local/etc/apache24/httpd.conf: Cannot load >> libexec/apache24/mod_auth_kerb.so into server: >> /usr/local/libexec/apache24/mod_auth_kerb.so: Undefined symbol >> "krb5_rc_dfl_init" >> >> This is a new install (entire base as well) with 11.1-Release and >> using krb5 from ports. >> >> ldd reveals: >> >> ldd /usr/local/libexec/apache24/mod_auth_kerb.so >> /usr/local/libexec/apache24/mod_auth_kerb.so: >>     libgssapi_krb5.so.10 => /usr/lib/libgssapi_krb5.so.10 (0x801208000) >>     libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x801427000) >>     libk5crypto.so.3.1 => /usr/local/lib/libk5crypto.so.3.1 >> (0x8016a5000) >>     libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x8018d9000) >>     libc.so.7 => /lib/libc.so.7 (0x800824000) >>     libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x801adb000) >>     libcrypto.so.8 => /lib/libcrypto.so.8 (0x801e00000) >>     libroken.so.11 => /usr/lib/libroken.so.11 (0x802269000) >>     libasn1.so.11 => /usr/lib/libasn1.so.11 (0x80247c000) >>     libcrypt.so.5 => /lib/libcrypt.so.5 (0x80271e000) >>     libhx509.so.11 => /usr/lib/libhx509.so.11 (0x80293d000) >>     libwind.so.11 => /usr/lib/libwind.so.11 (0x802b8a000) >>     libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x802db2000) >>     libprivateheimipcc.so.11 => /usr/lib/libprivateheimipcc.so.11 >> (0x802fb6000) >>     libkrb5support.so.0.1 => /usr/local/lib/libkrb5support.so.0.1 >> (0x8031b8000) >>     libintl.so.8 => /usr/local/lib/libintl.so.8 (0x8033c6000) >>     libthr.so.3 => /lib/libthr.so.3 (0x8035d1000) >> >> And here we can see that the module is looking in the wrong place for >> the gssapi and krb5 libs - /usr/lib rather than /usr/local/lib. > Output from make debug-krb: > > cc -O2 -pipe  -fstack-protector -fno-strict-aliasing -o > /tmp/debug-krb.x -I"/usr/local/include"  -lkrb5 -lgssapi_krb5 > -L"/usr/local/lib" -Wl,-rpath,/usr/local/lib  /tmp/debug-krb.c &&  ldd > /tmp/debug-krb.x;  /bin/rm -f /tmp/debug-krb.x > /tmp/debug-krb.x: >     libkrb5.so.3.3 => /usr/local/lib/libkrb5.so.3.3 (0x800822000) >     libgssapi_krb5.so.2.2 => /usr/local/lib/libgssapi_krb5.so.2.2 > (0x800b08000) >     libc.so.7 => /lib/libc.so.7 (0x800d50000) >     libk5crypto.so.3.1 => /usr/local/lib/libk5crypto.so.3.1 (0x801108000) >     libcom_err.so.3.0 => /usr/local/lib/libcom_err.so.3.0 (0x80133c000) >     libkrb5support.so.0.1 => /usr/local/lib/libkrb5support.so.0.1 > (0x80153f000) >     libintl.so.8 => /usr/local/lib/libintl.so.8 (0x80174d000) > PREFIX: /usr/local > GSSAPIBASEDIR: /usr/local > GSSAPIINCDIR: /usr/local/include > GSSAPILIBDIR: /usr/local/lib > GSSAPILIBS: -lkrb5 -lgssapi_krb5 > GSSAPICPPFLAGS: -I/usr/local/include > GSSAPILDFLAGS: -L/usr/local/lib > GSSAPI_CONFIGURE_ARGS: CFLAGS=-I/usr/local/include -O2 -pipe > -fstack-protector -fno-strict-aliasing  LDFLAGS=-L/usr/local/lib > -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector  LIBS=-lkrb5 > -lgssapi_krb5   KRB5CONFIG=/usr/local/bin/krb5-config > KRB5CONFIG: /usr/local/bin/krb5-config > CFLAGS: -O2 -pipe  -fstack-protector -fno-strict-aliasing > LDFLAGS:  -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector > LDADD: >> >> Somewhere this is getting screwed up, and I have yet to figure out >> where - when I do I'll pass it on, but meanwhile I figured a heads up >> is in order. > I'd forgotten to mention that I'm still rather newb for this kind of > diagnosis, so help here would very much be appreciated :-) Building with heimdal-base (can't do ports): httpd: Syntax error on line 169 of /usr/local/etc/apache24/httpd.conf: Cannot load libexec/apache24/mod_auth_kerb.so into server: /usr/local/libexec/apache24/mod_auth_kerb.so: Undefined symbol "krb5_gss_register_acceptor_identity" From owner-freebsd-apache@freebsd.org Tue Feb 27 06:00:05 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 814ECF27C23 for ; Tue, 27 Feb 2018 06:00:05 +0000 (UTC) (envelope-from freebsd-apache@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A3CF283E6A for ; Tue, 27 Feb 2018 06:00:04 +0000 (UTC) (envelope-from freebsd-apache@herveybayaustralia.com.au) Received: from [192.168.0.101] (laptop1.herveybayaustralia.com.au [192.168.0.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rocky@HERVEYBAYAUSTRALIA.COM.AU) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 147E013A18 for ; Tue, 27 Feb 2018 15:59:59 +1000 (AEST) Subject: Re: mod_auth_kerb2 causes apache to fail to start To: freebsd-apache@freebsd.org References: <3fd7ffd1-c098-f8a2-47fb-9e26128fc68c@herveybayaustralia.com.au> <13686e25-b647-75a3-2f98-fda363b10b8e@herveybayaustralia.com.au> <2a435e14-d91c-8e80-79d1-e29df9a9ea93@herveybayaustralia.com.au> From: Da Rock Message-ID: Date: Tue, 27 Feb 2018 15:59:13 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <2a435e14-d91c-8e80-79d1-e29df9a9ea93@herveybayaustralia.com.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 06:00:05 -0000 On 27/02/18 15:22, Da Rock wrote: > On 27/02/18 13:16, Da Rock wrote: >> On 27/02/18 12:43, Da Rock wrote: >>> In theory I could submit this as a bug, but given the bug reports >>> already and that have been closed without specific resolution I >>> think that might not be a good idea. >>> >>> AFAICT most kerberos stuff has been geared toward using heimdal, and >>> little testing has been done for mit krb5. What I have is an error: >>> >>> httpd: Syntax error on line 169 of >>> /usr/local/etc/apache24/httpd.conf: Cannot load >>> libexec/apache24/mod_auth_kerb.so into server: >>> /usr/local/libexec/apache24/mod_auth_kerb.so: Undefined symbol >>> "krb5_rc_dfl_init" >>> >>> This is a new install (entire base as well) with 11.1-Release and >>> using krb5 from ports. >>> >>> ldd reveals: >>> >>> ldd /usr/local/libexec/apache24/mod_auth_kerb.so >>> /usr/local/libexec/apache24/mod_auth_kerb.so: >>>     libgssapi_krb5.so.10 => /usr/lib/libgssapi_krb5.so.10 (0x801208000) >>>     libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x801427000) >>>     libk5crypto.so.3.1 => /usr/local/lib/libk5crypto.so.3.1 >>> (0x8016a5000) >>>     libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x8018d9000) >>>     libc.so.7 => /lib/libc.so.7 (0x800824000) >>>     libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x801adb000) >>>     libcrypto.so.8 => /lib/libcrypto.so.8 (0x801e00000) >>>     libroken.so.11 => /usr/lib/libroken.so.11 (0x802269000) >>>     libasn1.so.11 => /usr/lib/libasn1.so.11 (0x80247c000) >>>     libcrypt.so.5 => /lib/libcrypt.so.5 (0x80271e000) >>>     libhx509.so.11 => /usr/lib/libhx509.so.11 (0x80293d000) >>>     libwind.so.11 => /usr/lib/libwind.so.11 (0x802b8a000) >>>     libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x802db2000) >>>     libprivateheimipcc.so.11 => /usr/lib/libprivateheimipcc.so.11 >>> (0x802fb6000) >>>     libkrb5support.so.0.1 => /usr/local/lib/libkrb5support.so.0.1 >>> (0x8031b8000) >>>     libintl.so.8 => /usr/local/lib/libintl.so.8 (0x8033c6000) >>>     libthr.so.3 => /lib/libthr.so.3 (0x8035d1000) >>> >>> And here we can see that the module is looking in the wrong place >>> for the gssapi and krb5 libs - /usr/lib rather than /usr/local/lib. >> Output from make debug-krb: >> >> cc -O2 -pipe  -fstack-protector -fno-strict-aliasing -o >> /tmp/debug-krb.x -I"/usr/local/include"  -lkrb5 -lgssapi_krb5 >> -L"/usr/local/lib" -Wl,-rpath,/usr/local/lib  /tmp/debug-krb.c &&  >> ldd /tmp/debug-krb.x;  /bin/rm -f /tmp/debug-krb.x >> /tmp/debug-krb.x: >>     libkrb5.so.3.3 => /usr/local/lib/libkrb5.so.3.3 (0x800822000) >>     libgssapi_krb5.so.2.2 => /usr/local/lib/libgssapi_krb5.so.2.2 >> (0x800b08000) >>     libc.so.7 => /lib/libc.so.7 (0x800d50000) >>     libk5crypto.so.3.1 => /usr/local/lib/libk5crypto.so.3.1 >> (0x801108000) >>     libcom_err.so.3.0 => /usr/local/lib/libcom_err.so.3.0 (0x80133c000) >>     libkrb5support.so.0.1 => /usr/local/lib/libkrb5support.so.0.1 >> (0x80153f000) >>     libintl.so.8 => /usr/local/lib/libintl.so.8 (0x80174d000) >> PREFIX: /usr/local >> GSSAPIBASEDIR: /usr/local >> GSSAPIINCDIR: /usr/local/include >> GSSAPILIBDIR: /usr/local/lib >> GSSAPILIBS: -lkrb5 -lgssapi_krb5 >> GSSAPICPPFLAGS: -I/usr/local/include >> GSSAPILDFLAGS: -L/usr/local/lib >> GSSAPI_CONFIGURE_ARGS: CFLAGS=-I/usr/local/include -O2 -pipe >> -fstack-protector -fno-strict-aliasing  LDFLAGS=-L/usr/local/lib >> -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector LIBS=-lkrb5 >> -lgssapi_krb5 KRB5CONFIG=/usr/local/bin/krb5-config >> KRB5CONFIG: /usr/local/bin/krb5-config >> CFLAGS: -O2 -pipe  -fstack-protector -fno-strict-aliasing >> LDFLAGS:  -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector >> LDADD: >>> >>> Somewhere this is getting screwed up, and I have yet to figure out >>> where - when I do I'll pass it on, but meanwhile I figured a heads >>> up is in order. >> I'd forgotten to mention that I'm still rather newb for this kind of >> diagnosis, so help here would very much be appreciated :-) > Building with heimdal-base (can't do ports): > > httpd: Syntax error on line 169 of /usr/local/etc/apache24/httpd.conf: > Cannot load libexec/apache24/mod_auth_kerb.so into server: > /usr/local/libexec/apache24/mod_auth_kerb.so: Undefined symbol > "krb5_gss_register_acceptor_identity" Similar error was reported here in 2015: https://forums.freebsd.org/threads/apache-2-4-not-working-with-mod_auth_kerb2.52825/ readelf -Ws /usr/local/lib/libkrb5.so | grep krb5_rc_dfl_init   1422: 000000000007c7b0   234 FUNC    GLOBAL DEFAULT   11 krb5_rc_dfl_init readelf -Ws /usr/lib/libkrb5.so | grep krb5_rc_dfl_init readelf -Ws /usr/local/lib/libkrb5.so | grep krb5_gss_register_acceptor_identity readelf -Ws /usr/lib/libkrb5.so | grep krb5_gss_register_acceptor_identity Notice that neither heimdal-base or mit krb5 have krb5_gss_register_acceptor_identity. So where is that coming from? I also checked most other libs (libkrb5.so, libgssapi_krb5.so, libheimbase.so, libheimntlm.so, libgssapi_ntlm.so, libgssapi_spnego.so, etc) required with no success. And now I believe I may be officially out of my depth, as this seems to be a path order issue in the linking process. Anyone shed some light here? From owner-freebsd-apache@freebsd.org Tue Feb 27 15:57:51 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D003EF32500 for ; Tue, 27 Feb 2018 15:57:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6800A80044 for ; Tue, 27 Feb 2018 15:57:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 24ECCF324F9; Tue, 27 Feb 2018 15:57:51 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1226DF324F8 for ; Tue, 27 Feb 2018 15:57:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F3F68003F for ; Tue, 27 Feb 2018 15:57:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DF0DA121E4 for ; Tue, 27 Feb 2018 15:57:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1RFvnIM055176 for ; Tue, 27 Feb 2018 15:57:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1RFvnvG055175 for apache@FreeBSD.org; Tue, 27 Feb 2018 15:57:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 209585] www/apache24 dynamic loading of MySQL client library generates errors with mod_perl CGI scripts Date: Tue, 27 Feb 2018 15:57:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: papowell@astart.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 15:57:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209585 --- Comment #3 from papowell@astart.com --- Problem does not occur with: FreeBSD 11.0/11.1 + mysql56-server-5.6.37 + apache24-2.4.27 + ap24-mod_perl2-2.0.10,3 + perl5-5.24.2 I am not using the versions in the original bug report --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-apache@freebsd.org Tue Feb 27 16:10:54 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5264F33646 for ; Tue, 27 Feb 2018 16:10:54 +0000 (UTC) (envelope-from papowell@astart.com) Received: from astart2.astart.com (wsip-72-214-30-30.sd.sd.cox.net [72.214.30.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5FF4780D56 for ; Tue, 27 Feb 2018 16:10:53 +0000 (UTC) (envelope-from papowell@astart.com) Received: from laptop_110.private (localhost [127.0.0.1]) by astart2.astart.com (8.14.9/8.14.9) with ESMTP id w1RFxgIo026313 for ; Tue, 27 Feb 2018 07:59:42 -0800 (PST) (envelope-from papowell@astart.com) Reply-To: papowell@astart.com Subject: Re: [Bug 209585] www/apache24 dynamic loading of MySQL client library generates errors with mod_perl CGI scripts To: freebsd-apache@freebsd.org References: From: Patrick Powell Organization: Astart Technologies Message-ID: Date: Tue, 27 Feb 2018 07:59:42 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 16:10:55 -0000 On 02/25/18 05:49, bugzilla-noreply@freebsd.org wrote: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209585 > > Jochen Neumeister changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|New |Open > Keywords| |needs-qa > CC| |joneum@FreeBSD.org > > --- Comment #2 from Jochen Neumeister --- > (In reply to papowell from comment #0) > > Is the problem still going on? > No. I added a comment to the bug report. -- Patrick Powell Astart Technologies papowell@astart.com 1530 Jamacha Rd, Suite X Network and System San Diego, CA 92019 Consulting Cell 858-518-7581 FAX 858-751-2435 Web: papowell at astart dot com From owner-freebsd-apache@freebsd.org Tue Feb 27 16:32:32 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78434F35017 for ; Tue, 27 Feb 2018 16:32:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id F198981AA5 for ; Tue, 27 Feb 2018 16:32:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B1A58F3500F; Tue, 27 Feb 2018 16:32:31 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F125F3500E for ; Tue, 27 Feb 2018 16:32:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3970B81A9F for ; Tue, 27 Feb 2018 16:32:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7FF3512772 for ; Tue, 27 Feb 2018 16:32:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1RGWUmw049881 for ; Tue, 27 Feb 2018 16:32:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1RGWUWY049864 for apache@FreeBSD.org; Tue, 27 Feb 2018 16:32:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 209585] www/apache24 dynamic loading of MySQL client library generates errors with mod_perl CGI scripts Date: Tue, 27 Feb 2018 16:32:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: joneum@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2018 16:32:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209585 Jochen Neumeister changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Status|Open |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-apache@freebsd.org Wed Feb 28 13:19:50 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F2CDF25523 for ; Wed, 28 Feb 2018 13:19:50 +0000 (UTC) (envelope-from freebsd-apache@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 76BE67733C for ; Wed, 28 Feb 2018 13:19:48 +0000 (UTC) (envelope-from freebsd-apache@herveybayaustralia.com.au) Received: from [192.168.0.101] (laptop1.herveybayaustralia.com.au [192.168.0.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rocky@HERVEYBAYAUSTRALIA.COM.AU) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 7AAD6139FD for ; Wed, 28 Feb 2018 23:19:36 +1000 (AEST) Subject: Re: mod_auth_kerb2 causes apache to fail to start To: freebsd-apache@freebsd.org References: <3fd7ffd1-c098-f8a2-47fb-9e26128fc68c@herveybayaustralia.com.au> <13686e25-b647-75a3-2f98-fda363b10b8e@herveybayaustralia.com.au> <2a435e14-d91c-8e80-79d1-e29df9a9ea93@herveybayaustralia.com.au> From: Da Rock Message-ID: <9b6c9970-6c44-921d-7ff9-45712b86119c@herveybayaustralia.com.au> Date: Wed, 28 Feb 2018 23:18:48 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2018 13:19:50 -0000 On 27/02/18 15:59, Da Rock wrote: > On 27/02/18 15:22, Da Rock wrote: >> On 27/02/18 13:16, Da Rock wrote: >>> On 27/02/18 12:43, Da Rock wrote: >>>> In theory I could submit this as a bug, but given the bug reports >>>> already and that have been closed without specific resolution I >>>> think that might not be a good idea. >>>> >>>> AFAICT most kerberos stuff has been geared toward using heimdal, >>>> and little testing has been done for mit krb5. What I have is an >>>> error: >>>> >>>> httpd: Syntax error on line 169 of >>>> /usr/local/etc/apache24/httpd.conf: Cannot load >>>> libexec/apache24/mod_auth_kerb.so into server: >>>> /usr/local/libexec/apache24/mod_auth_kerb.so: Undefined symbol >>>> "krb5_rc_dfl_init" >>>> >>>> This is a new install (entire base as well) with 11.1-Release and >>>> using krb5 from ports. >>>> >>>> ldd reveals: >>>> >>>> ldd /usr/local/libexec/apache24/mod_auth_kerb.so >>>> /usr/local/libexec/apache24/mod_auth_kerb.so: >>>>     libgssapi_krb5.so.10 => /usr/lib/libgssapi_krb5.so.10 >>>> (0x801208000) >>>>     libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x801427000) >>>>     libk5crypto.so.3.1 => /usr/local/lib/libk5crypto.so.3.1 >>>> (0x8016a5000) >>>>     libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x8018d9000) >>>>     libc.so.7 => /lib/libc.so.7 (0x800824000) >>>>     libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x801adb000) >>>>     libcrypto.so.8 => /lib/libcrypto.so.8 (0x801e00000) >>>>     libroken.so.11 => /usr/lib/libroken.so.11 (0x802269000) >>>>     libasn1.so.11 => /usr/lib/libasn1.so.11 (0x80247c000) >>>>     libcrypt.so.5 => /lib/libcrypt.so.5 (0x80271e000) >>>>     libhx509.so.11 => /usr/lib/libhx509.so.11 (0x80293d000) >>>>     libwind.so.11 => /usr/lib/libwind.so.11 (0x802b8a000) >>>>     libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x802db2000) >>>>     libprivateheimipcc.so.11 => /usr/lib/libprivateheimipcc.so.11 >>>> (0x802fb6000) >>>>     libkrb5support.so.0.1 => /usr/local/lib/libkrb5support.so.0.1 >>>> (0x8031b8000) >>>>     libintl.so.8 => /usr/local/lib/libintl.so.8 (0x8033c6000) >>>>     libthr.so.3 => /lib/libthr.so.3 (0x8035d1000) >>>> >>>> And here we can see that the module is looking in the wrong place >>>> for the gssapi and krb5 libs - /usr/lib rather than /usr/local/lib. >>> Output from make debug-krb: >>> >>> cc -O2 -pipe  -fstack-protector -fno-strict-aliasing -o >>> /tmp/debug-krb.x -I"/usr/local/include"  -lkrb5 -lgssapi_krb5 >>> -L"/usr/local/lib" -Wl,-rpath,/usr/local/lib  /tmp/debug-krb.c &&  >>> ldd /tmp/debug-krb.x;  /bin/rm -f /tmp/debug-krb.x >>> /tmp/debug-krb.x: >>>     libkrb5.so.3.3 => /usr/local/lib/libkrb5.so.3.3 (0x800822000) >>>     libgssapi_krb5.so.2.2 => /usr/local/lib/libgssapi_krb5.so.2.2 >>> (0x800b08000) >>>     libc.so.7 => /lib/libc.so.7 (0x800d50000) >>>     libk5crypto.so.3.1 => /usr/local/lib/libk5crypto.so.3.1 >>> (0x801108000) >>>     libcom_err.so.3.0 => /usr/local/lib/libcom_err.so.3.0 (0x80133c000) >>>     libkrb5support.so.0.1 => /usr/local/lib/libkrb5support.so.0.1 >>> (0x80153f000) >>>     libintl.so.8 => /usr/local/lib/libintl.so.8 (0x80174d000) >>> PREFIX: /usr/local >>> GSSAPIBASEDIR: /usr/local >>> GSSAPIINCDIR: /usr/local/include >>> GSSAPILIBDIR: /usr/local/lib >>> GSSAPILIBS: -lkrb5 -lgssapi_krb5 >>> GSSAPICPPFLAGS: -I/usr/local/include >>> GSSAPILDFLAGS: -L/usr/local/lib >>> GSSAPI_CONFIGURE_ARGS: CFLAGS=-I/usr/local/include -O2 -pipe >>> -fstack-protector -fno-strict-aliasing LDFLAGS=-L/usr/local/lib >>> -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector LIBS=-lkrb5 >>> -lgssapi_krb5 KRB5CONFIG=/usr/local/bin/krb5-config >>> KRB5CONFIG: /usr/local/bin/krb5-config >>> CFLAGS: -O2 -pipe  -fstack-protector -fno-strict-aliasing >>> LDFLAGS:  -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector >>> LDADD: >>>> >>>> Somewhere this is getting screwed up, and I have yet to figure out >>>> where - when I do I'll pass it on, but meanwhile I figured a heads >>>> up is in order. >>> I'd forgotten to mention that I'm still rather newb for this kind of >>> diagnosis, so help here would very much be appreciated :-) >> Building with heimdal-base (can't do ports): >> >> httpd: Syntax error on line 169 of >> /usr/local/etc/apache24/httpd.conf: Cannot load >> libexec/apache24/mod_auth_kerb.so into server: >> /usr/local/libexec/apache24/mod_auth_kerb.so: Undefined symbol >> "krb5_gss_register_acceptor_identity" > Similar error was reported here in 2015: > https://forums.freebsd.org/threads/apache-2-4-not-working-with-mod_auth_kerb2.52825/ > > readelf -Ws /usr/local/lib/libkrb5.so | grep krb5_rc_dfl_init >   1422: 000000000007c7b0   234 FUNC    GLOBAL DEFAULT   11 > krb5_rc_dfl_init > > readelf -Ws /usr/lib/libkrb5.so | grep krb5_rc_dfl_init > > readelf -Ws /usr/local/lib/libkrb5.so | grep > krb5_gss_register_acceptor_identity > > readelf -Ws /usr/lib/libkrb5.so | grep > krb5_gss_register_acceptor_identity > > Notice that neither heimdal-base or mit krb5 have > krb5_gss_register_acceptor_identity. So where is that coming from? I > also checked most other libs (libkrb5.so, libgssapi_krb5.so, > libheimbase.so, libheimntlm.so, libgssapi_ntlm.so, > libgssapi_spnego.so, etc) required with no success. > > And now I believe I may be officially out of my depth, as this seems > to be a path order issue in the linking process. > > Anyone shed some light here? Had some help on the irc ports channel, but this has a fix: apxs (system specific) holds some builtin variables (check apxs -q) which can be (may need to be) overridden. Line 16 of the Makefile found in work/ should read like this: ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-S LDFLAGS=-L/usr/local/lib -c" "src/mod_auth_kerb.c" apxs -q reveals that LDFLAGS=-L/usr/lib -fstack-protector, but can't seem to append that to the override. This probably explains why runtime errors can be rather hit and miss - if apxs changes, then that likely breaks the port. This fix is only for mit-krb5; heimdal has another issue - I suspect its looking for mit-krb5, but regardless whatever it is looking for doesn't exist. I'll put up a PR, but I can't exactly offer a patch per se as I'm not 100% sure of the lack of the other components of LDFLAGS found in apxs. From owner-freebsd-apache@freebsd.org Wed Feb 28 13:41:17 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0D2B7F26EF0 for ; Wed, 28 Feb 2018 13:41:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BCC5D77EEC for ; Wed, 28 Feb 2018 13:41:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7A9BDF26EED; Wed, 28 Feb 2018 13:41:16 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E832F26EE6 for ; Wed, 28 Feb 2018 13:41:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CD1A877EE9 for ; Wed, 28 Feb 2018 13:41:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id DD1E91D7F1 for ; Wed, 28 Feb 2018 13:41:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1SDfErd062443 for ; Wed, 28 Feb 2018 13:41:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1SDfEoG062442 for apache@FreeBSD.org; Wed, 28 Feb 2018 13:41:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 226261] www/mod_auth_kerb2 Date: Wed, 28 Feb 2018 13:41:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rocky@herveybayaustralia.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2018 13:41:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226261 Bug ID: 226261 Summary: www/mod_auth_kerb2 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: apache@FreeBSD.org Reporter: rocky@herveybayaustralia.com.au Assignee: apache@FreeBSD.org Flags: maintainer-feedback?(apache@FreeBSD.org) This issue has come up in other bug reports but this has failed on 11.1-RELEASE. mod_auth_kerb2 builds and install ok, but fails at runtime causing apache to fail to start. httpd: Syntax error on line 169 of /usr/local/etc/apache24/httpd.conf: Cann= ot load libexec/apache24/mod_auth_kerb.so into server: /usr/local/libexec/apache24/mod_auth_kerb.so: Undefined symbol "krb5_rc_dfl_init" ldd /usr/local/libexec/apache24/mod_auth_kerb.so /usr/local/libexec/apache24/mod_auth_kerb.so: libgssapi_krb5.so.10 =3D> /usr/lib/libgssapi_krb5.so.10 (0x801208000) libkrb5.so.11 =3D> /usr/lib/libkrb5.so.11 (0x801427000) libk5crypto.so.3.1 =3D> /usr/local/lib/libk5crypto.so.3.1 (0x8016a5000) libcom_err.so.5 =3D> /usr/lib/libcom_err.so.5 (0x8018d9000) libc.so.7 =3D> /lib/libc.so.7 (0x800824000) libgssapi.so.10 =3D> /usr/lib/libgssapi.so.10 (0x801adb000) libcrypto.so.8 =3D> /lib/libcrypto.so.8 (0x801e00000) libroken.so.11 =3D> /usr/lib/libroken.so.11 (0x802269000) libasn1.so.11 =3D> /usr/lib/libasn1.so.11 (0x80247c000) libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x80271e000) libhx509.so.11 =3D> /usr/lib/libhx509.so.11 (0x80293d000) libwind.so.11 =3D> /usr/lib/libwind.so.11 (0x802b8a000) libheimbase.so.11 =3D> /usr/lib/libheimbase.so.11 (0x802db2000) libprivateheimipcc.so.11 =3D> /usr/lib/libprivateheimipcc.so.11 (0x802f= b6000) libkrb5support.so.0.1 =3D> /usr/local/lib/libkrb5support.so.0.1 (0x8031= b8000) libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x8033c6000) libthr.so.3 =3D> /lib/libthr.so.3 (0x8035d1000) readelf -Ws /usr/local/lib/libkrb5.so | grep krb5_rc_dfl_init 1422: 000000000007c7b0 234 FUNC GLOBAL DEFAULT 11 krb5_rc_dfl_init readelf -Ws /usr/lib/libkrb5.so | grep krb5_rc_dfl_init make debug-krb shows everything works as expected in the ports framework: cc -O2 -pipe -fstack-protector -fno-strict-aliasing -o /tmp/debug-krb.x -I"/usr/local/include" -lkrb5 -lgssapi_krb5 -L"/usr/local/lib" -Wl,-rpath,/usr/local/lib /tmp/debug-krb.c && ldd /tmp/debug-krb.x; /bin= /rm -f /tmp/debug-krb.x /tmp/debug-krb.x: libkrb5.so.3.3 =3D> /usr/local/lib/libkrb5.so.3.3 (0x800822000) libgssapi_krb5.so.2.2 =3D> /usr/local/lib/libgssapi_krb5.so.2.2 (0x800b= 08000) libc.so.7 =3D> /lib/libc.so.7 (0x800d50000) libk5crypto.so.3.1 =3D> /usr/local/lib/libk5crypto.so.3.1 (0x801108000) libcom_err.so.3.0 =3D> /usr/local/lib/libcom_err.so.3.0 (0x80133c000) libkrb5support.so.0.1 =3D> /usr/local/lib/libkrb5support.so.0.1 (0x8015= 3f000) libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x80174d000) PREFIX: /usr/local GSSAPIBASEDIR: /usr/local GSSAPIINCDIR: /usr/local/include GSSAPILIBDIR: /usr/local/lib GSSAPILIBS: -lkrb5 -lgssapi_krb5 GSSAPICPPFLAGS: -I/usr/local/include GSSAPILDFLAGS: -L/usr/local/lib GSSAPI_CONFIGURE_ARGS: CFLAGS=3D-I/usr/local/include -O2 -pipe -fstack-prot= ector -fno-strict-aliasing LDFLAGS=3D-L/usr/local/lib -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector LIBS=3D-lkrb5 -lgssapi= _krb5 KRB5CONFIG=3D/usr/local/bin/krb5-config KRB5CONFIG: /usr/local/bin/krb5-config CFLAGS: -O2 -pipe -fstack-protector -fno-strict-aliasing LDFLAGS: -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector LDADD:=20 Looking through the commands used (little though there is) shows libtool ne= eds -L/usr/local/lib before -o src/mod_auth_kerb.la. Seeing as apxs actually runs libtool, apxs needs to be told to pass this in= fo along. apxs -q reveals LDFLAGS=3D-L/usr/lib -fstack-protector This is builtin when apxs is compiled - which may vary from system to system (which probably explains the hit and miss of functionality). To override this variable apxs needs to be passed: apxs -S LDFLAGS=3D-L/usr/local/lib=20 So, in order to resolve this issue, line 16 on the work/ Makefile ./apxs.sh= arg 4 needs to adjusted to "-S LDFLAGS=3D-L/usr/local/lib -c". No patch is supplied here due to concern with the loss of the the other components of LDFLAGS in apxs (couldn't prepend the -L/usr/local/lib to the other arguments - _needs to be first_), and that this needs to probably ref= lect say GSSAPIBASEDIR or KRB5_HOME or something, but this works: ldd work/stage/usr/local/libexec/apache24/mod_auth_kerb.so=20 work/stage/usr/local/libexec/apache24/mod_auth_kerb.so: libgssapi_krb5.so.2.2 =3D> /usr/local/lib/libgssapi_krb5.so.2.2 (0x801208000) libkrb5.so.3.3 =3D> /usr/local/lib/libkrb5.so.3.3 (0x801450000) libk5crypto.so.3.1 =3D> /usr/local/lib/libk5crypto.so.3.1 (0x801736= 000) libcom_err.so.3.0 =3D> /usr/local/lib/libcom_err.so.3.0 (0x80196a00= 0) libc.so.7 =3D> /lib/libc.so.7 (0x800824000) libkrb5support.so.0.1 =3D> /usr/local/lib/libkrb5support.so.0.1 (0x801b6d000) libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x801d7b000) service apache24 restart Performing sanity check on apache24 configuration: AH00548: NameVirtualHost has no effect and will be removed in the next rele= ase /usr/local/etc/apache24/extra/httpd-vhosts.conf:25 Syntax OK Stopping apache24. Waiting for PIDS: 20506. Performing sanity check on apache24 configuration: AH00548: NameVirtualHost has no effect and will be removed in the next rele= ase /usr/local/etc/apache24/extra/httpd-vhosts.conf:25 Syntax OK Starting apache24. AH00548: NameVirtualHost has no effect and will be removed in the next rele= ase /usr/local/etc/apache24/extra/httpd-vhosts.conf:25 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-apache@freebsd.org Wed Feb 28 13:41:17 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD664F26EEF for ; Wed, 28 Feb 2018 13:41:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 75EAE77EEB for ; Wed, 28 Feb 2018 13:41:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2C765F26EE4; Wed, 28 Feb 2018 13:41:16 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E2BA1F26EE3 for ; Wed, 28 Feb 2018 13:41:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 644B277EE6 for ; Wed, 28 Feb 2018 13:41:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 9EED51D7F0 for ; Wed, 28 Feb 2018 13:41:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1SDfEBi062439 for ; Wed, 28 Feb 2018 13:41:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1SDfEJQ062438 for apache@FreeBSD.org; Wed, 28 Feb 2018 13:41:14 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: maintainer-feedback requested: [Bug 226261] www/mod_auth_kerb2 Date: Wed, 28 Feb 2018 13:41:13 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2018 13:41:17 -0000 Bugzilla Automation has asked apache@FreeBSD.org for maintainer-feedback: Bug 226261: www/mod_auth_kerb2 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226261 --- Description --- This issue has come up in other bug reports but this has failed on 11.1-RELEASE. mod_auth_kerb2 builds and install ok, but fails at runtime causing apache to fail to start. httpd: Syntax error on line 169 of /usr/local/etc/apache24/httpd.conf: Cann= ot load libexec/apache24/mod_auth_kerb.so into server: /usr/local/libexec/apache24/mod_auth_kerb.so: Undefined symbol "krb5_rc_dfl_init" ldd /usr/local/libexec/apache24/mod_auth_kerb.so /usr/local/libexec/apache24/mod_auth_kerb.so: libgssapi_krb5.so.10 =3D> /usr/lib/libgssapi_krb5.so.10 (0x801208000) libkrb5.so.11 =3D> /usr/lib/libkrb5.so.11 (0x801427000) libk5crypto.so.3.1 =3D> /usr/local/lib/libk5crypto.so.3.1 (0x8016a5000) libcom_err.so.5 =3D> /usr/lib/libcom_err.so.5 (0x8018d9000) libc.so.7 =3D> /lib/libc.so.7 (0x800824000) libgssapi.so.10 =3D> /usr/lib/libgssapi.so.10 (0x801adb000) libcrypto.so.8 =3D> /lib/libcrypto.so.8 (0x801e00000) libroken.so.11 =3D> /usr/lib/libroken.so.11 (0x802269000) libasn1.so.11 =3D> /usr/lib/libasn1.so.11 (0x80247c000) libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x80271e000) libhx509.so.11 =3D> /usr/lib/libhx509.so.11 (0x80293d000) libwind.so.11 =3D> /usr/lib/libwind.so.11 (0x802b8a000) libheimbase.so.11 =3D> /usr/lib/libheimbase.so.11 (0x802db2000) libprivateheimipcc.so.11 =3D> /usr/lib/libprivateheimipcc.so.11 (0x802f= b6000) libkrb5support.so.0.1 =3D> /usr/local/lib/libkrb5support.so.0.1 (0x8031= b8000) libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x8033c6000) libthr.so.3 =3D> /lib/libthr.so.3 (0x8035d1000) readelf -Ws /usr/local/lib/libkrb5.so | grep krb5_rc_dfl_init 1422: 000000000007c7b0 234 FUNC GLOBAL DEFAULT 11 krb5_rc_dfl_init readelf -Ws /usr/lib/libkrb5.so | grep krb5_rc_dfl_init make debug-krb shows everything works as expected in the ports framework: cc -O2 -pipe -fstack-protector -fno-strict-aliasing -o /tmp/debug-krb.x -I"/usr/local/include" -lkrb5 -lgssapi_krb5 -L"/usr/local/lib" -Wl,-rpath,/usr/local/lib /tmp/debug-krb.c && ldd /tmp/debug-krb.x; /bin/= rm -f /tmp/debug-krb.x /tmp/debug-krb.x: libkrb5.so.3.3 =3D> /usr/local/lib/libkrb5.so.3.3 (0x800822000) libgssapi_krb5.so.2.2 =3D> /usr/local/lib/libgssapi_krb5.so.2.2 (0x800b= 08000) libc.so.7 =3D> /lib/libc.so.7 (0x800d50000) libk5crypto.so.3.1 =3D> /usr/local/lib/libk5crypto.so.3.1 (0x801108000) libcom_err.so.3.0 =3D> /usr/local/lib/libcom_err.so.3.0 (0x80133c000) libkrb5support.so.0.1 =3D> /usr/local/lib/libkrb5support.so.0.1 (0x8015= 3f000) libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x80174d000) PREFIX: /usr/local GSSAPIBASEDIR: /usr/local GSSAPIINCDIR: /usr/local/include GSSAPILIBDIR: /usr/local/lib GSSAPILIBS: -lkrb5 -lgssapi_krb5 GSSAPICPPFLAGS: -I/usr/local/include GSSAPILDFLAGS: -L/usr/local/lib GSSAPI_CONFIGURE_ARGS: CFLAGS=3D-I/usr/local/include -O2 -pipe -fstack-prot= ector -fno-strict-aliasing LDFLAGS=3D-L/usr/local/lib -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector LIBS=3D-lkrb5 -lgssapi= _krb5 KRB5CONFIG=3D/usr/local/bin/krb5-config KRB5CONFIG: /usr/local/bin/krb5-config CFLAGS: -O2 -pipe -fstack-protector -fno-strict-aliasing LDFLAGS: -Wl,-rpath,/usr/local/lib:/usr/lib -fstack-protector LDADD:=20 Looking through the commands used (little though there is) shows libtool ne= eds -L/usr/local/lib before -o src/mod_auth_kerb.la. Seeing as apxs actually runs libtool, apxs needs to be told to pass this in= fo along. apxs -q reveals LDFLAGS=3D-L/usr/lib -fstack-protector This is builtin when apxs is compiled - which may vary from system to system (which probably explains the hit and miss of functionality). To override this variable apxs needs to be passed: apxs -S LDFLAGS=3D-L/usr/local/lib=20 So, in order to resolve this issue, line 16 on the work/ Makefile ./apxs.sh= arg 4 needs to adjusted to "-S LDFLAGS=3D-L/usr/local/lib -c". No patch is supplied here due to concern with the loss of the the other components of LDFLAGS in apxs (couldn't prepend the -L/usr/local/lib to the other arguments - _needs to be first_), and that this needs to probably ref= lect say GSSAPIBASEDIR or KRB5_HOME or something, but this works: ldd work/stage/usr/local/libexec/apache24/mod_auth_kerb.so=20 work/stage/usr/local/libexec/apache24/mod_auth_kerb.so: libgssapi_krb5.so.2.2 =3D> /usr/local/lib/libgssapi_krb5.so.2.2 (0x801208000) libkrb5.so.3.3 =3D> /usr/local/lib/libkrb5.so.3.3 (0x801450000) libk5crypto.so.3.1 =3D> /usr/local/lib/libk5crypto.so.3.1 (0x801736000) libcom_err.so.3.0 =3D> /usr/local/lib/libcom_err.so.3.0 (0x80196a000) libc.so.7 =3D> /lib/libc.so.7 (0x800824000) libkrb5support.so.0.1 =3D> /usr/local/lib/libkrb5support.so.0.1 (0x801b6d000) libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0x801d7b000) service apache24 restart Performing sanity check on apache24 configuration: AH00548: NameVirtualHost has no effect and will be removed in the next rele= ase /usr/local/etc/apache24/extra/httpd-vhosts.conf:25 Syntax OK Stopping apache24. Waiting for PIDS: 20506. Performing sanity check on apache24 configuration: AH00548: NameVirtualHost has no effect and will be removed in the next rele= ase /usr/local/etc/apache24/extra/httpd-vhosts.conf:25 Syntax OK Starting apache24. AH00548: NameVirtualHost has no effect and will be removed in the next rele= ase /usr/local/etc/apache24/extra/httpd-vhosts.conf:25 From owner-freebsd-apache@freebsd.org Thu Mar 1 22:29:36 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE642F2FDB9 for ; Thu, 1 Mar 2018 22:29:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 52CD27D9B6 for ; Thu, 1 Mar 2018 22:29:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0ED35F2FDB8; Thu, 1 Mar 2018 22:29:36 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1A1EF2FDB7 for ; Thu, 1 Mar 2018 22:29:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9062C7D9B4 for ; Thu, 1 Mar 2018 22:29:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C29256F7C for ; Thu, 1 Mar 2018 22:29:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w21MTYdR033391 for ; Thu, 1 Mar 2018 22:29:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w21MTYV3033390 for apache@FreeBSD.org; Thu, 1 Mar 2018 22:29:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 226261] www/mod_auth_kerb2 fails at runtime causing apache to fail to start (11.1R) Date: Thu, 01 Mar 2018 22:29:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2018 22:29:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226261 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|www/mod_auth_kerb2 |www/mod_auth_kerb2 fails at | |runtime causing apache to | |fail to start (11.1R) --=20 You are receiving this mail because: You are the assignee for the bug.=