Opened 4 years ago

Closed 4 years ago

#61090 closed defect (fixed)

molden-6.4-20200625124000: error: implicitly declaring library function 'tolower' with type 'int (int)'

Reported by: Tschumper Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: molden

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Upgraded to Catalina. Uninstalled MacPorts entirely. Reinstalled MacPorts and all of the ports I still need. Molden is the only one that failed. Log file attached (main.log).

--->  Building molden
Error: Failed to build molden: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_molden/molden/main.log for details.

Attachments (1)

main.log (129.4 KB) - added by Tschumper 4 years ago.
log from Molden build

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by Tschumper

Attachment: main.log added

log from Molden build

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

Description: modified (diff)
Keywords: molden removed
Owner: set to ryandesign
Status: newaccepted
Summary: molden-6.4-20200625124000_0+gcc9.darwin_19.x86_64.tbz2 build fail after upgrading to Catalinamolden-6.4-20200625124000: error: implicitly declaring library function 'tolower' with type 'int (int)'

According to the log the problem is:

src/xwin.c:4393:17: error: implicitly declaring library function 'tolower' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
:info:build             if (tolower((unsigned char)needle[j]) !=
:info:build                 ^

implicitly declared function errors are new in Xcode 12 beta. (I presume you have installed the command line tools for Xcode 12 beta.) I can work on fixing this. If you want to avoid these errors in other ports, install the Xcode 11.5 command line tools.

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

Resolution: fixed
Status: acceptedclosed

In 64b6994a2e6e0a0c29feef8ade89b233a3258cc7/macports-ports (master):

molden: Fix implicit function declaration

Closes: #61090

Note: See TracTickets for help on using tickets.