[MacPorts] #59461: mongodb @4.0.13: duplicate symbols (was: Error: Failed to build mongodb: command execution failed)
MacPorts
noreply at macports.org
Thu Oct 24 16:34:06 UTC 2019
#59461: mongodb @4.0.13: duplicate symbols
----------------------+------------------------
Reporter: dbl001 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: mongodb |
----------------------+------------------------
Old description:
> I'm on OS X 10.11.6
> from main.log:
> {{{
> :info:build duplicate symbol
> __ZN5mongo13error_details11isNamedCodeILi11000EEE in:
> :info:build build/MP/mongo/s/cluster_cursor_stats.o
>
> }}}
> Environment:
> {{{
> $ clang --version
> clang version 5.0.0 (tags/RELEASE_500/final)
> Target: x86_64-apple-darwin15.6.0
> Thread model: posix
> InstalledDir: /Users/davidlaxer/anaconda/bin
> $ gcc --version
> Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
> --with-gxx-include-dir=/usr/include/c++/4.2.1
> Apple LLVM version 8.0.0 (clang-800.0.42.1)
> Target: x86_64-apple-darwin15.6.0
> Thread model: posix
> InstalledDir:
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
> $ sudo port upgrade outdated
> ---> Computing dependencies for clang-9.0
> ---> Fetching archive for clang-9.0
> ---> Attempting to fetch
> clang-9.0-9.0.0_0+analyzer+libstdcxx.darwin_15.x86_64.tbz2 from
> https://packages.macports.org/clang-9.0
> ---> Attempting to fetch
> clang-9.0-9.0.0_0+analyzer+libstdcxx.darwin_15.x86_64.tbz2.rmd160 from
> https://packages.macports.org/clang-9.0
> ---> Installing clang-9.0 @9.0.0_0+analyzer+libstdcxx
> ---> Activating clang-9.0 @9.0.0_0+analyzer+libstdcxx
> ---> Cleaning clang-9.0
> ---> Computing dependencies for mongodb
> ---> Fetching archive for mongodb
> ---> Attempting to fetch mongodb-4.0.13_0.darwin_15.x86_64.tbz2 from
> https://packages.macports.org/mongodb
> ---> Attempting to fetch mongodb-4.0.13_0.darwin_15.x86_64.tbz2 from
> http://aus.us.packages.macports.org/macports/packages/mongodb
> ---> Attempting to fetch mongodb-4.0.13_0.darwin_15.x86_64.tbz2 from
> http://ywg.ca.packages.macports.org/mirror/macports/packages/mongodb
> ---> Fetching distfiles for mongodb
> ---> Attempting to fetch mongodb-src-r4.0.13.tar.gz from
> https://fastdl.mongodb.org/src
> ---> Verifying checksums for mongodb
> ---> Extracting mongodb
> ---> Applying patches to mongodb
> ---> Configuring mongodb
> ---> Building mongodb
> Error: Failed to build mongodb: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
>
> }}}
New description:
I'm on OS X 10.11.6\\
from main.log:
{{{
:info:build duplicate symbol
__ZN5mongo13error_details11isNamedCodeILi11000EEE in:
:info:build build/MP/mongo/s/cluster_cursor_stats.o
}}}
Environment:
{{{
$ clang --version
clang version 5.0.0 (tags/RELEASE_500/final)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Users/davidlaxer/anaconda/bin
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$ sudo port upgrade outdated
---> Computing dependencies for clang-9.0
---> Fetching archive for clang-9.0
---> Attempting to fetch
clang-9.0-9.0.0_0+analyzer+libstdcxx.darwin_15.x86_64.tbz2 from
https://packages.macports.org/clang-9.0
---> Attempting to fetch
clang-9.0-9.0.0_0+analyzer+libstdcxx.darwin_15.x86_64.tbz2.rmd160 from
https://packages.macports.org/clang-9.0
---> Installing clang-9.0 @9.0.0_0+analyzer+libstdcxx
---> Activating clang-9.0 @9.0.0_0+analyzer+libstdcxx
---> Cleaning clang-9.0
---> Computing dependencies for mongodb
---> Fetching archive for mongodb
---> Attempting to fetch mongodb-4.0.13_0.darwin_15.x86_64.tbz2 from
https://packages.macports.org/mongodb
---> Attempting to fetch mongodb-4.0.13_0.darwin_15.x86_64.tbz2 from
http://aus.us.packages.macports.org/macports/packages/mongodb
---> Attempting to fetch mongodb-4.0.13_0.darwin_15.x86_64.tbz2 from
http://ywg.ca.packages.macports.org/mirror/macports/packages/mongodb
---> Fetching distfiles for mongodb
---> Attempting to fetch mongodb-src-r4.0.13.tar.gz from
https://fastdl.mongodb.org/src
---> Verifying checksums for mongodb
---> Extracting mongodb
---> Applying patches to mongodb
---> Configuring mongodb
---> Building mongodb
Error: Failed to build mongodb: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
}}}
--
Comment (by ryandesign):
Hmm, indeed the log contains mostly the 246,811 duplicate symbol errors.
I'm not sure what to do about that. I do need to update the port to
version 4.2.x. I should probably start by doing that and then reevaluate.
--
Ticket URL: <https://trac.macports.org/ticket/59461#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list