[MacPorts] #65319: virtuoso-7: Opportunistically uses geos and fails to build

MacPorts noreply at macports.org
Thu Jun 9 19:02:57 UTC 2022


#65319: virtuoso-7: Opportunistically uses geos and fails to build
------------------------+------------------------
 Reporter:  ryandesign  |      Owner:  nerdling
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.2
 Keywords:              |       Port:  virtuoso-7
------------------------+------------------------
 virtuoso-7 does not declare a dependency on the geos port but if it is
 installed then building virtuoso-7 fails:
 {{{
 :info:configure checking geos library usability... good
 }}}
 {{{
 :info:build In file included from ./geos_import_to_virtgeo.cpp:5:
 :info:build In file included from
 /opt/local/include/geos/geom/Coordinate.h:19:
 :info:build /opt/local/include/geos/constants.h:35:1: error: unknown type
 name 'constexpr'
 :info:build constexpr double MATH_PI = 3.14159265358979323846;
 :info:build ^
 :info:build /opt/local/include/geos/constants.h:38:1: error: unknown type
 name 'constexpr'
 :info:build constexpr double DoubleNotANumber =
 std::numeric_limits<double>::quiet_NaN();
 :info:build ^
 :info:build /opt/local/include/geos/constants.h:39:1: error: unknown type
 name 'constexpr'
 :info:build constexpr double DoubleMax =
 (std::numeric_limits<double>::max)();
 :info:build ^
 :info:build /opt/local/include/geos/constants.h:40:1: error: unknown type
 name 'constexpr'
 :info:build constexpr double DoubleInfinity =
 (std::numeric_limits<double>::infinity)();
 :info:build ^
 :info:build /opt/local/include/geos/constants.h:41:1: error: unknown type
 name 'constexpr'
 :info:build constexpr double DoubleNegInfinity =
 (-(std::numeric_limits<double>::infinity)());
 :info:build ^
 :info:build /opt/local/include/geos/constants.h:42:1: error: unknown type
 name 'constexpr'
 :info:build constexpr double DoubleEpsilon =
 std::numeric_limits<double>::epsilon();
 :info:build ^
 }}}
 etc.

 If I use trace mode (`sudo port -t install virtuoso-7`) then it builds
 successfully:

 {{{
 --->  Computing dependencies for virtuoso-7
 --->  Fetching distfiles for virtuoso-7
 --->  Verifying checksums for virtuoso-7
 --->  Extracting virtuoso-7
 Warning: The following existing file was hidden from the build system by
 trace mode:
   /private/var/select/sh
 --->  Applying patches to virtuoso-7
 Warning: The following existing file was hidden from the build system by
 trace mode:
   /private/var/select/sh
 --->  Configuring virtuoso-7
 Some antivirus software can cause the virtuoso build to hang indefinitely.
 If you have any antivirus software installed, please disable it while
 building virtuoso; it can be re-enabled after virtuoso has been installed.
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt/local/bin/ar
   /opt/local/bin/bison
   /opt/local/bin/flex
   /opt/local/bin/ggrep
   /opt/local/bin/gm4
   /opt/local/bin/gmkdir
   /opt/local/bin/gperf
   /opt/local/bin/gsed
   /opt/local/bin/lipo
   /opt/local/bin/nm
   /opt/local/bin/objdump
   /opt/local/bin/otool
   /opt/local/bin/ranlib
   /opt/local/bin/ruby3.1
   /opt/local/bin/strip
   /opt/local/include/geos_c.h
   /opt/local/lib/libfl.a
   /opt/local/lib/libfl.dylib
   /opt/local/lib/libunwind.dylib
   /private/var/select/sh
 Warning: The following file inside the MacPorts prefix not installed by a
 port was accessed:
   /opt/local/bin/ruby
 Warning: Configuration logfiles contain indications of -Wimplicit-
 function-declaration; check that features were not accidentally disabled:
   ldap_init: found in virtuoso-opensource-7.2.6/config.log
   strchr: found in virtuoso-opensource-7.2.6/config.log
 --->  Building virtuoso-7
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt/local/bin/ar
   /opt/local/bin/lipo
   /opt/local/bin/ranlib
   /opt/local/lib/libunwind.dylib
   /private/var/select/sh
 --->  Staging virtuoso-7 into destroot
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65319>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list