pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/33043: pkgsrc mk/plist/print-plist.mk error



>Number:         33043
>Category:       pkg
>Synopsis:       pkgsrc mk/plist/print-plist.mk error
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 09 15:50:00 +0000 2006
>Originator:     Stuart Shelton
>Release:        
>Organization:
>Environment:
>Description:

Running pkg_chk results in:

$ pkg_chk -sun
bmake: 
"../../mk/plist/../../mk/plist/../../mk/plist/../../mk/plist/print-plist.mk" 
line 39: Malformed conditional (!empty(INFO_FILES))
bmake: 
"../../mk/plist/../../mk/plist/../../mk/plist/../../mk/plist/print-plist.mk" 
line 43: if-less endif
bmake: 
"../../mk/plist/../../mk/plist/../../mk/plist/../../mk/plist/print-plist.mk" 
line 43: Need an operator
bmake: Fatal errors encountered -- cannot continue
/usr/bsd/sbin/pkg_chk[9]:  bmake: stopped in /usr/bsd/src/pkgtools/pkg_chk:  
not found

... as does trying to rebuild pkg_chk.
>How-To-Repeat:

>Fix:

print-plist.mk is incorrect - Line 39 reads:

.if !empty(INFO_FILES)

... but should read:

.if defined(INFO_FILES) && !empty(INFO_FILES)

... to remove the above error.




Home | Main Index | Thread Index | Old Index