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: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 12 01:20:00 +0000 2017
>Closed-Date: Wed Jun 09 02:54:01 +0000 2021
>Last-Modified: Wed Jun 09 02:54:01 +0000 2021
>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.
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 09 Jun 2021 02:54:01 +0000
State-Changed-Why:
Feedback mail bounced. Problem almost certainly caused by symlinking the
pkgsrc dir.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.