Bug 171747 - net-mgmt/collectd fails to build with GCRYPT enabled
net-mgmt/collectd fails to build with GCRYPT enabled
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: Bryan Drewery
Depends on:
  Show dependency treegraph
Reported: 2012-09-18 17:30 UTC by fcharlier
Modified: 2012-10-03 15:45 UTC (History)
0 users

See Also:

file.diff (689 bytes, patch)
2012-09-18 17:30 UTC, fcharlier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fcharlier 2012-09-18 17:30:09 UTC
If libgcrypt is already installed, net-mgmt/collectd will try to reinstall
it as the dependency is specified against libgcrypt8 instead of plain libgcrypt
or libgcrypt.18 (the current version).

Portmaster then complains that the libgcrypt port is already installed and exits.

Fix: Patch attached with submission follows:
How-To-Repeat: portmaster install security/libgcrypt
portmaster install net-mgmt/collectd
Comment 1 Edwin Groothuis freebsd_committer 2012-09-18 17:30:51 UTC
Maintainer of net-mgmt/collectd,

Please note that PR ports/171747 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:

Edwin Groothuis via the GNATS Auto Assign Tool
Comment 2 Edwin Groothuis freebsd_committer 2012-09-18 17:30:54 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Bryan Drewery freebsd_committer 2012-09-18 17:41:55 UTC
This is my fault. Removed the ABI versions in the last commit.
"gcrypt.18" -> "gcrypt8".

Will commit once maintainer responds.

Comment 4 Bryan Drewery freebsd_committer 2012-09-18 17:42:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bdrewery

Comment 5 dfilter freebsd_committer 2012-10-03 13:24:34 UTC
Author: bdrewery
Date: Wed Oct  3 12:24:20 2012
New Revision: 305199
URL: http://svn.freebsd.org/changeset/ports/305199

  - Fix wrong LIB_DEPENDS on gcrypt [1]
  - Update to new header
  PR:		ports/171747 [1]
  Submitted by:	François Charlier <fcharlier@ploup.net> [1]
  Approved by:	maintainer timeout (2w)
  Pointyhat to:	bdrewery


Modified: head/net-mgmt/collectd/Makefile
--- head/net-mgmt/collectd/Makefile	Wed Oct  3 12:21:20 2012	(r305198)
+++ head/net-mgmt/collectd/Makefile	Wed Oct  3 12:24:20 2012	(r305199)
@@ -1,13 +1,9 @@
-# New ports collection makefile for:	collectd
-# Date created:				Sat Sep 29 05:19:31 PDT 2007
-# Whom:					Matt Peterson <matt@peterson.org>
+# Created by: Matt Peterson <matt@peterson.org>
 # $FreeBSD$
 PORTNAME=	collectd
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://collectd.org/files/
@@ -239,7 +235,7 @@ PLIST_SUB+=	DISK="@comment "
-LIB_DEPENDS+=	gcrypt8:${PORTSDIR}/security/libgcrypt
+LIB_DEPENDS+=	gcrypt:${PORTSDIR}/security/libgcrypt
svn-ports-all@freebsd.org mailing list
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Bryan Drewery freebsd_committer 2012-10-03 15:45:23 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!