Changes between Initial Version and Version 2 of Ticket #60893


Ignore:
Timestamp:
Jul 23, 2020, 6:10:12 PM (4 years ago)
Author:
chrstphrchvz (Christopher Chavez)
Comment:

gcc5 seemed to work without trace mode (see #60894). However trying to compile another simple port pv in trace mode fails, so this issue might indeed have nothing to do with mysql8. I'm not sure if this issue is in gcc5 or possibly in trace mode itself (base).

--->  Configuring pv
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_sysutils_pv/pv/work/pv-1.6.6" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/share/info
checking for gcc... /opt/local/bin/gcc-mp-5
checking for C compiler default output file name...
configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_sysutils_pv/pv/work/pv-1.6.6':
configure: error: C compiler cannot create executables

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60893

    • Property Owner changed from herbygillot to macports-tickets@…
    • Property Summary changed from mysql8: can't configure with gcc5 under tracemode to gcc5 unusable in trace mode
    • Property Port gcc5 added; mysql8 removed
  • Ticket #60893 – Description

    initial v2  
    1 (Ticket 1 of 2) The mysql8 port was set to avoid compiling with gcc5 initially in [f33623dd62/macports-ports] and refined in [3db241d4f4/macports-ports], [93573a70d6/macports-ports]. But I have not found a detailed explanation of why this was done. Note that [https://dev.mysql.com/doc/refman/8.0/en/source-installation-prerequisites.html upstream documentation] only mentions support for building on macOS with Xcode 9 or later; the port bypasses this check (#58579).
     1**Edit**: ticket was originally for `mysql8`, but other simpler ports (e.g. `pv`) appear to be affected.
    22
    3 Using `compiler.whitelist macports-gcc-5`, configuring the port fails when using tracemode (configuration succeeds without trace mode, but the build still fails eventually: #60894):
     3Using `compiler.whitelist macports-gcc-5` to force compiling with `gcc5`, a port fails to configure/build using trace mode. Example with `mysql8`:
    44
    55{{{