[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"
#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
#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: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: tiger | Port: xorg-server --------------------------------------+------------------------------------- Changes (by ryandesign@…): * keywords: kCGScrollWheelEventIsContinuous, deltaX, deltaY => tiger * cc: jeremyhu@… (removed) * owner: macports-tickets@… => jeremyhu@… Comment: CGFloat is an OS datatype that was added in Leopard. -- Ticket URL: <https://trac.macports.org/ticket/34364#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: tiger Port: xorg-server | ---------------------------------------+------------------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r92825 -- Ticket URL: <https://trac.macports.org/ticket/34364#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: tiger Port: xorg-server | ---------------------------------------+------------------------------------ Comment(by Peter_Dyballa@…): Replying to [comment:2 jeremyhu@…]:
r92825
Built! -- Ticket URL: <https://trac.macports.org/ticket/34364#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts