Opened 3 years ago

Closed 6 months ago

#64420 closed defect (fixed)

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 Carsten 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 (4)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten 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 3 years ago by ryandesign (Ryan Carsten 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 3 years 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)

comment:4 Changed 6 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

In cead2da4707836091a664ba3524ca6ac12ac608d/macports-ports (master):

argyll: update to 3.2.0

closes: #64420

Note: See TracTickets for help on using tickets.