Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13313 closed defect (fixed)

variants and platforms should never return an error

Reported by: eejd Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version:
Keywords: parsing variant Cc: nox@…, gwright@…, compconsultant@…
Port:

Description

if you attempt to clean all uninstalled ports using the command 'port clean --archive uninstalled' you will receive the error:

Error: Error executing darwin_7: nesteedsums is not supported on Panther (OS X 10.3.x). Error: Unable to open port: Error evaluating variant

This is one example, many ports (for example GiNaC and cln) also have this problem. It is unclear why this error is occurring on my system as it is running 10.4, but clearly the ability to clean the port should not be dependent on the platform or variants and it is unclear why this parsing problem is occurring in the first place.

Attachments (1)

port.errors (1.2 KB) - added by nox@… 16 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 16 years ago by nox@…

Cc: nox@… added
Milestone: MacPorts base bugs
Summary: BUG: 'port clean' depends on variant of uninstalled ports!'port clean' depends on variant of uninstalled ports!

Are you sure you're not running an outdated MacPorts installation? Please run

sudo port selfupdate

and try again.

comment:2 Changed 16 years ago by jmpp@…

Component: portsbase

comment:3 Changed 16 years ago by danielluke (Daniel J. Luke)

I don't think this is a base bug, it's a bug in the ports in question.

ie, from cln:

platform darwin 7 {

return -code error "cln is not supported on Panther (OS X 10.3.x)" }

This is the same sort of thing that sometimes breaks portindex. The error return should be wrapped in the 'fetch' phase, probably.

comment:4 Changed 16 years ago by nox@…

Cc: gwright@… compconsultant@… added
Component: baseports
Milestone: MacPorts base bugsPort Bugs
Summary: 'port clean' depends on variant of uninstalled ports!variants and platforms should never return an error
Version: 1.5.0

Adding the maintainers of the broken ports:

  • gwright (GiNaC, cln, ghc, nestedsums)
  • compconsultant (qmail-spamcontrol)

xloops is also broken, but unmaintained.

Changed 16 years ago by nox@…

Attachment: port.errors added

comment:5 Changed 16 years ago by nox@…

Priority: NormalHigh

comment:6 Changed 16 years ago by compconsultant@…

Yep, will take care of qmail-spamcontrol

comment:7 Changed 16 years ago by compconsultant@…

qmail-spamcontrol is fixed via trac case 13972. All those changes have to be committed. I do not have commit permission.

comment:8 Changed 16 years ago by nox@…

Resolution: fixed
Status: newclosed

comment:9 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.