Automatic dependency adding in 1.2.x ?
Pawel Pekala
pawel at FreeBSD.org
Tue Dec 10 18:32:07 UTC 2013
Hi,
During my last work on ports linking problems I noticed one thing with
new 1.2.x (?) pkg. It's seems now pkg adds dependencies not listed in
LIB_DEPENDS when package links to some lib on live system. So for
example it links dynamically to databases/tinycdb when available on
system and this is not recorded in port's Makefile (tinycdb is not
pulled but any other deps also).
From user's point this is desirable behaviour, it keeps things sane -
tinycdb can't be removed when there are other packages that link to it's
libraries and prevents breakage.
On the developer's side of things this is at least strange choice - it
hides problems instead trying to expose them and get them fixed. It
makes finding those kind of errors a lot harder in my view and leads to
official packages (built in sterile environment) lacking some features
or being even broken in rare cases.
Is there are any way to disable this feature?
Maybe related to this,ffmpeg0 on my system thinks it depends on
ffmpeg now:
[corn:~]> pkg info -d ffmpeg0-0.7.16_1,1
ffmpeg0-0.7.16_1,1:
freetype2-2.5.0.1
xvid-1.3.2,1
x264-0.136.2358_1
schroedinger-1.0.11_1
libvpx-1.2.0
libtheora-1.1.1_3
gpac-libgpac-0.5.0,1
ffmpeg-2.1.1_1,1
png-1.5.17
opencv-core-2.4.7
jpeg-8_4
sdl-1.2.15_2,2
orc-0.4.18
libvorbis-1.3.3_1,3
libogg-1.3.1,4
jackit-0.121.3_3
--
pozdrawiam / with regards
Paweł Pękala
More information about the freebsd-pkg
mailing list