[Bug 233723] PYTHON_VERSION poisoning during chained build of dependencies

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 12 00:01:12 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233723

--- Comment #19 from Chris Hutchinson <portmaster at bsdforge.com> ---
(In reply to Antoine Brodin from comment #18)
Funny you should ask. I was just going to ask if anyone
knew of a python.mk version that worked.
It appears the last (most recent) change, was to
add version 3.8.

BTW *which* DEPENDS_ARGS line?
Walter Schwarzenfeld alludes to lines 457-465 being
the problem:
    457 # Pass PYTHON_VERSION down the dependency chain. This ensures that
    458 # port A -> B -> C all will use the same python version and do not
    459 # try to find a different one, if the passed version fits into
    460 # the supported version range.
    461 PYTHON_VERSION?=        python${_PYTHON_VERSION}
    462 .if !defined(PYTHON_NO_DEPENDS) && \
    463     ${PYTHON_VERSION} != python${PYTHON_DEFAULT}
    464 DEPENDS_ARGS+=          PYTHON_VERSION=${PYTHON_VERSION}
    465 .endif
in 237795. Which *also* contains DEPENDS_ARGS. But given this
is part of a larger conditional. It will require nuking the
rest of it.

As to "just complaining"; I'm attempting to eliminate possibilities
in an effort to narrow things down to a direct cause/solution.

Thanks for the input! :)

--Chris

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-python mailing list