[MacPorts] #13538: gv does not download, does not compile

MacPorts trac at macosforge.org
Mon Dec 10 02:11:15 PST 2007


#13538: gv does not download, does not compile
---------------------------+------------------------------------------------
 Reporter:  vlado at gmx.net  |       Owner:  macports-dev at lists.macosforge.org
     Type:  defect         |      Status:  new                              
 Priority:  Normal         |   Milestone:                                   
Component:  ports          |     Version:  1.5.2                            
 Keywords:                 |  
---------------------------+------------------------------------------------
 First, when I attempted to install the gv port, the download failed:

 {{{
 --->  Fetching gv
 DEBUG: Executing org.macports.fetch (gv)
 --->  gv-3.5.8.tar.gz doesn't seem to exist in
 /opt/local/var/macports/distfiles/gv
 --->  Attempting to fetch gv-3.5.8.tar.gz from ftp://ftpthep.physik.uni-
 mainz.de/pub/gv/unix/

 DEBUG: Fetching failed:: FTP: login denied
 --->  Attempting to fetch gv-3.5.8.tar.gz from
 http://svn.macports.org/repository/macports/distfiles/gv
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 DEBUG: Fetching failed:: HTTP response code said error
 --->  Attempting to fetch gv-3.5.8.tar.gz from
 http://svn.macports.org/repository/macports/distfiles/general/
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 DEBUG: Fetching failed:: HTTP response code said error
 }}}

 I managed to download manually (using wget) from the first address,
 though. Having put the file in /opt/local/var/macports/distfiles/gv the
 compilation started, but it failed with the following output:

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

 This was on Mac OS 10.5.1 (PPC).

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13538>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list