NetBSD Problem Report #50542

From www@NetBSD.org  Sat Dec 12 17:22:59 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 44BFA7ABF3
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 12 Dec 2015 17:22:59 +0000 (UTC)
Message-Id: <20151212172258.146397ACA2@mollari.NetBSD.org>
Date: Sat, 12 Dec 2015 17:22:58 +0000 (UTC)
From: slitvinov@gmail.com
Reply-To: slitvinov@gmail.com
To: gnats-bugs@NetBSD.org
Subject: lang/python27 fails to install with USE_BUILTIN.openssh=yes
X-Send-Pr-Version: www-1.0

>Number:         50542
>Category:       pkg
>Synopsis:       lang/python27 fails to install with USE_BUILTIN.openssh=yes
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 12 17:25:00 +0000 2015
>Closed-Date:    Mon Mar 07 07:25:51 +0000 2016
>Last-Modified:  Mon Mar 07 07:25:51 +0000 2016
>Originator:     Sergey Litvinov
>Release:        Scientific Linux release 6.0 (Carbon)
>Organization:
ETH
>Environment:
Linux vagrant-sl6-64 2.6.32-71.24.1.el6.x86_64 #1 SMP Fri Apr 8 01:07:23 CDT 2011 x86_64 x86_64 x86_64 GNU/Linux
>Description:
lang/python27 fails to install on Scientific Linux if I set USE_BUILTIN.openssh=yes in mk.conf

The error message is
pkg_create: can't stat `/home/vagrant/maxima-deploy/pkgsrc/lang/python27/work/.destdir/home/vagrant/maxima-deploy/prefix/lib/python2.7/lib-dynload/_hashlib.so'
pkg_create: can't stat `/home/vagrant/maxima-deploy/pkgsrc/lang/python27/work/.destdir/home/vagrant/maxima-deploy/prefix/lib/python2.7/lib-dynload/_ssl.so'

In the logs I see

Python build finished, but the necessary bits to build these modules were not found:
_sqlite3           _ssl               _tkinter        
dl                 gdbm               imageop         
sunaudiodev                                           

I can install lang/python27 if I add openssl-devel package to the base system

sudo yum install openssl-devel
>How-To-Repeat:
bmake install in lang/python27 on Scientific Linux  with Scientific Linux and USE_BUILTIN.openssh=yes
>Fix:

>Release-Note:

>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/50542: lang/python27 fails to install with
 USE_BUILTIN.openssh=yes
Date: Sat, 12 Dec 2015 23:10:48 +0100

 On Sat, Dec 12, 2015 at 05:25:00PM +0000, slitvinov@gmail.com wrote:
 > >Description:
 > lang/python27 fails to install on Scientific Linux if I set USE_BUILTIN.openssh=yes in mk.conf

 Assuming you mean openssl here.

 > I can install lang/python27 if I add openssl-devel package to the base system

 So you forcefully overwrite the autodetection, but don't have a
 completely OpenSSL installation? How is that supposed to work?

 Joerg

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 07 Mar 2016 07:25:51 +0000
State-Changed-Why:
to compile against the builtin openssl you need to have enough of the builtin
openssl installed to compile against.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.