Python build faild
manatha
PRO
a year ago
10 19.80 Building wheel for httptools (pyproject.toml): finished with status 'error'
10 19.81 error: subprocess-exited-with-error
10 19.81
10 19.81 × Building wheel for httptools (pyproject.toml) did not run successfully.
10 19.81 │ exit code: 1
10 19.81 ╰─> [45 lines of output]
10 19.81 running bdist_wheel
10 19.81 running build
10 19.81 running build_py
10 19.81 creating build
10 19.81 creating build/lib.linux-x86_64-cpython-311
10 19.81 creating build/lib.linux-x86_64-cpython-311/httptools
10 19.81 copying httptools/version.py -> build/lib.linux-x8664-cpython-311/httptools
10 19.81 copying httptools/init.py -> build/lib.linux-x86_64-cpython-311/httptools
10 19.81 creating build/lib.linux-x86_64-cpython-311/httptools/parser
10 19.81 copying httptools/parser/init.py -> build/lib.linux-x86_64-cpython-311/httptools/parser
10 19.81 copying httptools/parser/errors.py -> build/lib.linux-x86_64-cpython-311/httptools/parser
10 19.81 running egg_info
10 19.81 writing httptools.egg-info/PKG-INFO
10 19.81 writing dependencylinks to httptools.egg-info/dependencylinks.txt
10 19.81 writing requirements to httptools.egg-info/requires.txt
10 19.81 writing top-level names to httptools.egg-info/top_level.txt
10 19.81 reading manifest file 'httptools.egg-info/SOURCES.txt'
10 19.81 reading manifest template 'MANIFEST.in'
10 19.81 adding license file 'LICENSE'
10 19.81 writing manifest file 'httptools.egg-info/SOURCES.txt'
10 19.81 copying httptools/parser/parser.c -> build/lib.linux-x86_64-cpython-311/httptools/parser
10 19.81 copying httptools/parser/urlparser.c -> build/lib.linux-x8664-cpython-311/httptools/parser
10 19.81 warning: build_py: byte-compiling is disabled, skipping.
10 19.81
10 19.81 running build_ext
10 19.81 building 'httptools.parser.parser' extension
10 19.81 creating build/temp.linux-x86_64-cpython-311
10 19.81 creating build/temp.linux-x86_64-cpython-311/httptools
10 19.81 creating build/temp.linux-x86_64-cpython-311/httptools/parser
10 19.81 creating build/temp.linux-x86_64-cpython-311/vendor
10 19.81 creating build/temp.linux-x86_64-cpython-311/vendor/llhttp
10 19.81 creating build/temp.linux-x86_64-cpython-311/vendor/llhttp/src
10 19.81 gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/wwg6376ymkhpjxy6c3w9gkbhv6l2gmqy-libxcrypt-4.4.36/include -fPIC -I/tmp/pip-install-pmnli0u7/httptools82eb5c73cfe84c6883e7b4981a6cf7fc/vendor/llhttp/include -I/tmp/pip-install-pmnli0u7/httptools82eb5c73cfe84c6883e7b4981a6cf7fc/vendor/llhttp/src -I/opt/venv/include -I/nix/store/k3701zl6gmx3la7y4dnflcvf3xfy88kh-python3-3.11.9/include/python3.11 -c httptools/parser/parser.c -o build/temp.linux-x86_64-cpython-311/httptools/parser/parser.o -O2
10 19.81 httptools/parser/parser.c: In function ‘_pyxpf9httptools6parser6parser10HttpParser10feeddata’:
10 19.81 httptools/parser/parser.c:3452:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
10 19.81 3452 | pyxverrpos = llhttpgeterrorpos(pyxvself->_cparser);
10 19.81 | ^
10 19.81 httptools/parser/parser.c: In function ‘_PyxAddTraceback’:
10 19.81 httptools/parser/parser.c:454:62: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}
10 19.81 454 | #define _PyxPyFrameSetLineNumber(frame, lineno) (frame)->flineno = (lineno)
10 19.81 | ^~
we don't change the railway.toml only fix a variable name and railway failed doing the build
1 Replies