Current-Users archive

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

Re: Failure to build "current" emacs from pkgsrc on current

Riccardo Mottola wrote:
> while doing a full update with today's pkgsrc con current, I get:
> /usr/pkgsrc/editors/emacs26/work/.buildlink/lib/ undefined 
> reference to `epoxy_has_glx'

I believe this is a pkgsrc-current issue and not a NetBSD-current nor
emacs-current issue, because I'm also getting the "undefined reference
to `epoxy_has_glx'" when I try to build emacs25 after I updated pkgsrc
(but not the OS) on a NetBSD 8.0/amd64 system.

Also, I tried to reproduce the problem by building emacs25 on a
freshly installed NetBSD-current system with no pre-existing
packages, but there it built successfully.

On the 8.0 system where the emacs25 build fails, has
a reference to epoxy_has_glx:

  $ nm /usr/pkg/lib/|grep epoxy_has_glx
                   U epoxy_has_glx
                   U epoxy_has_glx_extension

Adding -Wl,--verbose to the emacs25 link line, I see that it's
trying to link libepoxy from /usr/X11R7/lib: needed by /usr/pkgsrc/editors/emacs25/work/.buildlink/lib/
  found at /usr/X11R7/lib/

which does not define expoxy_has_glx.

On the -current system where the emacs25 build succeeds,
does not have a reference to epoxy_has_glx:

  $ nm /usr/pkg/lib/|grep epoxy_has_glx
                   U epoxy_has_glx_extension

I have no X11_TYPE definition in mk.conf, being of the firm conviction
that the default settings need to work.
Andreas Gustafsson,

Home | Main Index | Thread Index | Old Index