Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 20:09:31 +1100
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        Bengt Ahlgren <bengta@sics.se>, ports@freebsd.org
Subject:   Re: circular dependency ffmpeg<->x264 - broken pkgng database???
Message-ID:  <5309BACB.7030704@FreeBSD.org>
In-Reply-To: <uh7ppmkhwlu.fsf@P142s.sics.se>
References:  <uh7ppmkhwlu.fsf@P142s.sics.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5309BACB.7030704>