pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mk.conf error from pkg_chk (Was: openjdk21 build errors)
On Sat, 25 Jan 2025 at 01:27, Mayuresh <mayuresh%warunjikar.in@localhost> wrote:
>
> On Fri, Jan 24, 2025 at 06:25:08PM +0000, David Brownlee wrote:
> > https://releng.netbsd.org/ - that is, running 'pkg_chk -Br' (*) before
> > build to clear any packages not built with their very latest Makefiles
> >
> > *: 'pkg_chk -Br' can be very useful to ensure a clean build with all
> > up-to-date packages, but never run it unless you are ready for the
> > occasional case of almost all packages being rebuilt... or include
> > '-n' first :)
>
> Thanks for the info.
>
> I almost always use bulkbuild in a sandbox, so I suppose it must be taking
> care of this.
>
> However, if I just run it I get:
>
> # pkg_chk -Br
> make: "/etc/mk.conf" line 31: Malformed conditional (${OPSYS} == NetBSD)
> make: Fatal errors encountered -- cannot continue
> eval: make:: not found
>
> Wonder what is up here.
Leaving the openjdk21 thread to the experts (waves at Ryo :), I'd like
to ask a little more about the pkg_chk error
Would you be able to send me the relevant section from your mk.conf -
I have similar conditionals in mine without issue. Do you have MAKE
set to anything in the environment? The output of pkg_chk -Brnv may be
useful (if likely too long to post to the list :)
Thanks
David
Home |
Main Index |
Thread Index |
Old Index