pkgsrc-Bugs archive

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

pkg/38074: pkglint assertion



>Number:         38074
>Category:       pkg
>Synopsis:       pkglint assertion
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 21 09:00:00 +0000 2008
>Originator:     juan%xtrarom.org@localhost
>Release:        NetBSD 4.99.54
>Organization:
Juan Romero Pardines             The NetBSD Project
http://plog.xtrarom.org/         NetBSD/pkgsrc news in Spanish
http://mklivecd.xtrarom.org/     Make your own NetBSD Live CD/DVD!
>Environment:
System: NetBSD sasha 4.99.54 NetBSD 4.99.54 (MASTER) #171: Thu Feb 21 09:18:40 
CET 2008 juan@sasha:/home/juan/build/i386/obj/sys/arch/i386/compile/MASTER i386
Architecture: i386
Machine: i386
>Description:

        Latest pkglint reports an assertion if any Makefile contains
        the following:

        SUBST_CLASSES           foo
        SUBST_STAGE.foo=        ...
        SUBST_FILES.foo=        ...
        SUBST_SED.foo=          ...

        Note the first line without '='.

$ pkglint                                                                       
                                    
FATAL: Assertion failed: Unknown line format: ./Makefile:25: SUBST_CLASSES foo.
line 8365 called main::main
line 8359 called main::checkitem
line 8328 called main::checkdir_package
line 8203 called main::load_package_Makefile
line 3678 called main::readmakefile
line 3554 called main::parselines_mk
line 3536 called main::parseline_mk
line 3528 called PkgLint::Util::assert
$

>How-To-Repeat:
>Fix:



Home | Main Index | Thread Index | Old Index