From owner-freebsd-ports@FreeBSD.ORG Sun Feb 23 09:09:44 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 295499D for ; Sun, 23 Feb 2014 09:09:44 +0000 (UTC) Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ED293186A for ; Sun, 23 Feb 2014 09:09:43 +0000 (UTC) Received: by mail-pb0-f44.google.com with SMTP id rq2so5255797pbb.17 for ; Sun, 23 Feb 2014 01:09:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Nly/bLciWMwwhGjrSbpijroe9nnWAmXCDnYzeOx7I1s=; b=Dt12mXKCkV3DukAkOc/Oeb9zRL9zgzAcTeuqHX3JQSs8WwXRZM+FkSvbxdLTG0w/wg rzpR8+N6VhHxiAd86Y2iiq09HFSNHPJk7XHEx9fX64SMqb8POmDfM/4yAniYZ/baGaKk 9N372P+E2fip60yRlBUTDxvqB/p33YRkn4c048QvWJhXOVRj3cD6+xSfbUf38Y8nzFbP Is6qgHJrX+z3Wk10DnUrzi1gBSQHwid9yb3miwJdHr0XPPR3X3SelX6ijpgR+zt8pTKa 7SH0oj9wFJDDZsSlUNFYdknFDmTRoEZ4eKbma/moISxQieEAQkPrZQJWwFNmsIhnztmT z22w== X-Received: by 10.66.182.199 with SMTP id eg7mr18495705pac.135.1393146583620; Sun, 23 Feb 2014 01:09:43 -0800 (PST) Received: from [192.168.1.7] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id nm5sm38409576pbc.29.2014.02.23.01.09.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Feb 2014 01:09:42 -0800 (PST) Message-ID: <5309BACB.7030704@FreeBSD.org> Date: Sun, 23 Feb 2014 20:09:31 +1100 From: Kubilay Kocak User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Thunderbird/27.0 MIME-Version: 1.0 To: Bengt Ahlgren , ports@freebsd.org Subject: Re: circular dependency ffmpeg<->x264 - broken pkgng database??? References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: koobs@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 09:09:44 -0000 On 19/02/2014 9:41 AM, Bengt Ahlgren wrote: > I build and update my ports using portmaster on 9.1-REL with pkgng > enabled, and create a repo with pkg create -a and pkg repo. > > One of my client machines upgrading ports from that repo suddenly > complained about a lot of unresolved dependencies and refused to > upgrade. Of the long list of unresolved dependencies, these two, > circular, stand out: > > multimedia/x264: multimedia/ffmpeg > multimedia/ffmpeg: multimedia/x264 > > Strange... Checking the build machine, x264 seems to have a bogus > dependency on ffmpeg: > > # pkg info -d x264 > x264-0.136.2358_3: > gpac-libgpac-0.5.0,1 > ffmpeg-2.1.1_1,1 > > The complaining client has this instead, which I believe is correct: > > # pkg info -d x264 > x264-0.136.2358_1: > gpac-libgpac-0.5.0,1 > png-1.5.17 > jpeg-8_4 > > I tried rebuilding multimedia/x264, but there was no change, despite > that the the ports tree seems ok: > > # make -C /usr/ports/multimedia/x264 run-depends-list > /usr/ports/multimedia/gpac-libgpac > > The client was upgraded the last time on Jan 11, so I guess that the > problem appeared after that date. How come the incorrect (circular) > dependency gets created? How can I fix this? > > Pkg version is: > > # pkg -v > 1.2.6 > > The build machine has a ports tree updated with portsnap on Feb 14 at > about 21:16 CET (UTC+1). > > Bengt > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > Thanks for your report Bengt, I'm working on isolating it. Thus far it looks like: a) the swscale feature is autodetecting the presence of ffmpeg and linking against it. b) pkg is seeing the link and automagically registering the dependency on the ffmpeg port/pkg. Should have something to commit soon.