Gnome3 dependencies need Python 2.7 at most, but 3.6 was specified

Miroslav Lachman 000.fbsd at quip.cz
Fri Jul 14 08:24:50 UTC 2017


bob prohaska wrote on 2017/07/14 03:06:
> In trying to compile gnome3 from ports on a Raspberry Pi 2  error messages
> with the general form:
>
>   py27-cairo-1.10.0_2 needs Python 2.7 at most, but 3.6 was specified
>
> come up for numerous dependencies. The failed builds have so far successed when
> done in the port directory, using make -DBATCH
>
> The ports tree is at:
>   # svnlite info /usr/ports
> Path: /usr/ports
> Working Copy Root Path: /usr/ports
> URL: svn://svn.freebsd.org/ports/head
> Relative URL: ^/head
> Repository Root: svn://svn.freebsd.org/ports
> Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
> Revision: 445408
> Node Kind: directory
> Schedule: normal
> Last Changed Author: lme
> Last Changed Rev: 445408
> Last Changed Date: 2017-07-09 12:14:55 -0700 (Sun, 09 Jul 2017)
>
> Is there an alternative to manually compiling the failing dependencies?

What do you have in make.conf? Do you have something like
DEFAULT_VERSIONS = python=3.6?
If yes, then this is the long standing bug I faced years ago - some 
ports want 2.7 but 3.x is pulled as dependency if default version is set 
to 3.x

Miroslav Lachman


More information about the freebsd-ports mailing list