[MacPorts] #43417: port mpd does not build
#43417: port mpd does not build --------------------------+-------------------------------- Reporter: bnilsson11@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: --------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/43417> MacPorts <http://www.macports.org/> Ports system for OS X
#43417: port mpd does not build ---------------------------+-------------------------------- Reporter: bnilsson11@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by bnilsson11@…): gcc: i686-apple-darwin11-llvm-gcc-4.2 Xcode 4.6.3 -- Ticket URL: <https://trac.macports.org/ticket/43417#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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 | ---------------------------+----------------------------- Comment (by devans@…): Replying to [ticket:43417 bnilsson11@…]:
Googling on "no type named 'function' in namespace 'std'" indicates a possible lack of C++11 support.
Yes, std::function is a C++11 feature requiring libc++, meaning it will probably only build on Mavericks and higher, if at all. -- Ticket URL: <https://trac.macports.org/ticket/43417#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | ---------------------------+----------------------------- Comment (by devans@…): Confirmed that mpd currently only builds on Mavericks. -- Ticket URL: <https://trac.macports.org/ticket/43417#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts