conflicting variants while rebuilding a dependency

Riccardo Mottola riccardo.mottola at libero.it
Sun Jan 13 22:54:12 UTC 2019


Hi Moja,

On 2019-01-12 20:39:08 +0100 Mojca Miklavec <mojca at macports.org> wrote:

I did some "tests" to get further information. It may not be a bug, 
just an inconvenience. I still think users should be able to usually 
just "upgrade".

gexiv2 is a dependency for me, I never installed it directly.

> 
> gexiv2 still has both variants enabled by default. In some ports this
> is allowed, but in many it is not, if nothing else because one cannot
> run a single configure step that would enable two python versions.
> 
> I didn't test, but I assume that you might be able to do
>     sudo port install gexiv2

I suppose it would work, since:

sudo port install gexiv2
Password:
--->  Computing dependencies for gexiv2
The following dependencies will be installed:
  boost
  ctags
  gtk-doc
  py36-anytree
  py36-lxml
  py36-pygments
  py36-setuptools
  py36-six
  pygments_select
  source-highlight
Continue? [Y/n]: n

> but not
>     sudo port install gexiv2 +python27 +python36
> if some of the dependencies with python variants are not yet
> installed, or waiting for update.

If I issue that it will ineed fails.

> This might well be a bug, or rather an unfortunate coincidence with no
> easy workaround.
> What happens if you clean all the ports and run
>     sudo port install gexiv2
> manually instead of waiting for rev-upgrade?

sudo port clean all!
that is a long command to run, even on a SSD!

I did a full clean and tried to install
sudo port install gexiv2 +python27 +python36

again but it did not help!

Riccardo



More information about the macports-users mailing list