Opened 4 years ago

Closed 4 years ago

#61656 closed defect (fixed)

db46 @4.6.21_10: error: implicit declaration of function 'getopt' is invalid in C99

Reported by: teh-maxh (Max Harmony) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: catalina bigsur Cc: BluDread, ShadSterling (Shad Sterling)
Port: db46

Description

Error: Failed to build db46: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_etc_macports_macports-ports_databases_db46/db46/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port db46 failed

Attachments (1)

main.log (388.4 KB) - added by teh-maxh (Max Harmony) 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by teh-maxh (Max Harmony)

Attachment: main.log added

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

Keywords: catalina bigsur added
Summary: db46-4.6.21_10: build failsdb46 @4.6.21_10: error: implicit declaration of function 'getopt' is invalid in C99

It's the usual Xcode 12+ issue:

error: implicit declaration of function 'getopt' is invalid in C99

Do you really need db46 or could you use a newer db port, which might already contain a fix for this?

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

Cc: BluDread added

Has duplicate #61669.

comment:3 Changed 4 years ago by ShadSterling (Shad Sterling)

Cc: ShadSterling added

comment:4 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 116e0814db699de17e871a7ff8aa62f85f37c617/macports-ports (master):

db46: fix implicit declarations

Closes: #61656

Note: See TracTickets for help on using tickets.