From bates@jurai.net  Tue May  2 17:28:20 2000
Return-Path: <bates@jurai.net>
Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99])
	by hub.freebsd.org (Postfix) with ESMTP id 445AC37BB3E
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  2 May 2000 17:28:19 -0700 (PDT)
	(envelope-from bates@jurai.net)
Received: from localhost (bates@localhost)
	by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id UAA08946
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 2 May 2000 20:28:18 -0400 (EDT)
Message-Id: <Pine.BSF.4.21.0005022023390.8881-100000@sasami.jurai.net>
Date: Tue, 2 May 2000 20:28:18 -0400 (EDT)
From: Kanji T Bates <bates@jurai.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: /usr/ports/net/pipsecd build fails

>Number:         18356
>Category:       ports
>Synopsis:       /usr/ports/net/pipsecd build fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May  2 17:30:00 PDT 2000
>Closed-Date:    Fri Nov 17 15:32:08 PST 2000
>Last-Modified:  Sat Nov 02 12:19:11 UTC 2013
>Originator:     Kanji T Bates
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:
        
        
        FreeBSD 3.4-STABLE i386  cvsup'ed Apr 24 - source / make world
        FreeBSD 3.4-RELEASE i386 cvsup'ed Apr 24 - ports
        FreeBSD 3.3-RELEASE i386 cvsup'ed Apr 25 - ports
        FreeBSD 3.3-RELEASE i386 virgin?
        FreeBSD 3.2-RELEASE i386 cvsup'ed Apr 06 - ports 
        
        FreeBSD 4.0-RELEASE i386 (virgin)
        FreeBSD 3.4-RELEASE i386 (virgin)
        
        DES installed
        
        openssl-0.9.4       SSL and crypto library 
        rsaref-2.0          Encryption/authentication library, RSA/MDX/DES
        
>Description:
        
        /usr/ports/net/pipsecd fails to build on many FBSD releases.  Of the
        above list, only the 3.4 and 4.0 virgin systems manage to build in
        spite of identical errors for tunip.c
        
        I do recall getting *different* errors on another system, but I don't 
        recall what the enviroment was or kept a copy of the output.

        ===>  Building for pipsecd-19991014
        cc -Wall -I/usr/local/include/openssl -I/usr/local/include 
         -I/usr/local/include -g -O -pipe   -o pipsecd tunip.c 
         -L/usr/local/lib  -lcrypto   -DFILE_PREFIX=\"/usr/local\"
        tunip.c:373: warning: initialization from incompatible pointer type
        tunip.c:373: warning: initialization from incompatible pointer type
        tunip.c:374: warning: initialization from incompatible pointer type
        tunip.c:378: warning: initialization from incompatible pointer type
        tunip.c:378: warning: initialization from incompatible pointer type
        tunip.c:379: warning: initialization from incompatible pointer type
        tunip.c:383: warning: initialization from incompatible pointer type
        tunip.c:383: warning: initialization from incompatible pointer type
        tunip.c:384: warning: initialization from incompatible pointer type
        tunip.c: In function `parse_secret':
        tunip.c:944: warning: int format, pointer arg (arg 3)
        tunip.c:956: warning: int format, pointer arg (arg 3)
        tunip.c: In function `config_read':
        tunip.c:992: warning: passing arg 1 of `strsep' from incompatible
          pointer type
        tunip.c:996: warning: passing arg 1 of `strsep' from incompatible 
          pointer type
        tunip.c:1036: warning: passing arg 1 of `strsep' from incompatible 
          pointer type
        tunip.c:1154: warning: passing arg 1 of `strsep' from incompatible 
          pointer type
        tunip.c: In function `my_des_cbc_encrypt':
        tunip.c:2023: warning: passing arg 5 of `des_cbc_encrypt' from 
          incompatible pointer type
        tunip.c: In function `my_des_cbc_decrypt':
        tunip.c:2035: warning: passing arg 5 of `des_cbc_encrypt' from 
          incompatible pointer type
        tunip.c: In function `my_des_setkey':
        tunip.c:2046: warning: passing arg 1 of `des_set_key' from
          incompatible pointer type
        tunip.c: In function `my_des3_cbc_encrypt':
        tunip.c:2055: warning: passing arg 7 of `des_ede3_cbc_encrypt'
          from incompatible pointer type
        tunip.c: In function `my_des3_cbc_decrypt':
        tunip.c:2063: warning: passing arg 7 of `des_ede3_cbc_encrypt'
          from incompatible pointer type
        tunip.c: In function `my_des3_setkey':
        tunip.c:2071: warning: passing arg 1 of `des_set_key' from
          incompatible pointer type
        tunip.c:2073: warning: passing arg 1 of `des_set_key' from
          incompatible pointer type
        tunip.c:2075: warning: passing arg 1 of `des_set_key' from
          incompatible pointer type
        /usr/local/lib/libcrypto.so: undefined reference to
          `ERR_load_RSAREF_strings'
        /usr/local/lib/libcrypto.so: undefined reference to
          `RSA_PKCS1_RSAref'
        *** Error code 1

        Stop. 
        
>How-To-Repeat:
         
        cd /usr/ports/net/pipsecd && make
        
>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: ade 
State-Changed-When: Sun Sep 17 10:44:28 PDT 2000 
State-Changed-Why:  
I verified the problem on 4.1-STABLE.  Perhaps you can work 
with the maintainer (patrick@mindstep.com) to fix this issue? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18356 
State-Changed-From-To: feedback->closed 
State-Changed-By: ade 
State-Changed-When: Fri Nov 17 15:32:08 PST 2000 
State-Changed-Why:  
Timeout (2 months) in feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18356 
Responsible-Changed-From-To: freebsd-ports->wg 
Responsible-Changed-By: wg 
Responsible-Changed-When: Sat Nov 2 12:17:50 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=18356 
Responsible-Changed-From-To: wg->freebsd-ports 
Responsible-Changed-By: wg 
Responsible-Changed-When: Sat Nov 2 12:19:10 UTC 2013 
Responsible-Changed-Why:  
Took by mistake 

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