Bug 194605 - [exp-run] Fix python version usage in path for dependency builds with different python versions
Summary: [exp-run] Fix python version usage in path for dependency builds with differe...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Marcus von Appen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-26 08:27 UTC by Marcus von Appen
Modified: 2014-10-27 18:59 UTC (History)
1 user (show)

See Also:
mva: exp-run+


Attachments
python.mk patch (1.68 KB, patch)
2014-10-26 08:27 UTC, Marcus von Appen
no flags Details | Diff
Updated python.mk diff (PYTHON_VERSION plist issue) (1.68 KB, patch)
2014-10-26 13:24 UTC, Marcus von Appen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus von Appen freebsd_committer freebsd_triage 2014-10-26 08:27:39 UTC
Created attachment 148657 [details]
python.mk patch

If a port requests a different python version from the one being the
default or provided at the command line, certain directories as well
as plist entries will use the wrong python version value (the one
being the default or provided at the command line), instead of
the value, the port requests
Comment 1 Antoine Brodin freebsd_committer 2014-10-26 08:38:19 UTC
Take for exp-run
Comment 2 Marcus von Appen freebsd_committer freebsd_triage 2014-10-26 13:24:36 UTC
Created attachment 148663 [details]
Updated python.mk diff (PYTHON_VERSION plist issue)

Updated the patch to set PLIST_SUB+= ... PYTHON_VERSION=... to the correct value
Comment 3 Antoine Brodin freebsd_committer 2014-10-27 08:41:35 UTC
Exp-run results with 2nd patch:

http://package18.nyi.freebsd.org/build.html?mastername=101amd64-PR194605&build=2014-10-26_13h52m15s

0 new failure
Comment 4 Marcus von Appen freebsd_committer freebsd_triage 2014-10-27 18:58:28 UTC
Committed in ports r371600.
Comment 5 commit-hook freebsd_committer 2014-10-27 18:59:09 UTC
A commit references this bug:

Author: mva
Date: Mon Oct 27 18:58:22 UTC 2014
New revision: 371600
URL: https://svnweb.freebsd.org/changeset/ports/371600

Log:
  - Second attempt to fix the python version usage on single port builds

    If a port requests a different python version from the one being the
    default or provided at the command line, certain directories as well
    as plist entries will use the wrong python version value (the one
    being the default or provided at the command line), instead of the
    value, the port requests.

  PR:		194605
  exp-run by:	antoine@
  With hat:	python@

Changes:
  head/Mk/Uses/python.mk