pkgsrc-Bugs archive

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

Re: pkg/36863: mk/emulator/netbsd-compat.mk syntax problem on NetBSD 3 ?



The following reply was made to PR pkg/36863; it has been noted by GNATS.

From: "Johnny C. Lam" <jlam%pkgsrc.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/36863: mk/emulator/netbsd-compat.mk syntax problem on NetBSD 3 
?
Date: Thu, 30 Aug 2007 16:29:55 +0000

 On Thu, Aug 30, 2007 at 09:50:00AM +0000, kre%munnari.OZ.AU@localhost wrote:
 > >Description:
 >      Recent changes to the netbsd-compat stuff (and EMUL_DIST maybe)
 >      have resulted in lintpkgsrc (on a NetBSD 3.0 system)
 >      generating messages like ...
 > 
 > /usr/pkgsrc/emulators/compat12/Makefile: Cannot locate 
 > /usr/pkgsrc/emulators/${DISTNAME:C/-.*//}/emulator.mk in . 
 > /usr/pkgsrc/emulators/compat12 /usr/pkgsrc/emulators/compat_netbsd
 > 
 >      Each of the emulators/compat* packages is doing that.
 > 
 > >How-To-Repeat:
 >      Try lintpkgsrc -p on a NetBSD 3.0 sysyem (I'm using pkg_comp
 >      with libkver and the original 3.0 sets installed to simulate that)
 >      and just watch.
 > 
 > >Fix:
 >      ?
 > 
 >      Random guess is that perhaps something is relying upon some
 >      make behaviour that didn't exist (or work) in NetBSD 3.0
 
 No, the bug is actually in lintpkgsrc, which has its own makefile
 parser.  I'm loath to change compat_netbsd/Makefile.common just to
 satisfy lintpkgsrc or pkglint (actually, I'm not even sure how to
 rewrite that line so that lintpkgsrc or pkglint can understand it).
 I did it once for the suse32_* packages already, but I wasn't happy
 about doing it then, either.
 
 I think this PR should be assigned to the pkglint maintainers.
 
        Cheers,
 
        -- Johnny Lam <jlam%pkgsrc.org@localhost>
 



Home | Main Index | Thread Index | Old Index