[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2019-02-19 Thread Michael Felt


Michael Felt  added the comment:

As far as 'master' is concerned, this has been resolved, so I'll close it 
myself.

--
stage:  -> resolved
status: open -> closed
versions: +Python 3.8 -Python 3.4

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2018-05-13 Thread Michael Felt

Michael Felt  added the comment:

Wishing I could edit a post...

root@x066:[/data/prj/python]find ./python3-3.4.8 git/python3-3.4.8 -name 
ld_so_aix
./python3-3.4.8/Modules/ld_so_aix

--

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2018-05-13 Thread Michael Felt

Michael Felt  added the comment:

OOT builds are working for Python2.7, Python3-3.5, Python3-3.6 (and later I 
expect) but not for Python3-3.4(.8)

unable to execute '../git/python3-3.4.8/Modules/ld_so_aix': No such file or 
directory

while building OOT
root@x066:[/data/prj/python]ls -ld ./python3-3.4.8 git/python3-3.4.8
drwxr-sr-x   12 root 1954   4096 May 13 16:07 ./python3-3.4.8
drwxrwsr-x   16 199  1954   4096 May 13 15:37 git/python3-3.4.8

Sigh. So close!

--
versions: +Python 3.4

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2018-01-02 Thread Eric N. Vander Weele

Eric N. Vander Weele  added the comment:

I can also confirm that OOT builds work as well. 
https://github.com/python/cpython/commit/395733d46bbc23d2f559eba4e5f75783f9bca6f1#diff-6fd819bc2460d3a50e561d2da6c09c02
 addressed fixing this issue.

--

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2018-01-01 Thread Michael Felt

Michael Felt  added the comment:

There were changes made - I know not when - but OOT builds work now. This issue 
may be closed.

--

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2017-01-12 Thread Michael Felt

Michael Felt added the comment:

> Regarding reopening Issue 10656, whatever you think is more appropriate. 

Not "scary", just irritating. I'll open a new one when I have more time to 
document it.

> Issue 16189 and Issue 25825 were about updating to match recent changes to 
> directory names, and I thought we decided the changes were not applicable to 
> 2.7.

My bad. I was looking at the subject titles (cannot load ld_so_aix, cannot 
build external modules). I'll focus on the 'patch' you mention below. As it 
stands, I have no idea how to determine if they have any relevance to 
anything...

> Regarding LDSHARED vs BLDSHARED, isn’t this the same as Issue 28311, which 
> lead to Issue 18235? 

> If you can try the patch I mentioned at 
> , I suspect it may help.

Will do.
> Let me know if you need help adapting the patch for 2.7.

--
nosy: +aixto...@gmail.com

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2017-01-06 Thread Martin Panter

Martin Panter added the comment:

Regarding reopening Issue 10656, whatever you think is more appropriate. You 
just have to judge whether it is the same use case, the same code affected, etc.

Issue 16189 and Issue 25825 were about updating to match recent changes to 
directory names, and I thought we decided the changes were not applicable to 
2.7.

Regarding LDSHARED vs BLDSHARED, isn’t this the same as Issue 28311, which lead 
to Issue 18235? If you can try the patch I mentioned at 
, I suspect it may help. Let me 
know if you need help adapting the patch for 2.7.

--
nosy: +martin.panter

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2017-01-06 Thread Michael Felt

Michael Felt added the comment:

My - bad - this was largely a duplicate of three now closed issues: issue10656, 
issue16189, and issue25825

as far as the build process goes the issue is fixed. However, issue10656 is not 
yet "fully-finished" because "make distclean" does not complete successfully. 
Among other things it leaves Makefile and config.status behind.

Question: re: issue10656 - shall I open a new issue, or reply (reopen) the 
original?

issue16189 and issue25825 are largely duplicates, as far as I can tell. And 
unfortunately - "neither" is repaired.

There are three (environment) variables that are used: BLDSHARED (during build 
- seems fixed), LDSHARED and LDCXXSHARED.

Short summary:
BLDSHARED is fixed per issue10656
LDSHARED is changed (issue16189 and issue25825), but still broken
LDCXXSHARED - was, and is - correct in _sysconfigdata.py

Here is what I have in the 'installed' state:

PATCHED by hand!
root@x064:[/data/prj/python/python-2.7.13]grep LDS 
/opt/lib/python2.7/_sysconfigdata.py
 'BLDSHARED': './Modules/ld_so_aix xlc_r -bI:./Modules/python.exp -L/opt/lib',
 'LDSHARED': '/opt/lib/python2.7/config/ld_so_aix xlc_r 
-bI:/opt/lib/python2.7/config/python.exp',

What comes with 2.7.13 by default:
root@x064:[/data/prj/python/python-2.7.13]grep LDS 
/opt/lib/python2.7/_sysconfigdata.py
 'BLDSHARED': 'Modules/ld_so_aix xlc_r -bI:Modules/python.exp -L/opt/lib',
 'LDSHARED': 'Modules/ld_so_aix xlc_r -bI:Modules/python.exp -L/opt/lib',

This is where ld_so_aix is  'installed':
 /opt/lib/python2.7/config/ld_so_aix aixtools.python.rte   File

As python does now about where everything else in /opt/lib/pythonX.Y is,
I think this still needs a small change - Modules/* is wrong in any case.

FYI: In both cases this parameter is correct!
 'LDCXXSHARED': '/opt/lib/python2.7/config/ld_so_aix xlc_r 
-bI:/opt/lib/python2.7/config/python.exp',

Maybe this helps identify what needs fixing!

Moving forward:
a) close this issue - most of it is a duplicate - I will open a new issue for 
the issue (read my question) re: the cause/importance of all the 'Skipping' (an 
'issue' because I see it once, or not at all, and then it goes away)
b) comment on whether I should open a new issue, or comment to the closed 
issues.

--

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2016-11-28 Thread Eric N. Vander Weele

Changes by Eric N. Vander Weele :


--
nosy: +ericvw

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2016-08-01 Thread Michael Felt

Michael Felt added the comment:

Yes, clearly related (maybe even duplicate).

What surprised me is that after I copied ld_so_aix to where it was expected I 
still see a premature end with:

Traceback (most recent call last):
  File "/var/aixtools/python/Python/2.7.12.0/opt/lib/python2.7/compileall.py", 
line 16, in 
import struct
  File "/var/aixtools/python/Python/2.7.12.0/opt/lib/python2.7/struct.py", line 
1, in 
from _struct import *
ImportError: No module named _struct

Not investigated (compileall.py and struct.py - these are the DESTDIR versions 
(asin "make DESTDIR=/var/aixtools/python/Python/2.7.12.0 install"

So, this would be, I think, the "new aka non-duplicate" part. If not, my 
apologies for the noise.

--

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2016-07-31 Thread Ned Deily

Ned Deily added the comment:

Possible duplicate of Issue10656 (see also Issue16189)

--
nosy: +David.Edelsohn, ned.deily

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2016-07-31 Thread Ned Deily

Changes by Ned Deily :


--
nosy:  -ned.deily

___
Python tracker 

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



[issue27632] build on AIX fails when builddir != srcdir, more than bad path to ld_so_aix

2016-07-27 Thread Michael Felt

New submission from Michael Felt:

Note: - Only examined on Python 2.7, but expect the same issue (from Python 
3.4.X, 3.5.X and 3.6.X based on earlier attempts to use a separate builddir

SUMMARY:
* when builddir==srcdir build completes normally, (see DETAILS2:)
* when builddir!=srcdir ...
** "configure" completes, no error messages
** "make" completes: some warnings, and I am surprised that make does not stop 
when message
 "unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory"
 appears
 The ./python executable can be executed (no other tests done yet)
 root@x064:[/data/prj/aixtools/python/Python-2.7.12]./python
 Python 2.7.12 (default, Jul 27 2016, 07:26:36) [C] on aix5
 Type "help", "copyright", "credits" or "license" for more information.
 >>> 
* make install DESTDIR=/some/where/for/packaging - FAILS
* in DETAILS3: I show that 'helping' by setting a symbolic link (messages 
continue), then a hard-link (ld_so_aix messages go away) also fails
 
COMMENTS:
* the Bitfield messages are 'known' and occur in all versions of Python (2.7.X, 
3.3.X, 3.4.X, 3.5.X and 3.6.X - 3.2.X, (3.1.X and 3.0.X never tried))
* I hae no idea what all the "Skipping" is about, leaving in details as FYI

DETAILS (verbatum): 

root@x064:[/data/prj/aixtools/python/Python-2.7.12]buildaix 
--without-computed-gotos
VRMF 2.7.12.0
xlc is /usr/vacpp/bin/xlc
+ [[ 0 -eq 0 ]]
+ CC=xlc_r
+ export CC
+ CC=xlc_r CPPFLAGS="-I/opt/include -I/opt/buildaix/include" 
CFLAGS="-I/opt/include -O2 -qmaxmem=-1 -I/opt/buildaix/includes"\
../src/Python-2.7.12/configure\
--prefix=/opt \
--sysconfdir=/var/Python/etc\
--sharedstatedir=/var/Python/com\
--localstatedir=/var/Python\
--mandir=/usr/share/man\
--infodir=/opt/share/info/Python --without-computed-gotos\
> .buildaix/configure.out
+ make > .buildaix/make.out
"../src/Python-2.7.12/Objects/typeobject.c", line 6243.26: 1506-068 (W) 
Operation between types "void*" and "struct _object*(*)(struct _object*)" is 
not allowed.
"../src/Python-2.7.12/Objects/typeobject.c", line 6290.22: 1506-068 (W) 
Operation between types "void*" and "long(*)(struct _object*)" is not allowed.
"../src/Python-2.7.12/Objects/typeobject.c", line 6490.18: 1506-068 (W) 
Operation between types "void*" and "long(*)(struct _object*)" is not allowed.
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
"/data/prj/aixtools/python/src/Python-2.7.12/Modules/_ctypes/_ctypes_test.c", 
line 382.5: 1506-159 (E) Bit field type specified for M is not valid. Type 
unsigned assumed.
"/data/prj/aixtools/python/src/Python-2.7.12/Modules/_ctypes/_ctypes_test.c", 
line 382.5: 1506-159 (E) Bit field type specified for N is not valid. Type 
unsigned assumed.
"/data/prj/aixtools/python/src/Python-2.7.12/Modules/_ctypes/_ctypes_test.c", 
line 382.5: 1506-159 (E) Bit field type specified for O is not valid. Type 
unsigned assumed.
"/data/prj/aixtools/python/src/Python-2.7.12/Modules/_ctypes/_ctypes_test.c", 
line 382.5: 1506-159 (E) Bit field type specified for P is not valid. Type 
unsigned assumed.
"/data/prj/aixtools/python/src/Python-2.7.12/Modules/_ctypes/_ctypes_test.c", 
line 382.5: 1506-159 (E) Bit field type specified for Q is not valid. Type 
unsigned assumed.
"/data/prj/aixtools/python/src/Python-2.7.12/Modules/_ctypes/_ctypes_test.c", 
line 382.5: 1506-159 (E) Bit field type specified for R is not valid. Type 
unsigned assumed.
"/data/prj/aixtools/python/src/Python-2.7.12/Modules/_ctypes/_ctypes_test.c", 
line 382.5: 1506-159 (E) Bit field type specified for S is not valid. Type 
unsigned assumed.
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute '../src/Python-2.7.12/Modules/ld_so_aix': No such file or 
directory
unable to execute