Saturday, September 25, 2021

Re: make arch-independent ports

On Sat, Sep 25, 2021 at 10:51:04AM +0100, Stuart Henderson wrote:
> On 2021/09/25 07:52, Anton Lindqvist wrote:
> > Hi,
> > When I try to `make package' on a port annotated with PKG_ARCH=* like
> > devel/uthash for instance I run into the following error:
> >
> > make: don't know how to make /usr/ports/packages/amd64/all//uthash-2.3.0.tgz (prerequisite of: _internal-package-only)
> >
> > Removing the extra slash solves the issue. This not my regular
> > territory, does it look like a reasonable fix?
>
> I think it is reasonable, _PKG_REPO has a trailing slash already and
> it looks like it probably will fix a cosmetic problem I've noticed
> before. But I don't think I've seen an error relating to this before
> (myself or on the lists) so it seems there might be something unusual
> about your setup, do you have anything relevant in mk.conf or the
> environment?

I'm running inside a chroot created by proot, using nothing other than
the default mk.conf generated by proot:

# Automatically generated by proot
PORTS_PRIVSEP = Yes
SUDO = doas

No comments:

Post a Comment