maintainer-feedback requested: [Bug 270425] gdb cannot start on 13.2-RC3 due to some weird dependency issue

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Mar 2023 00:17:10 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked FreeBSD Office Team
<office@FreeBSD.org> for maintainer-feedback:
Bug 270425: gdb cannot start on 13.2-RC3 due to some weird dependency issue
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270425



--- Description ---
gdb is complaining missing libicudata.so.72 although the libicudata exists.
Hopefully, this can be be fixed before 13.2 formal release.

% pkg info | grep gdb
gdb-12.1_2		       GNU Project Debugger
gdbm-1.23		       GNU database manager
xxgdb-1.12_4		       X window interface for gdb


% gdb -v
ld-elf.so.1: Shared object "libicudata.so.72" not found, required by
"libboost_regex.so.1.80.0"

%  which gdb
/usr/local/bin/gdb

% ldd /usr/local/bin/gdb
/usr/local/bin/gdb:
	libreadline.so.8 => /usr/local/lib/libreadline.so.8 (0x2b965dc02000)
	libz.so.6 => /lib/libz.so.6 (0x2b965f0bf000)
	libutil.so.9 => /lib/libutil.so.9 (0x2b965dcaa000)
	libncursesw.so.9 => /lib/libncursesw.so.9 (0x2b965e087000)
	libkvm.so.7 => /lib/libkvm.so.7 (0x2b966025a000)
	libm.so.5 => /lib/libm.so.5 (0x2b965fe59000)
	libpython3.9.so.1.0 => /usr/local/lib/libpython3.9.so.1.0
(0x2b9661028000)
	libcrypt.so.5 => /lib/libcrypt.so.5 (0x2b96616ef000)
	libintl.so.8 => /usr/local/lib/libintl.so.8 (0x2b966201d000)
	libdl.so.1 => /usr/lib/libdl.so.1 (0x2b9662809000)
	libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x2b9663c91000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x2b96632c9000)
	libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x2b9665130000)
	libmpfr.so.6 => /usr/local/lib/libmpfr.so.6 (0x2b966407d000)
	libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x2b966532a000)
	libsource-highlight.so.4 => /usr/local/lib/libsource-highlight.so.4
(0x2b9665869000)
	libboost_regex.so.1.80.0 => /usr/local/lib/libboost_regex.so.1.80.0
(0x2b9666ce0000)
	libxxhash.so.0 => /usr/local/lib/libxxhash.so.0 (0x2b966421d000)
	libc++.so.1 => /usr/lib/libc++.so.1 (0x2b9665b07000)
	libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x2b9665d41000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2b9667772000)
	libthr.so.3 => /lib/libthr.so.3 (0x2b96680b3000)
	libc.so.7 => /lib/libc.so.7 (0x2b9668e4c000)
	libelf.so.2 => /lib/libelf.so.2 (0x2b96692b7000)
	libmd.so.6 => /lib/libmd.so.6 (0x2b96695fb000)
	libicudata.so.72 => /usr/local/lib/libicudata.so.72 (0x2b966a281000)
	libicui18n.so.72 => /usr/local/lib/libicui18n.so.72 (0x2b966b23b000)
	libicuuc.so.72 => /usr/local/lib/libicuuc.so.72 (0x2b966be93000)
	[vdso] (0x7ffffffff5d0)

%  pkg which /usr/local/lib/libicudata.so.72pkg info icu-72.1,1
icu-72.1,1
Name	       : icu
Version        : 72.1,1
Installed on   : Tue Mar 21 20:27:58 2023 PDT
Origin	       : devel/icu
Architecture   : FreeBSD:13:amd64
Prefix	       : /usr/local
Categories     : devel
Licenses       : ICU
Maintainer     : office@FreeBSD.org
WWW	       : http://site.icu-project.org/
Comment        : International Components for Unicode (from IBM)
Shared Libs provided:
	libicuuc.so.72
	libicutu.so.72
	libicutest.so.72
	libicuio.so.72
	libicui18n.so.72
	libicudata.so.72

/usr/local/lib/libicudata.so.72 was installed by package icu-72.1,1

% pkg info icu-72.1,1
icu-72.1,1
Name	       : icu
Version        : 72.1,1
Installed on   : Tue Mar 21 20:27:58 2023 PDT
Origin	       : devel/icu
Architecture   : FreeBSD:13:amd64
Prefix	       : /usr/local
Categories     : devel
Licenses       : ICU
Maintainer     : office@FreeBSD.org
WWW	       : http://site.icu-project.org/
Comment        : International Components for Unicode (from IBM)
Shared Libs provided:
	libicuuc.so.72
	libicutu.so.72
	libicutest.so.72
	libicuio.so.72
	libicui18n.so.72
	libicudata.so.72