From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 7 00:40:09 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BFD361065677 for ; Mon, 7 May 2012 00:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9B51E8FC15 for ; Mon, 7 May 2012 00:40:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q470e9iC053401 for ; Mon, 7 May 2012 00:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q470e9Cc053400; Mon, 7 May 2012 00:40:09 GMT (envelope-from gnats) Resent-Date: Mon, 7 May 2012 00:40:09 GMT Resent-Message-Id: <201205070040.q470e9Cc053400@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Ronald F.Guilmette" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 44B62106566B for ; Mon, 7 May 2012 00:35:15 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 1EFEB8FC0C for ; Mon, 7 May 2012 00:35:15 +0000 (UTC) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id 14F3E5081D; Sun, 6 May 2012 17:35:13 -0700 (PDT) Message-Id: <20120507003513.14F3E5081D@segfault.tristatelogic.com> Date: Sun, 6 May 2012 17:35:13 -0700 (PDT) From: "Ronald F.Guilmette" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: rfg@tristatelogic.com Subject: ports/167659: missing zlib.pc file (for pkg-config) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Ronald F.Guilmette" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 May 2012 00:40:09 -0000 >Number: 167659 >Category: ports >Synopsis: missing zlib.pc file (for pkg-config) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 07 00:40:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ronald F. Guilmette >Release: FreeBSD 8.3-RELEASE amd64 >Organization: entropy >Environment: System: FreeBSD segfault.tristatelogic.com 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC 2012 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Installed: pkg-config-0.25_1 >Description: At least one gnome application (gthumb) in one of its recent incarnations (2.14.3) has a configure script that invokes pkg-config(1) in order to check for the presence of something it refers to only as "zlib", and also to get set up to use that (e.g. with suitable -L linker options). Apparently, on Linux systems, there exists a file somewhere called zlib.pc that can be used by pkg-config to get information about "zlib", however on FreeBSD it appears that there is a boat load of .pc files, all of them stored in the directory /usr/local/libdata/pkgconfig, but these only cover libraries that were installed as part of some port or package, and sadly, there is no zlib.pc file in there to help pkg-config figure out how to properly link with /usr/lib/libz.{a,so} because apparently, on FreeBSD, that's part of the base system and thus, no zlib.pc file is ever generated or installed for it. Bummer. The result is that the configure step for gthumb 2.14.3 dies with the following errors: gnome-config: not found Package zlib was not found in the pkg-config search path. Perhaps you should add the directory containing `zlib.pc' to the PKG_CONFIG_PATH environment variable No package 'zlib' found >How-To-Repeat: 1) Fetch source tarball for gthumb-2.14.3. 2) Unzip & untar. 3) cd into the main directory 4) ./configure >Fix: I'm thinking that maybe it would be a Good Thing if the install process for pkg-config were to create a file called /usr/local/libdata/pkgconfig/zlib.pc ... but what do I know? >Release-Note: >Audit-Trail: >Unformatted: