[Bug 274356] x11/libxklavier: fix build with lld 17

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 Oct 2023 15:26:55 UTC

            Bug ID: 274356
           Summary: x11/libxklavier: fix build with lld 17
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

Building x11/libxklavier with lld 17 results in the following link

  libtool: link: cc -shared  -fPIC -DPIC  .libs/xkl-enum-types.o
.libs/xklavier.o .libs/xklavier_evt.o .libs/xklavier_config.o
.libs/xklavier_config_iso.o .libs/xklavier_xkb.o .libs/xklavier_evt_xkb.o
.libs/xklavier_config_xkb.o .libs/xklavier_toplevel.o .libs/xklavier_xmm.o
.libs/xklavier_xmm_opts.o .libs/xklavier_evt_xmm.o .libs/xklavier_config_xmm.o
.libs/xklavier_util.o .libs/xklavier_props.o .libs/xklavier_dump.o
.libs/xkl_engine_marshal.o   -L/usr/local/lib -lxml2 -lgobject-2.0 -lglib-2.0
-lintl -lXi -lxkbfile -lX11  -O2 -fstack-protector-strong
-fstack-protector-strong -Wl,-rpath -Wl,/usr/local/lib   -Wl,-soname
-Wl,libxklavier.so.16 -Wl,-version-script -Wl,.libs/libxklavier.so.16.3.0-ver
-o .libs/libxklavier.so.16.3.0
  ld: error: version script assignment of 'global' to symbol
'xkl_engine_VOID__FLAGS_INT_BOOLEAN' failed: symbol not defined
  cc: error: linker command failed with exit code 1 (use -v to see invocation)

The mentioned symbol has been removed from libxklavier at some point,
and can be deleted from the linker version script.

You are receiving this mail because:
You are the assignee for the bug.