Closed
Description
The currently released version cannot be install from pypi when using python 3.10. However installation from master branch is possible. Please upload a new release. Below is the log I see when installing frmom pypi
(venv) om26er@HomePC:~/scm/crossbario/crossbar$ pip install vmprof
Collecting vmprof
Using cached vmprof-0.4.15.tar.gz (289 kB)
Requirement already satisfied: requests in /home/om26er/scm/foobar/markhor/venv/lib/python3.10/site-packages (from vmprof) (2.25.1)
Requirement already satisfied: six in /home/om26er/scm/foobar/markhor/venv/lib/python3.10/site-packages (from vmprof) (1.15.0)
Requirement already satisfied: pytz in /home/om26er/scm/foobar/markhor/venv/lib/python3.10/site-packages (from vmprof) (2021.1)
Requirement already satisfied: colorama in /home/om26er/scm/foobar/markhor/venv/lib/python3.10/site-packages (from vmprof) (0.4.4)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/om26er/scm/foobar/markhor/venv/lib/python3.10/site-packages (from requests->vmprof) (1.26.5)
Requirement already satisfied: certifi>=2017.4.17 in /home/om26er/scm/foobar/markhor/venv/lib/python3.10/site-packages (from requests->vmprof) (2020.12.5)
Requirement already satisfied: idna<3,>=2.5 in /home/om26er/scm/foobar/markhor/venv/lib/python3.10/site-packages (from requests->vmprof) (2.5)
Requirement already satisfied: chardet<5,>=3.0.2 in /home/om26er/scm/foobar/markhor/venv/lib/python3.10/site-packages (from requests->vmprof) (4.0.0)
Building wheels for collected packages: vmprof
Building wheel for vmprof (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/om26er/scm/foobar/markhor/venv/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2p70_rwb/vmprof_4a5e8e30112843d3a6f2788a3c78a26a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2p70_rwb/vmprof_4a5e8e30112843d3a6f2788a3c78a26a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-qgbde0ha
cwd: /tmp/pip-install-2p70_rwb/vmprof_4a5e8e30112843d3a6f2788a3c78a26a/
Complete output (216 lines):
running bdist_wheel
running build
running build_py
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/bash: /tmp/pip-install-2p70_rwb/vmprof_4a5e8e30112843d3a6f2788a3c78a26a/src/libbacktrace/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking unwind.h usability... yes
checking unwind.h presence... yes
checking for unwind.h... yes
checking for _Unwind_Backtrace... yes
checking for -funwind-tables option... yes
checking for -frandom-seed=string option... yes
checking whether gcc supports -W... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wcast-qual... yes
checking for _Unwind_GetIPInfo... yes
checking __sync extensions... yes
checking __atomic extensions... yes
checking output filetype... elf64
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in gstdint.h... stdint.h (already complete)
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking for dl_iterate_phdr... yes
checking for fcntl... yes
checking whether strnlen is declared... yes
checking for getexecname... no
checking whether tests can run... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating backtrace-supported.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands
sed: can't read ./ltmain.sh: No such file or directory
sed: can't read ./ltmain.sh: No such file or directory
mv: cannot stat 'libtoolT': No such file or directory
cp: cannot stat 'libtoolT': No such file or directory
chmod: cannot access 'libtool': No such file or directory
config.status: executing gstdint.h commands
config.status: executing default commands
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/jitlog
copying jitlog/upload.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/constants.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/query.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/merge_point.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/parser.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/prettyprinter.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/__init__.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/marks.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/__main__.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/objects.py -> build/lib.linux-x86_64-3.10/jitlog
creating build/lib.linux-x86_64-3.10/vmprof
copying vmprof/upload.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/cli.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/profiler.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/__init__.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/__main__.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/stats.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/reader.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/show.py -> build/lib.linux-x86_64-3.10/vmprof
creating build/lib.linux-x86_64-3.10/vmshare
copying vmshare/__init__.py -> build/lib.linux-x86_64-3.10/vmshare
copying vmshare/binary.py -> build/lib.linux-x86_64-3.10/vmshare
copying vmshare/service.py -> build/lib.linux-x86_64-3.10/vmshare
running build_ext
building '_vmprof' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
creating build/temp.linux-x86_64-3.10/src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/_vmprof.c -o build/temp.linux-x86_64-3.10/src/_vmprof.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
src/_vmprof.c: In function ‘emit_code_object’:
src/_vmprof.c:68:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
68 | co_name = PyUnicode_AsUTF8(co->co_name);
| ^
src/_vmprof.c:71:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
71 | co_filename = PyUnicode_AsUTF8(co->co_filename);
| ^
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/compat.c -o build/temp.linux-x86_64-3.10/src/compat.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/backtrace.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/backtrace.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/dwarf.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/dwarf.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/elf.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/elf.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/fileline.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/fileline.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/mmap.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/mmap.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/mmapio.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/mmapio.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/posix.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/posix.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/sort.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/sort.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/state.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/state.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/machine.c -o build/temp.linux-x86_64-3.10/src/machine.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/symboltable.c -o build/temp.linux-x86_64-3.10/src/symboltable.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/vmp_stack.c -o build/temp.linux-x86_64-3.10/src/vmp_stack.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
In file included from /usr/include/python3.10/bytesobject.h:62,
from /usr/include/python3.10/Python.h:95,
from src/vmprof.h:6,
from src/vmp_stack.h:3,
from src/vmp_stack.c:1:
src/vmp_stack.c: In function ‘_write_python_stack_entry’:
src/vmp_stack.c:102:47: error: ‘PyCodeObject’ {aka ‘struct PyCodeObject’} has no member named ‘co_lnotab’
102 | lnotab = PyStr_AS_STRING(frame->f_code->co_lnotab);
| ^~
/usr/include/python3.10/cpython/bytesobject.h:33:53: note: in definition of macro ‘PyBytes_AS_STRING’
33 | (((PyBytesObject *)(op))->ob_sval))
| ^~
src/vmp_stack.c:102:18: note: in expansion of macro ‘PyStr_AS_STRING’
102 | lnotab = PyStr_AS_STRING(frame->f_code->co_lnotab);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/python3.10/Python.h:87,
from src/vmprof.h:6,
from src/vmp_stack.h:3,
from src/vmp_stack.c:1:
src/vmp_stack.c:108:52: error: ‘PyCodeObject’ {aka ‘struct PyCodeObject’} has no member named ‘co_lnotab’
108 | len = (int)PyStr_GET_SIZE(frame->f_code->co_lnotab);
| ^~
/usr/include/python3.10/object.h:121:47: note: in definition of macro ‘_PyVarObject_CAST’
121 | #define _PyVarObject_CAST(op) ((PyVarObject*)(op))
| ^~
/usr/include/python3.10/cpython/bytesobject.h:34:58: note: in expansion of macro ‘Py_SIZE’
34 | #define PyBytes_GET_SIZE(op) (assert(PyBytes_Check(op)),Py_SIZE(op))
| ^~~~~~~
src/compat.h:8:30: note: in expansion of macro ‘PyBytes_GET_SIZE’
8 | #define PyStr_GET_SIZE PyBytes_GET_SIZE
| ^~~~~~~~~~~~~~~~
src/vmp_stack.c:108:24: note: in expansion of macro ‘PyStr_GET_SIZE’
108 | len = (int)PyStr_GET_SIZE(frame->f_code->co_lnotab);
| ^~~~~~~~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for vmprof
Running setup.py clean for vmprof
Failed to build vmprof
Installing collected packages: vmprof
Running setup.py install for vmprof ... error
ERROR: Command errored out with exit status 1:
command: /home/om26er/scm/foobar/markhor/venv/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2p70_rwb/vmprof_4a5e8e30112843d3a6f2788a3c78a26a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2p70_rwb/vmprof_4a5e8e30112843d3a6f2788a3c78a26a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-nvyi6bt1/install-record.txt --single-version-externally-managed --compile --install-headers /home/om26er/scm/foobar/markhor/venv/include/site/python3.10/vmprof
cwd: /tmp/pip-install-2p70_rwb/vmprof_4a5e8e30112843d3a6f2788a3c78a26a/
Complete output (216 lines):
running install
running build
running build_py
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/bash: /tmp/pip-install-2p70_rwb/vmprof_4a5e8e30112843d3a6f2788a3c78a26a/src/libbacktrace/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking unwind.h usability... yes
checking unwind.h presence... yes
checking for unwind.h... yes
checking for _Unwind_Backtrace... yes
checking for -funwind-tables option... yes
checking for -frandom-seed=string option... yes
checking whether gcc supports -W... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wcast-qual... yes
checking for _Unwind_GetIPInfo... yes
checking __sync extensions... yes
checking __atomic extensions... yes
checking output filetype... elf64
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in gstdint.h... stdint.h (already complete)
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking for dl_iterate_phdr... yes
checking for fcntl... yes
checking whether strnlen is declared... yes
checking for getexecname... no
checking whether tests can run... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating backtrace-supported.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing libtool commands
sed: can't read ./ltmain.sh: No such file or directory
sed: can't read ./ltmain.sh: No such file or directory
mv: cannot stat 'libtoolT': No such file or directory
cp: cannot stat 'libtoolT': No such file or directory
chmod: cannot access 'libtool': No such file or directory
config.status: executing gstdint.h commands
config.status: executing default commands
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/jitlog
copying jitlog/upload.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/constants.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/query.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/merge_point.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/parser.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/prettyprinter.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/__init__.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/marks.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/__main__.py -> build/lib.linux-x86_64-3.10/jitlog
copying jitlog/objects.py -> build/lib.linux-x86_64-3.10/jitlog
creating build/lib.linux-x86_64-3.10/vmprof
copying vmprof/upload.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/cli.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/profiler.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/__init__.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/__main__.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/stats.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/reader.py -> build/lib.linux-x86_64-3.10/vmprof
copying vmprof/show.py -> build/lib.linux-x86_64-3.10/vmprof
creating build/lib.linux-x86_64-3.10/vmshare
copying vmshare/__init__.py -> build/lib.linux-x86_64-3.10/vmshare
copying vmshare/binary.py -> build/lib.linux-x86_64-3.10/vmshare
copying vmshare/service.py -> build/lib.linux-x86_64-3.10/vmshare
running build_ext
building '_vmprof' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
creating build/temp.linux-x86_64-3.10/src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/_vmprof.c -o build/temp.linux-x86_64-3.10/src/_vmprof.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
src/_vmprof.c: In function ‘emit_code_object’:
src/_vmprof.c:68:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
68 | co_name = PyUnicode_AsUTF8(co->co_name);
| ^
src/_vmprof.c:71:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
71 | co_filename = PyUnicode_AsUTF8(co->co_filename);
| ^
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/compat.c -o build/temp.linux-x86_64-3.10/src/compat.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/backtrace.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/backtrace.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/dwarf.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/dwarf.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/elf.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/elf.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/fileline.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/fileline.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/mmap.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/mmap.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/mmapio.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/mmapio.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/posix.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/posix.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/sort.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/sort.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/libbacktrace/state.c -o build/temp.linux-x86_64-3.10/src/libbacktrace/state.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/machine.c -o build/temp.linux-x86_64-3.10/src/machine.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/symboltable.c -o build/temp.linux-x86_64-3.10/src/symboltable.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/om26er/scm/foobar/markhor/venv/include -I/usr/include/python3.10 -c src/vmp_stack.c -o build/temp.linux-x86_64-3.10/src/vmp_stack.o -Wno-unused -DVMPROF_LINUX=1 -DVMPROF_UNIX=1 -I src/ -I src/libbacktrace
In file included from /usr/include/python3.10/bytesobject.h:62,
from /usr/include/python3.10/Python.h:95,
from src/vmprof.h:6,
from src/vmp_stack.h:3,
from src/vmp_stack.c:1:
src/vmp_stack.c: In function ‘_write_python_stack_entry’:
src/vmp_stack.c:102:47: error: ‘PyCodeObject’ {aka ‘struct PyCodeObject’} has no member named ‘co_lnotab’
102 | lnotab = PyStr_AS_STRING(frame->f_code->co_lnotab);
| ^~
/usr/include/python3.10/cpython/bytesobject.h:33:53: note: in definition of macro ‘PyBytes_AS_STRING’
33 | (((PyBytesObject *)(op))->ob_sval))
| ^~
src/vmp_stack.c:102:18: note: in expansion of macro ‘PyStr_AS_STRING’
102 | lnotab = PyStr_AS_STRING(frame->f_code->co_lnotab);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/python3.10/Python.h:87,
from src/vmprof.h:6,
from src/vmp_stack.h:3,
from src/vmp_stack.c:1:
src/vmp_stack.c:108:52: error: ‘PyCodeObject’ {aka ‘struct PyCodeObject’} has no member named ‘co_lnotab’
108 | len = (int)PyStr_GET_SIZE(frame->f_code->co_lnotab);
| ^~
/usr/include/python3.10/object.h:121:47: note: in definition of macro ‘_PyVarObject_CAST’
121 | #define _PyVarObject_CAST(op) ((PyVarObject*)(op))
| ^~
/usr/include/python3.10/cpython/bytesobject.h:34:58: note: in expansion of macro ‘Py_SIZE’
34 | #define PyBytes_GET_SIZE(op) (assert(PyBytes_Check(op)),Py_SIZE(op))
| ^~~~~~~
src/compat.h:8:30: note: in expansion of macro ‘PyBytes_GET_SIZE’
8 | #define PyStr_GET_SIZE PyBytes_GET_SIZE
| ^~~~~~~~~~~~~~~~
src/vmp_stack.c:108:24: note: in expansion of macro ‘PyStr_GET_SIZE’
108 | len = (int)PyStr_GET_SIZE(frame->f_code->co_lnotab);
| ^~~~~~~~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/om26er/scm/foobar/markhor/venv/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2p70_rwb/vmprof_4a5e8e30112843d3a6f2788a3c78a26a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2p70_rwb/vmprof_4a5e8e30112843d3a6f2788a3c78a26a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-nvyi6bt1/install-record.txt --single-version-externally-managed --compile --install-headers /home/om26er/scm/foobar/markhor/venv/include/site/python3.10/vmprof Check the logs for full command output.
WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available.
You should consider upgrading via the '/home/om26er/scm/foobar/markhor/venv/bin/python3.10 -m pip install --upgrade pip' command.
Metadata
Metadata
Assignees
Labels
No labels