tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Request to import wip/dma 0.14 as mail/dma
On Fri, Nov 20, 2026, at 16:16, Philip Dodd wrote:
> On 19/11/2026 21:53, Philip Dodd wrote:
> > Thanks, you’re right. I pushed a change to use byacc, and I've built
> > and done basic testing on an OmniOS VM.
> >
> > While replicating your scenario, I also found that an unprivileged
> > install was looking for the spool in the wrong place and pkgsrc was
> > expecting the wrong ownership. Both are also fixed.
> >
> > b4b87c251009f06c05cfdcc6fe264cba1c2b5aeb dma: use byacc and fix
> > unprivileged spool setup
>
> Thanks again for pointing this out. Based on the feedback about the
> other pkgsrc platforms, I tried the build on a GitHub macOS runner and
> found a couple more portability issues. I believe I’ve fixed those now,
> and the runner passed a smoke test that queues a message using the
> default spool.
>
> It now builds and installs on NetBSD 11.1 and -current, OmniOS r151060,
> Debian testing, and macOS 15 arm64 on the GitHub runner.
>
> I think that’s about as far as I can take it with the setups I have. I’d
> be interested to hear how it goes if anyone else tries it.
>
> 82b5ad4555 - dma: Build fixes for MacOS (and I will prepare a PR to
> upstream the MacOS fixes as they're not pkgsrc specific, but I don't
> know how much appetite corecode/dma has to get it working on MacOS, nor
> how many other build issues there might be on non-pkgsrc builds)
On FreeBSD it fails due to -lresolv not being existent. In my opinion,
the Makefile should be patched to use ${LIBS} instead of -lresolv.
I think the LDFLAGS also should be replaced with LIBS in the SunOS case
and should include -lresolv (LDFLAGS is earlier in the argument list,
LIBS is later), and LIBS should be passed to MAKE_ENV:
MAKE_ENV+= LIBS=${LIBS:Q}
On OpenBSD, there are so many resolver difficulties that maybe they're
not worth solving. The base system resolver is old.
On Mac I don't know if -lresolv is needed. Good to check Linux as well.
BR, Juha-Matti
Home |
Main Index |
Thread Index |
Old Index