[issue18493] make profile-opt fails with pre-existing python2.7 in path

2020-04-26 Thread Zachary Ware


Zachary Ware  added the comment:

This was fixed in 3.x in 2015 and later backported to 2.7 in 2017.  Thanks for 
the report, Claudio, and I'm sorry nobody noticed this earlier or we could have 
fixed the issue two years earlier!

--
nosy: +zach.ware
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18493] make profile-opt fails with pre-existing python2.7 in path

2019-04-26 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18493] make profile-opt fails with pre-existing python2.7 in path

2014-10-05 Thread Mark Lawrence

Mark Lawrence added the comment:

Can somebody please take a look at the inline patch in msg193313.

--
nosy: +BreamoreBoy
type:  - behavior
versions: +Python 3.4, Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18493
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18493] make profile-opt fails with pre-existing python2.7 in path

2013-07-18 Thread Claudio Freire

New submission from Claudio Freire:

When building with --enable-shared in an environment that already has a 
python2.7 (and I'd expect the same to happen to 3.x), make profile-opt fails 
because it attempts to load the existing libpython instead of the just-built 
one.

run_profile_task should use RUNSHARED. In fact, it builds fine if $(RUNSHARED) 
is added to that line.

Patch inline below, for 2.7.5:

--- Makefile.pre.in.bk  2013-07-18 17:46:28.671773378 +
+++ Makefile.pre.in 2013-07-18 17:46:47.759806100 +
@@ -420,7 +420,7 @@
 
 run_profile_task:
: # FIXME: can't run for a cross build
-   ./$(BUILDPYTHON) $(PROFILE_TASK)
+   $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
 
 build_all_use_profile:
$(MAKE) all CFLAGS=$(CFLAGS) -fprofile-use

--
components: Build
messages: 193313
nosy: Claudio.Freire
priority: normal
severity: normal
status: open
title: make profile-opt fails with pre-existing python2.7 in path
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18493
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com