[issue9419] RUNSHARED needs LDFLAGS

2021-06-18 Thread Irit Katriel


Irit Katriel  added the comment:

Closing as 2.7 is past EOL and distutils is deprecated. Please create a new 
issue, and include complete reproduction instructions, if you are seeing this 
problem on an up to date version (3.9+).

--
nosy: +iritkatriel
resolution:  -> out of date
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



[issue9419] RUNSHARED needs LDFLAGS

2013-11-10 Thread Barry A. Warsaw

Changes by Barry A. Warsaw ba...@python.org:


--
assignee: barry - 

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



[issue9419] RUNSHARED needs LDFLAGS

2011-01-11 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

Yes Peter, build outside source tree fail for,  fail for me and pass for python 
developers :). So no idea how to convince them to fix this issue.

Next is from my sources for python 2.7

Index: Lib/distutils/tests/test_build_ext.py
===
--- Lib/distutils/tests/test_build_ext.py   (revision 87946)
+++ Lib/distutils/tests/test_build_ext.py   (working copy)
@@ -91,6 +91,9 @@
 sys.stdout = StringIO()
 try:
 cmd.ensure_finalized()
+#Broken after issue 7712(r78136) : add a temp_cwd context manager 
to test_support ...
+#Without current working dir: ...cannot find -lpython27
+cmd.library_dirs.insert(0, test_support.SAVEDCWD)
 cmd.run()
 finally:
 sys.stdout = old_stdout
@@ -284,6 +287,12 @@
 # returns wrong result with --inplace
 other_tmp_dir = os.path.realpath(self.mkdtemp())
 old_wd = os.getcwd()
+print  sys.stderr, ...TRACE test_build_ext.py:test_get_outputs 
old_wd=%s %(old_wd)
+#Without current working dir: ...cannot find -lpython27
+#NOTE: After issue #7712(r78136) test cannot use old_wd !
+#cmd.library_dirs.insert(0, old_wd)
+cmd.library_dirs.insert(0, test_support.SAVEDCWD)
+#?#cmd.library_dirs.insert(0, old_wd)
 os.chdir(other_tmp_dir)
 try:
 cmd.inplace = 1
=

--

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



[issue9419] RUNSHARED needs LDFLAGS

2011-01-11 Thread Alexander Belopolsky

Alexander Belopolsky belopol...@users.sourceforge.net added the comment:

 build outside source tree fail for me and pass for python
 developers :). So no idea how to convince them to fix this issue.

I am collecting out of tree build failures in issue 9860.  One issue that is 
easily reproducible is triggered when there are object files in the tree from 
another build, but it looks like you see something else.

As for convincing developers to fix a bug, the best approach is to propose a 
patch! :-)

--
nosy: +belopolsky

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



[issue9419] RUNSHARED needs LDFLAGS

2011-01-11 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

Alexander, I already answer to you case.
About the patch it is part of issue3871 ;)

--

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



[issue9419] RUNSHARED needs LDFLAGS

2011-01-08 Thread Éric Araujo

Changes by Éric Araujo mer...@netwok.org:


--
nosy: +eric.araujo

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



[issue9419] RUNSHARED needs LDFLAGS

2011-01-05 Thread Barry A. Warsaw

Barry A. Warsaw ba...@python.org added the comment:

Peter, please explain exactly how you built Python to trigger this bug.  I.e. 
include the exact commands and directories you used.  I cannot reproduce this 
yet.

--

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



[issue9419] RUNSHARED needs LDFLAGS

2011-01-04 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

LDFLAGS make no sense for run time. The patch seems to me bogus.

--

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



[issue9419] RUNSHARED needs LDFLAGS

2010-07-29 Thread Peter Häring

New submission from Peter Häring p.haer...@gmx.net:

test_distutils fails with 2.7 on a shared build (at least if building outside 
the source tree), 2.6 versions work. The reason for this is, that the test 
tries to link and doesn't find libpython-2.7.so.1.

A solution (or workaround) is to add LDFLAGS=-L`pwd` to the variable RUNSHARED, 
as I did in the attached file for SUNOS and GNU/Linux etc. Other systems 
probably need some similar patch.

--
components: Build
files: Python-2.7-RUNSHARED.patch
keywords: patch
messages: 111970
nosy: phaering
priority: normal
severity: normal
status: open
title: RUNSHARED needs LDFLAGS
type: compile error
versions: Python 2.7
Added file: http://bugs.python.org/file18255/Python-2.7-RUNSHARED.patch

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



[issue9419] RUNSHARED needs LDFLAGS

2010-07-29 Thread Roumen Petrov

Changes by Roumen Petrov bugtr...@roumenpetrov.info:


--
nosy: +rpetrov

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