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/libgdk-3.so: 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, libgdk-3.so has
a reference to epoxy_has_glx:
$ nm /usr/pkg/lib/libgdk-3.so|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:
libepoxy.so.0 needed by /usr/pkgsrc/editors/emacs25/work/.buildlink/lib/libgtk-3.so
found libepoxy.so.0 at /usr/X11R7/lib/libepoxy.so.0
which does not define expoxy_has_glx.
On the -current system where the emacs25 build succeeds, libgdk-3.so
does not have a reference to epoxy_has_glx:
$ nm /usr/pkg/lib/libgdk-3.so|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, gson%gson.org@localhost
Home |
Main Index |
Thread Index |
Old Index