[MacPorts] #13904: ghc 6.6.1_0 build failure: parse error before 'TickProc'

MacPorts trac at macosforge.org
Sun Jan 13 01:52:23 PST 2008


#13904: ghc 6.6.1_0 build failure: parse error before 'TickProc'
-------------------------------------+--------------------------------------
 Reporter:  ryandesign at macports.org  |       Owner:  gwright at macports.org
     Type:  defect                   |      Status:  new                 
 Priority:  Normal                   |   Milestone:  Port Bugs           
Component:  ports                    |     Version:  1.7.0               
 Keywords:                           |  
-------------------------------------+--------------------------------------
 I've been able to install ghc in the past, but I can't now:

 {{{
 $ sudo port install
 --->  Fetching ghc
 --->  Verifying checksum(s) for ghc
 --->  Extracting ghc
 --->  Applying patches to ghc
 --->  Configuring ghc
 --->  Building ghc with target all
 Error: Target org.macports.build returned: shell command "env
 DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib make all" returned error 2
 Command output:
 posix/Itimer.c:104:0:  error: parse error before 'TickProc'

 posix/Itimer.c:105:0:
      warning: function declaration isn't a prototype
 posix/Itimer.c: In function 'startTicker':

 posix/Itimer.c:112:0:
      error: 'handle_tick' undeclared (first use in this function)

 posix/Itimer.c:115:0:
      warning: implicit declaration of function 'getourtimeofday'

 posix/Itimer.c:118:0:
      error: 'ms' undeclared (first use in this function)
 posix/Itimer.c: At top level:

 posix/Itimer.c:127:0:
      warning: function declaration isn't a prototype

 posix/Itimer.c:220:0:
      warning: no previous prototype for 'getourtimeofday'

 posix/Itimer.c:220:0:
      error: conflicting types for 'getourtimeofday'

 posix/Itimer.c:115:0:
      error: previous implicit declaration of 'getourtimeofday' was here
 make[1]: *** [posix/Itimer.o] Error 1
 make: *** [stage1] Error 1

 Error: Status 1 encountered during processing.
 $
 }}}

 Mac OS X 10.4.11, Xcode 2.4.1, MacPorts 1.7.0 from trunk, MacBook Pro.

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


More information about the macports-tickets mailing list