When you build with DEBUG macro for libcap, i take this errors: setcap.c: In function 'main': setcap.c:179:19: error: expected ';' before '}' token 179 | cap_free(result) | ^ | ; 180 | } | ~ make[1]: *** [Makefile:34: setcap.o] Error 1 make[1]: Leaving directory '/root/rpmbuild/BUILD/libcap-2.61/progs' make: *** [Makefile:15: all] Error 2 At progs/setcap.c line: 179 cap_free(result) Statement missing ';'. It shoud be "cap_free(result);"
Created attachment 300767 [details] Fix code syntax error in setcap.c
Thanks! https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=21d08b03c2a737e4384a07857e0289ad0126b663