Opened 3 years ago

Closed 3 years ago

#61423 closed defect (fixed)

ucl @1.03: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'

Reported by: EfremBraun (Efrem Braun) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: ucl

Description


Attachments (1)

config.log (144.2 KB) - added by EfremBraun (Efrem Braun) 3 years ago.
log

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by EfremBraun (Efrem Braun)

Attachment: config.log added

log

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: "port install ucl" fails due to problem with confdefsucl @1.03: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'

The config.log shows a problem we see with lots of software these days:

conftest.c:29:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
      exit(2);
      ^
conftest.c:29:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'

Until we resolve these issues, you can work around them by downgrading to Xcode 11 and the Xcode 11 version of the command line tools. (In Xcode 12, Apple made the implicit declaration of functions an error instead of a warning as it was before.)

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In a1c573d3c5cc7ffc2d237b4d5e075b6559f7bcb9/macports-ports (master):

ucl: Fix implicit declaration of functions

Closes: #61423

Also fixes configure detection of arm64 systems.

Note: See TracTickets for help on using tickets.