Making all in utils make[1]: Entering directory '/var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6-abi_x86_64.amd64/utils' x86_64-gentoo-linux-musl-gcc -DPACKAGE_NAME=\"libndp\" -DPACKAGE_TARNAME=\"libndp\" -DPACKAGE_VERSION=\"1.6\" -DPACKAGE_STRING=\"libndp\ 1.6\" -DPACKAGE_BUGREPORT=\"jiri@resnulli.us\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libndp\" -DVERSION=\"1.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DENABLE_LOGGING=1 -I. -I/var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6/utils -I/var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6/include -march=x86-64 -mtune=generic -O2 -pipe -Wall -c -o ndptool.o /var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6/utils/ndptool.c /var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6/utils/ndptool.c: In function ‘run_main_loop’: /var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6/utils/ndptool.c:61:2: error: unknown type name ‘fd_set’ fd_set rfds; ^ /var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6/utils/ndptool.c:62:2: error: unknown type name ‘fd_set’ fd_set rfds_tmp; ^ /var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6/utils/ndptool.c:102:2: warning: implicit declaration of function ‘FD_ZERO’ [-Wimplicit-function-declaration] FD_ZERO(&rfds); ^ /var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6/utils/ndptool.c:104:2: warning: implicit declaration of function ‘FD_SET’ [-Wimplicit-function-declaration] FD_SET(ndp_fd, &rfds); ^ /var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6/utils/ndptool.c:109:9: warning: implicit declaration of function ‘pselect’ [-Wimplicit-function-declaration] ret = pselect(fdmax, &rfds_tmp, NULL, NULL, NULL, &mask); ^ /var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6/utils/ndptool.c:118:7: warning: implicit declaration of function ‘FD_ISSET’ [-Wimplicit-function-declaration] if (FD_ISSET(ndp_fd, &rfds_tmp)) { ^ make[1]: *** [Makefile:400: ndptool.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-libs/libndp-1.6-r1/work/libndp-1.6-abi_x86_64.amd64/utils' make: *** [Makefile:387: all-recursive] Error 1 Reproducible: Always
Created attachment 482406 [details, diff] libndp-1.6-musl.patch This adds a needed include.
Just FYI, this patch is already upstream: https://github.com/jpirko/libndp/commit/94e9a082d76414f82794b0c9817d0c24e3868275
Yes, it is. But that was committed 4 days after the 1.6 release.
1.7 is in tree which works fine with musl