pkgsrc-Users archive

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

Re: x11 clashes of base and pkg [Was Re: Confusing versioning scheme of freetyp2?]



On Mon, May 7, 2018, at 13:48, Cág wrote:
> Ian D. Leroux wrote:
>
> > It may be worth discussing which x11 should be used for binary
> > packages on common platforms (I don't care, I build from source
> > anyway).  But stripping xsrc out of base entirely, or making it
> > difficult to use the base x11 when building packages, has serious
> > implications for the usefulness of NetBSD on unusual hardware.  That
> > decision should not be taken lightly.
>
> If you use X11 from the base, you always end up with multiple versions
> of x11 software installed, unless you build it yourself(?). For
> example, the sxiv package is linked against both pkgsrc -lX11.6 and
> base' -lX11.7.

I've never seen such a problem and I always use X11 from base, so you
and I are doing something differently. Are you combining binary packages
you downloaded with packages built locally from source?

I build everything from source, which makes it easy to keep global
options like X11_TYPE consistent.  If you download all your packages
from a (single) repository, you also get consistent global options
(those used in the bulk build).  If you combine locally-generated and
downloaded packages, then you do have to make sure that any global
switches you use are consistent with the choices made when building the
binary packages you download.  That's not a problem specific to x11.  As
soon as you have *any* choice that affects the interaction between
packages, then you need to ensure that choice is consistent across all
packages you install.

Assuming that this is indeed where the problem lies, the next question
would be: what, if any, non-default build options are set in the bulk
builds that go into the official package repositories, and what, if any,
non-default build options are you using locally?

-- IDL


Home | Main Index | Thread Index | Old Index