compface @1.5.2: error: implicit declaration of function 'write' is invalid in C99
I think I will just post my screen contents:
root@Richs-iMac (~ ): port clean compface
---> Cleaning compface
root@Richs-iMac (~ ): port install compface
---> Fetching archive for compface
---> Attempting to fetch compface-1.5.2_1.darwin_20.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/compface
---> Attempting to fetch compface-1.5.2_1.darwin_20.x86_64.tbz2 from https://kmq.jp.packages.macports.org/compface
---> Attempting to fetch compface-1.5.2_1.darwin_20.x86_64.tbz2 from https://lil.fr.packages.macports.org/compface
---> Fetching distfiles for compface
---> Verifying checksums for compface
---> Extracting compface
---> Applying patches to compface
---> Configuring compface
---> Building compface
Error: Failed to build compface: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_compface/compface/main.log for details.
I have attached the referenced logfile. It is failing to compile with an error about write() not being defined:
:info:build cmain.c:78:7: error: implicit declaration of function 'write' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build ERROR
:info:build ^
In 38a2e04f71f961e570a73eef0665a17ac5e655a7/macports-ports (master):