[issue34114] Build failing: use of undeclared identifier '_Py_END_SUPPRESS_IPH' & '_Py_BEGIN_SUPPRESS_IPH'

2018-07-14 Thread INADA Naoki


INADA Naoki  added the comment:

Sometime, you need to run `make distclean` or `git clean -fdx` to remove wrong 
caches.

--
nosy: +inada.naoki
resolution:  -> not a bug
stage:  -> 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



[issue34114] Build failing: use of undeclared identifier '_Py_END_SUPPRESS_IPH' & '_Py_BEGIN_SUPPRESS_IPH'

2018-07-14 Thread Sanyam Khurana


Sanyam Khurana  added the comment:

This is strange.

I cloned the repo again at some other location, and I can build it successfully.

In my older clone, however, it shows me this error, despite running a `make 
clean`.

Any idea on what is the problem here?

--
nosy: +vstinner
priority: high -> 
stage: needs patch -> 
type: compile error -> 
versions:  -Python 3.8

___
Python tracker 

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



[issue34114] Build failing: use of undeclared identifier '_Py_END_SUPPRESS_IPH' & '_Py_BEGIN_SUPPRESS_IPH'

2018-07-14 Thread Sanyam Khurana


New submission from Sanyam Khurana :

The step for configuration works correctly and gives a makefile.

On running `./make` the following traceback is produced:

```
$ make  
   
---
Modules/Setup.dist is newer than Modules/Setup;
check to make sure you have all the updates you
need in your Modules/Setup file.
Usually, copying Modules/Setup.dist to Modules/Setup will work.
---
gcc -Wno-unused-result -Wsign-compare -g -O0 -Wall-std=c99 -Wextra 
-Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers 
-Wstrict-prototypes -Werror=implicit-function-declaration   -I. -I./Include 
-c ./Modules/posixmodule.c -o Modules/posixmodule.o
./Modules/posixmodule.c:1548:9: error: use of undeclared identifier 
'_Py_BEGIN_SUPPRESS_IPH'
_Py_BEGIN_SUPPRESS_IPH
^
./Modules/posixmodule.c:1550:9: error: use of undeclared identifier 
'_Py_END_SUPPRESS_IPH'
_Py_END_SUPPRESS_IPH
^
./Modules/posixmodule.c:4356:5: error: use of undeclared identifier 
'_Py_BEGIN_SUPPRESS_IPH'
_Py_BEGIN_SUPPRESS_IPH
^
./Modules/posixmodule.c:4364:5: error: expected expression
else
^
./Modules/posixmodule.c:4368:5: error: use of undeclared identifier 
'_Py_END_SUPPRESS_IPH'
_Py_END_SUPPRESS_IPH
^
./Modules/posixmodule.c:5075:5: error: use of undeclared identifier 
'_Py_BEGIN_SUPPRESS_IPH'
_Py_BEGIN_SUPPRESS_IPH
^
./Modules/posixmodule.c:5081:5: error: use of undeclared identifier 
'_Py_END_SUPPRESS_IPH'
_Py_END_SUPPRESS_IPH
^
./Modules/posixmodule.c:5146:5: error: use of undeclared identifier 
'_Py_BEGIN_SUPPRESS_IPH'
_Py_BEGIN_SUPPRESS_IPH
^
./Modules/posixmodule.c:5157:5: error: use of undeclared identifier 
'_Py_END_SUPPRESS_IPH'
_Py_END_SUPPRESS_IPH
^
./Modules/posixmodule.c:5376:5: error: use of undeclared identifier 
'_Py_BEGIN_SUPPRESS_IPH'
_Py_BEGIN_SUPPRESS_IPH
^
./Modules/posixmodule.c:5379:5: error: use of undeclared identifier 
'_Py_END_SUPPRESS_IPH'
_Py_END_SUPPRESS_IPH
^
./Modules/posixmodule.c:7996:5: error: use of undeclared identifier 
'_Py_BEGIN_SUPPRESS_IPH'
_Py_BEGIN_SUPPRESS_IPH
^
./Modules/posixmodule.c:8011:5: error: use of undeclared identifier 
'_Py_END_SUPPRESS_IPH'
_Py_END_SUPPRESS_IPH
^
./Modules/posixmodule.c:8048:5: error: use of undeclared identifier 
'_Py_BEGIN_SUPPRESS_IPH'
_Py_BEGIN_SUPPRESS_IPH
^
./Modules/posixmodule.c:8050:5: error: use of undeclared identifier 
'_Py_END_SUPPRESS_IPH'
_Py_END_SUPPRESS_IPH
^
./Modules/posixmodule.c:8074:5: error: use of undeclared identifier 
'_Py_BEGIN_SUPPRESS_IPH'
_Py_BEGIN_SUPPRESS_IPH
^
./Modules/posixmodule.c:8077:5: error: use of undeclared identifier 
'_Py_END_SUPPRESS_IPH'
_Py_END_SUPPRESS_IPH
^
./Modules/posixmodule.c:8265:5: error: use of undeclared identifier 
'_Py_BEGIN_SUPPRESS_IPH'
_Py_BEGIN_SUPPRESS_IPH
^
./Modules/posixmodule.c:8271:5: error: use of undeclared identifier 
'_Py_END_SUPPRESS_IPH'
_Py_END_SUPPRESS_IPH
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [Modules/posixmodule.o] Error 1
```

--
components: Interpreter Core
messages: 321662
nosy: CuriousLearner
priority: high
severity: normal
stage: needs patch
status: open
title: Build failing: use of undeclared identifier '_Py_END_SUPPRESS_IPH' & 
'_Py_BEGIN_SUPPRESS_IPH'
type: compile error
versions: Python 3.8

___
Python tracker 

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