NetBSD Problem Report #48871

From www@NetBSD.org  Wed Jun  4 19:08:41 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C7C31A65B0
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  4 Jun 2014 19:08:40 +0000 (UTC)
Message-Id: <20140604190839.9B59AA6602@mollari.NetBSD.org>
Date: Wed,  4 Jun 2014 19:08:39 +0000 (UTC)
From: m.ramakers@gmail.com
Reply-To: m.ramakers@gmail.com
To: gnats-bugs@NetBSD.org
Subject: pkg-config configuration-file for libssl (OpenSSL) incomplete
X-Send-Pr-Version: www-1.0

>Number:         48871
>Category:       pkg
>Synopsis:       pkg-config configuration-file for libssl (OpenSSL) incomplete
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 04 19:10:00 +0000 2014
>Closed-Date:    Sat Jun 07 22:43:17 +0000 2014
>Last-Modified:  Sat Jun 07 22:43:17 +0000 2014
>Originator:     Michai Ramakers
>Release:        6.1.3
>Organization:
>Environment:
NetBSD main.LAN 6.1.3 NetBSD 6.1.3 (GENERIC) i386
>Description:
When using openssl-1.0.1g and pkg-config 0.28, both from pkgsrc 2014Q1, 'pkg-config --libs-only-L libssl' should provide flags for dynamic linking (i.e. '-R' or '-rpath') as per manpage, but gives none when used for 'libssl'. 

Likewise, 'pkg-config --libs' doesn't provide '-R' flags either, nor does '--libs-only-other' (which is not documented in pkg-config(1), which is another flaw).

The result is some 3rd party source-packages not building, when their configure-script uses pkg-config to determine linker-flags.
>How-To-Repeat:
1) install pkg-config from pkgsrc 2014Q1
2) install openssl from pkgsrc 2014Q1
3) run 'pkg-config --libs-only-L libssl' and notice there are no -R / -rpath flags. (Likewise for '--libs-only-other' and '--libs')

>Fix:

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48871 CVS commit: pkgsrc/security/openssl
Date: Thu, 5 Jun 2014 03:14:06 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Thu Jun  5 03:14:05 UTC 2014

 Modified Files:
 	pkgsrc/security/openssl: Makefile

 Log Message:
 Fixes missing override of pc files.
 PR pkg/48871.

 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -u -r1.191 -r1.192 pkgsrc/security/openssl/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 07 Jun 2014 21:01:46 +0000
State-Changed-Why:
Is this fixed, or does it depend on 48872?


From: Michai Ramakers <m.ramakers@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, 
	dholland@netbsd.org
Subject: Re: pkg/48871 (pkg-config configuration-file for libssl (OpenSSL) incomplete)
Date: Sat, 7 Jun 2014 23:42:53 +0200

 On 7 June 2014 23:01,  <dholland@netbsd.org> wrote:
 > Synopsis: pkg-config configuration-file for libssl (OpenSSL) incomplete
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: dholland@NetBSD.org
 > State-Changed-When: Sat, 07 Jun 2014 21:01:46 +0000
 > State-Changed-Why:
 > Is this fixed, or does it depend on 48872?

 This issue does not depend on 48872.

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 07 Jun 2014 22:43:17 +0000
State-Changed-Why:
fixed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.