Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2019 11:08:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 237795] devel/gobject-introspection: "needs Python 3.4 at least, but 2.7 was specified."
Message-ID:  <bug-237795-21822-EcSckEPXVU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237795-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237795-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237795

--- Comment #8 from Mikhail Teterin <mi@FreeBSD.org> ---
(In reply to Kubilay Kocak from comment #7)
> please elaborate with an example of 'installing it manually, not as a
> automatic, depends', that fixes *this* issue, which is:
>
> a) a port requiring one specific version (eg: only 2.7)
> b) cannot be built when one of its dependencies (eg: gobject-introspectio=
n)
> c) requires a version that does not overlap with its own (eg: 3.4+)

The version of Python, that's used by a dependency, may not actually matter,
when the dependency is not itself a Python-package -- that is, is not used =
by
the dependent as "import foo". Or, when Python is merely a BUILD-dependency=
 for
the dependency... (Both of these examples fall under item 2. in my Comment =
#6.)

This is why, after you install gir manually -- allowing it to use whatever
version it wants -- build works.

Things break, when the build of gir is invoked automatically by the build o=
f a
depending port, because in this case the Python-version is EXPLICITLY
PRESCRIBED (by adding PYTHON_VERSION to the environment, I think)...

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237795-21822-EcSckEPXVU>