Bug 129891 - ports-mgmt/portupgrade fails to recognize variations of dependencies
Summary: ports-mgmt/portupgrade fails to recognize variations of dependencies
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-23 22:00 UTC by Igor Roshchin
Modified: 2012-04-17 01:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Roshchin 2008-12-23 22:00:05 UTC
When a port is installed (portinstall or portupgrade -N), and a variation of a dependency is installed (e.g. apache+mod_ssl-1.3.41+2.8.31 as opposed to apache13), portupgrade/portinstall fails to recognize this and tries to build the basic version of the dependency (apache13 in the example above).
Other examples include: sendmail+tls+sasl2
make install from the ports collection works fine.

How-To-Repeat: have apache+mod_ssl installed and try:
portinstall wordpress-mu
or have
sendmail+tls+sasl2
and try:
portinstall squirrelmail
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-12-23 22:26:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2009-07-25 02:49:05 UTC
Responsible Changed
From-To: sem->ruby

sem@ has turned over maintainership of portupgrade to the ruby mailing list.
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-10 00:10:57 UTC
Responsible Changed
From-To: ruby->pgollucci

I will take it
Comment 4 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-24 07:21:56 UTC
Responsible Changed
From-To: pgollucci->freebsd-ports-bugs

going to have enotime for the next 2 weeks, sorry
Comment 5 Steve Price freebsd_committer freebsd_triage 2011-01-03 17:17:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer(s).
Comment 6 Tilman Keskinoz freebsd_committer freebsd_triage 2011-07-25 12:56:47 UTC
State Changed
From-To: open->suspended

This is a general problem of the FreeBSD ports collection, not specific to 
portupgrade
Comment 7 Philip M. Gollucci freebsd_committer freebsd_triage 2012-02-22 05:23:01 UTC
Responsible Changed
From-To: ruby->freebsd-ports-bugs

Over to maintainer.
Comment 8 Baptiste Daroussin freebsd_committer freebsd_triage 2012-04-16 22:34:23 UTC
State Changed
From-To: suspended->closed

It's been documented in UPDATING (20080208) that this case needs special 
handling in pkgtools.conf via ALT_DEPENDS.
Comment 9 Igor Roshchin 2012-04-17 01:40:06 UTC
First, just a correction:
I think, it is actually ALT_PKGDEP (not ALT_DEPENDS).

Second, it is nice that that mechanism is there.
It would be nice now, if there was a default list of
alternative dependencies provided as a part of the ports collection
(alongside INDEX, or something like that).
This way it would get updated with the ports collection evolving.
This "feature suggestion" goes beyond just "portupgrade", and would be a 
greate improvement for the entire ports collection.
So, I am not sure what is the best way of submitting it, - so I hope 
somebody can route it correctly.