asdf-community / asdf-community/asdf-python

In termux isn't work

Open
#171 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
729
Forks
65
PR merge metrics
No merged PRs in 30d

Description

```
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....

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.