[MacPorts] #48664: inkscape-devel: ./inkgc/gc-core.h:25:11: fatal error: 'gc.h' file not found
#48664: inkscape-devel: ./inkgc/gc-core.h:25:11: fatal error: 'gc.h' file not found ----------------------+---------------------------- Reporter: ionic@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: haspatch | Port: inkscape-devel ----------------------+---------------------------- `inkscape-devel` has been failing to build on my system for quite a while. The autotools system for generating Makefiles seems to out of date and does not have a check for `<gc/gc.h>`, while the `cmake`-based generation does it correctly. I don't understand how it ever worked for you. Do you have a stray `${prefix}/include/gc.h` file? If yes, did you never have problems with other ports failing to build like `ghc`? Anyway, `main.log` and a patch will be attached. -- Ticket URL: <https://trac.macports.org/ticket/48664> MacPorts <https://www.macports.org/> Ports system for OS X
#48664: inkscape-devel: ./inkgc/gc-core.h:25:11: fatal error: 'gc.h' file not found -----------------------------+---------------------- Reporter: ionic@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: inkscape-devel | -----------------------------+---------------------- Comment (by ionic@…): Hum, turns out `boehmgc` does provide a compatibility header as `${prefix}/include/gc.h`. It's likely I removed it due to `ghc` failing to build with this file in place, as it overrode `ghc`'s internal `gc.h` file (which is totally different from `boehmgc`.) So while the general problem probably arose from me deleting a file and was fixed by force-deactivating and activating `boehmgc` to get it back in place, I still mandate for the patch to be applied. -- Ticket URL: <https://trac.macports.org/ticket/48664#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48664: inkscape-devel: ./inkgc/gc-core.h:25:11: fatal error: 'gc.h' file not found -----------------------------+---------------------- Reporter: ionic@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: inkscape-devel | -----------------------------+---------------------- Comment (by ryandesign@…): Since the port is not broken for anyone but you, you should probably instead send your patch to the developers of inkscape for consideration. -- Ticket URL: <https://trac.macports.org/ticket/48664#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | -----------------------------+---------------------- Changes (by ionic@…): * status: new => closed * resolution: => invalid Comment: No, the port isn't even broken for me - or at least isn't anymore since I cycle-activated `boehmgc`. Pushing the change upstream is not worth the effort, because the `autotools`-based build system is scheduled to be replaced by the `cmake`-based build system. Closing as invalid. -- Ticket URL: <https://trac.macports.org/ticket/48664#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#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 devans@…): I agree -- but ghc may be broken if it won't build with current boehmgc as installed. I'll leave that to you to work out. -- Ticket URL: <https://trac.macports.org/ticket/48664#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#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
participants (1)
-
MacPorts