Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In termux isn't work #171

Open
Stu75e opened this issue Sep 5, 2023 · 0 comments
Open

In termux isn't work #171

Stu75e opened this issue Sep 5, 2023 · 0 comments

Comments

@Stu75e
Copy link

Stu75e commented Sep 5, 2023

asdf install python 3.9.18
Downloading python-build...
Cloning into '/data/data/com.termux/files/home/.asdf/plugins/python/pyenv'...
remote: Enumerating objects: 23384, done.
remote: Counting objects: 100% (1834/1834), done.
remote: Compressing 
objects: 100% (176/176), done.
remote: Total 23384 (delta 1722), reused 1700 (delta 1652), pack-reused 21550
Receiving objects: 100% (23384/23384), 4.66 MiB | 2.70 MiB/s, done.
Resolving deltas: 100% (15893/15893), done.
python-build 3.9.18 /data/data/com.termux/files/home/.asdf/installs/python/3.9.18
Downloading Python-3.9.18.tar.xz...
-> https://www.python.org/ftp/python/3.9.18/Python-3.9.18.tar.xz
Installing Python-3.9.18...

BUILD FAILED (Linux 4.14.113-24323734 using python-build 2.3.25-6-g91002438)

Inspect or clean up the working tree at /data/data/com.termux/files/usr/tmp/python-build.20230904211745.3387
Results logged to /data/data/com.termux/files/usr/tmp/python-build.20230904211745.3387.log

Last 10 log lines:
3 warnings generated.
gcc -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -I/data/data/com.termux/files/home/.asdf/installs/python/3.9.18/include -I/data/data/com.termux/files/home/.asdf/installs/python/3.9.18/include -fPIC -DPy_BUILD_CORE -o Python/traceback.o Python/traceback.c
gcc -c -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -I/data/data/com.termux/files/home/.asdf/installs/python/3.9.18/include -I/data/data/com.termux/files/home/.asdf/installs/python/3.9.18/include -fPIC -DPy_BUILD_CORE -o Python/getopt.o Python/getopt.c
In file included from Python/thread.c:80:
Python/thread_pthread.h:473:33: error: call to undeclared function 'sem_clockwait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
status = fix_status(sem_clockwait(thelock, CLOCK_MONOTONIC,
^
1 error generated.
make: *** [Makefile:1803: Python/thread.o] Error 1
make: *** Waiting for unfinished jobs....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant