Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2008 09:32:12 -0600
From:      James <james@hicag.org>
To:        FreeBSD-ports <freebsd-ports@freebsd.org>
Subject:   Portupgrade not running get_notinstalled_depends (2.4.3_1, 2 vs 2.4.3_2, 2)
Message-ID:  <abd3d3c20802200732y12ef24dbw88bccf5814db5fdd@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.

If I revert the change that happened in 2.4.3_2,2 the alt-dep stuff
works out.  I'm worried that I'm opening up a can of worms because I
don't understand what problems were trying to be solved in that
version.  Any ideas?  Or does it sound like I'm misunderstanding
ALT_PKGDEP?

Thanks!

-- 
James.



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