Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2006 12:13:39 +0200
From:      "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        dougb@FreeBSD.org
Subject:   ports/93273: devel/portlint: is wrong when checking USE_RC_SUBR
Message-ID:  <1139825619.48378@it.buh.cameradicommercio.ro>
Resent-Message-ID: <200602131020.k1DAK3aK063062@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93273
>Category:       ports
>Synopsis:       devel/portlint: is wrong when checking USE_RC_SUBR
>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 Feb 13 10:20:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.1-PRERELEASE #1: Tue Feb  7 00:58:32 EET 2006



>Description:


portlint mistakes something in USE_RC_SUBR check and gives a fatal error.



>How-To-Repeat:


itetcu@it> /home/itetcu/tmp/CVS/ports/mail/dspam-devel [11:59:23] 0
 > portlint -C
 [ ... ]
FATAL: ${PORTNAME}${RC_SUFX} listed in USE_RC_SUBR, but files/${PORTNAME}${RC_SUFX}.in is missing.
1 fatal errors and 13 warnings found.
itetcu@it> /home/itetcu/tmp/CVS/ports/mail/dspam-devel [11:59:28] 1
 > make -V PORTNAME -V RC_SUFX
dspam-devel
.sh
itetcu@it> /home/itetcu/tmp/CVS/ports/mail/dspam-devel [11:59:41] 0
 > ls files/dspam-devel.sh.in
files/dspam-devel.sh.in


If the Makefile is changed to:

itetcu@it> /home/itetcu/tmp/CVS/ports/mail/dspam-devel [12:08:37] 0
 > grep RC_S Makefile
#RC_SUFX=       .sh
#USE_RC_SUBR=   ${PORTNAME}${RC_SUFX}
USE_RC_SUBR=    ${PORTNAME}

and the file exists:

itetcu@it> /home/itetcu/tmp/CVS/ports/mail/dspam-devel [12:08:44] 0
 > ls files/dspam-devel.in
files/dspam-devel.in

the error is still there:

itetcu@it> /home/itetcu/tmp/CVS/ports/mail/dspam-devel [12:11:00] 0
 > portlint -C
 [ ... ]
FATAL: ${PORTNAME} listed in USE_RC_SUBR, but files/${PORTNAME}.in is missing.



>Fix:





>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1139825619.48378>