From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 10 16:10:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A8129706 for ; Sun, 10 Feb 2013 16:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8C4B5644 for ; Sun, 10 Feb 2013 16:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1AGA2IX063669 for ; Sun, 10 Feb 2013 16:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1AGA2ZQ063668; Sun, 10 Feb 2013 16:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 10 Feb 2013 16:10:02 GMT Resent-Message-Id: <201302101610.r1AGA2ZQ063668@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, Trond Endrestøl Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0DB706E7 for ; Sun, 10 Feb 2013 16:07:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id F1C18632 for ; Sun, 10 Feb 2013 16:07:05 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1AG73wK091867 for ; Sun, 10 Feb 2013 16:07:03 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r1AG73v0091866; Sun, 10 Feb 2013 16:07:03 GMT (envelope-from nobody) Message-Id: <201302101607.r1AG73v0091866@red.freebsd.org> Date: Sun, 10 Feb 2013 16:07:03 GMT From: Trond Endrestøl To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/176012: irc/inspircd fails to detect OpenSSL in base running recent stable/9 r246610 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, 10 Feb 2013 16:10:02 -0000 >Number: 176012 >Category: ports >Synopsis: irc/inspircd fails to detect OpenSSL in base running recent stable/9 r246610 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 10 16:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Trond Endrestøl >Release: FreeBSD/amd64 9.1-STABLE >Organization: Private >Environment: FreeBSD enterprise.ximalas.info 9.1-STABLE FreeBSD 9.1-STABLE #0 r246610: Sun Feb 10 13:41:57 CET 2013 root@enterprise.ximalas.info:/usr/obj/usr/src/sys/ENTERPRISE amd64 >Description: irc/inspircd fails to detect OpenSSL in base: root@enterprise:/usr/ports/irc/inspircd>make ===> License GPLv2 accepted by the user ===> Found saved configuration for inspircd-2.0.9_2 ===> Extracting for inspircd-2.0.9_2 => SHA256 Checksum OK for InspIRCd-2.0.9.tar.bz2. ===> inspircd-2.0.9_2 depends on file: /usr/local/bin/perl5.16.2 - found ===> Patching for inspircd-2.0.9_2 ===> inspircd-2.0.9_2 depends on file: /usr/local/bin/perl5.16.2 - found ===> Applying FreeBSD patches for inspircd-2.0.9_2 ===> inspircd-2.0.9_2 depends on file: /usr/local/bin/perl5.16.2 - found ===> Configuring for inspircd-2.0.9_2 Cannot enable : destination in src/modules exists (might already be enabled?) Enabling m_ssl_openssl.cpp ... Enabling m_regex_posix.cpp ... m_geoip.cpp = disabled m_ldapauth.cpp = disabled m_ldapoper.cpp = disabled m_mssql.cpp = disabled m_mysql.cpp = disabled m_pgsql.cpp = disabled m_regex_pcre.cpp = disabled m_regex_posix.cpp = enabled m_regex_stdlib.cpp = disabled m_regex_tre.cpp = disabled m_sqlite3.cpp = disabled m_ssl_gnutls.cpp = disabled m_ssl_openssl.cpp = enabled Remember: YOU are responsible for making sure any libraries needed have been installed! Detecting modules ................................................................................................................................................. Ok, 145 modules. Running non-interactive configure... Checking for cache from previous configure... not found Checking operating system version... freebsd Checking if stdint.h exists... yes Checking if strlcpy exists... yes Checking if kqueue exists... yes Checking for epoll support... no Checking for eventfd support... no Checking if Solaris I/O completion ports are available... no Checking for libgnutls... no Checking for openssl... no Checking if you are running an ancient, unsupported OS... no (9.1-STABLE ) Pre-build configuration is complete! Base install path: /usr/local/lib/inspircd Config path: /usr/local/etc/inspircd Module path: /usr/local/lib/inspircd/modules GCC Version Found: 4.2 Compiler program: g++ GnuTLS Support: n OpenSSL Support: y Important note: The maximum length values are now configured in the configuration file, not in ./configure! See the tag in the configuration file for more information. Sorry, but i couldn't detect openssl. Make sure openssl is in your path. ===> Building for inspircd-2.0.9_2 make: cannot open BSDmakefile. *** [do-build] Error code 1 Stop in /usr/ports/irc/inspircd. *** [build] Error code 1 Stop in /usr/ports/irc/inspircd. >How-To-Repeat: Update the ports tree on an updated stable/9 system and execute these two commands: cd /usr/ports/irc/inspircd make >Fix: The Perl script configure contains a regexp that does not recognize the version number of OpenSSL in base. The command openssl version is used in the aforementioned configure script, and gives this output: OpenSSL 0.9.8x-freebsd 10 May 2012 Only the "0.9.8x-freebsd" portion is used by the configure script. I guess the -freebsd suffix is the culprit. Either disable the regexp test or rewrite the regexp to better cope with local version numbers. I chose the former as shown in the following patch. --- configure.orig 2012-10-07 00:29:07.000000000 +0200 +++ configure 2013-02-10 16:08:46.000000000 +0100 @@ -272,11 +272,11 @@ chomp($config{GCCMINOR} = `$exec`); $config{MAXBUF} = "512"; # Max buffer size -if ($config{HAS_OPENSSL} =~ /^([-[:digit:].]+)([a-z])?(\-[a-z][0-9])?$/) { - $config{HAS_OPENSSL} = $1; -} else { - $config{HAS_OPENSSL} = ""; -} +#if ($config{HAS_OPENSSL} =~ /^([-[:digit:].]+)([a-z])?(\-[a-z][0-9])?$/) { +# $config{HAS_OPENSSL} = $1; +#} else { +# $config{HAS_OPENSSL} = ""; +#} if (($config{GCCVER} eq "") || ($config{GCCMINOR} eq "")) { if ($config{IS_DARWIN} eq "YES") { >Release-Note: >Audit-Trail: >Unformatted: