Opened 11 years ago

Last modified 10 years ago

#43683 new defect

apbs-mpi: default variants conflict with universal

Reported by: a.user@… Owned by: howarth.at.macports@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: seanfarley (Sean Farley)
Port: apbs-mpi

Description

I'm trying to follow the migration instructions for 10.9 but when I try to use "clean" it chokes here

--->  Cleaning apbs
Error: apbs: Variant mpich conflicts with universal
Error: Unable to open port: Error evaluating variants

I've tried

sudo port -f uninstall apbs
sudo port clean apbs
--->  Cleaning apbs

sudo port -f uninstall mpich
sudo port clean mpich
--->  Cleaning mpich

then

sudo port clean all

sudo port clean uninstalled

also

sudo port uninstall --follow-dependencies apbs
sudo port clean uninstalled

still choking, as is

sudo port uninstall --follow-dependencies mpich
sudo port clean uninstalled


Change History (3)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sean@… added
Owner: changed from macports-tickets@… to howarth@…
Port: apbs-mpi added
Summary: Sudo port clean all failingapbs-mpi: default variants conflict with universal

This is because the apbs-mpi port (the one alphabetically after the last successful clean you showed, the apbs port) declares default variants which conflict with the universal variant, and you have presumably specified a default universal variant in your variants.conf. I'm assigning the ticket to the maintainer of the apbs-mpi port, and Ccing the developer who made the mpi portgroup which it uses. As a workaround, you could remove +universal from your variants.conf, then use "sudo port clean all", then put +universal back in variants.conf if you want it.

comment:2 in reply to:  1 Changed 11 years ago by a.user@…

Replying to ryandesign@…:

This is because the apbs-mpi port (the one alphabetically after the last successful clean you showed, the apbs port) declares default variants which conflict with the universal variant, and you have presumably specified a default universal variant in your variants.conf. I'm assigning the ticket to the maintainer of the apbs-mpi port, and Ccing the developer who made the mpi portgroup which it uses. As a workaround, you could remove +universal from your variants.conf, then use "sudo port clean all", then put +universal back in variants.conf if you want it.

ok thanks for posting a workaround - I'm fairly new to MacPorts and wasn't sure if I was missing something obvious

comment:3 Changed 10 years ago by petrrr

Owner: changed from howarth@… to howarth.at.macports@…
Note: See TracTickets for help on using tickets.