[MacPorts] #56350: esmf: This file requires compiler and library support for the ISO C++ 2011 standard (was: Broken port wont fix)

MacPorts noreply at macports.org
Tue Apr 24 21:08:49 UTC 2018


#56350: esmf: This file requires compiler and library support for the ISO C++ 2011
standard
------------------------------+----------------------
  Reporter:  salomoneliasson  |      Owner:  tenomoto
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.4.3
Resolution:                   |   Keywords:
      Port:  esmf             |
------------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * keywords:  rev-upgrade =>
 * owner:  (none) => tenomoto
 * port:  ncarg @6.3.0+gcc5 => esmf


Old description:

> Hi,
>
> port rev-upgrade reports broken port, and then tries and fails to fix it
> automatically. I repeat the process but the port remains broken. My mac
> version is 10.13.4, Xcode is 9.1
>
> {{{--->  Found 1 broken file, matching files to ports
> --->  Found 1 broken port, determining rebuild order
> You can always run 'port rev-upgrade' again to fix errors.
> The following ports will be rebuilt: ncarg @6.3.0+gcc5.}}}
>
> Ultimately it concludes with this message:
>
> {{{Error: Failed to build esmf: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_esmf/esmf/main.log
> for details.
> Error: Problem while installing esmf
> Error: rev-upgrade failed: Error rebuilding ncarg
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.}}}
>
> I have checked the  attached the log file to the ticket

New description:

 Hi,

 port rev-upgrade reports broken port, and then tries and fails to fix it
 automatically. I repeat the process but the port remains broken. My mac
 version is 10.13.4, Xcode is 9.1

 {{{
 --->  Found 1 broken file, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt: ncarg @6.3.0+gcc5.
 }}}

 Ultimately it concludes with this message:

 {{{
 Error: Failed to build esmf: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_esmf/esmf/main.log
 for details.
 Error: Problem while installing esmf
 Error: rev-upgrade failed: Error rebuilding ncarg
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

 I have checked the  attached the log file to the ticket

--

Comment:

 Hmm, well the log shows:

 {{{
 /opt/local/include/gcc5/c++/bits/c++0x_warning.h:32:2: error: #error This
 file requires compiler and library support for the ISO C++ 2011 standard.
 This support must be enabled with the -std=c++11 or -std=gnu++11 compiler
 options.
 }}}

 I guess esmf needs to add that flag, at least when using gcc5 and probably
 later; not sure if needed for earlier gcc.

-- 
Ticket URL: <https://trac.macports.org/ticket/56350#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list