Subject: pkg/17428: upgrade of openssh fails due to openssl conflict
To: None <gnats-bugs@gnats.netbsd.org>
From: None <grant@netbsd.org>
List: netbsd-bugs
Date: 06/29/2002 11:15:53
>Number:         17428
>Category:       pkg
>Synopsis:       upgrade of openssh fails due to openssl conflict
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 28 18:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     grant beattie
>Release:        NetBSD 1.6_BETA3, 20020626 source
>Organization:
>Environment:
System: NetBSD redback 1.6_BETA3 NetBSD 1.6_BETA3 (GENERIC) #0: Sat Jun 29 00:55:05 EST 2002 grant@mofo:/work/netbsd/netbsd-1-6/20020626.sparc/obj/sys/arch/sparc/compile/GENERIC sparc
Architecture: sparc
Machine: sparc
>Description:
After performing a manual upgrade from 1.5.2 to 1.6 by extracting sets, I
updated pkgsrc and attempted to upgrade openssh.

It failed in the configure:

checking whether OpenSSL's headers match the library... no
configure: error: Your OpenSSL headers do not match your library
*** Error code 1

This is because I had openssl-0.9.6nb1 installed from pkgsrc before
upgrading to 1.6.

>How-To-Repeat:
Install 1.5.2.
Install openssl and openssh from pkgsrc.
Upgrade to 1.6.
Attempt to update openssh from pkgsrc.

>Fix:
My workaround was to remove the openssl package and let openssh use
the in-tree openssl.

Not sure what the correct fix is. Perhaps buildlink could check the
in-tree openssl vs. pkgsrc installed openssh.

>Release-Note:
>Audit-Trail:
>Unformatted: