[MacPorts] #57333: xorg-server-devel @1.20.1 does not build on Mac OS X 10.5.8, Leopard, because of redefinition of typedef ‘CARD32’
MacPorts
noreply at macports.org
Tue Oct 9 20:58:47 UTC 2018
#57333: xorg-server-devel @1.20.1 does not build on Mac OS X 10.5.8, Leopard,
because of redefinition of typedef ‘CARD32’
-----------------------+-------------------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Keywords: leopard | Port: xorg-server-devel
-----------------------+-------------------------------
{{{
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -std=gnu99
-DHAVE_CONFIG_H -I. -I../include -I../include -I/opt/local/include
-I/usr/include
-I/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/x11
/xorg-server-devel/files/dri
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks
-I/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/x11
/xorg-server-devel/files/include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith
-Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-
after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn
-Wmissing-format-attribute -Wredundant-decls -Werror=implicit
-Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
-Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror
=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror
=pointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing
-D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I../include -I../include -I../Xext
-I../damageext -I../xfixes -I../Xi -I../mi -I../miext/sync
-I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb
-I../dbe -I../present -pipe -Os -arch ppc -D_THREAD_SAFE -pthread
-DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -MT pixmap.lo -MD
-MP -MF .deps/pixmap.Tpo -c -o pixmap.lo pixmap.c
libtool: compile: /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.
-I../include -I../include -I/opt/local/include -I/usr/include
-I/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/x11
/xorg-server-devel/files/dri
-F/System/Library/Frameworks/ApplicationServices.framework/Frameworks
-I/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/x11
/xorg-server-devel/files/include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith
-Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-
after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn
-Wmissing-format-attribute -Wredundant-decls -Werror=implicit
-Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
-Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror
=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror
=pointer-to-int-cast -fno-strict-aliasing -fno-strict-aliasing
-D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
-I/opt/local/include/libpng16 -I../include -I../include -I../Xext
-I../damageext -I../xfixes -I../Xi -I../mi -I../miext/sync
-I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb
-I../dbe -I../present -pipe -Os -arch ppc -D_THREAD_SAFE -pthread
-DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -MT pixmap.lo -MD
-MP -MF .deps/pixmap.Tpo -c pixmap.c -fno-common -DPIC -o .libs/pixmap.o
In file included from pixmap.c:45:
../randr/randrstr.h:66: error: redefinition of typedef ‘CARD32’
/opt/local/include/X11/Xmd.h:111: error: previous declaration of ‘CARD32’
was here
make[2]: *** [pixmap.lo] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
.org_macports_release_tarballs_ports_x11_xorg-server-devel/xorg-server-
devel/work/xorg-server-devel-1.20.1/dix'
make[1]: *** [all] Error 2
}}}
`/opt/local/include/X11/Xmd.h` has:
{{{
106 # ifdef LONG64
107 typedef unsigned long CARD64;
108 typedef unsigned int CARD32;
109 # else
110 typedef unsigned long long CARD64;
111 typedef unsigned long CARD32;
112 # endif
}}}
and `../randr/randrstr.h` has:
{{{
62 typedef XID RRMode;
63 typedef XID RROutput;
64 typedef XID RRCrtc;
65 typedef XID RRProvider;
66 typedef XID RRLease;
67
68 extern int RREventBase, RRErrorBase;
}}}
So this error report cannot be true.
--
Ticket URL: <https://trac.macports.org/ticket/57333>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list