NetBSD Problem Report #55901
From www@netbsd.org Sat Jan 2 08:52:59 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_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 7CCD11A923B
for <gnats-bugs@gnats.NetBSD.org>; Sat, 2 Jan 2021 08:52:59 +0000 (UTC)
Message-Id: <20210102085258.280301A923C@mollari.NetBSD.org>
Date: Sat, 2 Jan 2021 08:52:58 +0000 (UTC)
From: gharris@sonic.net
Reply-To: gharris@sonic.net
To: gnats-bugs@NetBSD.org
Subject: pkg-config script from libpcap isn't generated correctly
X-Send-Pr-Version: www-1.0
>Number: 55901
>Category: lib
>Synopsis: pkg-config script from libpcap isn't generated correctly
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lib-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 02 08:55:00 +0000 2021
>Closed-Date: Wed Jun 09 23:18:27 +0000 2021
>Last-Modified: Wed Jun 09 23:18:27 +0000 2021
>Originator: Guy Harris
>Release: 9.0
>Organization:
>Environment:
NetBSD netbsd-90.localdomain 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
If you run
/usr/bin/pcap-config --libs
it prints
-L/usr/lib -l@PACKAGE_NAME@
It *should* print
-L/usr/lib -lpcap
Perhaps the build process isn't doing the "replace '@{config-variable-name}@' with the value of the config variable in question" process that it should do when turning pcap-config.in into pcap-config.
>How-To-Repeat:
Run
/usr/bin/pcap-config --libs
from the command line, and see what its output is.
>Fix:
>Release-Note:
>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: lib/55901: pkg-config script from libpcap isn't generated
correctly
Date: Wed, 9 Jun 2021 01:31:35 +0000
On Sat, Jan 02, 2021 at 08:55:00AM +0000, gharris@sonic.net wrote:
> If you run
>
> /usr/bin/pcap-config --libs
>
> it prints
>
> -L/usr/lib -l@PACKAGE_NAME@
This was fixed in -r1.3 of src/external/bsd/libpcap/bin/Makefile,
which happened in October 2019 but is not in -9.
I'll try to get it merged into -9.
--
David A. Holland
dholland@netbsd.org
State-Changed-From-To: open->pending-pullups
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 09 Jun 2021 01:36:51 +0000
State-Changed-Why:
pullup-9 #1284
State-Changed-From-To: pending-pullups->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 09 Jun 2021 23:18:27 +0000
State-Changed-Why:
The fix is now in the -9 branch (though not in 9.2, unfortunately)
>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.