From nobody@FreeBSD.org  Sat May  8 20:47:30 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 0440C106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  8 May 2010 20:47:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id E7AA78FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  8 May 2010 20:47:29 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o48KlTBE035500
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 8 May 2010 20:47:29 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o48KlTBj035499;
	Sat, 8 May 2010 20:47:29 GMT
	(envelope-from nobody)
Message-Id: <201005082047.o48KlTBj035499@www.freebsd.org>
Date: Sat, 8 May 2010 20:47:29 GMT
From: Gerard Seibert <gerard@seibercom.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Unable to build "net-im/libmsn"
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: decept0@gmail.com

>Number:         146409
>Category:       ports
>Synopsis:       Unable to build "net-im/libmsn"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 08 20:50:05 UTC 2010
>Closed-Date:    Fri May 14 08:00:40 UTC 2010
>Last-Modified:  Fri May 14 08:00:40 UTC 2010
>Originator:     Gerard Seibert
>Release:        FreeBSD-8
>Organization:
>Environment:
FreeBSD scorpio.seibercom.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Wed May  5 18:00:51 EDT 2010     gerard@scorpio.seibercom.net:/usr/obj/usr/src/sys/SCORPIO  amd64
>Description:
While attempting to built the "x11/kde4" meta port, the build fails when it reaches the "net-im/libmsn" port. The problem appears to be with "SSL". I have "openssl" from the ports system installed, with this notation in the "etc/make.conf" file: WITH_OPENSSL_PORT=yes

I believe that this is problem is due to the use of the "ports" version of "openssl" as opposed to the "system" version.

A copy of the build log for this port is attached.
>How-To-Repeat:
Install the "openssl" ports version, place the: WITH_OPENSSL_PORT=yes flag in the "/etc/make.conf" file and then attempt to build the port.
>Fix:
UNTESTED:

Probably removing the "openssl" port version and reverting to the "system" version.

Patch attached with submission follows:

Script started on Sat May  8 16:19:06 2010
===>  Vulnerability check disabled, database not found
=> libmsn-4.0-beta8.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://heanet.dl.sourceforge.net/project/libmsn/libmsn/4.0%20beta%208/.
libmsn-4.0-beta8.tar.bz2                        0% of  292 kB    0  Bpslibmsn-4.0-beta8.tar.bz2                        2% of  292 kB   34 kBpslibmsn-4.0-beta8.tar.bz2                      100% of  292 kB  273 kBps
===>  Extracting for libmsn-4.0.b8
=> MD5 Checksum OK for libmsn-4.0-beta8.tar.bz2.
=> SHA256 Checksum OK for libmsn-4.0-beta8.tar.bz2.
===>  Patching for libmsn-4.0.b8
===>  Applying FreeBSD patches for libmsn-4.0.b8
===>   libmsn-4.0.b8 depends on file: /usr/local/lib/libcrypto.so.7 - found
===>   libmsn-4.0.b8 depends on file: /usr/local/bin/cmake - found
===>  Configuring for libmsn-4.0.b8
/bin/mkdir -p /usr/ports/net-im/libmsn/work/libmsn-4.0-beta8
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found OpenSSL: /usr/local/lib/libssl.so
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/ports/net-im/libmsn/work/libmsn-4.0-beta8
===>  Building for libmsn-4.0.b8
Scanning dependencies of target msn
[ 10%] Building CXX object msn/CMakeFiles/msn.dir/message.cpp.o
[ 10%] Building CXX object msn/CMakeFiles/msn.dir/authdata.cpp.o
[ 15%] Building CXX object msn/CMakeFiles/msn.dir/connection.cpp.o
[ 20%] Building CXX object msn/CMakeFiles/msn.dir/switchboardserver.cpp.o
[ 25%] Building CXX object msn/CMakeFiles/msn.dir/notificationserver.cpp.o
[ 30%] Building CXX object msn/CMakeFiles/msn.dir/util.cpp.o
[ 35%] Building CXX object msn/CMakeFiles/msn.dir/md5.cpp.o
[ 40%] Building CXX object msn/CMakeFiles/msn.dir/soap.cpp.o
[ 45%] Building CXX object msn/CMakeFiles/msn.dir/p2p.cpp.o
[ 50%] Building CXX object msn/CMakeFiles/msn.dir/xmlParser.cpp.o
[ 55%] Building CXX object msn/CMakeFiles/msn.dir/msnobject.cpp.o
[ 60%] Building CXX object msn/CMakeFiles/msn.dir/buddy.cpp.o
[ 65%] Building CXX object msn/CMakeFiles/msn.dir/passport.cpp.o
[ 70%] Building CXX object msn/CMakeFiles/msn.dir/libsiren/common.cpp.o
[ 75%] Building CXX object msn/CMakeFiles/msn.dir/libsiren/dct4.cpp.o
[ 80%] Building CXX object msn/CMakeFiles/msn.dir/libsiren/decoder.cpp.o
[ 85%] Building CXX object msn/CMakeFiles/msn.dir/libsiren/encoder.cpp.o
[ 90%] Building CXX object msn/CMakeFiles/msn.dir/libsiren/huffman.cpp.o
[ 95%] Building CXX object msn/CMakeFiles/msn.dir/libsiren/rmlt.cpp.o
Linking CXX shared library libmsn.so
[ 95%] Built target msn
Scanning dependencies of target msntest
[100%] Building CXX object msntest/CMakeFiles/msntest.dir/msntest.cpp.o
/usr/ports/net-im/libmsn/work/libmsn-4.0-beta8/msntest/msntest.cpp: In function 'int main()':
/usr/ports/net-im/libmsn/work/libmsn-4.0-beta8/msntest/msntest.cpp:265: error: invalid conversion from 'const SSL_METHOD*' to 'SSL_METHOD*'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/net-im/libmsn.

Script done on Sat May  8 16:19:34 2010


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat May 8 20:51:48 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: decept0@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/146409: Unable to build "net-im/libmsn"
Date: Sat, 8 May 2010 20:51:46 UT

 Maintainer of net-im/libmsn,
 
 Please note that PR ports/146409 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/146409
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->closed 
State-Changed-By: makc 
State-Changed-When: Fri May 14 08:00:36 UTC 2010 
State-Changed-Why:  
Fixed with update to 4.1 in ports/146465 

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