Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Oct 2023 14:56:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274334] graphics/libgphoto2: fix build with lld 17
Message-ID:  <bug-274334-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274334

            Bug ID: 274334
           Summary: graphics/libgphoto2: 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: danfe@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)
          Assignee: danfe@FreeBSD.org

Building graphics/libgphoto2 with lld 17 results in the following link
error:

  libtool: link: cc -shared  -fPIC -DPIC=20
.libs/libgphoto2_port_la-gphoto2-port-info-list.o
.libs/libgphoto2_port_la-gphoto2-port-log.o
.libs/libgphoto2_port_la-gphoto2-port-version.o
.libs/libgphoto2_port_la-gphoto2-port.o
.libs/libgphoto2_port_la-gphoto2-port-portability.o
.libs/libgphoto2_port_la-gphoto2-port-result.o   -Wl,-rpath -Wl,/usr/local/=
lib
-Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libltdl.so -l=
intl
-lpthread -lregex  -O2 -fstack-protector-strong
-Wl,--version-script=3D./libgphoto2_port.ver -fstack-protector-strong -Wl,-=
rpath
-Wl,/usr/local/lib   -Wl,-soname -Wl,libgphoto2_port.so.12 -o
.libs/libgphoto2_port.so.12.0.0
  ld: error: version script assignment of 'LIBGPHOTO2_INTERNAL' to symbol
'gpi_gphoto_port_type_map' failed: symbol not defined
  cc: error: linker command failed with exit code 1 (use -v to see invocati=
on)

The mentioned symbol has been removed from libgphoto2 a long time ago,
so remove it from the linker version script.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274334-7788>