Opened 5 months ago

Closed 5 months ago

#61897 closed defect (fixed)

tcl @8.6.10_0 +corefoundation +threads : configure tests failing with "implicitly declaring ... function" error

Reported by: lmhaffner Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: tcl


A number of tests in configure are failing as this warning seems to have been elevated to an error in macOS 11.x/XCode 12.3(?). One example from the attached config.log:

conftest.c:26:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimp
conftest.c:26:7: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
1 error generated.

In some cases, this prevents an expected success (e.g., strtoul implementation testing) and is leading to odd errors downstream (e.g., tclx compilation failing due to a missing symbol in libtclstub8.6.a).

Attachments (1)

config.log (137.8 KB) - added by lmhaffner 5 months ago.

Download all attachments as: .zip

Change History (3)

Changed 5 months ago by lmhaffner

Attachment: config.log added


comment:1 Changed 5 months ago by jmroot (Joshua Root)

Owner: set to MarcusCalhoun-Lopez
Status: newassigned

comment:2 Changed 5 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 923068766f9d3f56473e545d882f9c70ca7c5684/macports-ports (master):

tcl: fix implicit declarations in configure

Rev bump due to different resulting configuration.

Closes: #61897

Note: See TracTickets for help on using tickets.