Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./Modules/_io/_iomodule.c build failure on AIX (beta1) while (a2) was fine. #72464

Closed
aixtools opened this issue Sep 26, 2016 · 4 comments
Closed
Labels
3.7 (EOL) end of life build The build process and cross-build

Comments

@aixtools
Copy link
Contributor

BPO 28277
Nosy @tiran, @aixtools

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2016-09-30.16:15:41.724>
created_at = <Date 2016-09-26.12:03:10.316>
labels = ['build', '3.7']
title = './Modules/_io/_iomodule.c build failure on AIX (beta1) while (a2) was fine.'
updated_at = <Date 2016-09-30.16:15:41.723>
user = 'https://github.com/aixtools'

bugs.python.org fields:

activity = <Date 2016-09-30.16:15:41.723>
actor = 'berker.peksag'
assignee = 'none'
closed = True
closed_date = <Date 2016-09-30.16:15:41.724>
closer = 'berker.peksag'
components = ['Build']
creation = <Date 2016-09-26.12:03:10.316>
creator = 'Michael.Felt'
dependencies = []
files = []
hgrepos = []
issue_num = 28277
keywords = []
message_count = 4.0
messages = ['277412', '277414', '277416', '277697']
nosy_count = 3.0
nosy_names = ['christian.heimes', 'python-dev', 'Michael.Felt']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue28277'
versions = ['Python 3.6', 'Python 3.7']

@aixtools
Copy link
Contributor Author

Python-3.6.0.a2 (a2 == 162)

root@x064:[/data/prj/python/python-3.6.0.162]xlc -DNDEBUG -O -I/opt/include -qmaxmem=-1 -qarch=pwr4 -O3 -I/opt/buildaix/includes -O -I. -IInclude -I./Include -I/opt/include -I/opt/buildaix/inclu
de -DPy_BUILD_CORE -I./Modules/_io -c ./Modules/_io/_iomodule.c -o Modules/_iomodule.o
root@x064:[/data/prj/python/python-3.6.0.162]
** Notice no messges - while:

root@x064:[/data/prj/python/python-3.6.0.177]xlc -DNDEBUG -O -I/opt/include -qmaxmem=-1 -qarch=pwr4 -O3 -I/opt/buildaix/includes -O -I. -IInclude -I./Include -I/opt/include ->
"./Modules/_io/_iomodule.h", line 156.2: 1506-766 (S) The universal character name "
" is not in the allowable range for an identifier.
"./Modules/_io/_iomodule.c", line 804.2: 1506-198 (S) #if, #else, #elif, #ifdef, #ifndef block must be ended with #endif.
root@x064:[/data/prj/python/python-3.6.0.177]

Looks to be a simple typo on line 156 - #endif^L is not seen as #endif by XLC.

+154 #ifdef MS_WINDOWS
+155 extern char _PyIO_get_console_type(PyObject *);
+156 #endif^L

Once I remove the "formfeed" character, as is well again.

@aixtools aixtools added build The build process and cross-build labels Sep 26, 2016
@python-dev
Copy link
Mannequin

python-dev mannequin commented Sep 26, 2016

New changeset 26c73ee77fbb by Christian Heimes in branch '3.6':
Issue bpo-28277: remove linefeed character from iomodule.h. Patch by Michael Felt
https://hg.python.org/cpython/rev/26c73ee77fbb

New changeset b77bd401f08a by Christian Heimes in branch 'default':
Issue bpo-28277: remove linefeed character from iomodule.h. Patch by Michael Felt
https://hg.python.org/cpython/rev/b77bd401f08a

@tiran tiran added the 3.7 (EOL) end of life label Sep 26, 2016
@tiran
Copy link
Member

tiran commented Sep 26, 2016

Michael, does the fix work for you?

@aixtools
Copy link
Contributor Author

yes. It is what I did manually. Thanks!

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.7 (EOL) end of life build The build process and cross-build
Projects
None yet
Development

No branches or pull requests

3 participants