From owner-freebsd-ports@FreeBSD.ORG Tue Mar 4 21:22:41 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D891FE9 for ; Tue, 4 Mar 2014 21:22:41 +0000 (UTC) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CFD39CB6 for ; Tue, 4 Mar 2014 21:22:40 +0000 (UTC) Received: from nb981.math (p57AEEFE2.dip0.t-ipconnect.de [87.174.239.226]) by mrelayeu.kundenserver.de (node=mreue001) with ESMTP (Nemesis) id 0Mbour-1WbeKh1rxl-00J2JB; Tue, 04 Mar 2014 22:22:38 +0100 Message-ID: <5316441D.8080607@janh.de> Date: Tue, 04 Mar 2014 22:22:37 +0100 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: ports-list freebsd Subject: Circular dependency, because x264 links ffmpeg Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:iGGzaEbd5+7jx10gj5UFbtlZf0qZPBPcndMrt98xq5z b1DBBboaboL4gjEMzCz8SjtSbr82ibyzawT+81fvhrPnHbAtc3 uQerBk3mGBTJyVYwgB1zktyG28OVcIXvHajCJ0tj9YtWk4PX8V jCPmcjxQVT9WA9qVBcOSbae1QBY/f4kYw/Pwrit+HeaMoZTg5y y893WV2gbB73IGcK6qMHWT4tC7864ZBBfPcTvgnPer7hi6x5UC /nC+4EsKSR5uK9aJL4SGxsR7XndfFh4lGTRmcLIy44LkVDAAbs PFxvEn23Rydy+F+MB0nSn7C1Ux/obBX+k2qTUPlfmUvZtqw4Q= = X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 21:22:41 -0000 # 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