From dm@home8.dinoex.sub.de  Tue Mar 25 12:24:19 2014
Return-Path: <dm@home8.dinoex.sub.de>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id A79E92C8
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Mar 2014 12:24:19 +0000 (UTC)
Received: from uucp.dinoex.sub.de (smtp3.dinoex.sub.de [IPv6:2001:1440:5001:1::2])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 1538735B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Mar 2014 12:24:18 +0000 (UTC)
Received: from home8.dinoex.sub.de (home8.dinoex.sub.de [194.45.71.48])
	by uucp.dinoex.sub.de (8.14.8/8.14.5) with ESMTP id s2PCNwci016258
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Mar 2014 13:24:14 +0100 (CET)
	(envelope-from dm@home8.dinoex.sub.de)
Received: (from dm@localhost)
	by home8.dinoex.sub.de (8.14.5/8.14.5/Submit) id s2PCNvZ9083183;
	Tue, 25 Mar 2014 13:23:57 +0100 (CET)
	(envelope-from dm)
Message-Id: <201403251223.s2PCNvZ9083183@home8.dinoex.sub.de>
Date: Tue, 25 Mar 2014 13:23:57 +0100 (CET)
From: dirk.meyer@dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] science/openbabel needs USE_OPENSSL=YES
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         187931
>Category:       ports
>Synopsis:       [PATCH] science/openbabel needs USE_OPENSSL=YES
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    makc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 12:30:00 UTC 2014
>Closed-Date:    Wed Mar 26 21:23:30 CET 2014
>Last-Modified:  Wed Mar 26 21:23:30 CET 2014
>Originator:     Dirk Meyer
>Release:        FreeBSD 9.2-RELEASE
>Organization:
privat
>Environment:

clean jail.

/etc/make.conf:
WITH_OPENSSL_PORT=yes

>Description:

	build of science/openbabel fails:

=== package openbabel-2.3.2 can not be installed
=== package openbabel-2.3.2 was not build
===> Fetching all distfiles required by openbabel-2.3.2 for building
===>  Extracting for openbabel-2.3.2
=> SHA256 Checksum OK for openbabel-2.3.2.tar.gz.
===>  Patching for openbabel-2.3.2
===>  Applying FreeBSD patches for openbabel-2.3.2
/usr/bin/sed -i.bak -e '/find_package(Cairo)/d'  /media/work/usr/ports/science/openbabel/work/openbabel-2.3.2/CMakeLists.txt
/usr/bin/sed -i.bak -e '/pkgconfig/s,${LIB_INSTALL_DIR},libdata,'  /media/work/usr/ports/science/openbabel/work/openbabel-2.3.2/CMakeLists.txt
/usr/bin/sed -i.bak -e 's,share/man,man,'  /media/work/usr/ports/science/openbabel/work/openbabel-2.3.2/doc/CMakeLists.txt
===>   openbabel-2.3.2 depends on file: /usr/local/include/eigen3/Eigen/Eigen - found
===>   openbabel-2.3.2 depends on file: /usr/local/bin/cmake - found
===>   openbabel-2.3.2 depends on shared library: libxml2.so - found
===>  Configuring for openbabel-2.3.2
===>  Performing out-of-source build
/bin/mkdir -p /media/work/usr/ports/science/openbabel/work/.build
Shared object "libssl.so.8" not found, required by "cmake"
*** [do-configure] Error code 1

Stop in /usr/ports/science/openbabel.

>How-To-Repeat:

	cd /usr/ports/science/openbabel
	make WITH_OPENSSL_PORT=yes

>Fix:

	apply this patch:

Index: Makefile
===================================================================
--- Makefile    (revision 348745)
+++ Makefile    (working copy)
@@ -14,6 +14,7 @@
 CONFLICTS_INSTALL=	babel-*
 
 USE_GNOME=	libxml2
+USE_OPENSSL=	yes
 USES=		cmake:outsource
 CMAKE_ARGS=	-DBUILD_GUI=off
 USE_LDCONFIG=	yes

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->makc 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Mar 25 12:30:07 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187931 

From: Max Brazhnikov <makc@freebsd.org>
To: bug-followup@freebsd.org, dirk.meyer@dinoex.sub.org
Cc:  
Subject: Re: ports/187931: [PATCH] science/openbabel needs USE_OPENSSL=YES
Date: Tue, 25 Mar 2014 19:04:36 +0000

 Hi Dirk,
 
 This looks more like the problem with cmake after recent commits to the port (btw, openbabel doesn't use openssl at all). Could you add USE_OPENSSL=yes to devel/cmake and try again? If it solves the problem, feel free to commit with my approval.
 
 Max

From: dirk.meyer@dinoex.sub.org (Dirk Meyer)
To: bug-followup@freebsd.org, makc@freebsd.org (Max Brazhnikov)
Cc:  
Subject: Re: ports/187931: [PATCH] science/openbabel needs USE_OPENSSL=YES
Date: Tue, 25 Mar 2014 21:37:38 +0100

 Hallo Max Brazhnikov,
 
 > This looks more like the problem with cmake after recent commits to the port (btw, openbabel doesn't use openssl at all). Could you add USE_OPENSSL=yes to devel/cmake and try again? If it solves the problem, feel free to commit with my approval.
 
 This would make all port using cmake depend on openssl.
 Which is a bit too much.
 
 The problem might be in a libray used, that failed to register the dependency.
 
 kind regards Dirk
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 - [dirk.meyer@dinoex.sub.org],[dirk.meyer@guug.de],[dinoex@FreeBSD.org]

From: Max Brazhnikov <makc@freebsd.org>
To: Dirk Meyer <dirk.meyer@dinoex.sub.org>
Cc: bug-followup@freebsd.org, rakuco@freebsd.org
Subject: Re: ports/187931: [PATCH] science/openbabel needs USE_OPENSSL=YES
Date: Wed, 26 Mar 2014 06:48:27 +0000

 On Tue, 25 Mar 2014 21:37:38 +0100 Dirk Meyer wrote:
 > Hallo Max Brazhnikov,
 > 
 > > This looks more like the problem with cmake after recent commits to the port (btw, openbabel doesn't use openssl at all). Could you add USE_OPENSSL=yes to devel/cmake and try again? If it solves the problem, feel free to commit with my approval.
 > 
 > This would make all port using cmake depend on openssl.
 > Which is a bit too much.
 > 
 > The problem might be in a libray used, that failed to register the dependency.
 
 cmake is linked to openssl now, see ports/187374 and related commit 347541
 to devel/cmake. The missing part is USE_OPENSSL=yes, which apparently leads
 to the problem when using openssl from ports.
State-Changed-From-To: open->closed 
State-Changed-By: dinoex 
State-Changed-When: Wed Mar 26 21:22:53 CET 2014 
State-Changed-Why:  

the problem is indeed within the cmake port 


http://www.freebsd.org/cgi/query-pr.cgi?pr=187931 
>Unformatted:
