[Bug]: packaging: ac_cv_func_getpw{nam,uid}
being set to no
while available
#15889
Labels
bug report
Something is not working properly.
packaging
Issue related to building packages, not affecting end users directly.
untriaged
Problem description
Currently Autoconf cache variables
ac_cv_func_getpw{nam,uid}
are set tono
:termux-packages/scripts/build/toolchain/termux_setup_toolchain_23c.sh
Lines 106 to 107 in c3efe1d
which seemingly contradicts NDK patch for
pwd.h
that definesgetpw{nam,uid}
:termux-packages/ndk-patches/23c/pwd.h.patch
Lines 55 to 56 in c3efe1d
Is this intentional?
I noticed this because this affects the build of
libcurl
(more precisely onlycurl
subpackage) with clang16-porting. Theconfigure
script oflibcurl
tries to check deeper forgetpwuid
by means of linking against libc without declaration (just likefget{c,s}_unlocked
formutt
package: e95d6a8), which succeeds without clang16-porting but fails with it.What steps will reproduce the bug?
Maybe build some package that depends on
ac_cv_func_getpw{nam,uid}
.What is the expected behavior?
Maybe
ac_cv_func_getpw{nam,uid}
should be set toyes
.System information
Irrelevant.
The text was updated successfully, but these errors were encountered: