build.log tail follow
In file included from symlinks.c:11:0:
/usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by <stdlib.h>"
gmake: *** [symlinks.o] Error 1
gmake: Leaving directory `/var/tmp/portage/sys-libs/e2fsprogs-libs-1.42.3/work/e2fsprogs-libs-1.42.3/util'
gmake: *** [../../util/symlinks] Error 2
gmake: Leaving directory `/var/tmp/portage/sys-libs/e2fsprogs-libs-1.42.3/work/e2fsprogs-libs-1.42.3/lib/et'
gmake: *** [install-shlibs-libs-recursive] Error 1
Created attachment 315225 [details]
Created attachment 315227 [details]
emerge --info '=sys-libs/e2fsprogs-libs-1.42.3'
Created attachment 315309 [details, diff]
Simple patch not to include malloc.h on FreeBSD.
Comment on attachment 315309 [details, diff]
e2fsprogs uses autoconf. check for the header there, and then use normal HAVE_MALLOC_H defines.
Created attachment 316827 [details, diff]
Revised patch to use HAVE_MALLOC_H
Comment on attachment 316827 [details, diff]
symlinks.c looks good, but Makefile.in does not. can't mix CPPFLAGS and BUILD_CPPFLAGS or it leads to flakiness ...
doesnt seem to be an issue with recent fbsd/e2fsprogs releases