From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 8 10:10:19 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 343CF16A4E5 for ; Tue, 8 Aug 2006 10:10:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 098B443D46 for ; Tue, 8 Aug 2006 10:10:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k78AAGI6057258 for ; Tue, 8 Aug 2006 10:10:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k78AAGIo057257; Tue, 8 Aug 2006 10:10:16 GMT (envelope-from gnats) Resent-Date: Tue, 8 Aug 2006 10:10:16 GMT Resent-Message-Id: <200608081010.k78AAGIo057257@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, Dan Lukes Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DEF416A4DE for ; Tue, 8 Aug 2006 10:00:33 +0000 (UTC) (envelope-from dan@kulesh.obluda.cz) Received: from smtp1.kolej.mff.cuni.cz (smtp1.kolej.mff.cuni.cz [195.113.24.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 988B043D4C for ; Tue, 8 Aug 2006 10:00:10 +0000 (GMT) (envelope-from dan@kulesh.obluda.cz) Received: from kulesh.obluda.cz (openvpn.ms.mff.cuni.cz [195.113.20.87]) by smtp1.kolej.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id k78A1ck1038376 for ; Tue, 8 Aug 2006 12:01:42 +0200 (CEST) (envelope-from dan@kulesh.obluda.cz) Received: from kulesh.obluda.cz (localhost. [127.0.0.1]) by kulesh.obluda.cz (8.13.6/8.13.6) with ESMTP id k78A04sX021020 for ; Tue, 8 Aug 2006 12:00:04 +0200 (CEST) (envelope-from dan@kulesh.obluda.cz) Received: (from root@localhost) by kulesh.obluda.cz (8.13.6/8.13.6/Submit) id k78A03Go021019; Tue, 8 Aug 2006 12:00:03 +0200 (CEST) (envelope-from dan) Message-Id: <200608081000.k78A03Go021019@kulesh.obluda.cz> Date: Tue, 8 Aug 2006 12:00:03 +0200 (CEST) From: Dan Lukes To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/101647: MySQL 50 server/client uncompilable with OpenSSL X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dan Lukes List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2006 10:10:19 -0000 >Number: 101647 >Category: ports >Synopsis: MySQL 50 server/client uncompilable with OpenSSL >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 Aug 08 10:10:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dan Lukes >Release: FreeBSD 6.1-STABLE i386 >Organization: Obludarium >Environment: Latest ports updated via CVSUP >Description: The mysql50-{client|server} is not compilable with WITH_OPENSSL It fail claiming it can't found the OpenSSL. It's bug in Mysql's configure script. For mode information see http://bugs.mysql.com/bug.php?id=21327 Unfortunatelly, until repaired by MySQL team, it can't be compiled with some combination of OPTIONs. Note, this PR is not related to ports/97933 >How-To-Repeat: make -DWITH_OPENSSL >Fix: Three posibilities: 1. return to an pre-bug version of MySQL 5.0.x 2. patch the configure by our own patch system using the patch presented in MySQL 21327 bug report 3. workaround in port Makefile: replace CONFIGURE_ARGS+=with_openssl=${OPENSSLBASE} with CONFIGURE_ARGS+=with_openssl CONFIGURE_ARGS+=with_openssl_includes=${OPENSSLINC} CONFIGURE_ARGS+=with_openssl_lib=${OPENSSLLIB} I would like to recommend the latest. At the first, it correct the actual problem, at the second, we have our own detection system for OpenSSl headers and libraries (bsd.openssl.mk) so it better to use it instead of an internal configure's logic. Mixing our and internal logic in different ports may result one port (library) compiled and linked against base Openssl and second against port OpenSSL. It may cause undeterministic malfunctions of software which will be hard to debug. >Release-Note: >Audit-Trail: >Unformatted: