The port astro/xephem fails to build on recent 12-CURRENT (12.0-CURRENT #39 r319759: Fri Jun 9 22:30:07 CEST 2017 amd64) with the error shown below.
I think this is a fallout due to the removement of GNU roff from the base system, see src/UPDATING, date tag 20170531.
The problem can be fixed by adding
to the port's Makefile. A more sophisticated way would be a dependency on the OSVERSION
/bin/sh: nroff: not found
gmake: *** [Makefile:195: xephem.1] Error 127
gmake: Leaving directory '/wrkdirs/usr/ports/astro/xephem/work/xephem-3.7.7/GUI/xephem'
*** Error code 1
Created attachment 183384 [details]
Patch against astro/xephem/Makefile for OSVERSION
The patch reels in textproc/groff for OSVERSION >= 1200032
According to src/UPDATING, GNU groff has been removed from base system. Port astro/xephem depends on nroff, which is not further available after the removement and so it has to be installed as a build time dependency.
Was that patch actually tested? It looks like it resets BUILD_DEPENDS.
So if I set BUILD_DEPENDS+= textproc/groff
versus BUILD_DEPENDS= textproc/groff
The only difference between the two depends lists is that devel/gmake is included.
gmake gets pulled in by a dep, but is also needed for xephem.
A commit references this bug:
Date: Mon Jun 12 19:54:54 UTC 2017
New revision: 443463
Update port to work after removal of groff from the base system.
Submitted by: email@example.com
(In reply to Josh Paetzel from comment #3)
You're correct, my final version also had a "+" added. I tested the patch in a non-clean-from-scratch poudriere environment and it worked there.
Thanks for checking and correcting.