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 <mayuresh%acm.org@localhost> 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
> 
> http://mail-index.netbsd.org/pkgsrc-users/2018/05/03/msg026596.html
> 
> 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:

  BINPKG_SITES=
  UPDATE_TARGET=package-install
  DEPENDS_TARGET=package-install
  CLEANDEPENDS=YES
  ALLOW_VULNERABLE_PACKAGES=YES
  ACCEPTABLE_LICENSES+=generic-nonlicense
  PKGSRC_KEEP_BIN_PKGS=yes
  PAPERSIZE=A4
  PKG_DEFAULT_OPTIONS= -alsa -arts -dbus -esound -gssapi -lame -nas oss -perl -pulseaudio
  PKG_OPTIONS.mlterm= -gdk_pixbuf2
  PKG_OPTIONS.rc=readline
  LOCALPATCHES=/config/pkgsrc/localpatches

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
/usr/pkg/bin/sxiv:
        -lImlib2.1 => /usr/pkg/lib/libImlib2.so.1
        -lfreetype.18 => /usr/X11R7/lib/libfreetype.so.18
        -lz.1 => /usr/lib/libz.so.1
        -lc.12 => /usr/lib/libc.so.12
        -lbz2.1 => /usr/lib/libbz2.so.1
        -lm.0 => /usr/lib/libm.so.0
        -lXext.7 => /usr/X11R7/lib/libXext.so.7
        -lX11.7 => /usr/X11R7/lib/libX11.so.7
        -lxcb.2 => /usr/X11R7/lib/libxcb.so.2
        -lXau.7 => /usr/X11R7/lib/libXau.so.7
        -lXdmcp.7 => /usr/X11R7/lib/libXdmcp.so.7
        -lXft.3 => /usr/X11R7/lib/libXft.so.3
        -lfontconfig.2 => /usr/X11R7/lib/libfontconfig.so.2
        -lexpat.2 => /usr/lib/libexpat.so.2
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1
        -lXrandr.3 => /usr/X11R7/lib/libXrandr.so.3
        -lXrender.2 => /usr/X11R7/lib/libXrender.so.2
        -lexif.12 => /usr/pkg/lib/libexif.so.12
        -lintl.1 => /usr/lib/libintl.so.1
        -lgif.7 => /usr/pkg/lib/libgif.so.7

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

--
IDL


Home | Main Index | Thread Index | Old Index