circular dependency ffmpeg<->x264 - broken pkgng database???

Bengt Ahlgren bengta at
Tue Feb 18 23:03:33 UTC 2014

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

The complaining client has this instead, which I believe is correct:

#  pkg info -d x264

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

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

The build machine has a ports tree updated with portsnap on Feb 14 at
about 21:16 CET (UTC+1).


More information about the freebsd-ports mailing list