Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2020 12:56:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 249143] pkgbase: Library archive files .a found in non *-dev packages
Message-ID:  <bug-249143-227-PauRfNtQms@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249143-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249143-227@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #3 from Martin <martin.jakob@gmx.com> ---
Searching for these symlinks in the METALOG shows this (i omitted the uname=
=3D,
gname=3D, mode=3D and flags=3D properties):

grep -E "lib(c|ncurses.*|pthread|thr|ulog|utempter|xnet)\.so"
/usr/obj/usr/src/amd64.amd64/worldstage/METALOG | sort -b -k 7 | column -t

./lib/libc.so.7           type=3Dfile ... size=3D2031360=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./lib/libncurses.so.9     type=3Dfile ... size=3D401496=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./lib/libncursesw.so.9    type=3Dfile ... size=3D459800=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./lib/libthr.so.3         type=3Dfile ... size=3D129744=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./usr/lib/libcurses.so    type=3Dlink ... link=3Dlibncurses.so=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./usr/lib/libcursesw.so   type=3Dlink ... link=3Dlibncursesw.so=20=20=20=20=
=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./usr/lib/libpthread.so   type=3Dlink ... link=3Dlibthr.so=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./usr/lib/libtermcap.so   type=3Dlink ... link=3Dlibncurses.so=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./usr/lib/libtermcapw.so  type=3Dlink ... link=3Dlibncursesw.so=20=20=20=20=
=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./usr/lib/libtermlib.so   type=3Dlink ... link=3Dlibncurses.so=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./usr/lib/libtermlibw.so  type=3Dlink ... link=3Dlibncursesw.so=20=20=20=20=
=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./usr/lib/libtinfo.so     type=3Dlink ... link=3Dlibncurses.so=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./usr/lib/libtinfow.so    type=3Dlink ... link=3Dlibncursesw.so=20=20=20=20=
=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./usr/lib/libxnet.so      type=3Dlink ... link=3Dlibc.so=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs
./usr/lib/libc.so         type=3Dfile ... size=3D134=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dclibs,dev
./usr/lib/libncurses.so   type=3Dlink ... link=3D../../lib/libncurses.so.9=
=20=20
tags=3Dpackage=3Dclibs,dev
./usr/lib/libncursesw.so  type=3Dlink ... link=3D../../lib/libncursesw.so.9=
=20
tags=3Dpackage=3Dclibs,dev
./usr/lib/libthr.so       type=3Dlink ... link=3D../../lib/libthr.so.3=20=
=20=20=20=20=20
tags=3Dpackage=3Dclibs,dev
./lib/libulog.so.0        type=3Dfile ... size=3D9552=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dutilities
./usr/lib/libutempter.so  type=3Dlink ... link=3Dlibulog.so=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
tags=3Dpackage=3Dutilities
./usr/lib/libulog.so      type=3Dlink ... link=3D../../lib/libulog.so.0=20=
=20=20=20=20
tags=3Dpackage=3Dutilities,dev


The most dangling symlinks are symlinks pointing to another symlink, which =
does
not exist. e.g.

/usr/lib/libcurses.so -> /usr/lib/libncurses.so -> ../../lib/libncurses.so.9

The reason it does not exist on my system, is, that i don't install the dev=
-,
debug-, lib32- and tests-packages.

/usr/lib/libncurses.so   -> ../../lib/libncurses.so.9=20
/usr/lib/libncursesw.so  -> ../../lib/libncursesw.so.9
/usr/lib/libthr.so       -> ../../lib/libthr.so.3
/usr/lib/libulog.so      -> ../../lib/libulog.so.0

/usr/lib/libc.so differs a little, because it is a text file, with this
content:
GROUP ( /lib/libc.so.7 /usr/lib/libc_nonshared.a )

As i see it, at least the symlinks should be moved from the dev- to the "ma=
in"
package. Or are there reason for the current placement?

The above mentioned /usr/lib/libxo/encoder/test.enc should be moved to the
tests-package because the target is in the /usr/tests/ directory.

--=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-249143-227-PauRfNtQms>