Opened 13 months ago

Last modified 13 months ago

#64420 assigned defect

argyll @2.2.1_1: error: implicit declaration of function 'execvp' is invalid in C99

Reported by: dwightkelly (Dwight Kelly) Owned by: lbschenkel (Leonardo Brondani Schenkel)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: catalina bigsur monterey Cc:
Port: argyll

Description (last modified by ryandesign (Ryan Schmidt))

The error below occur while installing argyll @2.2.1_1 on macOS 12.1

Apple clang version 13.0.0 (clang-1300.0.27.3)
Target: x86_64-apple-darwin21.2.0
Thread model: posix
:info:build execunix.c:234:6: error: implicit declaration of function 'execvp' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build             execvp( argv[0], argv );
:info:build             ^
:info:build execunix.c:235:6: error: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
:info:build             _exit(127);
:info:build             ^
:info:build execunix.c:235:6: note: include the header <unistd.h> or explicitly provide a declaration for '_exit'

Change History (3)

comment:1 Changed 13 months ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Keywords: catalina bigsur monterey added
Owner: set to lbschenkel
Port: @2.2.1_1 removed
Status: newassigned
Summary: argyll @2.2.1_1 fails to compile on macOS 12.1argyll @2.2.1_1: error: implicit declaration of function 'execvp' is invalid in C99

Probably fails the same way on any system with Xcode 12+.

comment:2 Changed 13 months ago by ryandesign (Ryan Schmidt)

2.3.0 is available. Maybe the problem is already fixed in that version. If not, the problem should be reported to the developer too.

comment:3 in reply to:  2 Changed 13 months ago by dwightkelly (Dwight Kelly)

Replying to ryandesign:

2.3.0 is available. Maybe the problem is already fixed in that version. If not, the problem should be reported to the developer too.

Error: argyll version 2.3.0 is not available (current version is 2.2.1_1)

Note: See TracTickets for help on using tickets.