Termux: trying to install procps from binaries and am having repeated issues
Summary
Termux: trying to install procps from binaries and am having repeated issues
I first tried to build, make and install binaries using a shallow git clone but I had issues with a float and a macro in a header. I tried every which way according to my knowledge to repair the issue without success. I then endeavoured to use a full git clone. Same problem.
Steps to reproduce
- Git clone.
- ./autogen.sh
- ./configure
- make
- Shell output as follows:
Making all in po make[2]: Entering directory '/data/data/com.termux/files/home/procps/po'
make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/data/data/com.termux/files/home/procps/po'
Making all in testsuite make[2]: Entering directory '/data/data/com.termux/files/home/procps/testsuite' CC ps.test/test-schedbatch.o
CCLD test-schedbatch CC ps.test/test-hugetlb.o CCLD test-hugetlb
make[2]: Leaving directory '/data/data/com.termux/files/home/procps/testsuite'
make[2]: Entering directory '/data/data/com.termux/files/home/procps'
CC src/ps/display.o
In file included from src/ps/display.c:40:
src/ps/common.h:101:1: error: pasting formed 'rel_1.17549435e-38F', an invalid preprocessing token
101 | makEXT(FLT_MIN)
| ^
src/ps/common.h:50:30: note: expanded from macro 'makEXT'
50 | #define makEXT(e) extern int namREL(e);
| ^
src/ps/common.h:49:24: note: expanded from macro 'namREL'
49 | #define namREL(e) rel_ ## e
| ^
src/ps/common.h:101:8: error: expected ';' after top level declarator
101 | makEXT(FLT_MIN)
| ^
/data/data/com.termux/files/usr/lib/clang/19/include/float.h:151:17: note: expanded from macro 'FLT_MIN'
151 | #define FLT_MIN __FLT_MIN__
| ^
<built-in>:153:21: note: expanded from macro '__FLT_MIN__'
153 | #define __FLT_MIN__ 1.17549435e-38F
| ^
2 errors generated. make[2]: *** [Makefile:1873: src/ps/display.o] Error 1 make[2]: Leaving directory '/data/data/com.termux/files/home/procps'
make[1]: *** [Makefile:2426: all-recursive] Error 1 make[1]: Leaving directory '/data/data/com.termux/files/home/procps' make: *** [Makefile:1243: all] Error 2
What is the current bug behavior?
Make is unsuccessful, as advised above.
What is the expected correct behavior?
For 'make' to succeed. Then, to proceed to 'make install'.
This bug happens on GitLab.com
Results of Android environment info
❯ termux-info
Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=12224
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.1
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirrors.de.sahilister.net/termux/termux-main stable main
# sources.list.d/pointless.list
deb https://its-pointless.github.io/files/21 termux extras
# sources.list.d/ivam3-termux-packages.list
deb [trusted=yes arch=all] https://ivam3.github.io/termux-packages stable extras
# x11-repo (sources.list.d/x11.list)
deb https://mirrors.de.sahilister.net/termux/termux-x11 x11 main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# root-repo (sources.list.d/root.list)
deb https://mirrors.de.sahilister.net/termux/termux-root root stable
# sources.list.d/rendiix.list
deb https://rendiix.github.io android-tools termux
Updatable packages:
All packages up to date termux-tools version:
1.43.6
Android version:
14
Kernel build information:
Linux localhost 5.15.123-android13-8-28577532-abX910XXS4BXG5 #1 SMP PREEMPT Thu Jul 11 02:48:07 UTC 2024 aarch64 Android Device manufacturer:
samsung
Device model:
SM-X910
LD Variables:
LD_LIBRARY_PATH=:/data/data/com.termux/files/home/install/lib
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.x11 versionCode:14
com.termux.api versionCode:51
com.termux.window versionCode:15
com.termux.styling versionCode:1000
NOTE MY TERMUX DEVICE IS UNROOTED.
Issues with procps-ng project bug reporting
The bug reporting page hypertext linkage on the GitLab procps-ng project page is cyclical and just points back to the same page. The only place I could find to register a bug request or request for help is here, where I lodged it.
Any assistance greatly appreciated.
Thank you Beauford