Created attachment 591882 [details] emerge --info and build.log in one file Build net-misc/lldpd breaks with error: PATH_MAX is not declarated, do you mean AF_MAX? System runs muscl not glibc. Maybe this infoamtion is importend. emerge --info and build log is attached.
This was already fixed in net-misc/lldpd-1.0.4.
ChangeLog: 1.0.4 [2019-06-15 11:09:44 +0200]: ... - [b2eebb31fc21] priv: include limits.h for PATH_MAX (Sören Tempel)
With version 1.0.4 I have no error. By setting "=net-misc/lldpd-1.0.4 ~amd64" to "/etc/portage/package.accept_keywords" it works. Version 1.0.4 is the current version, from upstream developer. Maybe the current version should be stable? The case is closed to me.
Let us know if this is still a problem.