Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2007 08:57:01 -0500
From:      Randy Pratt <bsd-unix@earthlink.net>
To:        Sergey Matveychuk <sem@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: Portupgrade omitting dependencies?
Message-ID:  <20070226085701.77839ced.bsd-unix@earthlink.net>
In-Reply-To: <45E2A771.7010508@FreeBSD.org>
References:  <20070205001114.b4f77f86.bsd-unix@earthlink.net> <45C6EE26.9010909@FreeBSD.org> <45DF1803.7030106@FreeBSD.org> <20070225090806.fdd04446.bsd-unix@earthlink.net> <45E1BAD1.9060004@FreeBSD.org> <45E1DAC4.1090806@FreeBSD.org> <20070225164719.847ee415.bsd-unix@earthlink.net> <45E2A771.7010508@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 Feb 2007 12:25:05 +0300
Sergey Matveychuk <sem@FreeBSD.org> wrote:

> Randy Pratt wrote:
> >> Unfortunately I can't reproduce it.
> >> Can you show an output of the command please: cd
> >> /usr/ports/multimedia/kino; make package-depends-list
> > 
> > (doesn't this ignore any entries in pkgtools.conf?  I don't have
> > any in this case)
> > 
> [...]
> > mplayer-0.99.10_4 /usr/ports/multimedia/mplayer multimedia/mplayer
> ^^^^
> So pkgdb -F should not remove mplayer as dependency. And an interesting
> thing now is when you got it removed?
>
> > I'm not sure which part that you couldn't reproduce but these
> > 'DELETED' dependencies seem to only occur when updating from
> > an old version to a new version.  This doesn't happen for all
> > ports being updated to a new version, just some.
> 
> I've tried to install multimedia/kino and pkgdb -F. It does not remove
> mplayer for me.

The problem can only be reproduced when a port is being updated to
a newer version.  In this instance, kino would have to have been
installed before mplayer was updated to a newer version.  More
examples of the problem from yesterday's update are at the end.

> > 
> > I have already "repaired" the /var/db/pkg/*/+CONTENTS by forcing
> > updates of ports whose dependencies were marked as "DELETED";
> > however, the "DELETED" ghostscript-afpl entries still remain.
> > 
> > I realize this kind of thing is hard to reproduce since it probably
> > depends on a lot of things that are constantly moving targets.
> 
> I hope I found all issues and will release a new version today. It will
> fix ghostscript and relate issues but you will need to add the ports in
> ALT_PKGDEP section in pkgtools.conf just like this:
> 
> ALT_PKGDEP = {
>   'print/ghostscript-afpl' => 'print/ghostscript-gnu',
>   'www/apache13' => 'www/apache13-modssl',
> }

I'll give this a try today.  I had cvsupped but noticed that there
were some additional patches committed so I'll get those before
continuing.  Additionally, I'll have to wait for a few ports to
be version updated before I do any testing of the new 
portupgrade-devel.

Randy
===================================================================
Ports updated 2007.02.25.2001:

libmpcdec-1.2.2             <  needs updating (port has 1.2.5) 
nspr-4.6.4                  <  needs updating (port has 4.6.5) 
p5-GSSAPI-0.23              <  needs updating (port has 0.24) 
pciids-20070123             <  needs updating (port has 20070225) 
rar-3.70b1_1,1              <  needs updating (port has 3.70b1_2,1) 
speex-1.2.b1,1              <  needs updating (port has 1.2.b1_1,1) 


After updating these were the entries from /var/db/pkg/*/+CONTENTS:

