På mandag 13. juli 2026 kl. 11:40, skrev [email protected]
<[email protected]>:

> hi,
> 
> quick port for https://geographiclib.sourceforge.io/ which can be used
> by geo/qgis (disabled by default, needs an additional CONFIGURE_ARGS to
> enable) to calculate the components of magnetic fields from a magnetic
> field model.
> 
> tests do run, but some arent built for reasons i didnt find.
> 
> ok to import ?
> 


Built/tested on current/amd64 with privsep.

$ cd /usr/ports/geo/geographiclib/ && make build package test ; make 
port-lib-depends-check check-shlib-syms

97% tests passed, 6 tests failed out of 199

Total Test time (real) =   2.48 sec

The following tests FAILED:
          1 - geodtest (Not Run)
          2 - signtest (Not Run)
          3 - polygontest (Not Run)
          4 - intersecttest (Not Run)
        134 - Planimeter3 (Failed)
        135 - Planimeter4 (Failed)
Errors while running CTest
Output from these tests are in: 
/usr/ports/pobj/geographiclib-2.7/build-amd64/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
*** Error 8 in . (/usr/ports/devel/cmake/cmake.port.mk:53 'do-test': @cd 
/usr/ports/pobj/geographiclib-2.7/build-amd64 && exec /usr/bin/env ...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3108 
'/usr/ports/pobj/geographiclib-2.7/build-amd64/.test_done': @cd /usr/ports/g...)
*** Error 2 in /usr/ports/geo/geographiclib 
(/usr/ports/infrastructure/mk/bsd.port.mk:2722 'test': @lock=geographiclib-2.7; 
 export _LOCKS_H...)
check-shlib-syms: no installed library for 
/usr/local/lib/libGeographicLib.so.0.0
--

# TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ pkg_add -Dsnap geographiclib
geographiclib-2.7: ok
--

Builds fine here.

General thanks for all the ports work you do and maintaining all those
firefox, thunderbird, and other derivatives you do.

Hope this helps. May you have success hacking and have a good week.
--
yaydn

Reply via email to