[MacPorts] #14118: glpong 1.0 doesn't build
#14118: glpong 1.0 doesn't build -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | -------------------------------------+-------------------------------------- glpong doesn't build for me, on Mac OS X 10.4.11 Intel, Xcode 2.4.1, MacPorts 1.7.0 from trunk: {{{ $ sudo port install glpong ---> Fetching glpong ---> Attempting to fetch glpong-1.0.tar.gz from http://math.missouristate.edu/~erik/files/ ---> Verifying checksum(s) for glpong ---> Extracting glpong ---> Configuring glpong ---> Building glpong with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_games_glpong/work/glpong-1.0" && make all " returned error 2 Command output: Making all in data make[1]: Nothing to be done for `all'. Making all in src /usr/bin/gcc-4.0 -DPACKAGE=\"glpong\" -DVERSION=\"1.0\" -DDATADIR=\"/opt/local/share/glpong\" -I. -I. -I/opt/local/include -O2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11R6/include -c ai.c /usr/bin/gcc-4.0 -DPACKAGE=\"glpong\" -DVERSION=\"1.0\" -DDATADIR=\"/opt/local/share/glpong\" -I. -I. -I/opt/local/include -O2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11R6/include -c game.c /usr/bin/gcc-4.0 -DPACKAGE=\"glpong\" -DVERSION=\"1.0\" -DDATADIR=\"/opt/local/share/glpong\" -I. -I. -I/opt/local/include -O2 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11R6/include -c input.c input.c: In function 'input_do': input.c:37: error: label at end of compound statement make[1]: *** [input.o] Error 1 make: *** [all-recursive] Error 1 Error: Status 1 encountered during processing. $ }}} A version 1.2 is available; maybe we can update to that. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14118> MacPorts </projects/macports> Ports system for Mac OS
#14118: glpong 1.0 doesn't build --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by ryandesign@macports.org): No, 1.2 doesn't build either: {{{ $ sudo port install glpong ---> Fetching glpong ---> Verifying checksum(s) for glpong ---> Extracting glpong ---> Configuring glpong ---> Building glpong with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_games_glpong/work/glpong-1.2" && make all " returned error 2 Command output: cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands make all-recursive Making all in data make[2]: Nothing to be done for `all'. Making all in src source='ai.c' object='ai.o' libtool=no \ depfile='.deps/ai.Po' tmpdepfile='.deps/ai.TPo' \ depmode=none /bin/sh ../depcomp \ /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/usr/X11R6/include -I/usr/local/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11R6/include -DDATADIR=\"/opt/local/share/glpong\" -O2 -c `test -f ai.c || echo './'`ai.c ../depcomp: ../depcomp: No such file or directory make[2]: *** [ai.o] Error 127 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. $ }}} And neither does 1.1: {{{ $ sudo port install glpong ---> Fetching glpong ---> Verifying checksum(s) for glpong ---> Extracting glpong ---> Configuring glpong ---> Building glpong with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_games_glpong/work/glpong-1.1" && make all " returned error 2 Command output: sound.c:111: error: parse error before 'fwd' sound.c:111: warning: data definition has no type or storage class sound.c:112: error: parse error before 'sourcepos' sound.c:112: warning: data definition has no type or storage class sound.c:113: error: parse error before 'zero' sound.c:113: warning: data definition has no type or storage class sound.c:115: warning: parameter names (without types) in function declaration sound.c:115: warning: data definition has no type or storage class sound.c:116: error: parse error before '?' token sound.c:116: warning: data definition has no type or storage class sound.c:117: error: parse error before '?' token sound.c:117: warning: data definition has no type or storage class sound.c:119: warning: parameter names (without types) in function declaration sound.c:119: warning: data definition has no type or storage class sound.c:120: error: parse error before '?' token sound.c:120: warning: data definition has no type or storage class sound.c:121: warning: parameter names (without types) in function declaration sound.c:121: warning: data definition has no type or storage class sound.c:122: error: parse error before '[' token sound.c:122: warning: data definition has no type or storage class sound.c:123: error: parse error before numeric constant sound.c:123: warning: data definition has no type or storage class sound.c:124: error: parse error before numeric constant sound.c:124: warning: data definition has no type or storage class sound.c:125: warning: parameter names (without types) in function declaration sound.c:125: warning: data definition has no type or storage class sound.c:126: error: parse error before 'return' make[2]: *** [glpong-sound.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. $ }}} -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14118#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14118: glpong 1.0 doesn't build --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by sbplrports@gmail.com): nor 1.3 {{{ sudo port install glpong ---> Fetching glpong ---> Attempting to fetch glpong-1.3.tar.gz from http://math.missouristate.edu/~erik/files/ ---> Verifying checksum(s) for glpong ---> Extracting glpong ---> Configuring glpong ---> Building glpong with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_glpong/work/glpong-1.3" && make all " returned error 2 Command output: if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/usr/X11R6/include -I/usr/local/include -I/opt/local/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11/include -framework OpenAL -DDATADIR=\"/opt/local/share/glpong\" -O2 -MT map.o -MD -MP -MF ".deps/map.Tpo" -c -o map.o map.c; \ then mv -f ".deps/map.Tpo" ".deps/map.Po"; else rm -f ".deps/map.Tpo"; exit 1; fi i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: OpenAL: linker input file unused because linking not done if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/usr/X11R6/include -I/usr/local/include -I/opt/local/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11/include -framework OpenAL -DDATADIR=\"/opt/local/share/glpong\" -O2 -MT physics.o -MD -MP -MF ".deps/physics.Tpo" -c -o physics.o physics.c; \ then mv -f ".deps/physics.Tpo" ".deps/physics.Po"; else rm -f ".deps/physics.Tpo"; exit 1; fi i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: OpenAL: linker input file unused because linking not done if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/usr/X11R6/include -I/usr/local/include -I/opt/local/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11/include -framework OpenAL -DDATADIR=\"/opt/local/share/glpong\" -O2 -MT sound.o -MD -MP -MF ".deps/sound.Tpo" -c -o sound.o sound.c; \ then mv -f ".deps/sound.Tpo" ".deps/sound.Po"; else rm -f ".deps/sound.Tpo"; exit 1; fi i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: OpenAL: linker input file unused because linking not done if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/usr/X11R6/include -I/usr/local/include -I/opt/local/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11/include -framework OpenAL -DDATADIR=\"/opt/local/share/glpong\" -O2 -MT text.o -MD -MP -MF ".deps/text.Tpo" -c -o text.o text.c; \ then mv -f ".deps/text.Tpo" ".deps/text.Po"; else rm -f ".deps/text.Tpo"; exit 1; fi i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: OpenAL: linker input file unused because linking not done if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/usr/X11R6/include -I/usr/local/include -I/opt/local/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11/include -framework OpenAL -DDATADIR=\"/opt/local/share/glpong\" -O2 -MT timer.o -MD -MP -MF ".deps/timer.Tpo" -c -o timer.o timer.c; \ then mv -f ".deps/timer.Tpo" ".deps/timer.Po"; else rm -f ".deps/timer.Tpo"; exit 1; fi i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: OpenAL: linker input file unused because linking not done if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/usr/X11R6/include -I/usr/local/include -I/opt/local/include -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11/include -framework OpenAL -DDATADIR=\"/opt/local/share/glpong\" -O2 -MT video.o -MD -MP -MF ".deps/video.Tpo" -c -o video.o video.c; \ then mv -f ".deps/video.Tpo" ".deps/video.Po"; else rm -f ".deps/video.Tpo"; exit 1; fi i686-apple-darwin9-gcc-4.0.1: -framework: linker input file unused because linking not done i686-apple-darwin9-gcc-4.0.1: OpenAL: linker input file unused because linking not done /usr/bin/gcc-4.0 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/usr/X11/include -framework OpenAL -DDATADIR=\"/opt/local/share/glpong\" -O2 -L/opt/local/lib -L/usr/X11R6/lib -L/usr/local/lib -L/opt/local/lib -o glpong ai.o game.o image.o input.o main.o map.o physics.o sound.o text.o timer.o video.o -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa -lpng -lz -framework GLUT -framework OpenGL -framework Carbon -lobjc -framework OpenAL ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib collect2: ld returned 1 exit status make[2]: *** [glpong] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} MBP OSX 10.5.2 MP 1.6 Xcode 3.0 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14118#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14118: glpong 1.0 doesn't build --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org Comment: Thank you for letting me know that glpong 1.3 is available. It compiles for me on Mac OS X 10.4.11 so I updated the port in r34262. "ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib" is a [http://developer.apple.com/qa/qa2007/qa1567.html common problem on Leopard] for which we already have a fix in many portfiles. I'll add a fix to glpong as well. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14118#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14118: glpong 1.0 doesn't build --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by sbplrports@gmail.com): happy to help modified my Portfile to include {{{ platform darwin 9 { configure.ldflags-append \ -dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\ /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib } }}} installed fine for me in 10.5.2. but now it wont terminate without suspending or doing a force quit. any help with that. thanks. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14118#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14118: glpong 1.0 doesn't build --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------------+------------------------------------- Comment (by ryandesign@macports.org): Thanks for testing that. I'll add it to the portfile. The software does not seem to respond well to clicking the window's close box or selecting Quit from the File menu. It quits when you press the Escape key, though. You should file a bug about this with the developers of glpong. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14118#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#14118: glpong 1.0 doesn't build --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: --------------------------------------+------------------------------------- Changes (by ryandesign@macports.org): * status: new => closed * resolution: => fixed Comment: Committed the Leopard fix in r34276. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14118#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#14118: glpong 1.0 doesn't build --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: --------------------------------------+------------------------------------- Comment (by ryandesign@macports.org): There appear to be two ways to fix this: 1. Append `-dylib_file FILE:FILE` to LDFLAGS 2. Append `-Wl,dylib_file,FILE:FILE` to LDFLAGS in each case, "FILE" is "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib". What I committed in r34276 was neither of those, so I don't think that's valid. I changed it to the first form, which is also the form described in the Apple Developer Technical Q&A, in r34277. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14118#comment:7> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts