Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 800806 - dev-db/mongodb-4.4.4 fails to build at escons phase
Summary: dev-db/mongodb-4.4.4 fails to build at escons phase
Status: RESOLVED DUPLICATE of bug 768339
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-06 08:30 UTC by Neil
Modified: 2021-07-08 10:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,18.59 KB, application/x-info)
2021-07-06 08:30 UTC, Neil
Details
build.log (build.log.bz2,46.69 KB, application/x-bzip2)
2021-07-06 08:32 UTC, Neil
Details
emerge -pqv '=dev-db/mongo-4.4.4::gentoo' (emerge-pqv,96 bytes, text/plain)
2021-07-06 08:33 UTC, Neil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil 2021-07-06 08:30:13 UTC
MongoDB 4.4.4 is repeatedly failing to build on my system.

Reproducible: Always

Steps to Reproduce:
1. emerge -uDN --with-bdeps dev-db/mongodb
2.
3.
Actual Results:  
src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call
src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:
src/mongo/db/matcher/expression_type.h:69:38:   required from here
src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call
src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:
src/mongo/db/matcher/expression_type.h:69:38:   required from here
src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call
src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]’:
src/mongo/db/matcher/expression_type.h:69:38:   required from here
src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]
   74 |         return std::move(expr);
      |                              ^
src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call
src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]’:
src/mongo/db/matcher/expression_type.h:69:38:   required from here
src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call
src/mongo/db/matcher/expression_type.h: In instantiation of ‘std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]’:
src/mongo/db/matcher/expression_type.h:69:38:   required from here
src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/matcher/expression_type.h:74:30: note: remove ‘std::move’ call
scons: building terminated because of errors.
build/opt/mongo/db/update/update_driver.o failed: Error 1
 * ERROR: dev-db/mongodb-4.4.4::gentoo failed (compile phase):
 *   escons failed.
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 2984:  Called escons 'CC=x86_64-pc-linux-gnu-gcc' 'CXX=x86_64-pc-linux-gnu-g++' '--disable-warnings-as-errors' '--use-system-boost' '--use-system-pcre' '--use-system-snappy' '--use-system-stemmer' '--use-system-yaml' '--use-system-zlib' '--use-system-zstd' '--ssl' '--nostrip' 'install-core'
 *   environment, line 1624:  Called die
 * The specific snippet of code:
 *                   die -n "escons failed."
 * 
 * If you need support, post the output of `emerge --info '=dev-db/mongodb-4.4.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mongodb-4.4.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-db/mongodb-4.4.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mongodb-4.4.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mongodb-4.4.4/work/mongodb-src-r4.4.4'
 * S: '/var/tmp/portage/dev-db/mongodb-4.4.4/work/mongodb-src-r4.4.4'

Expected Results:  
Expected to build.
Comment 1 Neil 2021-07-06 08:30:37 UTC
Created attachment 722317 [details]
emerge --info
Comment 2 Neil 2021-07-06 08:32:37 UTC
Created attachment 722320 [details]
build.log
Comment 3 Neil 2021-07-06 08:33:07 UTC
Created attachment 722323 [details]
emerge -pqv '=dev-db/mongo-4.4.4::gentoo'
Comment 4 Ionen Wolkens gentoo-dev 2021-07-08 10:43:16 UTC
In the log:
src/mongo/db/exec/plan_stats.h:214:10: error: ‘optional’ in namespace ‘std’ does not name a template type

*** This bug has been marked as a duplicate of bug 768339 ***