Gnupg build tries to use with makeinfo an option which is not know/supported by the in FreeBSD-11.3-STABLE. The ports kit needs to be either modified to avoid the unsupported option or makeinfo in FreeBSD-11.3-STABLE needs to be updated to support it. The unsupported option is '--css-ref=/share/site.css'. See an example below... rm -rf $backupdir; exit $rc incd="`test -f defsincdate || echo './'`defsincdate"; \ for file in gnupg7.texi gpg.texi gpgsm.texi gpg-agent.texi dirmngr.texi scdaemon.texi tools.texi wks.texi ; do \ /usr/local/bin/yat2m -I . --release "GnuPG 2.2.19" --source "GNU Privacy Guard 2.2" --store \ --date "`cat $incd 2>/dev/null`" \ `test -f '$file' || echo './'`$file ; done yat2m: writing 'gnupg.7' makeinfo: unrecognized option `--css-ref=/share/site.css' Try `makeinfo --help' for more information. gmake[5]: *** [Makefile:586: gnupg.info] Error 1 gmake[5]: *** Waiting for unfinished jobs.... yat2m: writing 'gpg2.1' yat2m: writing 'gpgsm.1' yat2m: writing 'gpg-agent.1' yat2m: writing 'dirmngr.8' yat2m: writing 'scdaemon.1' yat2m: writing 'watchgnupg.1' yat2m: writing 'gpgv2.1' yat2m: writing 'addgnupghome.8' yat2m: writing 'gpgconf.1' yat2m: writing 'applygnupgdefaults.8' yat2m: writing 'gpg-preset-passphrase.1' yat2m: writing 'gpg-connect-agent.1' yat2m: writing 'dirmngr-client.1' yat2m: writing 'gpgparsemail.1' yat2m: writing 'symcryptrun.1' yat2m: writing 'gpgtar.1' yat2m: writing 'gpg-wks-client.1' yat2m: writing 'gpg-wks-server.1' gmake[5]: Leaving directory '/usr/ports/security/gnupg/work/gnupg-2.2.19/doc' gmake[4]: *** [Makefile:550: all] Error 2 gmake[4]: Leaving directory '/usr/ports/security/gnupg/work/gnupg-2.2.19/doc' gmake[3]: *** [Makefile:615: all-recursive] Error 1 gmake[3]: Leaving directory '/usr/ports/security/gnupg/work/gnupg-2.2.19' gmake[2]: *** [Makefile:535: all] Error 2 gmake[2]: Leaving directory '/usr/ports/security/gnupg/work/gnupg-2.2.19' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/security/gnupg *** Error code 1 Stop. make: stopped in /usr/ports/security/gnupg
As far as I know, this problem comes from missing a step when upgrading FreeBSD. Run 'cd /usr/src && make delete-old' and try the build again. If you're upgrading from source, you need to run that command after every upgrade. Let me know if that fixes it for you.
No response from submitter, so I'm assuming the suggested fix worked, and closing this PR. Please re-open if not.