Opened 4 years ago

Closed 4 years ago

#61535 closed defect (fixed)

lha: error: implicit declaration of function 'CFStringEncodingBytesToUnicode' is invalid in C99

Reported by: aforeman Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: catalina bigsur Cc: chrstphrchvz (Christopher Chavez)
Port: lha

Description

Running sudo port upgrade outdated issues error.

Attachments (1)

main.log (35.0 KB) - added by aforeman 4 years ago.
Log file.

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by aforeman

Attachment: main.log added

Log file.

comment:1 Changed 4 years ago by aforeman

Keywords: BigSur added; Big Sur removed

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

Keywords: catalina bigsur added; BigSur removed
Summary: Error: Failed to build lha: command execution failedlha: error: implicit declaration of function 'CFStringEncodingBytesToUnicode' is invalid in C99

The usual Xcode 12 problem:

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

comment:3 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

comment:4 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

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

In 6e5dc429beeb4fa055beefd6d75dec83e117aef8/macports-ports (master):

lha: Fix implicit declaration of exit

See: #61535

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

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 5b705d498b6ea5de1a5de050dde44606f00e1b8d/macports-ports (master):

lha: Properly detect and actually use libiconv

Previously libiconv detection was faulty, thought libiconv wasn't
present even when it was, and tried to fall back to using private macOS
functions instead. Since private functions aren't in headers, this was
an implicit function declaration, which isn't allowed anymore.

Closes: #61535
Closes: https://github.com/macports/macports-ports/pull/9197

Note: See TracTickets for help on using tickets.