Portupgrade omitting dependencies?

w45kl9 at charter.net w45kl9 at charter.net
Mon Feb 5 16:14:53 UTC 2007


I have observed this behavior also, and agree that portupgrade seems
to have a bug.

On 20-Jan-2007 I installed 6.2-RELEASE on an empty hard disk partition
with ports skeletons. Using make under /usr/ports I built some 340 
ports over a 2 day span.

Six days later I cvsup'd the latest ports skeletons. pkg_version
reported the following ports were down level.

pciids-20070123
fastest_cvsup-0.2.9_5
ORBit2-2.14.5
jackit-0.102.28.20061216_1
libxslt-1.1.20
portupgrade-2.2.2_1,2
gcc-4.2.0_20070124
hplip-1.6.12
gtk-2.10.9

I then ran 
# portupgrade -a
# cd /var/db/pkg
# grep DELETED */+CONTENTS

FlightGear-0.9.10/+CONTENTS:@comment DELETED:pkgdep jackit-0.102.28.20061216_1 FlightGear-0.9.10/+CONTENTS:@comment DELETED:DEPORIGIN:audio/jack
SimGear-0.3.10_1/+CONTENTS:@comment DELETED:pkgdep jackit-0.102.28.20061216_1
SimGear-0.3.10_1/+CONTENTS:@comment DELETED:DEPORIGIN:audio/jack
audacity-1.2.4b/+CONTENTS:@comment DELETED:pkgdep gtk-2.10.9
audacity-1.2.4b/+CONTENTS:@comment DELETED:DEPORIGIN:x11-toolkits/gtk20
flightgear-atlas-0.3.0_4/+CONTENTS:@comment DELETED:pkgdep jackit-0.102.28.200 61216_1
flightgear-atlas-0.3.0_4/+CONTENTS:@comment DELETED:DEPORIGIN:audio/jack
freealut-1.1.0_1/+CONTENTS:@comment DELETED:pkgdep jackit-0.102.28.20061216_1
freealut-1.1.0_1/+CONTENTS:@comment DELETED:DEPORIGIN:audio/jack
openal-20060211_4/+CONTENTS:@comment DELETED:pkgdep jackit-0.102.28.20061216_1
openal-20060211_4/+CONTENTS:@comment DELETED:DEPORIGIN:audio/jack
smpeg-0.4.4_6/+CONTENTS:@comment DELETED:pkgdep jackit-0.102.28.20061216_1
smpeg-0.4.4_6/+CONTENTS:@comment DELETED:DEPORIGIN:audio/jack
xsane-0.991_1/+CONTENTS:@comment DELETED:pkgdep libxslt-1.1.20
xsane-0.991_1/+CONTENTS:@comment DELETED:DEPORIGIN:textproc/libxslt
xsane-0.991_1/+CONTENTS:@comment DELETED:pkgdep ORBit2-2.14.5
xsane-0.991_1/+CONTENTS:@comment DELETED:DEPORIGIN:devel/ORBit2

I also noted that for each pair in the above list, for instance 
xsane-0.991_1  --  ORBit2-2.14.5
/var/db/pkg/ORBit-2.14.5/+REQUIRED_BY  will be missing the xsane-0.991_1 line.

BoB KoT


More information about the freebsd-ports mailing list