Circular dependency, because x264 links ffmpeg
Jan Henrik Sylvester
me at janh.de
Tue Mar 4 21:22:41 UTC 2014
# pkg info -r ffmpeg
ffmpeg-2.1.1_1,1:
libxine-1.2.4_5
vlc-2.1.2_2,4
libstreamanalyzer-0.7.8_3
x264-0.136.2358_3
# pkg info -r x264
x264-0.136.2358_3:
ffmpeg-2.1.1_1,1
ffmpeg0-0.7.16_1,1
opal-3.10.10_2
vlc-2.1.2_2,4
Not good. Since multimedia/ffmpeg depends on multimedia/x264 by default
(the option X264 is enabled by default), my x264 installation must be
broken.
After forcibly deleting x264 and rebuilding the port, it still depends
on ffmpeg:
# pkg which /usr/local/bin/x264
/usr/local/bin/x264 was installed by package x264-0.136.2358_3
# readelf -d /usr/local/bin/x264 | grep libav
0x0000000000000001 (NEEDED) Shared library: [libavutil.so.52]
# pkg which /usr/local/lib/libavutil.so.52
/usr/local/lib/libavutil.so.52 was installed by package ffmpeg-2.1.1_1,1
The x264 port is doing something wrong (in the presence of ffmpeg).
This will probably only happening building ports in an unclean
environment, but I would have expected pkg to detect this and warn while
registering the pkg, while creating a package from it, or while this
package is installed on another machine. I never saw a warning.
Cheers,
Jan Henrik
More information about the freebsd-ports
mailing list