Opened 2 years ago

Closed 2 years ago

#65319 closed defect (fixed)

virtuoso-7: Opportunistically uses geos and fails to build

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: virtuoso-7

Description

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

Change History (3)

comment:1 Changed 2 years ago by nerdling (Jeremy Lavergne)

Status: assignedaccepted

comment:2 Changed 2 years ago by nerdling (Jeremy Lavergne)

In 277364c3b8e3b0752907576f0ff1ba7430568799/macports-ports (master):

virtuoso-7: upgrade to 7.2.7

  • also fixes geos build conflict #65319

comment:3 Changed 2 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.