ports/150997: portlint: multiple (and bogus) warnings re "wrong dependency value for LIB_DEPENDS"
Gerald Pfeifer
gerald at pfeifer.com
Mon Sep 27 14:30:04 UTC 2010
>Number: 150997
>Category: ports
>Synopsis: portlint: multiple (and bogus) warnings re "wrong dependency value for LIB_DEPENDS"
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Sep 27 14:30:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Gerald Pfeifer
>Release: FreeBSD 8.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sputnik1.dbai.tuwien.ac.at 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
portlint 2.13.1, when checking the following Makefile
==== snip ====
# New ports collection makefile for: mpc
# Date created: 05 April, 2009
# Whom: Wen Heping <wenheping at gmail.com>
#
# $FreeBSD: ports/math/mpc/Makefile,v 1.11 2010/06/20 22:52:13 gerald Exp $
#
PORTNAME= mpc
PORTVERSION= 0.8.2
CATEGORIES= math devel
MASTER_SITES= http://www.multiprecision.org/mpc/download/
MAINTAINER= gerald at FreeBSD.org
COMMENT= Library of complex numbers with arbitrarily high precision
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp # and none more
PLIST_FILES= include/mpc.h lib/libmpc.a
.include <bsd.port.mk>
==== snap ====
issues the following warnings:
WARN: Makefile: only one MASTER_SITE configured. Consider adding additional mirrors.
WARN: Makefile: wrong dependency value for LIB_DEPENDS. LIB_DEPENDS requires 2 or 3 colon-separated tuples.
WARN: Makefile: wrong dependency value for LIB_DEPENDS. LIB_DEPENDS requires 2 or 3 colon-separated tuples.
WARN: Makefile: wrong dependency value for LIB_DEPENDS. LIB_DEPENDS requires 2 or 3 colon-separated tuples.
WARN: Makefile: wrong dependency value for LIB_DEPENDS. LIB_DEPENDS requires 2 or 3 colon-separated tuples.
I don't think the warning on LIB_DEPENDS is correct (the Makefile
just works fine), but issuing it four times definitely looks wrong.
>How-To-Repeat:
Copy the Makefile above into ports/math/mpc and run portlint -C.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list