Opened 13 years ago

Closed 13 years ago

#10843 closed defect (fixed)

BUG: 'port variants' has innacurate output with multiple targets

Reported by: elcascador@… Owned by: jberry@…
Priority: High Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description

Just have a look at the output of 'port variants package1 package2'. First I request the list of variants of 2 packages, seems qt3-mac and pixen have the same variants. But that's wrong, pixen has no variants.

In /opt/local/bin/ports line 1720 it seems that the variable 'result' doesn't get cleared correctly during the search using 'dportsearch'. I'm not a tcl coder so I can't fix it, sorry.

chri@aether ~/Data/MacPort 
 Sat 07 Oct 21:12 $ port variants qt3-mac pixen           
qt3-mac has the variants:
        mysql
        ipv6
        darwin
        darwin_8
pixen has the variants:
        mysql
        ipv6
        darwin
        darwin_8
chri@aether ~/Data/MacPort 
 Sat 07 Oct 21:12 $ port variants pixen
pixen has no variants

Change History (3)

comment:1 Changed 13 years ago by markd@…

Summary: variants list with multiple packages wrongBUG: 'port variants' has innacurate output with multiple targets

This problem is very closely related to #8229, perhaps the same cause.

comment:2 Changed 13 years ago by jberry@…

Owner: changed from darwinports-bugs@… to jberry@…
Status: newassigned

comment:3 Changed 13 years ago by jberry@…

Resolution: fixed
Status: assignedclosed

Thanks for the report. This should be resolved in r19992. Please verify.

Note: See TracTickets for help on using tickets.