[MacPorts] #60506: Can't install grass7

MacPorts noreply at macports.org
Mon May 25 12:43:14 UTC 2020


#60506: Can't install grass7
----------------------+--------------------
  Reporter:  dershow  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  grass7   |
----------------------+--------------------

Comment (by nilason):

 Replying to [comment:10 Veence]:
 > The problem is this: g.gisenv (and other utilities) are called by the
 build system. It depends on the libgrass_gis library.
 >
 > But when the lib grass_gis library is built, the linking process records
 the installation path (/opt/local/share/grass78/…) of the library within
 its header. Then g.gisenv is compiled and linked against it, and the
 linking process does not reference the real location of the libraries an
 executable is built against, but the location as specified in the library
 header (in this case, the installation path).
 >
 > So when g.gisenv is called within the build process, it looks for
 /opt/local/share/grass78/libgrass_gis.dylib, rather than using the
 temporary place the library is stored in until the build finishes.

 Yes, I realised that while comparing the log files. The strange thing
 seems to be that it worked this far -- even for 10.15!! See e.g.
 https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/29988.

-- 
Ticket URL: <https://trac.macports.org/ticket/60506#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list