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 Tue, 8 May 2018 07:09:54 +0530 Mayuresh <> wrote:
> On Mon, May 07, 2018 at 01:31:07PM -0400, Ian D. Leroux wrote:
> > I build everything against base x11, even on amd64, and have been
> > perfectly happy with the results.
> I'd absolutely like to do that. It has not been working for me. For
> example, see thread
> Would appreciate if you could share a way out. [Above is just a
> representative example.]

I should clarify that have run into a bug, and I'm not arguing you
haven't.  What you're seeing is the not way things should work.  I
barged in to the conversation only because I was reading suggestions
that /usr/X11R7 should be removed from base, because some of us find it
useful and largely trouble-free.

FWIW my setup is as follows. My home machine runs NetBSD/amd64,
currently 8.99.12 from this past January.  The piece of /etc/mk.conf
that applies when building packages is:

  PKG_DEFAULT_OPTIONS= -alsa -arts -dbus -esound -gssapi -lame -nas oss -perl -pulseaudio
  PKG_OPTIONS.mlterm= -gdk_pixbuf2

I install packages with

  make package-install clean

and update them with pkg_rolling-replace (though I've used pkg_comp in
the past and should probably set up a sandbox again).

I've just built sxiv, since that was mentioned in an earlier message,
and I don't see any duplicated libraries:

$ ldd /usr/pkg/bin/sxiv
        -lImlib2.1 => /usr/pkg/lib/
        -lfreetype.18 => /usr/X11R7/lib/
        -lz.1 => /usr/lib/
        -lc.12 => /usr/lib/
        -lbz2.1 => /usr/lib/
        -lm.0 => /usr/lib/
        -lXext.7 => /usr/X11R7/lib/
        -lX11.7 => /usr/X11R7/lib/
        -lxcb.2 => /usr/X11R7/lib/
        -lXau.7 => /usr/X11R7/lib/
        -lXdmcp.7 => /usr/X11R7/lib/
        -lXft.3 => /usr/X11R7/lib/
        -lfontconfig.2 => /usr/X11R7/lib/
        -lexpat.2 => /usr/lib/
        -lgcc_s.1 => /usr/lib/
        -lXrandr.3 => /usr/X11R7/lib/
        -lXrender.2 => /usr/X11R7/lib/
        -lexif.12 => /usr/pkg/lib/
        -lintl.1 => /usr/lib/
        -lgif.7 => /usr/pkg/lib/

I'm building graphics/gimp right now and will report back after that completes.


Home | Main Index | Thread Index | Old Index