Is it just me or does portupgrade 2.4.12,2 have issues detecting changes in a port’s dependencies, particularly added dependencies?

Today, portupgrade failed updating these two ports due to added dependencies:

  1. x11/libxcb
  2. x11/libX11

This was the command I used to bring all installed ports up to date:

/usr/local/sbin/portupgrade -fprv \
shells/bash \
devel/cmake \
print/ghostscript9 \
math/gmp \
databases/libdbi \
databases/libdbi-drivers \
converters/libiconv \
devel/m4 \
security/p11-kit \
mail/p5-Mail-SpamAssassin \
lang/python27 \
lang/python33 \
sysutils/smartmontools \
sysutils/lsof \
sysutils/htop

x11/libxcb failed due to x11/xcb-proto being missing and not being detected by portupgrade as missing and required.

x11/libX11 failed due to x11/xtrans and devel/xorg-macros being missing, despite both the latter ports are properly listed as requirements of the former.

The situation was eventually solved through manual intervention:

portupgrade -Nfprv x11/xcb-proto x11/xtrans devel/xorg-macros
portupgrade -fprv x11/libxcb x11/libX11

Update 2014-03-25:

Luckily, I’m not the only one with this experience: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184672. Maybe the permanent solution is to forego the -p option used with portupgrade.