[MacPorts] #48664: inkscape-devel: ./inkgc/gc-core.h:25:11: fatal error: 'gc.h' file not found

MacPorts noreply at macports.org
Sat Aug 22 12:38:23 PDT 2015


#48664: inkscape-devel: ./inkgc/gc-core.h:25:11: fatal error: 'gc.h' file not found
-----------------------------+----------------------
  Reporter:  ionic@…         |      Owner:  devans@…
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.3
Resolution:  invalid         |   Keywords:  haspatch
      Port:  inkscape-devel  |
-----------------------------+----------------------

Comment (by ionic@…):

 It probably wasn't `ghc` but some other port. I cannot remember which one,
 though.

 I had two problems: an orphaned file `${prefix}/include/gc.h`, which meant
 that it was not shadowed by trace mode (and thus this port I cannot
 remember failed to build because it pulled in `gc.h` from that location
 instead of its private `gc.h`). After finding out that it was orphaned, I
 deleted this file and suddenly `inkscape-devel` failed to build, because
 the `autotools` build system doesn't include the check for `gc/gc.h`, only
 `gc.h`, which I have removed previously.

 Cycling `boehmgc` put back the not-orphaned `gc.h` file, which will now be
 shadowed by trace mode if a port does not specify `boehmgc` as a
 dependency, so I guess I'll never see the problem again. I could start not
 using trace mode for system upgrades to provoke the other port's build
 failure again, but I don't feel like messing up my otherwise rather clean
 system due to everything being built with trace mode.

-- 
Ticket URL: <https://trac.macports.org/ticket/48664#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list