Opened 5 years ago

Closed 5 years ago

#58955 closed defect (fixed)

davix @0.7.5_1:

Reported by: kencu (Ken) Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: davix

Description

This port fails with several errors in the googletest submodule. Here's the first

In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_davix/davix/work/davix-0.7.5/deps/googletest/googletest/src/gtest-all.cc:42:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_davix/davix/work/davix-0.7.5/deps/googletest/googletest/src/gtest.cc:389:49: 
error: functions that differ only in their return type cannot be overloaded
const ::std::vector<testing::internal::string>& GetArgvs() {
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/opt/local/include/gtest/internal/gtest-port.h:1560:37: note: previous declaration is here
GTEST_API_ std::vector<std::string> GetArgvs();
           ~~~~~~~~~~~~~~~~~~~~~~~~ ^

Attachments (1)

mohave-davix-build-fail.log (183.4 KB) - added by kencu (Ken) 5 years ago.

Download all attachments as: .zip

Change History (7)

Changed 5 years ago by kencu (Ken)

Attachment: mohave-davix-build-fail.log added

comment:1 Changed 5 years ago by kencu (Ken)

This is on Mojave, by the way.

comment:2 Changed 5 years ago by cjones051073 (Chris Jones)

looks like a conflict/mis-configuration of the internal google test suite it uses, to that provided by the MP test port.

Last edited 5 years ago by cjones051073 (Chris Jones) (previous) (diff)

comment:3 Changed 5 years ago by kencu (Ken)

Right -- maybe a simple conflicts_build will get around it then, unless you feel like doing some include path surgery....

comment:4 Changed 5 years ago by kencu (Ken)

I wonder if we'll one day build everything on MacPorts in trace mode -- that would avoid all these unpredictable errors, right?

comment:5 Changed 5 years ago by cjones051073 (Chris Jones)

Either a conflicts build, or I just turn the tests off...

comment:6 Changed 5 years ago by Chris Jones <jonesc@…>

Resolution: fixed
Status: assignedclosed

In e75fa378a2a83e43e69d1d2a070516618062c177/macports-ports (master):

davix: Disable tests due to conflict between internal and MP provided googletest version
Closes: #58955

Note: See TracTickets for help on using tickets.