[MacPorts] #27370: Error by building gmock. error: 'NO_CONSTRUCTOR_NEEDED_FOR_STATIC_MUTEX' is not a member of 'testing::internal::Mutex'

MacPorts noreply at macports.org
Thu Nov 18 04:38:13 PST 2010


#27370: Error by building gmock. error: 'NO_CONSTRUCTOR_NEEDED_FOR_STATIC_MUTEX' is
not a member of 'testing::internal::Mutex'
------------------------------+---------------------------------------------
 Reporter:  blueduck@…        |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  ports             |     Version:  1.9.2                                
 Keywords:                    |        Port:  gmock                                
------------------------------+---------------------------------------------
 I got an error if I install tht gmock port


 {{{
 $ sudo port -v install gmock
 Password:
 --->  Building gmock
 depbase=`echo src/gmock-internal-utils.lo | sed
 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
         /bin/sh ./libtool --tag=CXX   --mode=compile /usr/bin/g++-4.2
 -DHAVE_CONFIG_H -I. -I./build-aux  -I/opt/local/include -I./include
 -I/opt/local/include  -O2 -arch x86_64 -MT src/gmock-internal-utils.lo -MD
 -MP -MF $depbase.Tpo -c -o src/gmock-internal-utils.lo src/gmock-internal-
 utils.cc &&\
         mv -f $depbase.Tpo $depbase.Plo
  /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I./build-aux -I/opt/local/include
 -I./include -I/opt/local/include -O2 -arch x86_64 -MT src/gmock-internal-
 utils.lo -MD -MP -MF src/.deps/gmock-internal-utils.Tpo -c src/gmock-
 internal-utils.cc  -fno-common -DPIC -o src/.libs/gmock-internal-utils.o
 src/gmock-internal-utils.cc:106: error:
 'NO_CONSTRUCTOR_NEEDED_FOR_STATIC_MUTEX' is not a member of
 'testing::internal::Mutex'
 make[1]: *** [src/gmock-internal-utils.lo] Error 1
 make: *** [all-recursive] Error 1
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmock/work/gmock-1.4.0"
 && /usr/bin/make all " returned error 2
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Warning: the following items did not execute (for gmock):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for gmock is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmock/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 Thanks in advance!
 Stefano

-- 
Ticket URL: <https://trac.macports.org/ticket/27370>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list