On 2019/03/30 23:09, Thomas Frohwein wrote:
> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   t...@cvs.openbsd.org    2019/03/30 23:09:06
> 
> Log message:
>     import OpenRA, an engine for real-time strategy games
>     
>     ok bentley@ (for slightly older version that didn't include additional 
> launch
>     scripts), additional testing by solene@ and Matthias Schmidt (openbsd () 
> xosc DOT org)

This is now failing in builds done without network access (e.g. I ran
into a failure on the i386 bulk build). If the internal copy of the
geoip database is >30 days old, it tries to fetch a new one (via
thirdparty/fetch-geoip-db.sh):

===>  Configuring for openra-20190314p0
===>  Building for openra-20190314p0
Updating GeoIP country database from MaxMind.
gmake: *** [Makefile:317: geoip-dependencies] Error 6
*** Error 2 in games/openra (/usr/ports/infrastructure/mk/bsd.port.mk:2800 
'/usr/obj/ports/openra-20190314/.build_done')
*** Error 1 in games/openra (/usr/ports/infrastructure/mk/bsd.port.mk:2466 
'build')
===> Exiting games/openra with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build')
Error: job failed with 256 on i386-2 at 1556233372

If it's not too awkward to patch it to use a non-gzipped file, I'd
suggest removing the internal copy and makefile infrastructure,
and replace with a RUN_DEPENDS on net/libmaxminddb,-db, and use
${LOCALSTATEDIR}/db/GeoIP/GeoLite2-Country.mmdb (either directly
or via symlink).


Reply via email to