Opened 2 months ago

Last modified 5 weeks ago

#61656 new defect

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

Reported by: teh-maxh (Max Harmony) Owned by:
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) 2 months ago.

Download all attachments as: .zip

Change History (4)

Changed 2 months ago by teh-maxh (Max Harmony)

Attachment: main.log added

comment:1 Changed 2 months ago by ryandesign (Ryan 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 2 months ago by ryandesign (Ryan Schmidt)

Cc: BluDread added

Has duplicate #61669.

comment:3 Changed 5 weeks ago by ShadSterling (Shad Sterling)

Cc: ShadSterling added
Note: See TracTickets for help on using tickets.