[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] python3

From: Jérémie Courrèges-Anglas
Subject: [Bug-wget] python3
Date: Thu, 18 Dec 2014 09:16:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (berkeley-unix)

wget-1.16.1 introduced a change wrt. python.  Just upgrading the port
lead to the following failure:

checking whether /usr/local/bin/python3.4 version is >= 3.0... no
configure: error: Python interpreter is too old
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2725 
'/usr/ports/pobj/wget-1.16.1/.configure_done': @for d in /usr/ports/pobj/wge...)
*** Error 1 in /usr/ports/net/wget 
(/usr/ports/infrastructure/mk/bsd.port.mk:2473 'all')

This is because when python 3 support is requested in our ports
framework, the following values are set in the ./configure script


I "fixed" this by:
1. forcing PYTHON to the empty string, to avoid the error message
2. setting am_cv_pathless_PYTHON so that tests can still pass (after
   installation of python3 of course)


I thought I'd let you know about this, even though I'm not sure if there
is a reasonable way to "solve" this issue. I feel that AM_PATH_PYTHON is
doing the right thing.

BTW, python3.4 could be added to _AM_PYTHON_INTERPRETER_LIST.

jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]