[MacPorts] #34364: xorg-server-1.12.1.901 does not build on PPC Tiger Mac OS X 10.4.11 because "X11Application.m:1596: error: 'CGFloat' undeclared"
MacPorts
noreply at macports.org
Mon May 7 08:01:28 PDT 2012
#34364: xorg-server-1.12.1.901 does not build on PPC Tiger Mac OS X 10.4.11 because
"X11Application.m:1596: error: 'CGFloat' undeclared"
-------------------------------------------------------------+--------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: kCGScrollWheelEventIsContinuous, deltaX, deltaY | Port: xorg-server
-------------------------------------------------------------+--------------
By chance I just a re-used an old compile command in GNU Emacs so I have a
perfect LOG file for this:
{{{
/bin/sh ../../libtool --mode=compile /usr/bin/gcc-4.0 -std=gnu99
-DHAVE_CONFIG_H -I. -I../../include -DBUILD_DATE=\"20120507\"
-DXSERVER_VERSION=\"1.12.1.901\" -DINXQUARTZ -DUSE_NEW_CLUT
-DXFree86Server -I../../miext/rootless -DX11LIBDIR=\"/opt/local/lib\"
-I/opt/local/include -I/usr/include
-I/opt/local/var/macports/sources/lil.fr.rsync.macports.org/release/tarballs/ports/x11
/xorg-server/files/dri
-I/opt/local/var/macports/sources/lil.fr.rsync.macports.org/release/tarballs/ports/x11
/xorg-server/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 -Wcast-qual -Wmissing-
noreturn -Wmissing-format-attribute -Wredundant-decls -fno-strict-aliasing
-fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/opt/local/include -I/opt/local/include/pixman-1
-I/opt/local/include/freetype2 -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 -pipe -O2 -arch ppc
-DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -c -o
X11Application.lo X11Application.m
libtool: compile: /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I.
-I../../include -DBUILD_DATE=\"20120507\" -DXSERVER_VERSION=\"1.12.1.901\"
-DINXQUARTZ -DUSE_NEW_CLUT -DXFree86Server -I../../miext/rootless
-DX11LIBDIR=\"/opt/local/lib\" -I/opt/local/include -I/usr/include
-I/opt/local/var/macports/sources/lil.fr.rsync.macports.org/release/tarballs/ports/x11
/xorg-server/files/dri
-I/opt/local/var/macports/sources/lil.fr.rsync.macports.org/release/tarballs/ports/x11
/xorg-server/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 -Wcast-qual -Wmissing-
noreturn -Wmissing-format-attribute -Wredundant-decls -fno-strict-aliasing
-fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/opt/local/include -I/opt/local/include/pixman-1
-I/opt/local/include/freetype2 -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 -pipe -O2 -arch ppc
-DROOTLESS_WORKAROUND -DROOTLESS_SAFEALPHA -DNO_ALLOCA -c X11Application.m
-fno-common -DPIC -o .libs/X11Application.o
In file included from ../../include/misc.h:111,
from ../../include/privates.h:18,
from quartzCommon.h:39,
from X11Application.m:37:
../../include/os.h:458: warning: declaration of 'id' shadows a global
declaration
<built-in>:0: warning: shadowed declaration is here
...
X11Application.m:1596: error: 'CGFloat' undeclared (first use in this
function)
X11Application.m:1596: error: (Each undeclared identifier is reported only
once
X11Application.m:1596: error: for each function it appears in.)
X11Application.m:1596: error: parse error before 'deltaX'
X11Application.m:1598: warning: 'NSEvent' may not respond to '-CGEvent'
X11Application.m:1598: warning: initialization from incompatible pointer
type
X11Application.m:1600: error: 'kCGScrollWheelEventIsContinuous' undeclared
(first use in this function)
X11Application.m:1658: error: 'deltaX' undeclared (first use in this
function)
X11Application.m:1691: error: 'deltaY' undeclared (first use in this
function)
make[3]: *** [X11Application.lo] Error 1
make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-
server-1.12.1.901/hw/xquartz'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-
server-1.12.1.901/hw/xquartz'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-
server-1.12.1.901/hw'
make: *** [all-recursive] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-
server-1.12.1.901'
shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports
.org_release_tarballs_ports_x11_xorg-server/xorg-server/work/xorg-
server-1.12.1.901" && /usr/bin/make -w all V=1 " returned error 2
Error: Target org.macports.build returned: shell command failed (see log
for details)
}}}
Seems some recently added support for graphic tablets needs to switched
off on Tiger...
--
Ticket URL: <https://trac.macports.org/ticket/34364>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list