New submission from David:

Hi there.

On Debian 4, while running 'make' against a downloaded and extracted 
Python-3.6.0b1.tar.xz, I get this error:

====================
gcc -pthread -c -fno-strict-aliasing -Wsign-compare -DNDEBUG -g -fwrapv -O3 
-Wall -Wstrict-prototypes    -std=c99 -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers   -I. -IInclude -I./Include    -DPy_BUILD_CORE \
              -DHGVERSION="\"`LC_ALL=C `\"" \
              -DHGTAG="\"`LC_ALL=C `\"" \
              -DHGBRANCH="\"`LC_ALL=C `\"" \
              -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
gcc -pthread -c -fno-strict-aliasing -Wsign-compare -DNDEBUG -g -fwrapv -O3 
-Wall -Wstrict-prototypes    -std=c99 -Wextra -Wno-unused-parameter 
-Wno-missing-field-initializers   -I. -IInclude -I./Include    -DPy_BUILD_CORE 
-o Programs/_freeze_importlib.o Programs/_freeze_importlib.c
gcc -pthread   -o Programs/_freeze_importlib Programs/_freeze_importlib.o 
Modules/getbuildinfo.o Parser/acceler.o Parser/grammar1.o Parser/listnode.o 
Parser/node.o Parser/parser.o Parser/bitset.o Parser/metagrammar.o 
Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o 
Parser/parsetok.o Parser/tokenizer.o Objects/abstract.o Objects/accu.o 
Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o 
Objects/bytesobject.o Objects/cellobject.o Objects/classobject.o 
Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o 
Objects/enumobject.o Objects/exceptions.o Objects/genobject.o 
Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o 
Objects/funcobject.o Objects/iterobject.o Objects/listobject.o 
Objects/longobject.o Objects/dictobject.o Objects/odictobject.o 
Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o 
Objects/namespaceobject.o Objects/object.o Objects/obmalloc.o Objects/capsule.o 
Objects/rangeobject.o Objects/seto
 bject.o Objects/sliceobject.o Objects/structseq.o Objects/tupleobject.o 
Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o 
Objects/weakrefobject.o Python/_warnings.o Python/Python-ast.o Python/asdl.o 
Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o 
Python/codecs.o Python/dynamic_annotations.o Python/dtrace_stubs.o 
Python/errors.o Python/frozenmain.o Python/future.o Python/getargs.o 
Python/getcompiler.o Python/getcopyright.o Python/getplatform.o 
Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o 
Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o 
Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o 
Python/pyhash.o Python/pylifecycle.o Python/pymath.o Python/pystate.o 
Python/pythonrun.o Python/pytime.o Python/random.o Python/structmember.o 
Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o 
Python/pystrcmp.o Python/pystrtod.o Python/pystrhex.o Python/dtoa.o 
Python/formatter
 _unicode.o Python/fileutils.o Python/dynload_shlib.o   Python/thread.o  
Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o 
Modules/_threadmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  
Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  
Modules/_weakref.o  Modules/_functoolsmodule.o  Modules/_operator.o  
Modules/_collectionsmodule.o  Modules/itertoolsmodule.o  Modules/atexitmodule.o 
 Modules/signalmodule.o  Modules/_stat.o  Modules/timemodule.o  
