Python build faild
manatha
PROOP

2 years 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-x86_64-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 dependency_links to httptools.egg-info/dependency_links.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/url_parser.c -> build/lib.linux-x86_64-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/httptools_82eb5c73cfe84c6883e7b4981a6cf7fc/vendor/llhttp/include -I/tmp/pip-install-pmnli0u7/httptools_82eb5c73cfe84c6883e7b4981a6cf7fc/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 ‘__pyx_pf_9httptools_6parser_6parser_10HttpParser_10feed_data’:

#10 19.81 httptools/parser/parser.c:3452:23: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]

#10 19.81 3452 | __pyx_v_err_pos = llhttp_get_error_pos(__pyx_v_self->_cparser);

#10 19.81 | ^

#10 19.81 httptools/parser/parser.c: In function ‘__Pyx_AddTraceback’:

#10 19.81 httptools/parser/parser.c:454:62: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’}

#10 19.81 454 | #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno)

#10 19.81 | ^~

we don't change the railway.toml only fix a variable name and railway failed doing the build

Solved

1 Replies

Can you trigger another build? What version of python that you are using?


Railway
BOT

9 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...