NetBSD Problem Report #52420

From bjjl@web.mx.plus  Tue Jul 18 21:48:56 2017
Return-Path: <bjjl@web.mx.plus>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C9E227A104
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 18 Jul 2017 21:48:56 +0000 (UTC)
Message-Id: <20170718202949.730C96A@web.mx.plus>
Date: Tue, 18 Jul 2017 22:29:49 +0200 (CEST)
From: ben@pocket.services
To: gnats-bugs@gnats.NetBSD.org
Subject: Bogus Makefiles
X-Send-Pr-Version: 3.95

>Number:         52420
>Category:       pkg
>Synopsis:       Bogus content in Makefiles according to lintpkgsrc -i
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 18 21:50:00 +0000 2017
>Last-Modified:  Sun Jul 23 05:45:01 +0000 2017
>Originator:     Benjamin Lorenz
>Release:        NetBSD 6.1_STABLE
>Organization:

>Environment:


System: NetBSD web.mx.plus 6.1_STABLE NetBSD 6.1_STABLE (GENERIC) #1: Thu Apr 13 19:25:17 CEST 2017 bjjl@web.mx.plus:/data/stable/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	lintpkgsrc reports some issues for pkgsrc-2017Q1 and latest Q2
>How-To-Repeat:
	$ lintpkgsrc -i
	Bogus: ${DISTNAME:tl:S/_pl//}-0.1 (from /data/stable/pkgsrc/devel/calltree-perl/Makefile)
	Bogus: ${KBUILDNAME:tl}-0.1.9998.8.2814.25 (from /data/stable/pkgsrc/devel/kbuild/Makefile)
>Fix:


>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52420: Bogus Makefiles
Date: Sun, 23 Jul 2017 05:42:30 +0000

 On Tue, Jul 18, 2017 at 09:50:01PM +0000, ben@pocket.services wrote:
  > >Description:
  > 	lintpkgsrc reports some issues for pkgsrc-2017Q1 and latest Q2
  > >How-To-Repeat:
  > 	$ lintpkgsrc -i
  > 	Bogus: ${DISTNAME:tl:S/_pl//}-0.1 (from /data/stable/pkgsrc/devel/calltree-perl/Makefile)
  > 	Bogus: ${KBUILDNAME:tl}-0.1.9998.8.2814.25 (from /data/stable/pkgsrc/devel/kbuild/Makefile)

 This is maybe better described as a weakness in lintpkgsrc; it doesn't
 understand the :tl.

 It does quite a bit of makefile processing and the logic is beyond my
 ability to decrypt Perl, so I'm not sure to what extent it's readily
 fixable.

 -- 
 David A. Holland
 dholland@netbsd.org

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.