[MacPorts] #57334: gimp2: error: typedef redefinition with different types
MacPorts
noreply at macports.org
Wed Oct 10 04:56:18 UTC 2018
#57334: gimp2: error: typedef redefinition with different types
------------------------+----------------------
Reporter: ryandesign | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: gimp2
------------------------+----------------------
[https://build.macports.org/builders/ports-10.6_x86_64_legacy-
builder/builds/79568/steps/install-port/logs/stdio gimp2 fails to build on
10.6]:
{{{
In file included from gimpwidgets-utils.c:37:
In file included from
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:30:
In file included from
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QD.h:41:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:267:41:
error: typedef redefinition with different types ('struct Cursor' vs 'XID'
(aka 'unsigned long'))
typedef struct Cursor Cursor;
^
/opt/local/include/X11/X.h:103:13: note: previous definition is here
typedef XID Cursor;
^
1 error generated.
make[3]: *** [gimpwidgets-utils.o] Error 1
}}}
Apparently macOS and X11 both define something different called `Cursor`.
Not sure how such a conflict is meant to be dealt with, nor why we don't
see the problem with other X11 software. See #19743 for a previous
instance of this type of problem with another port, which was unhelpfully
closed as invalid.
--
Ticket URL: <https://trac.macports.org/ticket/57334>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list