Re: [MacPorts] #13095: gv-3.5.8 fails to build on Mac OS X 10.5 Leopard
#13095: gv-3.5.8 fails to build on Mac OS X 10.5 Leopard ------------------------------------+--------------------------------------- Reporter: shirose@jamstec.go.jp | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: High | Milestone: Port Bugs Component: ports | Version: 1.5.2 Resolution: fixed | Keywords: Port: gv | ------------------------------------+--------------------------------------- Changes (by ryandesign@macports.org): * port: => gv Old description:
---> Fetching gv ---> Verifying checksum(s) for gv ---> Extracting gv ---> Applying patches to gv ---> Configuring gv ---> Building gv with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_shirose_src_macports- trunk_dports_print_gv/work/gv-3.5.8" && make all " returned error 2 Command output: creating gv_class.ad creating gv_class.h creating gv_intern_res_unix.h creating gv_spartan.h /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o resource.o resource.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o save.o save.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o scale.o scale.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o signal.o signal.c signal.c: In function 'signal_sh_terminate': signal.c:128: warning: implicit declaration of function 'exit' signal.c:128: warning: incompatible implicit declaration of built-in function 'exit' signal.c: In function 'signal_sh_updateFile': signal.c:174: warning: incompatible implicit declaration of built-in function 'exit' /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o version.o version.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o widgets_misc.o widgets_misc.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o zoom.o zoom.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o setenv.o setenv.c setenv.c: In function 'setenv': setenv.c:57: warning: implicit declaration of function 'strlen' setenv.c:57: warning: incompatible implicit declaration of built-in function 'strlen' setenv.c:62: warning: suggest parentheses around assignment used as truth value setenv.c:83: warning: implicit declaration of function 'memcpy' setenv.c:83: warning: incompatible implicit declaration of built-in function 'memcpy' setenv.c:89: warning: assignment discards qualifiers from pointer target type setenv.c:94: warning: suggest parentheses around assignment used as truth value setenv.c: At top level: setenv.c:105: error: conflicting types for 'unsetenv' /usr/include/stdlib.h:247: error: previous declaration of 'unsetenv' was here make[1]: *** [setenv.o] Error 1 make: *** [all] Error 2
Error: Status 1 encountered during processing.
New description: {{{ ---> Fetching gv ---> Verifying checksum(s) for gv ---> Extracting gv ---> Applying patches to gv ---> Configuring gv ---> Building gv with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_shirose_src_macports- trunk_dports_print_gv/work/gv-3.5.8" && make all " returned error 2 Command output: creating gv_class.ad creating gv_class.h creating gv_intern_res_unix.h creating gv_spartan.h /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o resource.o resource.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o save.o save.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o scale.o scale.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o signal.o signal.c signal.c: In function 'signal_sh_terminate': signal.c:128: warning: implicit declaration of function 'exit' signal.c:128: warning: incompatible implicit declaration of built-in function 'exit' signal.c: In function 'signal_sh_updateFile': signal.c:174: warning: incompatible implicit declaration of built-in function 'exit' /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o version.o version.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o widgets_misc.o widgets_misc.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o zoom.o zoom.c /usr/bin/cc -Os -Wall -Wpointer-arith -no-cpp-precomp -I/usr/X11/include -D__powerpc__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNON_BLOCKING_IO -DUSE_SIGNAL_HANDLER -DUSER_DEFAULTS=\"~/.gv\" -DGV_LIBDIR=\"/opt/local/lib/gv/\" -DGV_CODE -I/opt/local/include -DUSE_FALLBACK_STYLES -c -o setenv.o setenv.c setenv.c: In function 'setenv': setenv.c:57: warning: implicit declaration of function 'strlen' setenv.c:57: warning: incompatible implicit declaration of built-in function 'strlen' setenv.c:62: warning: suggest parentheses around assignment used as truth value setenv.c:83: warning: implicit declaration of function 'memcpy' setenv.c:83: warning: incompatible implicit declaration of built-in function 'memcpy' setenv.c:89: warning: assignment discards qualifiers from pointer target type setenv.c:94: warning: suggest parentheses around assignment used as truth value setenv.c: At top level: setenv.c:105: error: conflicting types for 'unsetenv' /usr/include/stdlib.h:247: error: previous declaration of 'unsetenv' was here make[1]: *** [setenv.o] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} -- -- Ticket URL: <http://trac.macports.org/ticket/13095#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts