[Bug 249143] pkgbase: Library archive files .a found in non *-dev packages

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 11 12:56:22 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249143

--- Comment #3 from Martin <martin.jakob at gmx.com> ---
Searching for these symlinks in the METALOG shows this (i omitted the uname=,
gname=, mode= and flags= 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=file ... size=2031360                    
tags=package=clibs
./lib/libncurses.so.9     type=file ... size=401496                     
tags=package=clibs
./lib/libncursesw.so.9    type=file ... size=459800                     
tags=package=clibs
./lib/libthr.so.3         type=file ... size=129744                     
tags=package=clibs
./usr/lib/libcurses.so    type=link ... link=libncurses.so              
tags=package=clibs
./usr/lib/libcursesw.so   type=link ... link=libncursesw.so             
tags=package=clibs
./usr/lib/libpthread.so   type=link ... link=libthr.so                  
tags=package=clibs
./usr/lib/libtermcap.so   type=link ... link=libncurses.so              
tags=package=clibs
./usr/lib/libtermcapw.so  type=link ... link=libncursesw.so             
tags=package=clibs
./usr/lib/libtermlib.so   type=link ... link=libncurses.so              
tags=package=clibs
./usr/lib/libtermlibw.so  type=link ... link=libncursesw.so             
tags=package=clibs
./usr/lib/libtinfo.so     type=link ... link=libncurses.so              
tags=package=clibs
./usr/lib/libtinfow.so    type=link ... link=libncursesw.so             
tags=package=clibs
./usr/lib/libxnet.so      type=link ... link=libc.so                    
tags=package=clibs
./usr/lib/libc.so         type=file ... size=134                        
tags=package=clibs,dev
./usr/lib/libncurses.so   type=link ... link=../../lib/libncurses.so.9  
tags=package=clibs,dev
./usr/lib/libncursesw.so  type=link ... link=../../lib/libncursesw.so.9 
tags=package=clibs,dev
./usr/lib/libthr.so       type=link ... link=../../lib/libthr.so.3      
tags=package=clibs,dev
./lib/libulog.so.0        type=file ... size=9552                       
tags=package=utilities
./usr/lib/libutempter.so  type=link ... link=libulog.so                 
tags=package=utilities
./usr/lib/libulog.so      type=link ... link=../../lib/libulog.so.0     
tags=package=utilities,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 
/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 "main"
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.

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


More information about the freebsd-bugs mailing list