Bug#831097: eclipse-pydev: FTBFS with GCC 6: plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:237:25: error: expected initializer before 'pydevdTracingMod'
Lucas Nussbaum
lucas at debian.org
Thu Jul 14 06:53:46 UTC 2016
Source: eclipse-pydev
Version: 3.9.2-4
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160713 qa-ftbfs
Justification: FTBFS with GCC 6 on amd64
Hi,
During a rebuild of all packages in sid using the gcc-defaults package
available in experimental to make GCC default to version 6, your package failed
to build on amd64. For more information about GCC 6 and Stretch, see:
- https://wiki.debian.org/GCC6
- https://lists.debian.org/debian-devel-announce/2016/06/msg00007.html
Relevant part (hopefully):
> g++ -shared $CPPFLAGS $CXXFLAGS $LDFLAGS -fPIC -nostartfiles -o attach_linux.so \
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c: In function 'int _PYDEVD_ExecWithGILSetSysStrace(bool, bool)':
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:237:25: error: expected initializer before 'pydevdTracingMod'
> auto PyObjectHolder pydevdTracingMod = PyObjectHolder(isDebug, pyImportModFunc("pydevd_tracing"));
> ^~~~~~~~~~~~~~~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:238:16: error: 'pydevdTracingMod' was not declared in this scope
> CHECK_NULL(pydevdTracingMod.ToPython(), "pydevd_tracing module null.\n", 9);
> ^
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:124:45: note: in definition of macro 'CHECK_NULL'
> # define CHECK_NULL(ptr, msg, returnVal) if(ptr == NULL){if(showDebugInfo){printf(msg);} return returnVal;}
> ^~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:240:23: error: 'pydevdTracingMod' was not declared in this scope
> if(!pyHasAttrFunc(pydevdTracingMod.ToPython(), "_original_settrace")){
> ^~~~~~~~~~~~~~~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:252:25: error: expected initializer before 'settrace'
> auto PyObjectHolder settrace = PyObjectHolder(isDebug, pyGetAttr(pydevdTracingMod.ToPython(), "_original_settrace"));
> ^~~~~~~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:253:16: error: 'settrace' was not declared in this scope
> CHECK_NULL(settrace.ToPython(), "pydevd_tracing._original_settrace null!\n", 10);
> ^
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:124:45: note: in definition of macro 'CHECK_NULL'
> # define CHECK_NULL(ptr, msg, returnVal) if(ptr == NULL){if(showDebugInfo){printf(msg);} return returnVal;}
> ^~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:255:25: error: expected initializer before 'pydevdMod'
> auto PyObjectHolder pydevdMod = PyObjectHolder(isDebug, pyImportModFunc("pydevd"));
> ^~~~~~~~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:256:16: error: 'pydevdMod' was not declared in this scope
> CHECK_NULL(pydevdMod.ToPython(), "pydevd module null.\n", 10);
> ^
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:124:45: note: in definition of macro 'CHECK_NULL'
> # define CHECK_NULL(ptr, msg, returnVal) if(ptr == NULL){if(showDebugInfo){printf(msg);} return returnVal;}
> ^~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:258:25: error: expected initializer before 'getGlobalDebugger'
> auto PyObjectHolder getGlobalDebugger = PyObjectHolder(isDebug, pyGetAttr(pydevdMod.ToPython(), "GetGlobalDebugger"));
> ^~~~~~~~~~~~~~~~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:259:16: error: 'getGlobalDebugger' was not declared in this scope
> CHECK_NULL(getGlobalDebugger.ToPython(), "pydevd.GetGlobalDebugger null.\n", 11);
> ^
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:124:45: note: in definition of macro 'CHECK_NULL'
> # define CHECK_NULL(ptr, msg, returnVal) if(ptr == NULL){if(showDebugInfo){printf(msg);} return returnVal;}
> ^~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:265:25: error: expected initializer before 'globalDbg'
> auto PyObjectHolder globalDbg = PyObjectHolder(isDebug, call(getGlobalDebugger.ToPython(), NULL));
> ^~~~~~~~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:266:16: error: 'globalDbg' was not declared in this scope
> CHECK_NULL(globalDbg.ToPython(), "pydevd.GetGlobalDebugger() returned null.\n", 12);
> ^
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:124:45: note: in definition of macro 'CHECK_NULL'
> # define CHECK_NULL(ptr, msg, returnVal) if(ptr == NULL){if(showDebugInfo){printf(msg);} return returnVal;}
> ^~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:268:23: error: 'globalDbg' was not declared in this scope
> if(!pyHasAttrFunc(globalDbg.ToPython(), "trace_dispatch")){
> ^~~~~~~~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:275:25: error: expected initializer before 'traceFunc'
> auto PyObjectHolder traceFunc = PyObjectHolder(isDebug, pyGetAttr(globalDbg.ToPython(), "trace_dispatch"));
> ^~~~~~~~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:276:16: error: 'traceFunc' was not declared in this scope
> CHECK_NULL(traceFunc.ToPython(), "pydevd.GetGlobalDebugger().trace_dispatch returned null!\n", 14);
> ^
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:124:45: note: in definition of macro 'CHECK_NULL'
> # define CHECK_NULL(ptr, msg, returnVal) if(ptr == NULL){if(showDebugInfo){printf(msg);} return returnVal;}
> ^~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:278:17: error: 'settrace' was not declared in this scope
> DecRef(call(settrace.ToPython(), traceFunc.ToPython(), NULL), isDebug);
> ^~~~~~~~
> plugins/org.python.pydev/pysrc/pydevd_attach_to_process/linux/attach_linux.c:278:38: error: 'traceFunc' was not declared in this scope
> DecRef(call(settrace.ToPython(), traceFunc.ToPython(), NULL), isDebug);
> ^~~~~~~~~
> make[1]: *** [override_dh_auto_build-arch] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/07/13/eclipse-pydev_3.9.2-4_unstable_gcc6.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-java-maintainers
mailing list