Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#34364 closed defect (fixed)

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"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: tiger Cc:
Port: xorg-server

Description

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...

Attachments (1)

main.log (5.6 MB) - added by ballapete (Peter "Pete" Dyballa) 13 years ago.
main.log

Change History (4)

Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… removed
Keywords: tiger added; kCGScrollWheelEventIsContinuous deltaX deltaY removed
Owner: changed from macports-tickets@… to jeremyhu@…

CGFloat is an OS datatype that was added in Leopard.

comment:2 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

comment:3 in reply to:  2 Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Replying to jeremyhu@…:

r92825

Built!

Note: See TracTickets for help on using tickets.