-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I got this when I was trying to install scrapy-bench on Python 3.7. Can you guys confirm this for me? Thank you!
Failed building wheel for vmprof
Running setup.py clean for vmprof
Successfully built statistics
Failed to build vmprof
Installing collected packages: Click, docutils, statistics, certifi, chardet, urllib3, requests, pytz, colorama, vmprof, Scrapy-Benchmark
Running setup.py install for vmprof ... error
Complete output from command /Users/nctl144/.virtualenvs/scurl/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/s8/l1tmdszx12767sf1ygdfv16h0000gn/T/pip-install-sy_xjgaa/vmprof/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/s8/l1tmdszx12767sf1ygdfv16h0000gn/T/pip-record-xh5mxbgb/install-record.txt --single-version-externally-managed --compile --install-headers /Users/nctl144/.virtualenvs/scurl/bin/../include/site/python3.7/vmprof:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.7
creating build/lib.macosx-10.9-x86_64-3.7/vmshare
copying vmshare/binary.py -> build/lib.macosx-10.9-x86_64-3.7/vmshare
copying vmshare/service.py -> build/lib.macosx-10.9-x86_64-3.7/vmshare
copying vmshare/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/vmshare
creating build/lib.macosx-10.9-x86_64-3.7/vmprof
copying vmprof/show.py -> build/lib.macosx-10.9-x86_64-3.7/vmprof
copying vmprof/upload.py -> build/lib.macosx-10.9-x86_64-3.7/vmprof
copying vmprof/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/vmprof
copying vmprof/reader.py -> build/lib.macosx-10.9-x86_64-3.7/vmprof
copying vmprof/cli.py -> build/lib.macosx-10.9-x86_64-3.7/vmprof
copying vmprof/stats.py -> build/lib.macosx-10.9-x86_64-3.7/vmprof
copying vmprof/profiler.py -> build/lib.macosx-10.9-x86_64-3.7/vmprof
copying vmprof/__main__.py -> build/lib.macosx-10.9-x86_64-3.7/vmprof
creating build/lib.macosx-10.9-x86_64-3.7/jitlog
copying jitlog/query.py -> build/lib.macosx-10.9-x86_64-3.7/jitlog
copying jitlog/upload.py -> build/lib.macosx-10.9-x86_64-3.7/jitlog
copying jitlog/constants.py -> build/lib.macosx-10.9-x86_64-3.7/jitlog
copying jitlog/__init__.py -> build/lib.macosx-10.9-x86_64-3.7/jitlog
copying jitlog/merge_point.py -> build/lib.macosx-10.9-x86_64-3.7/jitlog
copying jitlog/parser.py -> build/lib.macosx-10.9-x86_64-3.7/jitlog
copying jitlog/marks.py -> build/lib.macosx-10.9-x86_64-3.7/jitlog
copying jitlog/objects.py -> build/lib.macosx-10.9-x86_64-3.7/jitlog
copying jitlog/prettyprinter.py -> build/lib.macosx-10.9-x86_64-3.7/jitlog
copying jitlog/__main__.py -> build/lib.macosx-10.9-x86_64-3.7/jitlog
running build_ext
building '_vmprof' extension
creating build/temp.macosx-10.9-x86_64-3.7
creating build/temp.macosx-10.9-x86_64-3.7/src
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/_vmprof.c -o build/temp.macosx-10.9-x86_64-3.7/src/_vmprof.o -Wno-unused -DVMPROF_APPLE=1 -DVMPROF_UNIX=1 -g -O2 -I src/ -I src/libbacktrace
src/_vmprof.c:68:13: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
co_name = PyUnicode_AsUTF8(co->co_name);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_vmprof.c:71:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
co_filename = PyUnicode_AsUTF8(co->co_filename);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/machine.c -o build/temp.macosx-10.9-x86_64-3.7/src/machine.o -Wno-unused -DVMPROF_APPLE=1 -DVMPROF_UNIX=1 -g -O2 -I src/ -I src/libbacktrace
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/compat.c -o build/temp.macosx-10.9-x86_64-3.7/src/compat.o -Wno-unused -DVMPROF_APPLE=1 -DVMPROF_UNIX=1 -g -O2 -I src/ -I src/libbacktrace
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/vmp_stack.c -o build/temp.macosx-10.9-x86_64-3.7/src/vmp_stack.o -Wno-unused -DVMPROF_APPLE=1 -DVMPROF_UNIX=1 -g -O2 -I src/ -I src/libbacktrace
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/vmprof_common.c -o build/temp.macosx-10.9-x86_64-3.7/src/vmprof_common.o -Wno-unused -DVMPROF_APPLE=1 -DVMPROF_UNIX=1 -g -O2 -I src/ -I src/libbacktrace
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/vmprof_memory.c -o build/temp.macosx-10.9-x86_64-3.7/src/vmprof_memory.o -Wno-unused -DVMPROF_APPLE=1 -DVMPROF_UNIX=1 -g -O2 -I src/ -I src/libbacktrace
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/symboltable.c -o build/temp.macosx-10.9-x86_64-3.7/src/symboltable.o -Wno-unused -DVMPROF_APPLE=1 -DVMPROF_UNIX=1 -g -O2 -I src/ -I src/libbacktrace
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/vmprof_unix.c -o build/temp.macosx-10.9-x86_64-3.7/src/vmprof_unix.o -Wno-unused -DVMPROF_APPLE=1 -DVMPROF_UNIX=1 -g -O2 -I src/ -I src/libbacktrace
src/vmprof_unix.c:137:34: warning: comparison of integers of different signs: 'unsigned long' and 'long' [-Wsign-compare]
if (state->thread_id == mythread_id) {
~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~
1 warning generated.
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c src/vmprof_mt.c -o build/temp.macosx-10.9-x86_64-3.7/src/vmprof_mt.o -Wno-unused -DVMPROF_APPLE=1 -DVMPROF_UNIX=1 -g -O2 -I src/ -I src/libbacktrace
gcc -bundle -undefined dynamic_lookup -arch x86_64 -g build/temp.macosx-10.9-x86_64-3.7/src/_vmprof.o build/temp.macosx-10.9-x86_64-3.7/src/machine.o build/temp.macosx-10.9-x86_64-3.7/src/compat.o build/temp.macosx-10.9-x86_64-3.7/src/vmp_stack.o build/temp.macosx-10.9-x86_64-3.7/src/vmprof_common.o build/temp.macosx-10.9-x86_64-3.7/src/vmprof_memory.o build/temp.macosx-10.9-x86_64-3.7/src/symboltable.o build/temp.macosx-10.9-x86_64-3.7/src/vmprof_unix.o build/temp.macosx-10.9-x86_64-3.7/src/vmprof_mt.o -o build/lib.macosx-10.9-x86_64-3.7/_vmprof.cpython-37m-darwin.so
duplicate symbol __PyThreadState_Current in:
build/temp.macosx-10.9-x86_64-3.7/src/_vmprof.o
build/temp.macosx-10.9-x86_64-3.7/src/vmprof_common.o
duplicate symbol __PyThreadState_Current in:
build/temp.macosx-10.9-x86_64-3.7/src/_vmprof.o
build/temp.macosx-10.9-x86_64-3.7/src/vmprof_unix.o
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/Users/nctl144/.virtualenvs/scurl/bin/python3 -u -c "import setuptools, tokenize;__file__='/private/var/folders/s8/l1tmdszx12767sf1ygdfv16h0000gn/T/pip-install-sy_xjgaa/vmprof/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/s8/l1tmdszx12767sf1ygdfv16h0000gn/T/pip-record-xh5mxbgb/install-record.txt --single-version-externally-managed --compile --install-headers /Users/nctl144/.virtualenvs/scurl/bin/../include/site/python3.7/vmprof" failed with error code 1 in /private/var/folders/s8/l1tmdszx12767sf1ygdfv16h0000gn/T/pip-install-sy_xjgaa/vmprof/
Metadata
Metadata
Assignees
Labels
No labels