This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: termios fix for QNX breaks HP-UX
Type: compile error Stage: resolved
Components: Build Versions: Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: djc, grobian, haubi, python-dev, skrah
Priority: normal Keywords: buildbot

Created on 2009-06-18 16:22 by haubi, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg89507 - (view) Author: Michael Haubenwallner (haubi) * Date: 2009-06-18 16:22
The patch for issue 1722225 in Include/pyport.h to include
<sys/termio.h> before <termios.h> for QNX does break for HP-UX:
On HP-UX, 'struct termios' gets declared within <sys/termio.h>, but when
included via <termios.h> _only_. Due to the include guard, it does not
declare 'struct termios' when included via <termios.h> the second time.

This is Python-2.6.2, but the code looks unchanged in trunk. As I'm not
sure how best to fix this, for 2.6.2 here I go with:
-#ifdef HAVE_SYS_TERMIO_H
+#if defined(HAVE_SYS_TERMIO_H) && defined(__QNX__)

Thanks!
msg97903 - (view) Author: Fabian Groffen (grobian) Date: 2010-01-16 19:57
still applies to 2.7
msg167139 - (view) Author: Dirkjan Ochtman (djc) * (Python committer) Date: 2012-08-01 15:33
Can we have someone take a look at this? It seems fairly innocuous.
msg175928 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-11-18 23:08
New changeset 9dd4638de73b by Stefan Krah in branch 'default':
Issue #6308: Try to fix the termios build failure on HP-UX.
http://hg.python.org/cpython/rev/9dd4638de73b
msg175935 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2012-11-19 00:04
Fixed in 2.7, 3.3 and 3.4.
History
Date User Action Args
2022-04-11 14:56:50adminsetgithub: 50557
2012-11-28 21:56:09skrahlinkissue9176 superseder
2012-11-22 20:19:42skrahlinkissue14525 superseder
2012-11-19 00:04:23skrahsetstatus: open -> closed


keywords: + buildbot
nosy: + skrah
messages: + msg175935
resolution: fixed
stage: resolved
2012-11-18 23:08:39python-devsetnosy: + python-dev
messages: + msg175928
2012-08-01 15:33:51djcsetnosy: + djc
messages: + msg167139
2010-01-16 19:57:43grobiansetnosy: + grobian

messages: + msg97903
versions: + Python 2.7
2009-06-18 16:22:22haubicreate