Modules/_localemodule.o  Modules/_iomodule.o Modules/iobase.o Modules/fileio.o 
Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o  
Modules/zipimport.o  Modules/faulthandler.o  Modules/_tracemalloc.o 
Modules/hashtable.o  Modules/symtablemodule.o  Modules/xxsubtype.o -lpthread 
-ldl  -lutil -lrt   -lm  
Python/dtrace_stubs.o: In function `PyDTrace_LINE':
Include/pydtrace.h:28: multiple definition of `PyDTrace_LINE'
Python/ceval.o:Include/pydtrace.h:28: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_FUNCTION_ENTRY':
Include/pydtrace.h:29: multiple definition of `PyDTrace_FUNCTION_ENTRY'
Python/ceval.o:Include/pydtrace.h:29: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_FUNCTION_RETURN':
Include/pydtrace.h:30: multiple definition of `PyDTrace_FUNCTION_RETURN'
Python/ceval.o:Include/pydtrace.h:30: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_GC_START':
Include/pydtrace.h:31: multiple definition of `PyDTrace_GC_START'
Python/ceval.o:Include/pydtrace.h:31: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_GC_DONE':
Include/pydtrace.h:32: multiple definition of `PyDTrace_GC_DONE'
Python/ceval.o:Include/pydtrace.h:32: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_NEW_START':
Include/pydtrace.h:33: multiple definition of `PyDTrace_INSTANCE_NEW_START'
Python/ceval.o:Include/pydtrace.h:33: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_NEW_DONE':
Include/pydtrace.h:34: multiple definition of `PyDTrace_INSTANCE_NEW_DONE'
Python/ceval.o:Include/pydtrace.h:34: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_DELETE_START':
Include/pydtrace.h:35: multiple definition of `PyDTrace_INSTANCE_DELETE_START'
Python/ceval.o:Include/pydtrace.h:35: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_DELETE_DONE':
Include/pydtrace.h:36: multiple definition of `PyDTrace_INSTANCE_DELETE_DONE'
Python/ceval.o:Include/pydtrace.h:36: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_LINE_ENABLED':
Include/pydtrace.h:38: multiple definition of `PyDTrace_LINE_ENABLED'
Python/ceval.o:Include/pydtrace.h:38: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_FUNCTION_ENTRY_ENABLED':
Include/pydtrace.h:39: multiple definition of `PyDTrace_FUNCTION_ENTRY_ENABLED'
Python/ceval.o:Include/pydtrace.h:39: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_FUNCTION_RETURN_ENABLED':
Include/pydtrace.h:40: multiple definition of `PyDTrace_FUNCTION_RETURN_ENABLED'
Python/ceval.o:Include/pydtrace.h:40: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_GC_START_ENABLED':
Include/pydtrace.h:41: multiple definition of `PyDTrace_GC_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:41: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_GC_DONE_ENABLED':
Include/pydtrace.h:42: multiple definition of `PyDTrace_GC_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:42: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_NEW_START_ENABLED':
Include/pydtrace.h:43: multiple definition of 
`PyDTrace_INSTANCE_NEW_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:43: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_NEW_DONE_ENABLED':
Include/pydtrace.h:44: multiple definition of 
`PyDTrace_INSTANCE_NEW_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:44: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_DELETE_START_ENABLED':
Include/pydtrace.h:45: multiple definition of 
`PyDTrace_INSTANCE_DELETE_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:45: first defined here
Python/dtrace_stubs.o: In function `PyDTrace_INSTANCE_DELETE_DONE_ENABLED':
Include/pydtrace.h:46: multiple definition of 
`PyDTrace_INSTANCE_DELETE_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:46: first defined here
Modules/gcmodule.o: In function `PyDTrace_LINE':
Include/pydtrace.h:28: multiple definition of `PyDTrace_LINE'
Python/ceval.o:Include/pydtrace.h:28: first defined here
Modules/gcmodule.o: In function `PyDTrace_FUNCTION_ENTRY':
Include/pydtrace.h:29: multiple definition of `PyDTrace_FUNCTION_ENTRY'
Python/ceval.o:Include/pydtrace.h:29: first defined here
Modules/gcmodule.o: In function `PyDTrace_FUNCTION_RETURN':
Include/pydtrace.h:30: multiple definition of `PyDTrace_FUNCTION_RETURN'
Python/ceval.o:Include/pydtrace.h:30: first defined here
Modules/gcmodule.o: In function `PyDTrace_GC_START':
Include/pydtrace.h:31: multiple definition of `PyDTrace_GC_START'
Python/ceval.o:Include/pydtrace.h:31: first defined here
Modules/gcmodule.o: In function `PyDTrace_GC_DONE':
Include/pydtrace.h:32: multiple definition of `PyDTrace_GC_DONE'
Python/ceval.o:Include/pydtrace.h:32: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_NEW_START':
Include/pydtrace.h:33: multiple definition of `PyDTrace_INSTANCE_NEW_START'
Python/ceval.o:Include/pydtrace.h:33: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_NEW_DONE':
Include/pydtrace.h:34: multiple definition of `PyDTrace_INSTANCE_NEW_DONE'
Python/ceval.o:Include/pydtrace.h:34: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_DELETE_START':
Include/pydtrace.h:35: multiple definition of `PyDTrace_INSTANCE_DELETE_START'
Python/ceval.o:Include/pydtrace.h:35: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_DELETE_DONE':
Include/pydtrace.h:36: multiple definition of `PyDTrace_INSTANCE_DELETE_DONE'
Python/ceval.o:Include/pydtrace.h:36: first defined here
Modules/gcmodule.o: In function `PyDTrace_LINE_ENABLED':
Include/pydtrace.h:38: multiple definition of `PyDTrace_LINE_ENABLED'
Python/ceval.o:Include/pydtrace.h:38: first defined here
Modules/gcmodule.o: In function `PyDTrace_FUNCTION_ENTRY_ENABLED':
Include/pydtrace.h:39: multiple definition of `PyDTrace_FUNCTION_ENTRY_ENABLED'
Python/ceval.o:Include/pydtrace.h:39: first defined here
Modules/gcmodule.o: In function `PyDTrace_FUNCTION_RETURN_ENABLED':
Include/pydtrace.h:40: multiple definition of `PyDTrace_FUNCTION_RETURN_ENABLED'
Python/ceval.o:Include/pydtrace.h:40: first defined here
Modules/gcmodule.o: In function `PyDTrace_GC_START_ENABLED':
Include/pydtrace.h:41: multiple definition of `PyDTrace_GC_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:41: first defined here
Modules/gcmodule.o: In function `PyDTrace_GC_DONE_ENABLED':
Include/pydtrace.h:42: multiple definition of `PyDTrace_GC_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:42: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_NEW_START_ENABLED':
Include/pydtrace.h:43: multiple definition of 
`PyDTrace_INSTANCE_NEW_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:43: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_NEW_DONE_ENABLED':
Include/pydtrace.h:44: multiple definition of 
`PyDTrace_INSTANCE_NEW_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:44: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_DELETE_START_ENABLED':
Include/pydtrace.h:45: multiple definition of 
`PyDTrace_INSTANCE_DELETE_START_ENABLED'
Python/ceval.o:Include/pydtrace.h:45: first defined here
Modules/gcmodule.o: In function `PyDTrace_INSTANCE_DELETE_DONE_ENABLED':
Include/pydtrace.h:46: multiple definition of 
`PyDTrace_INSTANCE_DELETE_DONE_ENABLED'
Python/ceval.o:Include/pydtrace.h:46: first defined here
collect2: ld returned 1 exit status
make: *** [Programs/_freeze_importlib] Error 1
====================

Please check?

----------
components: Build
messages: 276674
nosy: wizzardx
priority: normal
severity: normal
status: open
title: Compilation failure on Debian 4
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28177>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to