bug-wget
[Top][All Lists]
Advanced

[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
environment:

  PYTHON="/usr/local/bin/python3.4"
  ac_cv_prog_PYTHON="/usr/local/bin/python3.4"
  ac_cv_path_PYTHON="/usr/local/bin/python3.4"

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)

  
http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/net/wget/Makefile.diff?r1=1.65&r2=1.66

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]