[MacPorts] #61090: molden-6.4-20200625124000: error: implicitly declaring library function 'tolower' with type 'int (int)' (was: molden-6.4-20200625124000_0+gcc9.darwin_19.x86_64.tbz2 build fail after upgrading to Catalina)
MacPorts
noreply at macports.org
Sun Aug 30 21:27:16 UTC 2020
#61090: molden-6.4-20200625124000: error: implicitly declaring library function
'tolower' with type 'int (int)'
------------------------+------------------------
Reporter: Tschumper | Owner: ryandesign
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: molden |
------------------------+------------------------
Changes (by ryandesign):
* owner: (none) => ryandesign
* keywords: molden =>
* status: new => accepted
Old description:
> 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.
New description:
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.
}}}
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/61090#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list