I get this error: libc0.9.32: Entering fakeroot... MKDIR /home/ncopa/aports/main/libc0.9.32/pkg/libc0.9.32/lib/ make: *** No rule to make target `/home/ncopa/aports/main/libc0.9.32/pkg/libc0.9.32/usr/lib/', needed by `install_dev'. Stop. make: *** Waiting for unfinished jobs HOSTCC
Indeed unistd.h header does export '__getpgid' by default, while uClibc provide only 'getpgid' implementation. The 'getpgid' symbol is exported by standard header if __USE_XOPEN_EXTENDED is defined. This patch alignes uClibc implementation with standard header (matching with glibc behaviour).