NetBSD Problem Report #52538

From vvillafana@tim.nextvr.com  Tue Sep 12 01:15:09 2017
Return-Path: <vvillafana@tim.nextvr.com>
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 153577A26A
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 12 Sep 2017 01:15:09 +0000 (UTC)
Message-Id: <201709120000.v8C00I1f014720@tim.nextvr.com>
Date: Tue, 12 Sep 2017 00:00:18 GMT
From: vvillafana@nextvr.com
Reply-To: vvillafana@nextvr.com
To: gnats-bugs@NetBSD.org
Subject: pkgsrc/security/openssl does not install on Ubuntu 16.04.2
X-Send-Pr-Version: 3.95

>Number:         52538
>Category:       pkg
>Synopsis:       pkgsrc/security/openssl does not install on Ubuntu 16.04.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 12 01:20:00 +0000 2017
>Closed-Date:    
>Last-Modified:  Fri Nov 03 20:00:08 +0000 2017
>Originator:     Victor Villafana
>Release:        Ubuntu 16.04.2 LTS
>Organization:

>Environment:


System: Ubuntu 16.04.2 LTS
Architecture: x86_64
Machine: amd64
>Description:

Attempting to install security/openssl from pkgsrc on Ubuntu gives:

static/target/lib/engines/${pfx}gost$sfx; \
fi
installing gost
make[2]: Leaving directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.2k/engines/ccgost'
make[1]: Leaving directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.2k/engines'
making install in apps...
make[1]: Entering directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.2k/apps'
installing openssl
installing CA.sh
cp: cannot create regular file '/usr/pkgsrc/security/openssl/work/.destdir/usr/tmp/tmp/ffmpeg-static/target/share/examples/openssl/CA.sh.new': No such file or directory
Makefile:105: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.2k/apps'
Makefile:542: recipe for target 'install_sw' failed
make: *** [install_sw] Error 1
*** Error code 2

Another try after making the destination directory gives:

=> Automatic manual page handling
pkg_create: can't stat `/usr/pkgsrc/security/openssl/work/.destdir/usr/pkg/bin/c_rehash'
pkg_create: can't stat `/usr/pkgsrc/security/openssl/work/.destdir/usr/pkg/bin/openssl'
pkg_create: can't stat `/usr/pkgsrc/security/openssl/work/.destdir/usr/pkg/include/openssl/aes.h'
pkg_create: can't stat `/usr/pkgsrc/security/openssl/work/.destdir/usr/pkg/include/openssl/asn1.h'
pkg_create: can't stat `/usr/pkgsrc/security/openssl/work/.destdir/usr/pkg/include/openssl/asn1_mac.h'
pkg_create: can't stat `/usr/pkgsrc/security/openssl/work/.destdir/usr/pkg/include/openssl/asn1t.h'

(and a few hundred more)


>How-To-Repeat:

Try to install security/openssl on Ubuntu.
>Fix:


>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Fri, 03 Nov 2017 20:00:08 +0000
State-Changed-Why:
> /usr/pkgsrc/security/openssl/work/.destdir/usr/tmp/tmp/ffmpeg-static/target/share/examples/openssl/CA.sh.new

That looks dodgy. Are there any symlinks in any of the paths?
Is /usr/tmp/tmp/ffmpeg-static/target really your prefix?
Please share your mk.conf.


>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.