Closed Bug 1615571 Opened 5 years ago Closed 5 years ago

74 beta: init.configure: virtualenv_python2: "version" unbound when python comes from the environment?

Categories

(Firefox Build System :: General, defect)

74 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1614994

People

(Reporter: balducci, Unassigned)

Details

Attachments

(1 file)

Attached file detailed description

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

Steps to reproduce:

export PYTHON3=/usr/python3/bin/python3
export PYTHON=/usr/bin/python2
/home/balducci/tmp/install-us-d/firefox-74.0b1/firefox-74.0b2/configure

Actual results:

Traceback (most recent call last):
[...]
  File "/home/balducci/tmp/install-us-d/firefox-74.0b1/firefox-74.0b2/build/moz.configure/init.configure", line 334, in virtualenv_python2
    if version < (2, 7, 0):
UnboundLocalError: local variable 'version' referenced before assignment

Expected results:

configure should have completed without errors

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → General
Product: Firefox → Firefox Build System
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: