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[2]: *** [symlinks.o] Error 1 gmake[2]: Leaving directory `/var/tmp/portage/sys-libs/e2fsprogs-libs-1.42.3/work/e2fsprogs-libs-1.42.3/util' gmake[1]: *** [../../util/symlinks] Error 2 gmake[1]: 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 emake failed Reproducible: Always
Created attachment 315225 [details] build.log
Created attachment 315227 [details] emerge --info '=sys-libs/e2fsprogs-libs-1.42.3'
Created attachment 315309 [details, diff] e2fsprogs-libs-1.42.4-fbsd.patch Simple patch not to include malloc.h on FreeBSD.
Comment on attachment 315309 [details, diff] e2fsprogs-libs-1.42.4-fbsd.patch e2fsprogs uses autoconf. check for the header there, and then use normal HAVE_MALLOC_H defines.
Created attachment 316827 [details, diff] e2fsprogs-libs-1.42.4-malloc.patch Revised patch to use HAVE_MALLOC_H
Comment on attachment 316827 [details, diff] e2fsprogs-libs-1.42.4-malloc.patch 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