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 -------------------------- 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:
Maintainer of security/dirmngr, Please note that PR ports/140347 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/140347 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Hi, Specifying version number in BUILD_DEPENDS is required, as in the PR. The patch looks okay; security/gnupg has the same BUILD_DEPENDS line. Thanks. At Fri, 6 Nov 2009 20:30:09 UT, Edwin Groothuis wrote: > > Maintainer of security/dirmngr, > > Please note that PR ports/140347 has just been submitted. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/140347 -- Hirohisa Yamaguchi umq@ueo.co.jp
State Changed From-To: feedback->open Maintainer approved.
wen 2009-11-28 05:09:25 UTC FreeBSD ports repository Modified files: security/dirmngr Makefile Log: - Updated BUILD_DEPENDS requirements PR: ports/140347 Submitted by: Craig Green <cgreen@sentex.net> Approved by: maintainer Revision Changes Path 1.40 +1 -1 ports/security/dirmngr/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!