ports/93273: devel/portlint: is wrong when checking USE_RC_SUBR

Ion-Mihai IOnut Tetcu itetcu at people.tecnik93.com
Mon Feb 13 10:20:06 UTC 2006


>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 at 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 at it> /home/itetcu/tmp/CVS/ports/mail/dspam-devel [11:59:28] 1
 > make -V PORTNAME -V RC_SUFX
dspam-devel
.sh
itetcu at 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 at 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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list