[issue23284] Improve termcap detection in setup.py

2019-09-29 Thread Michael Everitt


Change by Michael Everitt :


--
nosy: +veremitz

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



[issue38318] Issues linking with ncurses and tinfo (cannot resolve symbols)

2019-09-29 Thread Michael Everitt


New submission from Michael Everitt :

tinfo library detection as part of ncurses is inconsistent, and causes build 
failure when expected symbols aren't found at link-time.
This breaks compilation of the 'readline' module as the attached log shows.
It seems to work in some configurations and not others, different arches and 
libc's seem to be affected differently (suspect linker variations).
It would appear that uclibc-ng triggers this failure consistently, as I have 
verified on both x86_64 and armv7a Arches.

See https://bugs.gentoo.org/692128 for further details.

--
components: Build
files: file_692128.txt
messages: 353523
nosy: veremitz
priority: normal
severity: normal
status: open
title: Issues linking with ncurses and tinfo (cannot resolve symbols)
type: compile error
versions: Python 2.7, Python 3.6
Added file: https://bugs.python.org/file48631/file_692128.txt

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



[issue38318] Issues linking with ncurses and tinfo (cannot resolve symbols)

2019-09-29 Thread Michael Everitt


Michael Everitt  added the comment:

May have confused the '_readline' extension with the '_ncurses' extension .. 
apologies!

attaching build.log from x86_64.

--
Added file: https://bugs.python.org/file48632/build-x86_64-uclibc.log

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



[issue38318] Issues linking with ncurses and tinfo (cannot resolve symbols)

2019-10-02 Thread Michael Everitt


Michael Everitt  added the comment:

Attached patch seems to fix build failure for python2.7 with uclibc-ng.

--
keywords: +patch
Added file: 
https://bugs.python.org/file48639/fix-tinfo-probably-python-2_7.patch

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



[issue38318] Issues linking with ncurses and tinfo (cannot resolve symbols)

2019-10-02 Thread Michael Everitt


Michael Everitt  added the comment:

Attached patch seems to fix build with python3.6 withh uclibc-ng.

Tested on x86_64 and ARMv6zk.

--
Added file: 
https://bugs.python.org/file48640/fix-tinfo-probably-python-3_6.patch

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