[MacPorts] #43417: mpd: error: no type named 'function' in namespace 'std' (was: port mpd does not build)
MacPorts
noreply at macports.org
Sat Apr 19 20:42:50 PDT 2014
#43417: mpd: error: no type named 'function' in namespace 'std'
---------------------------+-----------------------------
Reporter: bnilsson11@… | Owner: rmstonecipher@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: mpd |
---------------------------+-----------------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => rmstonecipher@…
* port: => mpd
Old description:
> mpd does not build:
> ---> Building mpd
> Error: org.macports.build for port mpd returned: command execution failed
> Please see the log file for port mpd for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mpd/mpd/main.log
> In the log file, the first error is:
> :info:build In file included from ./src/DatabaseHelpers.hxx:23:
> :info:build ./src/DatabaseVisitor.hxx:30:14: error: no type named
> 'function' in namespace 'std'
> :info:build typedef std::function<bool(const Directory &, Error &)>
> VisitDirectory;
>
> Googling on "no type named 'function' in namespace 'std'" indicates a
> possible lack of C++11 support.
>
> MacPorts 2.2.1
> System version: Mac OS X 10.7.5 (11G63)
> Kernel version: Darwin 11.4.2
New description:
mpd does not build:
{{{
---> Building mpd
Error: org.macports.build for port mpd returned: command execution failed
Please see the log file for port mpd for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mpd/mpd/main.log
In the log file, the first error is:
:info:build In file included from ./src/DatabaseHelpers.hxx:23:
:info:build ./src/DatabaseVisitor.hxx:30:14: error: no type named
'function' in namespace 'std'
:info:build typedef std::function<bool(const Directory &, Error &)>
VisitDirectory;
}}}
Googling on "no type named 'function' in namespace 'std'" indicates a
possible lack of C++11 support.
MacPorts 2.2.1[[br]]
{{{
System version: Mac OS X 10.7.5 (11G63)
Kernel version: Darwin 11.4.2
}}}
--
Comment:
Please attach the main.log file.
--
Ticket URL: <https://trac.macports.org/ticket/43417#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list