[MacPorts] #52601: ghc compile error on sierra with Xcode 8.0 ( GetTime.c )
#52601: ghc compile error on sierra with Xcode 8.0 ( GetTime.c ) -------------------------------------------------+------------------------- Reporter: sonientaegi@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: GetTime.c mach_timebase_info_data_t | Version: 2.3.4 | Port: ghc -------------------------------------------------+------------------------- Install ghc on sierra with Xcode 8.0 will meet compile error : :info:build rts/posix/GetTime.c:44:5: :info:build error: use of undeclared identifier 'mach_timebase_info_data_t' :info:build mach_timebase_info_data_t info; Luckily this was already patched on ghc haskel mirror on GitHub : https://github.com/ghc/ghc/commit/b7b130c5102948b38aaba723044288e16a80d492 I manually altered source referencing this fix and could solve this compile error. -- Ticket URL: <https://trac.macports.org/ticket/52601> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52601: ghc compile error on sierra with Xcode 8.0 ( GetTime.c ) -------------------------+------------------------------------------------- Reporter: | Owner: macports-tickets@… sonientaegi@… | Status: new Type: defect | Milestone: Priority: Normal | Version: 2.3.4 Component: ports | Keywords: GetTime.c mach_timebase_info_data_t Resolution: | Port: ghc | -------------------------+------------------------------------------------- Comment (by sonientaegi@…): I found ticket #52582 which already has issued. Please ignore mine. -- Ticket URL: <https://trac.macports.org/ticket/52601#comment:1> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52601: ghc compile error on sierra with Xcode 8.0 ( GetTime.c ) ----------------------------+-------------------------------- Reporter: sonientaegi@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: duplicate | Keywords: Port: ghc | ----------------------------+-------------------------------- Changes (by mf2k@…): * keywords: GetTime.c mach_timebase_info_data_t => * status: new => closed * resolution: => duplicate Comment: In the future, please use WikiFormatting and Cc the port maintainers ({{{port info --maintainers ghc}}}), if any. -- Ticket URL: <https://trac.macports.org/ticket/52601#comment:2> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52601: ghc compile error on sierra with Xcode 8.0 ( GetTime.c ) ----------------------------+-------------------------------- Reporter: sonientaegi@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: duplicate | Keywords: Port: ghc | ----------------------------+-------------------------------- Description changed by mf2k@…: Old description:
Install ghc on sierra with Xcode 8.0 will meet compile error :
:info:build rts/posix/GetTime.c:44:5: :info:build error: use of undeclared identifier 'mach_timebase_info_data_t' :info:build mach_timebase_info_data_t info;
Luckily this was already patched on ghc haskel mirror on GitHub : https://github.com/ghc/ghc/commit/b7b130c5102948b38aaba723044288e16a80d492
I manually altered source referencing this fix and could solve this compile error.
New description: Install ghc on sierra with Xcode 8.0 will meet compile error : {{{ :info:build rts/posix/GetTime.c:44:5: :info:build error: use of undeclared identifier 'mach_timebase_info_data_t' :info:build mach_timebase_info_data_t info; }}} Luckily this was already patched on ghc haskel mirror on GitHub : https://github.com/ghc/ghc/commit/b7b130c5102948b38aaba723044288e16a80d492 I manually altered source referencing this fix and could solve this compile error. -- -- Ticket URL: <https://trac.macports.org/ticket/52601#comment:3> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts