[MacPorts] #52383: gpgme 1.7.0: no type named 'shared_ptr' in namespace 'std'
#52383: gpgme 1.7.0: no type named 'shared_ptr' in namespace 'std' ---------------------+---------------------- Reporter: mojca@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: gpgme ---------------------+---------------------- Installing gpgme 1.7.0 fails on 10.7 with: {{{ /bin/sh ../../../libtool --tag=CXX --mode=compile /usr/bin/clang++ -std=c++11 -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I/opt/local/include -I/opt/local/include -DBUILDING_GPGMEPP -I/opt/local/include -pipe -Os -stdlib=libstdc++ -arch x86_64 -MT context.lo -MD -MP -MF .deps/context.Tpo -c -o context.lo context.cpp libtool: compile: /usr/bin/clang++ -std=c++11 -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -I/opt/local/include -I/opt/local/include -DBUILDING_GPGMEPP -I/opt/local/include -pipe -Os -stdlib=libstdc++ -arch x86_64 -MT context.lo -MD -MP -MF .deps/context.Tpo -c context.cpp -fno- common -DPIC -o .libs/context.o In file included from context.cpp:23: In file included from ./context.h:30: ./verificationresult.h:77:10: error: no type named 'shared_ptr' in namespace 'std' std::shared_ptr<Private> d; ~~~~~^ ./verificationresult.h:77:20: error: expected member name or ';' after declaration specifiers std::shared_ptr<Private> d; ~~~~~~~~~~~~~~~^ }}} This might be connected with libstdc++ (i.e. no proper support for C++11), but I didn't try to investigate any further yet. -- Ticket URL: <https://trac.macports.org/ticket/52383> MacPorts <https://www.macports.org/> Ports system for macOS
#52383: gpgme 1.7.0: no type named 'shared_ptr' in namespace 'std' ----------------------+---------------------- Reporter: mojca@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gpgme | ----------------------+---------------------- Comment (by devans@…): Yes, it looks like it requires libc++. Guess I should add the cxx11 portgroup. -- Ticket URL: <https://trac.macports.org/ticket/52383#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52383: gpgme 1.7.0: no type named 'shared_ptr' in namespace 'std' ----------------------+---------------------- Reporter: mojca@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gpgme | ----------------------+---------------------- Changes (by devans@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/52383#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS
#52383: gpgme 1.7.0: no type named 'shared_ptr' in namespace 'std' ----------------------+---------------------- Reporter: mojca@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gpgme | ----------------------+---------------------- Comment (by oliver.ruben@…): I can confirm the same problem on 10.8.5. -- Ticket URL: <https://trac.macports.org/ticket/52383#comment:3> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52383: gpgme 1.7.0: no type named 'shared_ptr' in namespace 'std' ----------------------+---------------------- Reporter: mojca@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gpgme | ----------------------+---------------------- Changes (by devans@…): * status: assigned => closed * resolution: => fixed Comment: Workaround committed in r153382, cpp bindings are only built if libc++ is the default C++ stdlib (typically 10.9+), C language API is built in all cases. Now builds on all buildbots 10.6+. -- Ticket URL: <https://trac.macports.org/ticket/52383#comment:4> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts