Thank you very much for your help. Of course, the ticket can be closed
OTOH, when doing makepkg -sr configure identifies GETGROUPS_T as int, and build fails. Right? Yes Now, first we really need that line from man getgroups, the one that for me reads int getgroups(int size, gid_t list[]); int getgroups(int gidsetsize, gid_t grouplist[]); That's what you asked for?
OTOH, when doing makepkg -sr configure identifies GETGROUPS_T as int, and build fails. Right? Yes Now, first we really need that line from man getgroups, the one that for me reads int getgroups(int gidsetsize, gid_t grouplist[]); That's what you asked for?
config.log : configure:17341: checking Figure out if getgrouplist() needs gid_t or int configure:17362: gcc -c -Werror -D_FORTIFY_SOURCE=2 conftest.c >&5 In file included from /usr/include/unistd.h:25:0, from conftest.c:38: /usr/include/features.h:376:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc1: all warnings being treated as errors configure:17362: $? = 1 configure: failed...
Ops.. it works now.
mangr
lirc-1:0.10.1-1-x86_64-build.log
grep for getgroup in the output from ./configure and post that line? Try to patch config.h after running ./configure but before make, changung GETGROUPS_T to either int or gid_t and then run make. Does the build fly? compilation using 'makepkg -sr' [1]: [1] https://wiki.archlinux.org/index.php/Makepkg configure: checking Figure out if getgrouplist() needs gid_t or int... int config.h (not modified by me): /* type of argument 3 in getgrouplist() */ #define GETGROUPS_T int Error log above (full log...