Portupgrade not running get_notinstalled_depends (2.4.3_1, 2 vs 2.4.3_2, 2)

Pav Lucistnik pav at FreeBSD.org
Wed Feb 20 22:14:11 UTC 2008


James píše v st 20. 02. 2008 v 09:32 -0600:

> hihi.  I was wondering what sort of problems the following change to
> portupgrade was solving:
> 
> --------------------------------------------------------------------------
> 
> sem         2008-02-11 16:17:39 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     ports-mgmt/portupgrade Makefile
>     ports-mgmt/portupgrade/files patch-bin-portupgrade
>   Log:
>   - Remove code that gather not installed depends. It makes more problems
>     than solves.
> 
>   Discussed with: pav
> 
>   Revision  Changes    Path
>   1.249     +1 -1      ports/ports-mgmt/portupgrade/Makefile
>   1.13      +13 -3     ports/ports-mgmt/portupgrade/files/patch-bin-portupgrade
> 
> --------------------------------------------------------------------------
> 
> It seems to break ALT_PKGDEP processing during a portupgrade run
> because alt_dep happens in get_notinstalled_depends.
> 
> For example, in my tests, if I have an alt-dep set for a package and I
> install a port that depends on that package it'll still install the
> original package rather than my alt-dep.

It was installing dependent ports that does not needed to be getting
installed. To be more precise, a build dependency of already up-to-date
port in a dependency chain of an outdated port.

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>
See file. Click file. Get file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080220/bdf246a1/attachment.pgp


More information about the freebsd-ports mailing list