OpenCV bindings requires "numpy" package.
Install it via command:
pip install numpy
Traceback (most recent call last):
File "/data/data/com.termux/files/home/bens_folder/dev/notifications/bnp/./notifyOnBnpUpdate.py", line 13, in <module>
import cv2
File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/cv2/__init__.py", line 11, in <module>
import numpy
ModuleNotFoundError: No module named 'numpy'
pkg install python-numpy
Checking availability of current mirror:
[*] https://is.mirror.flokinet.net/termux/termux-main: ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python-numpy is already the newest version (1.26.4-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pip install numpy
Output:
```
Collecting numpy
Using cached numpy-2.0.0.tar.gz (18.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> [297 lines of output]
Collecting patchelf>=0.11.0
Using cached patchelf-0.17.2.1.tar.gz (167 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: patchelf
Building wheel for patchelf (pyproject.toml): started
Building wheel for patchelf (pyproject.toml): still running...
Building wheel for patchelf (pyproject.toml): still running...
Building wheel for patchelf (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for patchelf (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [273 lines of output]
--------------------------------------------------------------------------------
-- Trying 'Ninja' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
-- The C compiler identification is Clang 18.1.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is Clang 18.1.7
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (2.4s)
-- Generating done (0.0s)
-- Build files have been written to: /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Ninja' generator - success
--------------------------------------------------------------------------------
Configuring Project
Working directory:
/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-build
Command:
/data/data/com.termux/files/usr/bin/cmake /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-install -DPYTHON_VERSION_STRING:STRING=3.11.9 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/data/data/com.termux/files/usr/tmp/pip-build-env-lecuhtyx/overlay/lib/python3.11/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPYTHON_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/data/data/com.termux/files/usr/lib/libpython3.11.so -DPython_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPython_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPython3_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPython3_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DCMAKE_BUILD_TYPE:STRING=Release
Not searching for unused variables given on the command line.
-- The C compiler identification is Clang 18.1.7
-- The CXX compiler identification is Clang 18.1.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (2.2s)
-- Generating done (0.0s)
-- Build files have been written to: /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-build
[1/10] Creating directories for 'build_patchelf'
[2/10] No download step for 'build_patchelf'
[3/10] No update step for 'build_patchelf'
[4/10] Performing patch step for 'build_patchelf'
autoreconf: export WARNINGS=all
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory build-aux
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /data/data/com.termux/files/usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:14: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/install-sh'
configure.ac:5: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
autoreconf: 'build-aux/install-sh' is updated
autoreconf: Leaving directory '.'
[5/10] Performing configure step for 'build_patchelf'
checking for a BSD-compatible install... /data/data/com.termux/files/usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /data/data/com.termux/files/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for strip... strip
checking for objdump... objdump
checking for objcopy... objcopy
checking for readelf... readelf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... unsupported
checking for g++ option to enable C++98 features... unsupported
checking dependency style of g++... gcc3
checking dependency style of gcc... gcc3
checking whether g++ supports C++17 features with -std=c++17... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating patchelf.spec
config.status: executing depfiles commands
[6/10] Performing build step for 'build_patchelf'
FAILED: build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-build/build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build
cd /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream && /data/data/com.termux/files/usr/bin/make check && /data/data/com.termux/files/usr/bin/cmake -E touch /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-build/build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build
Making check in src
make[1]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/src'
g++ -std=c++17 -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -Wall -std=c++17 -D_FILE_OFFSET_BITS=64 -g -O2 -MT patchelf.o -MD -MP -MF .deps/patchelf.Tpo -c -o patchelf.o patchelf.cc
mv -f .deps/patchelf.Tpo .deps/patchelf.Po
g++ -std=c++17 -Wall -std=c++17 -D_FILE_OFFSET_BITS=64 -g -O2 -o patchelf patchelf.o
make[1]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/src'
Making check in tests
make[1]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests'
/data/data/com.termux/files/usr/bin/make simple-pie simple main too-many-strtab main-scoped big-dynstr no-rpath contiguous-note-sections libfoo.so libfoo-scoped.so libbar.so libbar-scoped.so libsimple.so libbuildid.so libtoomanystrtab.so phdr-corruption.so libbig-dynstr.debug
make[2]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests'
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fPIC -pie -g -O2 -MT simple_pie-simple.o -MD -MP -MF .deps/simple_pie-simple.Tpo -c -o simple_pie-simple.o `test -f 'simple.c' || echo './'`simple.c
gcc: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
mv -f .deps/simple_pie-simple.Tpo .deps/simple_pie-simple.Po
gcc -fPIC -pie -g -O2 -o simple-pie simple_pie-simple.o
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT simple-simple.o -MD -MP -MF .deps/simple-simple.Tpo -c -o simple-simple.o `test -f 'simple.c' || echo './'`simple.c
mv -f .deps/simple-simple.Tpo .deps/simple-simple.Po
gcc -g -O2 -o simple simple-simple.o
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT foo.o -MD -MP -MF .deps/foo.Tpo -c -o foo.o foo.c
mv -f .deps/foo.Tpo .deps/foo.Po
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT bar.o -MD -MP -MF .deps/bar.Tpo -c -o bar.o bar.c
mv -f .deps/bar.Tpo .deps/bar.Po
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -Wl,-rpath,`pwd`/no-such-path -o libbar.so bar.o
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libfoo.so foo.o -lbar
gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o main main.o -lfoo
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT too-many-strtab.o -MD -MP -MF .deps/too-many-strtab.Tpo -c -o too-many-strtab.o too-many-strtab.c
mv -f .deps/too-many-strtab.Tpo .deps/too-many-strtab.Po
gcc -g -O2 -c -o too-many-strtab2.o too-many-strtab2.s
gcc -fpic -g -O2 -o too-many-strtab too-many-strtab.o too-many-strtab2.o
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libbar-scoped.so bar.o
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libfoo-scoped.so foo.o -lbar-scoped
gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o main-scoped main.o -lfoo-scoped
cat main.c > big-dynstr.c
i=1; while [ $i -le 2000 ]; do echo "void f$i(void) { };"; i=$(($i + 1)); done >> big-dynstr.c
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT big-dynstr.o -MD -MP -MF .deps/big-dynstr.Tpo -c -o big-dynstr.o big-dynstr.c
mv -f .deps/big-dynstr.Tpo .deps/big-dynstr.Po
gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o big-dynstr big-dynstr.o -lfoo
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT no_rpath-no-rpath.o -MD -MP -MF .deps/no_rpath-no-rpath.Tpo -c -o no_rpath-no-rpath.o `test -f 'no-rpath.c' || echo './'`no-rpath.c
mv -f .deps/no_rpath-no-rpath.Tpo .deps/no_rpath-no-rpath.Po
gcc -g -O2 -o no-rpath no_rpath-no-rpath.o
gcc -g -O2 -c -o contiguous-note-sections.o contiguous-note-sections.s
gcc -pie -g -O2 -nostdlib -T ./contiguous-note-sections.ld -o contiguous-note-sections contiguous-note-sections.o
ld.lld: warning: cannot find entry symbol _start; not setting start address
make[2]: 'libfoo.so' is up to date.
make[2]: 'libfoo-scoped.so' is up to date.
make[2]: 'libbar.so' is up to date.
make[2]: 'libbar-scoped.so' is up to date.
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT simple.o -MD -MP -MF .deps/simple.Tpo -c -o simple.o simple.c
mv -f .deps/simple.Tpo .deps/simple.Po
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libsimple.so simple.o
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -Wl,--build-id -o libbuildid.so simple.o
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libtoomanystrtab.so too-many-strtab.o too-many-strtab2.o
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT phdr_corruption_so-void.o -MD -MP -MF .deps/phdr_corruption_so-void.Tpo -c -o phdr_corruption_so-void.o `test -f 'void.c' || echo './'`void.c
mv -f .deps/phdr_corruption_so-void.Tpo .deps/phdr_corruption_so-void.Po
gcc -g -O2 -nostdlib -shared -Wl,-T./phdr-corruption.ld -o phdr-corruption.so phdr_corruption_so-void.o
gcc -fPIC -shared -o libbig-dynstr.so big-dynstr.c
strip --only-keep-debug libbig-dynstr.so -o libbig-dynstr.debug
make[2]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests'
/data/data/com.termux/files/usr/bin/make check-TESTS
make[2]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests'
make[3]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests'
PASS: plain-fail.sh
PASS: plain-run.sh
PASS: shrink-rpath.sh
PASS: set-interpreter-short.sh
FAIL: set-interpreter-long.sh
FAIL: set-rpath.sh
FAIL: add-rpath.sh
FAIL: no-rpath.sh
FAIL: big-dynstr.sh
PASS: set-rpath-library.sh
PASS: soname.sh
PASS: shrink-rpath-with-allowed-prefixes.sh
PASS: set-rpath-rel-map.sh
PASS: force-rpath.sh
PASS: plain-needed.sh
FAIL: output-flag.sh
PASS: too-many-strtab.sh
PASS: no-rpath-pie-powerpc.sh
PASS: build-id.sh
PASS: invalid-elf.sh
PASS: endianness.sh
PASS: contiguous-note-sections.sh
PASS: no-gnu-hash.sh
PASS: change-abi.sh
PASS: grow-file.sh
PASS: no-dynamic-section.sh
PASS: args-from-file.sh
PASS: basic-flags.sh
PASS: set-empty-rpath.sh
PASS: phdr-corruption.sh
FAIL: replace-needed.sh
FAIL: replace-add-needed.sh
PASS: add-debug-tag.sh
PASS: empty-note.sh
PASS: no-rpath-amd64.sh
PASS: no-rpath-armel.sh
PASS: no-rpath-armhf.sh
PASS: no-rpath-hurd-i386.sh
PASS: no-rpath-i386.sh
PASS: no-rpath-ia64.sh
PASS: no-rpath-kfreebsd-amd64.sh
PASS: no-rpath-kfreebsd-i386.sh
PASS: no-rpath-mips.sh
PASS: no-rpath-mipsel.sh
PASS: no-rpath-powerpc.sh
PASS: no-rpath-s390.sh
PASS: no-rpath-sh4.sh
PASS: no-rpath-sparc.sh
============================================================================
Testsuite summary for patchelf 0.17.2
============================================================================
# TOTAL: 48
# PASS: 40
# SKIP: 0
# XFAIL: 0
# FAIL: 8
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
============================================================================
make[3]: *** [Makefile:944: test-suite.log] Error 1
make[3]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests'
make[2]: *** [Makefile:1052: check-TESTS] Error 2
make[2]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests'
make[1]: *** [Makefile:1454: check-am] Error 2
make[1]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests'
make: *** [Makefile:447: check-recursive] Error 1
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/tmp/pip-build-env-lecuhtyx/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 672, in setup
cmkr.make(make_args, install_target=cmake_install_target, env=env)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-lecuhtyx/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 696, in make
self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-lecuhtyx/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 741, in make_impl
raise SKBuildError(msg)
An error occurred while building with CMake.
Command:
/data/data/com.termux/files/usr/bin/cmake --build . --target install --config Release --
Install target:
install
Source directory:
/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d
Working directory:
/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-build
Please check the install target is valid and see CMake's output for more information.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for patchelf
Failed to build patchelf
ERROR: Could not build wheels for patchelf, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
```
pip install 'numpy<2.0.0'
Output:
```
Collecting numpy<2.0.0
Downloading numpy-1.26.4.tar.gz (15.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 2.3 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> [297 lines of output]
Collecting patchelf>=0.11.0
Using cached patchelf-0.17.2.1.tar.gz (167 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: patchelf
Building wheel for patchelf (pyproject.toml): started
Building wheel for patchelf (pyproject.toml): still running...
Building wheel for patchelf (pyproject.toml): still running...
Building wheel for patchelf (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for patchelf (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [273 lines of output]
--------------------------------------------------------------------------------
-- Trying 'Ninja' generator
--------------------------------
---------------------------
----------------------
-----------------
------------
-------
--
Not searching for unused variables given on the command line.
-- The C compiler identification is Clang 18.1.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is Clang 18.1.7
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (2.0s)
-- Generating done (0.0s)
-- Build files have been written to: /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_cmake_test_compile/build
--
-------
------------
-----------------
----------------------
---------------------------
--------------------------------
-- Trying 'Ninja' generator - success
--------------------------------------------------------------------------------
Configuring Project
Working directory:
/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-build
Command:
/data/data/com.termux/files/usr/bin/cmake /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-install -DPYTHON_VERSION_STRING:STRING=3.11.9 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/data/data/com.termux/files/usr/tmp/pip-build-env-oizerosq/overlay/lib/python3.11/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPYTHON_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/data/data/com.termux/files/usr/lib/libpython3.11.so -DPython_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPython_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPython3_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPython3_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DCMAKE_BUILD_TYPE:STRING=Release
Not searching for unused variables given on the command line.
-- The C compiler identification is Clang 18.1.7
-- The CXX compiler identification is Clang 18.1.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (2.1s)
-- Generating done (0.0s)
-- Build files have been written to: /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-build
[1/10] Creating directories for 'build_patchelf'
[2/10] No download step for 'build_patchelf'
[3/10] No update step for 'build_patchelf'
[4/10] Performing patch step for 'build_patchelf'
autoreconf: export WARNINGS=all
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory build-aux
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /data/data/com.termux/files/usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:14: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/install-sh'
configure.ac:5: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
autoreconf: 'build-aux/install-sh' is updated
autoreconf: Leaving directory '.'
[5/10] Performing configure step for 'build_patchelf'
checking for a BSD-compatible install... /data/data/com.termux/files/usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /data/data/com.termux/files/usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for strip... strip
checking for objdump... objdump
checking for objcopy... objcopy
checking for readelf... readelf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... unsupported
checking for g++ option to enable C++98 features... unsupported
checking dependency style of g++... gcc3
checking dependency style of gcc... gcc3
checking whether g++ supports C++17 features with -std=c++17... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating patchelf.spec
config.status: executing depfiles commands
[6/10] Performing build step for 'build_patchelf'
FAILED: build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-build/build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build
cd /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream && /data/data/com.termux/files/usr/bin/make check && /data/data/com.termux/files/usr/bin/cmake -E touch /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-build/build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build
Making check in src
make[1]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/src'
g++ -std=c++17 -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -Wall -std=c++17 -D_FILE_OFFSET_BITS=64 -g -O2 -MT patchelf.o -MD -MP -MF .deps/patchelf.Tpo -c -o patchelf.o patchelf.cc
mv -f .deps/patchelf.Tpo .deps/patchelf.Po
g++ -std=c++17 -Wall -std=c++17 -D_FILE_OFFSET_BITS=64 -g -O2 -o patchelf patchelf.o
make[1]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/src'
Making check in tests
make[1]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests'
/data/data/com.termux/files/usr/bin/make simple-pie simple main too-many-strtab main-scoped big-dynstr no-rpath contiguous-note-sections libfoo.so libfoo-scoped.so libbar.so libbar-scoped.so libsimple.so libbuildid.so libtoomanystrtab.so phdr-corruption.so libbig-dynstr.debug
make[2]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests'
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fPIC -pie -g -O2 -MT simple_pie-simple.o -MD -MP -MF .deps/simple_pie-simple.Tpo -c -o simple_pie-simple.o `test -f 'simple.c' || echo './'`simple.c
gcc: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
mv -f .deps/simple_pie-simple.Tpo .deps/simple_pie-simple.Po
gcc -fPIC -pie -g -O2 -o simple-pie simple_pie-simple.o
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT simple-simple.o -MD -MP -MF .deps/simple-simple.Tpo -c -o simple-simple.o `test -f 'simple.c' || echo './'`simple.c
mv -f .deps/simple-simple.Tpo .deps/simple-simple.Po
gcc -g -O2 -o simple simple-simple.o
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT foo.o -MD -MP -MF .deps/foo.Tpo -c -o foo.o foo.c
mv -f .deps/foo.Tpo .deps/foo.Po
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT bar.o -MD -MP -MF .deps/bar.Tpo -c -o bar.o bar.c
mv -f .deps/bar.Tpo .deps/bar.Po
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -Wl,-rpath,`pwd`/no-such-path -o libbar.so bar.o
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libfoo.so foo.o -lbar
gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o main main.o -lfoo
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT too-many-strtab.o -MD -MP -MF .deps/too-many-strtab.Tpo -c -o too-many-strtab.o too-many-strtab.c
mv -f .deps/too-many-strtab.Tpo .deps/too-many-strtab.Po
gcc -g -O2 -c -o too-many-strtab2.o too-many-strtab2.s
gcc -fpic -g -O2 -o too-many-strtab too-many-strtab.o too-many-strtab2.o
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libbar-scoped.so bar.o
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libfoo-scoped.so foo.o -lbar-scoped
gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o main-scoped main.o -lfoo-scoped
cat main.c > big-dynstr.c
i=1; while [ $i -le 2000 ]; do echo "void f$i(void) { };"; i=$(($i + 1)); done >> big-dynstr.c
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT big-dynstr.o -MD -MP -MF .deps/big-dynstr.Tpo -c -o big-dynstr.o big-dynstr.c
mv -f .deps/big-dynstr.Tpo .deps/big-dynstr.Po
gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o big-dynstr big-dynstr.o -lfoo
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT no_rpath-no-rpath.o -MD -MP -MF .deps/no_rpath-no-rpath.Tpo -c -o no_rpath-no-rpath.o `test -f 'no-rpath.c' || echo './'`no-rpath.c
mv -f .deps/no_rpath-no-rpath.Tpo .deps/no_rpath-no-rpath.Po
gcc -g -O2 -o no-rpath no_rpath-no-rpath.o
gcc -g -O2 -c -o contiguous-note-sections.o contiguous-note-sections.s
gcc -pie -g -O2 -nostdlib -T ./contiguous-note-sections.ld -o contiguous-note-sections contiguous-note-sections.o
ld.lld: warning: cannot find entry symbol _start; not setting start address
make[2]: 'libfoo.so' is up to date.
make[2]: 'libfoo-scoped.so' is up to date.
make[2]: 'libbar.so' is up to date.
make[2]: 'libbar-scoped.so' is up to date.
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT simple.o -MD -MP -MF .deps/simple.Tpo -c -o simple.o simple.c
mv -f .deps/simple.Tpo .deps/simple.Po
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libsimple.so simple.o
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -Wl,--build-id -o libbuildid.so simple.o
gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libtoomanystrtab.so too-many-strtab.o too-many-strtab2.o
gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT phdr_corruption_so-void.o -MD -MP -MF .deps/phdr_corruption_so-void.Tpo -c -o phdr_corruption_so-void.o `test -f 'void.c' || echo './'`void.c
mv -f .deps/phdr_corruption_so-void.Tpo .deps/phdr_corruption_so-void.Po
gcc -g -O2 -nostdlib -shared -Wl,-T./phdr-corruption.ld -o phdr-corruption.so phdr_corruption_so-void.o
gcc -fPIC -shared -o libbig-dynstr.so big-dynstr.c
strip --only-keep-debug libbig-dynstr.so -o libbig-dynstr.debug
make[2]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests'
/data/data/com.termux/files/usr/bin/make check-TESTS
make[2]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests'
make[3]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests'
PASS: plain-fail.sh
PASS: plain-run.sh
PASS: shrink-rpath.sh
PASS: set-interpreter-short.sh
FAIL: set-interpreter-long.sh
FAIL: set-rpath.sh
FAIL: add-rpath.sh
FAIL: no-rpath.sh
FAIL: big-dynstr.sh
PASS: set-rpath-library.sh
PASS: soname.sh
PASS: shrink-rpath-with-allowed-prefixes.sh
PASS: set-rpath-rel-map.sh
PASS: force-rpath.sh
PASS: plain-needed.sh
FAIL: output-flag.sh
PASS: too-many-strtab.sh
PASS: no-rpath-pie-powerpc.sh
PASS: build-id.sh
PASS: invalid-elf.sh
PASS: endianness.sh
PASS: contiguous-note-sections.sh
PASS: no-gnu-hash.sh
PASS: change-abi.sh
PASS: grow-file.sh
PASS: no-dynamic-section.sh
PASS: args-from-file.sh
PASS: basic-flags.sh
PASS: set-empty-rpath.sh
PASS: phdr-corruption.sh
FAIL: replace-needed.sh
FAIL: replace-add-needed.sh
PASS: add-debug-tag.sh
PASS: empty-note.sh
PASS: no-rpath-amd64.sh
PASS: no-rpath-armel.sh
PASS: no-rpath-armhf.sh
PASS: no-rpath-hurd-i386.sh
PASS: no-rpath-i386.sh
PASS: no-rpath-ia64.sh
PASS: no-rpath-kfreebsd-amd64.sh
PASS: no-rpath-kfreebsd-i386.sh
PASS: no-rpath-mips.sh
PASS: no-rpath-mipsel.sh
PASS: no-rpath-powerpc.sh
PASS: no-rpath-s390.sh
PASS: no-rpath-sh4.sh
PASS: no-rpath-sparc.sh
============================================================================
Testsuite summary for patchelf 0.17.2
============================================================================
# TOTAL: 48
# PASS: 40
# SKIP: 0
# XFAIL: 0
# FAIL: 8
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
============================================================================
make[3]: *** [Makefile:944: test-suite.log] Error 1
make[3]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests'
make[2]: *** [Makefile:1052: check-TESTS] Error 2
make[2]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests'
make[1]: *** [Makefile:1454: check-am] Error 2
make[1]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests'
make: *** [Makefile:447: check-recursive] Error 1
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/tmp/pip-build-env-oizerosq/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 672, in setup
cmkr.make(make_args, install_target=cmake_install_target, env=env)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-oizerosq/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 696, in make
self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
File "/data/data/com.termux/files/usr/tmp/pip-build-env-oizerosq/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 741, in make_impl
raise SKBuildError(msg)
An error occurred while building with CMake.
Command:
/data/data/com.termux/files/usr/bin/cmake --build . --target install --config Release --
Install target:
install
Source directory:
/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd
Working directory:
/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-build
Please check the install target is valid and see CMake's output for more information.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for patchelf
Failed to build patchelf
ERROR: Could not build wheels for patchelf, which is required to install pyproject.toml-based projects
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
```
Traceback (most recent call last):
File "/data/data/com.termux/files/home/bens_folder/dev/notifications/bnp/test_numpy.py", line 1, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'
Let us experiment on Waydroid for speed and a quite fresh environment.
python3 ./test_numpy.py
Traceback (most recent call last):
File "/data/data/com.termux/files/home/test_numpy.py", line 1, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'
pkg install python-numpy
No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'
Checking availability of current mirror:
[*] https://packages-cf.termux.org/apt/termux-main/: ok
Hit:1 https://packages-cf.termux.dev/apt/termux-main stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libopenblas
The following NEW packages will be installed:
libopenblas python-numpy
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 9758 kB of archives.
After this operation, 53.9 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://packages-cf.termux.dev/apt/termux-main stable/main x86_64 libopenblas x86_64 0.3.27 [3488 kB]
Get:2 https://packages-cf.termux.dev/apt/termux-main stable/main x86_64 python-numpy x86_64 1.26.4-1 [6271 kB]
Fetched 9758 kB in 4s (2378 kB/s)
Selecting previously unselected package libopenblas.
(Reading database ... 24362 files and directories currently installed.)
Preparing to unpack .../libopenblas_0.3.27_x86%5f64.deb ...
Unpacking libopenblas (0.3.27) ...
Selecting previously unselected package python-numpy.
Preparing to unpack .../python-numpy_1.26.4-1_x86%5f64.deb ...
Unpacking python-numpy (1.26.4-1) ...
Setting up libopenblas (0.3.27) ...
Setting up python-numpy (1.26.4-1) ...
Problem description
Output:
``` Collecting numpy Using cached numpy-2.0.0.tar.gz (18.3 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... error error: subprocess-exited-with-error × pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> [297 lines of output] Collecting patchelf>=0.11.0 Using cached patchelf-0.17.2.1.tar.gz (167 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: patchelf Building wheel for patchelf (pyproject.toml): started Building wheel for patchelf (pyproject.toml): still running... Building wheel for patchelf (pyproject.toml): still running... Building wheel for patchelf (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for patchelf (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [273 lines of output] -------------------------------------------------------------------------------- -- Trying 'Ninja' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. -- The C compiler identification is Clang 18.1.7 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- The CXX compiler identification is Clang 18.1.7 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (2.4s) -- Generating done (0.0s) -- Build files have been written to: /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_cmake_test_compile/build -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja' generator - success -------------------------------------------------------------------------------- Configuring Project Working directory: /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-build Command: /data/data/com.termux/files/usr/bin/cmake /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-install -DPYTHON_VERSION_STRING:STRING=3.11.9 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/data/data/com.termux/files/usr/tmp/pip-build-env-lecuhtyx/overlay/lib/python3.11/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPYTHON_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/data/data/com.termux/files/usr/lib/libpython3.11.so -DPython_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPython_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPython3_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPython3_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DCMAKE_BUILD_TYPE:STRING=Release Not searching for unused variables given on the command line. -- The C compiler identification is Clang 18.1.7 -- The CXX compiler identification is Clang 18.1.7 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (2.2s) -- Generating done (0.0s) -- Build files have been written to: /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-build [1/10] Creating directories for 'build_patchelf' [2/10] No download step for 'build_patchelf' [3/10] No update step for 'build_patchelf' [4/10] Performing patch step for 'build_patchelf' autoreconf: export WARNINGS=all autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /data/data/com.termux/files/usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:14: installing 'build-aux/compile' configure.ac:5: installing 'build-aux/install-sh' configure.ac:5: installing 'build-aux/missing' src/Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' autoreconf: 'build-aux/install-sh' is updated autoreconf: Leaving directory '.' [5/10] Performing configure step for 'build_patchelf' checking for a BSD-compatible install... /data/data/com.termux/files/usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /data/data/com.termux/files/usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for strip... strip checking for objdump... objdump checking for objcopy... objcopy checking for readelf... readelf checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... unsupported checking for g++ option to enable C++98 features... unsupported checking dependency style of g++... gcc3 checking dependency style of gcc... gcc3 checking whether g++ supports C++17 features with -std=c++17... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating patchelf.spec config.status: executing depfiles commands [6/10] Performing build step for 'build_patchelf' FAILED: build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-build/build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build cd /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream && /data/data/com.termux/files/usr/bin/make check && /data/data/com.termux/files/usr/bin/cmake -E touch /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-build/build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build Making check in src make[1]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/src' g++ -std=c++17 -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -Wall -std=c++17 -D_FILE_OFFSET_BITS=64 -g -O2 -MT patchelf.o -MD -MP -MF .deps/patchelf.Tpo -c -o patchelf.o patchelf.cc mv -f .deps/patchelf.Tpo .deps/patchelf.Po g++ -std=c++17 -Wall -std=c++17 -D_FILE_OFFSET_BITS=64 -g -O2 -o patchelf patchelf.o make[1]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/src' Making check in tests make[1]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests' /data/data/com.termux/files/usr/bin/make simple-pie simple main too-many-strtab main-scoped big-dynstr no-rpath contiguous-note-sections libfoo.so libfoo-scoped.so libbar.so libbar-scoped.so libsimple.so libbuildid.so libtoomanystrtab.so phdr-corruption.so libbig-dynstr.debug make[2]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests' gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fPIC -pie -g -O2 -MT simple_pie-simple.o -MD -MP -MF .deps/simple_pie-simple.Tpo -c -o simple_pie-simple.o `test -f 'simple.c' || echo './'`simple.c gcc: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] mv -f .deps/simple_pie-simple.Tpo .deps/simple_pie-simple.Po gcc -fPIC -pie -g -O2 -o simple-pie simple_pie-simple.o gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT simple-simple.o -MD -MP -MF .deps/simple-simple.Tpo -c -o simple-simple.o `test -f 'simple.c' || echo './'`simple.c mv -f .deps/simple-simple.Tpo .deps/simple-simple.Po gcc -g -O2 -o simple simple-simple.o gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c mv -f .deps/main.Tpo .deps/main.Po gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT foo.o -MD -MP -MF .deps/foo.Tpo -c -o foo.o foo.c mv -f .deps/foo.Tpo .deps/foo.Po gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT bar.o -MD -MP -MF .deps/bar.Tpo -c -o bar.o bar.c mv -f .deps/bar.Tpo .deps/bar.Po gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -Wl,-rpath,`pwd`/no-such-path -o libbar.so bar.o gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libfoo.so foo.o -lbar gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o main main.o -lfoo gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT too-many-strtab.o -MD -MP -MF .deps/too-many-strtab.Tpo -c -o too-many-strtab.o too-many-strtab.c mv -f .deps/too-many-strtab.Tpo .deps/too-many-strtab.Po gcc -g -O2 -c -o too-many-strtab2.o too-many-strtab2.s gcc -fpic -g -O2 -o too-many-strtab too-many-strtab.o too-many-strtab2.o gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libbar-scoped.so bar.o gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libfoo-scoped.so foo.o -lbar-scoped gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o main-scoped main.o -lfoo-scoped cat main.c > big-dynstr.c i=1; while [ $i -le 2000 ]; do echo "void f$i(void) { };"; i=$(($i + 1)); done >> big-dynstr.c gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT big-dynstr.o -MD -MP -MF .deps/big-dynstr.Tpo -c -o big-dynstr.o big-dynstr.c mv -f .deps/big-dynstr.Tpo .deps/big-dynstr.Po gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o big-dynstr big-dynstr.o -lfoo gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT no_rpath-no-rpath.o -MD -MP -MF .deps/no_rpath-no-rpath.Tpo -c -o no_rpath-no-rpath.o `test -f 'no-rpath.c' || echo './'`no-rpath.c mv -f .deps/no_rpath-no-rpath.Tpo .deps/no_rpath-no-rpath.Po gcc -g -O2 -o no-rpath no_rpath-no-rpath.o gcc -g -O2 -c -o contiguous-note-sections.o contiguous-note-sections.s gcc -pie -g -O2 -nostdlib -T ./contiguous-note-sections.ld -o contiguous-note-sections contiguous-note-sections.o ld.lld: warning: cannot find entry symbol _start; not setting start address make[2]: 'libfoo.so' is up to date. make[2]: 'libfoo-scoped.so' is up to date. make[2]: 'libbar.so' is up to date. make[2]: 'libbar-scoped.so' is up to date. gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT simple.o -MD -MP -MF .deps/simple.Tpo -c -o simple.o simple.c mv -f .deps/simple.Tpo .deps/simple.Po gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libsimple.so simple.o gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -Wl,--build-id -o libbuildid.so simple.o gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libtoomanystrtab.so too-many-strtab.o too-many-strtab2.o gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT phdr_corruption_so-void.o -MD -MP -MF .deps/phdr_corruption_so-void.Tpo -c -o phdr_corruption_so-void.o `test -f 'void.c' || echo './'`void.c mv -f .deps/phdr_corruption_so-void.Tpo .deps/phdr_corruption_so-void.Po gcc -g -O2 -nostdlib -shared -Wl,-T./phdr-corruption.ld -o phdr-corruption.so phdr_corruption_so-void.o gcc -fPIC -shared -o libbig-dynstr.so big-dynstr.c strip --only-keep-debug libbig-dynstr.so -o libbig-dynstr.debug make[2]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests' /data/data/com.termux/files/usr/bin/make check-TESTS make[2]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests' make[3]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests' PASS: plain-fail.sh PASS: plain-run.sh PASS: shrink-rpath.sh PASS: set-interpreter-short.sh FAIL: set-interpreter-long.sh FAIL: set-rpath.sh FAIL: add-rpath.sh FAIL: no-rpath.sh FAIL: big-dynstr.sh PASS: set-rpath-library.sh PASS: soname.sh PASS: shrink-rpath-with-allowed-prefixes.sh PASS: set-rpath-rel-map.sh PASS: force-rpath.sh PASS: plain-needed.sh FAIL: output-flag.sh PASS: too-many-strtab.sh PASS: no-rpath-pie-powerpc.sh PASS: build-id.sh PASS: invalid-elf.sh PASS: endianness.sh PASS: contiguous-note-sections.sh PASS: no-gnu-hash.sh PASS: change-abi.sh PASS: grow-file.sh PASS: no-dynamic-section.sh PASS: args-from-file.sh PASS: basic-flags.sh PASS: set-empty-rpath.sh PASS: phdr-corruption.sh FAIL: replace-needed.sh FAIL: replace-add-needed.sh PASS: add-debug-tag.sh PASS: empty-note.sh PASS: no-rpath-amd64.sh PASS: no-rpath-armel.sh PASS: no-rpath-armhf.sh PASS: no-rpath-hurd-i386.sh PASS: no-rpath-i386.sh PASS: no-rpath-ia64.sh PASS: no-rpath-kfreebsd-amd64.sh PASS: no-rpath-kfreebsd-i386.sh PASS: no-rpath-mips.sh PASS: no-rpath-mipsel.sh PASS: no-rpath-powerpc.sh PASS: no-rpath-s390.sh PASS: no-rpath-sh4.sh PASS: no-rpath-sparc.sh ============================================================================ Testsuite summary for patchelf 0.17.2 ============================================================================ # TOTAL: 48 # PASS: 40 # SKIP: 0 # XFAIL: 0 # FAIL: 8 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log ============================================================================ make[3]: *** [Makefile:944: test-suite.log] Error 1 make[3]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests' make[2]: *** [Makefile:1052: check-TESTS] Error 2 make[2]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests' make[1]: *** [Makefile:1454: check-am] Error 2 make[1]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/src/patchelf-upstream/tests' make: *** [Makefile:447: check-recursive] Error 1 ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/data/data/com.termux/files/usr/tmp/pip-build-env-lecuhtyx/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 672, in setup cmkr.make(make_args, install_target=cmake_install_target, env=env) File "/data/data/com.termux/files/usr/tmp/pip-build-env-lecuhtyx/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 696, in make self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env) File "/data/data/com.termux/files/usr/tmp/pip-build-env-lecuhtyx/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 741, in make_impl raise SKBuildError(msg) An error occurred while building with CMake. Command: /data/data/com.termux/files/usr/bin/cmake --build . --target install --config Release -- Install target: install Source directory: /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d Working directory: /data/data/com.termux/files/usr/tmp/pip-install-ao_lhvjc/patchelf_75a09a936eca44af9f823a2a9fcd659d/_skbuild/linux-aarch64-3.11/cmake-build Please check the install target is valid and see CMake's output for more information. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for patchelf Failed to build patchelf ERROR: Could not build wheels for patchelf, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ```Output:
``` Collecting numpy<2.0.0 Downloading numpy-1.26.4.tar.gz (15.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 2.3 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... error error: subprocess-exited-with-error × pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> [297 lines of output] Collecting patchelf>=0.11.0 Using cached patchelf-0.17.2.1.tar.gz (167 kB) Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: patchelf Building wheel for patchelf (pyproject.toml): started Building wheel for patchelf (pyproject.toml): still running... Building wheel for patchelf (pyproject.toml): still running... Building wheel for patchelf (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for patchelf (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [273 lines of output] -------------------------------------------------------------------------------- -- Trying 'Ninja' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- Not searching for unused variables given on the command line. -- The C compiler identification is Clang 18.1.7 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- The CXX compiler identification is Clang 18.1.7 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (2.0s) -- Generating done (0.0s) -- Build files have been written to: /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_cmake_test_compile/build -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja' generator - success -------------------------------------------------------------------------------- Configuring Project Working directory: /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-build Command: /data/data/com.termux/files/usr/bin/cmake /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-install -DPYTHON_VERSION_STRING:STRING=3.11.9 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/data/data/com.termux/files/usr/tmp/pip-build-env-oizerosq/overlay/lib/python3.11/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPYTHON_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/data/data/com.termux/files/usr/lib/libpython3.11.so -DPython_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPython_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPython3_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python3.11 -DPython3_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DCMAKE_BUILD_TYPE:STRING=Release Not searching for unused variables given on the command line. -- The C compiler identification is Clang 18.1.7 -- The CXX compiler identification is Clang 18.1.7 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (2.1s) -- Generating done (0.0s) -- Build files have been written to: /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-build [1/10] Creating directories for 'build_patchelf' [2/10] No download step for 'build_patchelf' [3/10] No update step for 'build_patchelf' [4/10] Performing patch step for 'build_patchelf' autoreconf: export WARNINGS=all autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory build-aux autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /data/data/com.termux/files/usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:14: installing 'build-aux/compile' configure.ac:5: installing 'build-aux/install-sh' configure.ac:5: installing 'build-aux/missing' src/Makefile.am: installing 'build-aux/depcomp' parallel-tests: installing 'build-aux/test-driver' autoreconf: 'build-aux/install-sh' is updated autoreconf: Leaving directory '.' [5/10] Performing configure step for 'build_patchelf' checking for a BSD-compatible install... /data/data/com.termux/files/usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /data/data/com.termux/files/usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for strip... strip checking for objdump... objdump checking for objcopy... objcopy checking for readelf... readelf checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... unsupported checking for g++ option to enable C++98 features... unsupported checking dependency style of g++... gcc3 checking dependency style of gcc... gcc3 checking whether g++ supports C++17 features with -std=c++17... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating patchelf.spec config.status: executing depfiles commands [6/10] Performing build step for 'build_patchelf' FAILED: build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-build/build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build cd /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream && /data/data/com.termux/files/usr/bin/make check && /data/data/com.termux/files/usr/bin/cmake -E touch /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-build/build_patchelf-prefix/src/build_patchelf-stamp/build_patchelf-build Making check in src make[1]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/src' g++ -std=c++17 -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -Wall -std=c++17 -D_FILE_OFFSET_BITS=64 -g -O2 -MT patchelf.o -MD -MP -MF .deps/patchelf.Tpo -c -o patchelf.o patchelf.cc mv -f .deps/patchelf.Tpo .deps/patchelf.Po g++ -std=c++17 -Wall -std=c++17 -D_FILE_OFFSET_BITS=64 -g -O2 -o patchelf patchelf.o make[1]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/src' Making check in tests make[1]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests' /data/data/com.termux/files/usr/bin/make simple-pie simple main too-many-strtab main-scoped big-dynstr no-rpath contiguous-note-sections libfoo.so libfoo-scoped.so libbar.so libbar-scoped.so libsimple.so libbuildid.so libtoomanystrtab.so phdr-corruption.so libbig-dynstr.debug make[2]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests' gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fPIC -pie -g -O2 -MT simple_pie-simple.o -MD -MP -MF .deps/simple_pie-simple.Tpo -c -o simple_pie-simple.o `test -f 'simple.c' || echo './'`simple.c gcc: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] mv -f .deps/simple_pie-simple.Tpo .deps/simple_pie-simple.Po gcc -fPIC -pie -g -O2 -o simple-pie simple_pie-simple.o gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT simple-simple.o -MD -MP -MF .deps/simple-simple.Tpo -c -o simple-simple.o `test -f 'simple.c' || echo './'`simple.c mv -f .deps/simple-simple.Tpo .deps/simple-simple.Po gcc -g -O2 -o simple simple-simple.o gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c mv -f .deps/main.Tpo .deps/main.Po gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT foo.o -MD -MP -MF .deps/foo.Tpo -c -o foo.o foo.c mv -f .deps/foo.Tpo .deps/foo.Po gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT bar.o -MD -MP -MF .deps/bar.Tpo -c -o bar.o bar.c mv -f .deps/bar.Tpo .deps/bar.Po gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -Wl,-rpath,`pwd`/no-such-path -o libbar.so bar.o gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libfoo.so foo.o -lbar gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o main main.o -lfoo gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT too-many-strtab.o -MD -MP -MF .deps/too-many-strtab.Tpo -c -o too-many-strtab.o too-many-strtab.c mv -f .deps/too-many-strtab.Tpo .deps/too-many-strtab.Po gcc -g -O2 -c -o too-many-strtab2.o too-many-strtab2.s gcc -fpic -g -O2 -o too-many-strtab too-many-strtab.o too-many-strtab2.o gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libbar-scoped.so bar.o gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libfoo-scoped.so foo.o -lbar-scoped gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o main-scoped main.o -lfoo-scoped cat main.c > big-dynstr.c i=1; while [ $i -le 2000 ]; do echo "void f$i(void) { };"; i=$(($i + 1)); done >> big-dynstr.c gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT big-dynstr.o -MD -MP -MF .deps/big-dynstr.Tpo -c -o big-dynstr.o big-dynstr.c mv -f .deps/big-dynstr.Tpo .deps/big-dynstr.Po gcc -fpic -g -O2 -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. -o big-dynstr big-dynstr.o -lfoo gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT no_rpath-no-rpath.o -MD -MP -MF .deps/no_rpath-no-rpath.Tpo -c -o no_rpath-no-rpath.o `test -f 'no-rpath.c' || echo './'`no-rpath.c mv -f .deps/no_rpath-no-rpath.Tpo .deps/no_rpath-no-rpath.Po gcc -g -O2 -o no-rpath no_rpath-no-rpath.o gcc -g -O2 -c -o contiguous-note-sections.o contiguous-note-sections.s gcc -pie -g -O2 -nostdlib -T ./contiguous-note-sections.ld -o contiguous-note-sections contiguous-note-sections.o ld.lld: warning: cannot find entry symbol _start; not setting start address make[2]: 'libfoo.so' is up to date. make[2]: 'libfoo-scoped.so' is up to date. make[2]: 'libbar.so' is up to date. make[2]: 'libbar-scoped.so' is up to date. gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -fpic -g -O2 -MT simple.o -MD -MP -MF .deps/simple.Tpo -c -o simple.o simple.c mv -f .deps/simple.Tpo .deps/simple.Po gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libsimple.so simple.o gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -Wl,--build-id -o libbuildid.so simple.o gcc -fpic -g -O2 -Wl,--disable-new-dtags -shared -L. -o libtoomanystrtab.so too-many-strtab.o too-many-strtab2.o gcc -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.17.2\" -DPACKAGE_STRING=\"patchelf\ 0.17.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.17.2\" -DHAVE_CXX17=1 -I. -g -O2 -MT phdr_corruption_so-void.o -MD -MP -MF .deps/phdr_corruption_so-void.Tpo -c -o phdr_corruption_so-void.o `test -f 'void.c' || echo './'`void.c mv -f .deps/phdr_corruption_so-void.Tpo .deps/phdr_corruption_so-void.Po gcc -g -O2 -nostdlib -shared -Wl,-T./phdr-corruption.ld -o phdr-corruption.so phdr_corruption_so-void.o gcc -fPIC -shared -o libbig-dynstr.so big-dynstr.c strip --only-keep-debug libbig-dynstr.so -o libbig-dynstr.debug make[2]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests' /data/data/com.termux/files/usr/bin/make check-TESTS make[2]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests' make[3]: Entering directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests' PASS: plain-fail.sh PASS: plain-run.sh PASS: shrink-rpath.sh PASS: set-interpreter-short.sh FAIL: set-interpreter-long.sh FAIL: set-rpath.sh FAIL: add-rpath.sh FAIL: no-rpath.sh FAIL: big-dynstr.sh PASS: set-rpath-library.sh PASS: soname.sh PASS: shrink-rpath-with-allowed-prefixes.sh PASS: set-rpath-rel-map.sh PASS: force-rpath.sh PASS: plain-needed.sh FAIL: output-flag.sh PASS: too-many-strtab.sh PASS: no-rpath-pie-powerpc.sh PASS: build-id.sh PASS: invalid-elf.sh PASS: endianness.sh PASS: contiguous-note-sections.sh PASS: no-gnu-hash.sh PASS: change-abi.sh PASS: grow-file.sh PASS: no-dynamic-section.sh PASS: args-from-file.sh PASS: basic-flags.sh PASS: set-empty-rpath.sh PASS: phdr-corruption.sh FAIL: replace-needed.sh FAIL: replace-add-needed.sh PASS: add-debug-tag.sh PASS: empty-note.sh PASS: no-rpath-amd64.sh PASS: no-rpath-armel.sh PASS: no-rpath-armhf.sh PASS: no-rpath-hurd-i386.sh PASS: no-rpath-i386.sh PASS: no-rpath-ia64.sh PASS: no-rpath-kfreebsd-amd64.sh PASS: no-rpath-kfreebsd-i386.sh PASS: no-rpath-mips.sh PASS: no-rpath-mipsel.sh PASS: no-rpath-powerpc.sh PASS: no-rpath-s390.sh PASS: no-rpath-sh4.sh PASS: no-rpath-sparc.sh ============================================================================ Testsuite summary for patchelf 0.17.2 ============================================================================ # TOTAL: 48 # PASS: 40 # SKIP: 0 # XFAIL: 0 # FAIL: 8 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log ============================================================================ make[3]: *** [Makefile:944: test-suite.log] Error 1 make[3]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests' make[2]: *** [Makefile:1052: check-TESTS] Error 2 make[2]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests' make[1]: *** [Makefile:1454: check-am] Error 2 make[1]: Leaving directory '/data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/src/patchelf-upstream/tests' make: *** [Makefile:447: check-recursive] Error 1 ninja: build stopped: subcommand failed. Traceback (most recent call last): File "/data/data/com.termux/files/usr/tmp/pip-build-env-oizerosq/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 672, in setup cmkr.make(make_args, install_target=cmake_install_target, env=env) File "/data/data/com.termux/files/usr/tmp/pip-build-env-oizerosq/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 696, in make self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env) File "/data/data/com.termux/files/usr/tmp/pip-build-env-oizerosq/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 741, in make_impl raise SKBuildError(msg) An error occurred while building with CMake. Command: /data/data/com.termux/files/usr/bin/cmake --build . --target install --config Release -- Install target: install Source directory: /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd Working directory: /data/data/com.termux/files/usr/tmp/pip-install-7ygqsb0i/patchelf_42653cda06e94c7681a0faded85eb2dd/_skbuild/linux-aarch64-3.11/cmake-build Please check the install target is valid and see CMake's output for more information. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for patchelf Failed to build patchelf ERROR: Could not build wheels for patchelf, which is required to install pyproject.toml-based projects [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ```Source: the Stack Overflow answer 63849982
test_numpy.py
:https://wiki.termux.com/index.php?title=Python&oldid=6550#Package_management
seems to show the absence of virtual environment.
Let us experiment on Waydroid for speed and a quite fresh environment.
What steps will reproduce the bug?
Not read.
What is the expected behavior?
No response
System information
termux-info: