From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Nov 6 20:30:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C6131065693 for ; Fri, 6 Nov 2009 20:30:02 +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 ED6B98FC13 for ; Fri, 6 Nov 2009 20:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA6KU12O024903 for ; Fri, 6 Nov 2009 20:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA6KU1kq024900; Fri, 6 Nov 2009 20:30:01 GMT (envelope-from gnats) Resent-Date: Fri, 6 Nov 2009 20:30:01 GMT Resent-Message-Id: <200911062030.nA6KU1kq024900@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, Craig Green Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B85A106568B for ; Fri, 6 Nov 2009 20:23:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3E1638FC1E for ; Fri, 6 Nov 2009 20:23:16 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nA6KNFq4098029 for ; Fri, 6 Nov 2009 20:23:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id nA6KNFHT098026; Fri, 6 Nov 2009 20:23:15 GMT (envelope-from nobody) Message-Id: <200911062023.nA6KNFHT098026@www.freebsd.org> Date: Fri, 6 Nov 2009 20:23:15 GMT From: Craig Green To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/140347: security/dirmngr needs updated BUILD_DEPENDS requirements X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2009 20:30:02 -0000 >Number: 140347 >Category: ports >Synopsis: security/dirmngr needs updated BUILD_DEPENDS requirements >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Nov 06 20:30:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Craig Green >Release: RELENG_6 >Organization: Sentex Communications >Environment: >Description: I ran into trouble installing the dirmngr 1.0.3 port today. Configure died when it claimed that libassuan needed to be installed: -------------------------- configure: *** *** You need libassuan to build this program. *** This library is for example available at *** ftp://ftp.gnupg.org/pub/gcrypt/libassuan/ *** (at least version 1.0.4 is required). *** Note, that libassuan must have been build with Pth support. *** configure: error: *** *** Required libraries not found. Please consult the above messages *** and install them before running configure again. *** ===> Script "configure" failed unexpectedly. Please report the problem to umq@ueo.co.jp [maintainer] and attach the "/usr/ports/security/dirmngr/work/dirmngr-1.0.3/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 -------------------------- However, libassuan actually is installed: -------------------------- cgreen:Jade:/usr/ports/security/dirmngr# pkg_info | grep libass libassuan-1.0.1 IPC library used by GnuPG and gpgme -------------------------- The port Makefile also detects it: -------------------------- cgreen:Jade:/usr/ports/security/dirmngr# make ===> Extracting for dirmngr-1.0.3 => MD5 Checksum OK for dirmngr-1.0.3.tar.bz2. => SHA256 Checksum OK for dirmngr-1.0.3.tar.bz2. ===> Patching for dirmngr-1.0.3 ===> dirmngr-1.0.3 depends on file: /usr/local/lib/libassuan.a - found ===> dirmngr-1.0.3 depends on executable: gmake - found ===> dirmngr-1.0.3 depends on shared library: gcrypt.16 - found ===> dirmngr-1.0.3 depends on shared library: gpg-error.0 - found -------------------------- Peeking at the port's Makefile shows just a generic, non-version specific BUILD_DEPENDS line: -------------------------- BUILD_DEPENDS= ${LOCALBASE}/lib/libassuan.a:${PORTSDIR}/security/libassuan -------------------------- >How-To-Repeat: >Fix: Looks like you need to update the port to check for a version of libassuan greater than or equal to 1.0.4, as dirmngr's configure states. e.g. BUILD_DEPENDS= libassuan>=1.0.4:${PORTSDIR}/security/libassuan If I make that modification to the Makefile, the dirmngr install will error out when I only have version 1.0.1 of libassuan installed, and install successfully after I upgrade to 1.0.5 of libassuan. Patch attached with submission follows: diff -ruN dirmngr.orig/Makefile dirmngr/Makefile --- dirmngr.orig/Makefile 2009-06-17 17:29:22.000000000 -0400 +++ dirmngr/Makefile 2009-11-06 15:16:40.000000000 -0500 @@ -14,7 +14,7 @@ MAINTAINER= umq@ueo.co.jp COMMENT= A client for managing and downloading certificate revocation lists -BUILD_DEPENDS= ${LOCALBASE}/lib/libassuan.a:${PORTSDIR}/security/libassuan +BUILD_DEPENDS= libassuan>=1.0.4:${PORTSDIR}/security/libassuan LIB_DEPENDS= gcrypt.16:${PORTSDIR}/security/libgcrypt \ gpg-error.0:${PORTSDIR}/security/libgpg-error \ ksba.17:${PORTSDIR}/security/libksba \ >Release-Note: >Audit-Trail: >Unformatted: