Opened 8 years ago

Closed 8 years ago

#52657 closed defect (duplicate)

Attempt to install pandoc fails when building ghc-7.8.3 while compiling posix/gettime.c

Reported by: dcblack (David C Black) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: pandoc

Description

First a warning:

:info:build rts/posix/GetTime.c:45:12:
:info:build      warning: implicit declaration of function 'mach_timebase_info' is invalid in C99 [-Wimplicit-function-declaration

Then an error:

:info:build rts/posix/GetTime.c:45:32:
:info:build      error: use of undeclared identifier 'info'; did you mean 'sinf'?
:info:build         (void) mach_timebase_info(&info);

Change History (2)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: pandoc ghc GetTime.c removed

Please attach the main.log file after cleaning the port.

comment:2 Changed 8 years ago by neverpanic (Clemens Lang)

Resolution: duplicate
Status: newclosed

Duplicate of #52582.

Note: See TracTickets for help on using tickets.