[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2021-01-29 Thread STINNER Victor


STINNER Victor  added the comment:

> It seems like Python no long builds on PPC64 AIX 3.x buildbot:
> https://buildbot.python.org/all/#/builders/438/builds/753

Sorry, it was unrelated to this issue. I fixed it with:

New changeset 0837f99d3367ecf200033bbddfa05d061ae9f483 by Victor Stinner in 
branch 'master':
bpo-42323: Fix math.nextafter() on AIX (GH-24381)

> This is bpo-42979: "_zoneinfo: zoneinfomodule_exec() doesn't check for 
> PyDateTime_IMPORT failure".

_zoneinfo has also been fixed.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2021-01-20 Thread mattip


mattip  added the comment:

I think this issue can only cause failed tests. 
`sysconfig.get_config_var('EXT_SUFFIX')` is, as far as I can tell, not used 
internally by any cpython build or import code.

--

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2021-01-20 Thread STINNER Victor


STINNER Victor  added the comment:

> Assertion failed: (item != NULL) ^ (PyErr_Occurred() != NULL), file  
> Objects/abstract.c, line 163

This is bpo-42979: "_zoneinfo: zoneinfomodule_exec() doesn't check for 
PyDateTime_IMPORT failure".

It's a side effect of the broken _datetime module.

--

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2021-01-20 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

> Can it be related to the commit a44ce6c9f725d336aea51a946b42769f29fed613 of 
> this issue?

Quite likely. @mattip, can you investigate?

--

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2021-01-20 Thread STINNER Victor


STINNER Victor  added the comment:

I reopen the issue.

It seems like Python no long builds on PPC64 AIX 3.x buildbot:
https://buildbot.python.org/all/#/builders/438/builds/753

"setup.py build" crash with an assertion error:

Assertion failed: (item != NULL) ^ (PyErr_Occurred() != NULL), file  
Objects/abstract.c, line 163

The linker also displays tons of warnings. Examples:

ld: 0711-327 WARNING: Entry point not found: PyInit__uuid.cpython-310d
ld: 0711-327 WARNING: Entry point not found: 
PyInit__multiprocessing.cpython-310d
ld: 0711-327 WARNING: Entry point not found: PyInit__tkinter.cpython-310d

Can it be related to the commit a44ce6c9f725d336aea51a946b42769f29fed613 of 
this issue?

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:

Thanks for the PR, mattip!

--
resolution:  -> fixed
stage: patch review -> 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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset 4b155967b3e743cbdc31600f13f1bfcf07f7b6ce by Miss Islington (bot) 
in branch '3.9':
bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using configure 
(GH-23708) (GH-23866)
https://github.com/python/cpython/commit/4b155967b3e743cbdc31600f13f1bfcf07f7b6ce


--

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread miss-islington


miss-islington  added the comment:


New changeset b01091a3e71e6636d2df4db45920e820cdf7df3b by Miss Islington (bot) 
in branch '3.8':
bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using configure 
(GH-23708)
https://github.com/python/cpython/commit/b01091a3e71e6636d2df4db45920e820cdf7df3b


--

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +22728
pull_request: https://github.com/python/cpython/pull/23866

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread miss-islington


Change by miss-islington :


--
pull_requests: +22729
pull_request: https://github.com/python/cpython/pull/23867

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread Pablo Galindo Salgado


Pablo Galindo Salgado  added the comment:


New changeset a44ce6c9f725d336aea51a946b42769f29fed613 by Matti Picus in branch 
'master':
bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using configure 
(GH-23708)
https://github.com/python/cpython/commit/a44ce6c9f725d336aea51a946b42769f29fed613


--
nosy: +pablogsal

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-19 Thread mattip


mattip  added the comment:

The linked PR 23708 is meant to fix the failures. Any chance you can take a 
look?

--

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-18 Thread STINNER Victor


STINNER Victor  added the comment:

test_sysconfig still fails:

* POWER6 AIX 3.x: https://buildbot.python.org/all/#/builders/302/builds/563
* PPC64 AIX 3.x: https://buildbot.python.org/all/#/builders/438/builds/593
* AMD64 FreeBSD Shared 3.x: 
https://buildbot.python.org/all/#/builders/483/builds/572

--

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-18 Thread mattip


mattip  added the comment:

vstinner: ping. Are merge builds still failing or can I close this?

--

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-08 Thread mattip


Change by mattip :


--
keywords: +patch
pull_requests: +22572
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/23708

___
Python tracker 

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



[issue42604] EXT_SUFFIX too short on FreeBSD and AIX

2020-12-08 Thread mattip


New submission from mattip :

Continuation of bpo 39825, this time for FreeBSD and AIX. As commented there, 
the test added in the fix to 39825 fails on FreeBSD and AIX:

FAIL: test_EXT_SUFFIX_in_vars (test.test_sysconfig.TestSysConfig)
--
Traceback (most recent call last):
  File 
"/usr/home/buildbot/python/3.x.koobs-freebsd-564d/build/Lib/test/test_sysconfig.py",
 line 368, in test_EXT_SUFFIX_in_vars
self.assertEqual(vars['EXT_SUFFIX'], _imp.extension_suffixes()[0])
AssertionError: '.so' != '.cpython-310d.so'
- .so
+ .cpython-310d.so

So somehow EXT_SUFFIX is being set to .so rather than .cpython-310d.so.

It seems the difference in EXT_SUFFIX comes from this stanza in configure:

case $ac_sys_system in
Linux*|GNU*|Darwin|VxWorks)
EXT_SUFFIX=.${SOABI}${SHLIB_SUFFIX};;
*)
EXT_SUFFIX=${SHLIB_SUFFIX};;
esac

where $ac_sys_system is `uname -s`. On FREEBSD, this is "FreeBSD", and I think 
on AIX it is "AIX". My preference would be to always set EXT_SUFFIX to 
${SOABI}${SHLIB_SUFFIX}, with no option for setting it to a different value. 
Does that seem right?

--
components: Build
messages: 382767
nosy: mattip, vstinner
priority: normal
severity: normal
status: open
title: EXT_SUFFIX too short on FreeBSD and AIX
versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

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