NetBSD Problem Report #50625
From www@NetBSD.org Tue Jan 5 19:32:46 2016
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 1FE2C7ACB5
for <gnats-bugs@gnats.NetBSD.org>; Tue, 5 Jan 2016 19:32:46 +0000 (UTC)
Message-Id: <20160105193245.220F97ACB8@mollari.NetBSD.org>
Date: Tue, 5 Jan 2016 19:32:45 +0000 (UTC)
From: jgw@sdf.org
Reply-To: jgw@sdf.org
To: gnats-bugs@NetBSD.org
Subject: security/libressl fails to install
X-Send-Pr-Version: www-1.0
>Number: 50625
>Category: pkg
>Synopsis: security/libressl fails to install
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: sevan
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 05 19:35:00 +0000 2016
>Closed-Date: Tue Mar 01 01:56:08 +0000 2016
>Last-Modified: Tue Mar 01 01:56:08 +0000 2016
>Originator: Jeff
>Release: 2015Q4
>Organization:
>Environment:
NetBSD ituner.sleepy.cat 7.99.21 NetBSD 7.99.21 (GENERIC.201509031150Z) #0: Thu Sep 3 14:29:46 UTC 2015 builds@b47.netbsd.org:/home/builds/ab/HEAD/i386/201509031150Z-obj/home/source/ab/HEAD/src/sys/arch/i386/compile/GENERIC i386
>Description:
../security/libressl appears to build okay but fails during install in several places:
libressl/man/man3/BN_print.3 in ../work but not PLIST
and
=> Generating post-install file lists
=> Checking file-check results for libressl-2.2.5
=> Checking for non-existent script interpreters in libressl-2.2.5
=> Checking file permissions in libressl-2.2.5
=> Checking for missing run-time search paths in libressl-2.2.5
ERROR: libressl/bin/openssl: missing library: libcrypto.so.35
ERROR: libressl/lib/libssl.so.35.0.0: missing library: libcrypto.so.35
ERROR: libressl/lib/libtls.so.6.0.0: missing library: libcrypto.so.35
*** Error code 1
>How-To-Repeat:
Attempt to build and install package.
>Fix:
Not sure. Both libssl.so.35.0.0 and libtls.so.6.0.0 do appear under ../work but perhaps not where the pkgsrc tools expect?
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->sevan
Responsible-Changed-By: sevan@NetBSD.org
Responsible-Changed-When: Wed, 06 Jan 2016 00:29:09 +0000
Responsible-Changed-Why:
take
From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: jgw@sdf.org
Subject: Re: pkg/50625 (security/libressl fails to install)
Date: Wed, 6 Jan 2016 13:00:56 +0000
Thanks for the heads up.
I did some testing & my results were, on NetBSD 7.0-RELEASE &
OpenBSD-current, this issue with the libraries is reproducible there.
On FreeBSD-CURRENT only the issue with the missing PLIST item is
highlighted.
Things work as intended on OS X.
I'm looking into it.
Sevan
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/50625: security/libressl fails to install
Date: Thu, 7 Jan 2016 09:47:14 +0000
On Tue, Jan 05, 2016 at 07:35:00PM +0000, jgw@sdf.org wrote:
> ERROR: libressl/bin/openssl: missing library: libcrypto.so.35
> ERROR: libressl/lib/libssl.so.35.0.0: missing library: libcrypto.so.35
> ERROR: libressl/lib/libtls.so.6.0.0: missing library: libcrypto.so.35
> [...]
> >Fix:
> Not sure. Both libssl.so.35.0.0 and libtls.so.6.0.0 do appear under
> ../work but perhaps not where the pkgsrc tools expect?
This is usually caused by missing ${COMPILER_RPATH_FLAG}.
--
David A. Holland
dholland@netbsd.org
From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/50625: security/libressl fails to install
Date: Thu, 7 Jan 2016 12:10:54 +0000
On 07/01/2016 09:50, David Holland wrote:
> This is usually caused by missing ${COMPILER_RPATH_FLAG}.
It's defined
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/security/libressl/Makefile?rev=1.1&content-type=text/x-cvsweb-markup&only_with_tag=MAIN
Sevan
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/50625: security/libressl fails to install
Date: Sun, 10 Jan 2016 20:30:30 +0000
On Thu, Jan 07, 2016 at 12:15:01PM +0000, Sevan Janiyan wrote:
> On 07/01/2016 09:50, David Holland wrote:
> > This is usually caused by missing ${COMPILER_RPATH_FLAG}.
>
> It's defined
> http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/security/libressl/Makefile?rev=1.1&content-type=text/x-cvsweb-markup&only_with_tag=MAIN
That doesn't mean the build system honors passed-in LDFLAGS; many
don't without being patched.
--
David A. Holland
dholland@netbsd.org
From: Sevan Janiyan <sevan@NetBSD.org>
To: "gnats-bugs@netbsd.org" <gnats-bugs@NetBSD.org>
Cc: jgw@sdf.org
Subject: Re: pkg/50625: security/libressl fails to install
Date: Thu, 25 Feb 2016 20:06:11 +0000
This is a multi-part message in MIME format.
--------------050802070203030702040904
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Please try attached patch, it's working here on NetBSD &
OpenBSD-current, FreeBSD 10.2 & OS X.
Sevan
--------------050802070203030702040904
Content-Type: text/plain; charset=UTF-8;
name="libressl.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="libressl.txt"
Index: security/libressl/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/libressl/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- security/libressl/Makefile 5 Jan 2016 01:09:21 -0000 1.1
+++ security/libressl/Makefile 25 Feb 2016 20:03:31 -0000
@@ -32,6 +32,7 @@
# Handle subprefix
LDFLAGS+= ${COMPILER_RPATH_FLAG}${LIBRESSL_PREFIX:Q}/lib
+BUILDLINK_PASSTHRU_RPATHDIRS+= ${LIBRESSL_PREFIX:Q}/lib
TEST_TARGET= check
Index: security/libressl/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/security/libressl/PLIST,v
retrieving revision 1.1
diff -u -r1.1 PLIST
--- security/libressl/PLIST 5 Jan 2016 01:09:21 -0000 1.1
+++ security/libressl/PLIST 25 Feb 2016 20:03:31 -0000
@@ -324,6 +324,7 @@
libressl/man/man3/BN_num_bits_word.3
libressl/man/man3/BN_num_bytes.3
libressl/man/man3/BN_one.3
+libressl/man/man3/BN_print.3
libressl/man/man3/BN_print_fp.3
libressl/man/man3/BN_pseudo_rand.3
libressl/man/man3/BN_pseudo_rand_range.3
--------------050802070203030702040904--
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: sevan@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
jgw@sdf.org
Subject: Re: pkg/50625: security/libressl fails to install
Date: Thu, 25 Feb 2016 21:55:48 +0100
On Thu, Feb 25, 2016 at 08:10:00PM +0000, Sevan Janiyan wrote:
> Index: security/libressl/PLIST
> ===================================================================
> RCS file: /cvsroot/pkgsrc/security/libressl/PLIST,v
> retrieving revision 1.1
> diff -u -r1.1 PLIST
> --- security/libressl/PLIST 5 Jan 2016 01:09:21 -0000 1.1
> +++ security/libressl/PLIST 25 Feb 2016 20:03:31 -0000
> @@ -324,6 +324,7 @@
> libressl/man/man3/BN_num_bits_word.3
> libressl/man/man3/BN_num_bytes.3
> libressl/man/man3/BN_one.3
> +libressl/man/man3/BN_print.3
> libressl/man/man3/BN_print_fp.3
> libressl/man/man3/BN_pseudo_rand.3
> libressl/man/man3/BN_pseudo_rand_range.3
>
This will likely be a problem on HFS though.
Joerg
From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/50625: security/libressl fails to install
Date: Fri, 26 Feb 2016 00:19:59 +0000
On 25/02/2016 21:00, Joerg Sonnenberger wrote:
> This will likely be a problem on HFS though.
Correct, but it is required to resolve the build issues on OpenBSD &
NetBSD as reported by the user. (I was thinking the subsequent change to
this package would be to exclude this file if on OS X).
Sevan
From: "Sevan Janiyan" <sevan@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50625 CVS commit: pkgsrc/security/libressl
Date: Tue, 1 Mar 2016 01:39:18 +0000
Module Name: pkgsrc
Committed By: sevan
Date: Tue Mar 1 01:39:18 UTC 2016
Modified Files:
pkgsrc/security/libressl: Makefile PLIST
Log Message:
BUILDLINK_PASSTHRU_RPATHDIRS is required when building on OpenBSD & NetBSD
Resolves PR 50625
Thanks to jgw AT SDF for PR and kamil@ for the heads up.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/libressl/Makefile \
pkgsrc/security/libressl/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: sevan@NetBSD.org
State-Changed-When: Tue, 01 Mar 2016 01:56:08 +0000
State-Changed-Why:
Fixes commited, thanks for the PR
>Unformatted:
(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.