Please find a proposed patch for the missing wrapped.h during build.
--- a/Makefile.am 2023-07-21 22:53:36.152522891 +0000 +++ b/Makefile.am 2023-07-22 00:12:21.796916350 +0000 @@ -7,7 +7,7 @@ libmacosx_la_SOURCES = libfakeroot_inode64.c libfakeroot_unix2003.c patchattr.h -libfakeroot_time64_la_SOURCES = libfakeroot_time64.c +libfakeroot_time64_la_SOURCES = libfakeroot_time64.c wrapped.h libfakeroot_time64_la_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 lib_LTLIBRARIES=libfakeroot.la --- a/Makefile.in 2023-07-21 22:06:23.543495829 +0000 +++ b/Makefile.in 2023-07-21 22:51:43.995255208 +0000 @@ -436,7 +436,7 @@ noinst_LTLIBRARIES = libcommunicate.la libmacosx.la libfakeroot_time64.la libcommunicate_la_SOURCES = communicate.c libmacosx_la_SOURCES = libfakeroot_inode64.c libfakeroot_unix2003.c patchattr.h -libfakeroot_time64_la_SOURCES = libfakeroot_time64.c +libfakeroot_time64_la_SOURCES = libfakeroot_time64.c wrapped.h libfakeroot_time64_la_CPPFLAGS = -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 lib_LTLIBRARIES = libfakeroot.la libfakeroot_la_SOURCES = libfakeroot.c statconv/glibc/linux/alpha/stats.h wrapdef.h wrapstruct.h communicate.h