ImageMagick-6.3.2.0_1/+CONTENTS:@comment DELETED:pkgdep ghostscript-afpl-8.54,1
ImageMagick-6.3.2.0_1/+CONTENTS:@comment DELETED:DEPORIGIN:print/ghostscript-afpl
apsfilter-7.2.8/+CONTENTS:@comment DELETED:pkgdep rar-3.70b1_2,1
apsfilter-7.2.8/+CONTENTS:@comment DELETED:DEPORIGIN:archivers/rar
apsfilter-7.2.8/+CONTENTS:@comment DELETED:pkgdep speex-1.2.b1_1,1
apsfilter-7.2.8/+CONTENTS:@comment DELETED:DEPORIGIN:audio/speex
avidemux2-2.3.0/+CONTENTS:@comment DELETED:pkgdep nspr-4.6.5
avidemux2-2.3.0/+CONTENTS:@comment DELETED:DEPORIGIN:devel/nspr
dvdauthor-0.6.11_1/+CONTENTS:@comment DELETED:pkgdep ghostscript-afpl-8.54,1
dvdauthor-0.6.11_1/+CONTENTS:@comment DELETED:DEPORIGIN:print/ghostscript-afpl
dvdstyler-1.5.b5_1,2/+CONTENTS:@comment DELETED:pkgdep ghostscript-afpl-8.54,1
dvdstyler-1.5.b5_1,2/+CONTENTS:@comment DELETED:DEPORIGIN:print/ghostscript-afpl
firefox-2.0.0.2,1/+CONTENTS:@comment DELETED:pkgdep nspr-4.6.5
firefox-2.0.0.2,1/+CONTENTS:@comment DELETED:DEPORIGIN:devel/nspr
gimp-2.2.13_2,1/+CONTENTS:@comment DELETED:pkgdep pciids-20070225
gimp-2.2.13_2,1/+CONTENTS:@comment DELETED:DEPORIGIN:misc/pciids
gmencoder-0.1.0_7/+CONTENTS:@comment DELETED:pkgdep pciids-20070225
gmencoder-0.1.0_7/+CONTENTS:@comment DELETED:DEPORIGIN:misc/pciids
gnome-vfs-2.16.3/+CONTENTS:@comment DELETED:pkgdep pciids-20070225
gnome-vfs-2.16.3/+CONTENTS:@comment DELETED:DEPORIGIN:misc/pciids
gxine-0.5.11/+CONTENTS:@comment DELETED:pkgdep pciids-20070225
gxine-0.5.11/+CONTENTS:@comment DELETED:DEPORIGIN:misc/pciids
gxine-0.5.11/+CONTENTS:@comment DELETED:pkgdep nspr-4.6.5
gxine-0.5.11/+CONTENTS:@comment DELETED:DEPORIGIN:devel/nspr
gxine-0.5.11/+CONTENTS:@comment DELETED:pkgdep speex-1.2.b1_1,1
gxine-0.5.11/+CONTENTS:@comment DELETED:DEPORIGIN:audio/speex
gxine-0.5.11/+CONTENTS:@comment DELETED:pkgdep ghostscript-afpl-8.54,1
gxine-0.5.11/+CONTENTS:@comment DELETED:DEPORIGIN:print/ghostscript-afpl
hal-0.5.8.20070210/+CONTENTS:@comment DELETED:pkgdep pciids-20070225
hal-0.5.8.20070210/+CONTENTS:@comment DELETED:DEPORIGIN:misc/pciids
html2ps-letter-1.0.b5,1/+CONTENTS:@comment DELETED:pkgdep p5-GSSAPI-0.24
html2ps-letter-1.0.b5,1/+CONTENTS:@comment DELETED:DEPORIGIN:security/p5-GSSAPI
html2ps-letter-1.0.b5,1/+CONTENTS:@comment DELETED:pkgdep ghostscript-afpl-8.54,1
html2ps-letter-1.0.b5,1/+CONTENTS:@comment DELETED:DEPORIGIN:print/ghostscript-afpl
kino-0.9.5/+CONTENTS:@comment DELETED:pkgdep ghostscript-afpl-8.54,1
kino-0.9.5/+CONTENTS:@comment DELETED:DEPORIGIN:print/ghostscript-afpl
libbonoboui-2.16.0/+CONTENTS:@comment DELETED:pkgdep pciids-20070225
libbonoboui-2.16.0/+CONTENTS:@comment DELETED:DEPORIGIN:misc/pciids
libgnome-2.16.0/+CONTENTS:@comment DELETED:pkgdep pciids-20070225
libgnome-2.16.0/+CONTENTS:@comment DELETED:DEPORIGIN:misc/pciids
libgnomeui-2.16.1/+CONTENTS:@comment DELETED:pkgdep pciids-20070225
libgnomeui-2.16.1/+CONTENTS:@comment DELETED:DEPORIGIN:misc/pciids
libgtkhtml-2.11.0_2/+CONTENTS:@comment DELETED:pkgdep pciids-20070225
libgtkhtml-2.11.0_2/+CONTENTS:@comment DELETED:DEPORIGIN:misc/pciids
libxine-1.1.4_2/+CONTENTS:@comment DELETED:pkgdep pciids-20070225
libxine-1.1.4_2/+CONTENTS:@comment DELETED:DEPORIGIN:misc/pciids
libxine-1.1.4_2/+CONTENTS:@comment DELETED:pkgdep speex-1.2.b1_1,1
libxine-1.1.4_2/+CONTENTS:@comment DELETED:DEPORIGIN:audio/speex
libxine-1.1.4_2/+CONTENTS:@comment DELETED:pkgdep ghostscript-afpl-8.54,1
libxine-1.1.4_2/+CONTENTS:@comment DELETED:DEPORIGIN:print/ghostscript-afpl
nss-3.11.4/+CONTENTS:@comment DELETED:pkgdep nspr-4.6.5
nss-3.11.4/+CONTENTS:@comment DELETED:DEPORIGIN:devel/nspr
nzbperl-0.6.8/+CONTENTS:@comment DELETED:pkgdep p5-GSSAPI-0.24
nzbperl-0.6.8/+CONTENTS:@comment DELETED:DEPORIGIN:security/p5-GSSAPI
p5-Authen-SASL-2.10_1/+CONTENTS:@comment DELETED:pkgdep p5-GSSAPI-0.24
p5-Authen-SASL-2.10_1/+CONTENTS:@comment DELETED:DEPORIGIN:security/p5-GSSAPI
p5-Net-1.20_1,1/+CONTENTS:@comment DELETED:pkgdep p5-GSSAPI-0.24
p5-Net-1.20_1,1/+CONTENTS:@comment DELETED:DEPORIGIN:security/p5-GSSAPI
p5-XML-DOM-1.44/+CONTENTS:@comment DELETED:pkgdep p5-GSSAPI-0.24
p5-XML-DOM-1.44/+CONTENTS:@comment DELETED:DEPORIGIN:security/p5-GSSAPI
p5-libwww-5.805/+CONTENTS:@comment DELETED:pkgdep p5-GSSAPI-0.24
p5-libwww-5.805/+CONTENTS:@comment DELETED:DEPORIGIN:security/p5-GSSAPI
spidermonkey-1.5_3/+CONTENTS:@comment DELETED:pkgdep nspr-4.6.5
spidermonkey-1.5_3/+CONTENTS:@comment DELETED:DEPORIGIN:devel/nspr
transcode-1.0.2_5/+CONTENTS:@comment DELETED:pkgdep ghostscript-afpl-8.54,1
transcode-1.0.2_5/+CONTENTS:@comment DELETED:DEPORIGIN:print/ghostscript-afpl
vorbis-tools-1.1.1_3,3/+CONTENTS:@comment DELETED:pkgdep speex-1.2.b1_1,1
vorbis-tools-1.1.1_3,3/+CONTENTS:@comment DELETED:DEPORIGIN:audio/speex

-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070226085701.77839ced.bsd-unix>