[SERVER-5402] Solaris can't push Created: 26/Mar/12  Updated: 11/Jul/16  Resolved: 26/Mar/12

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.1.1
Fix Version/s: 2.1.1

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Solaris


Operating System: Solaris
Participants:

 Description   

I believe commit d67ce1cd31f6ea2e766d5c201ab5430735cbb3b8 broke this.

Old behavior:

Checking for C library nsl... (cached) yes
going to make dist: mongodb-sunos5-x86_64-2012-03-23
scons: done reading SConscript files.
scons: Building targets ...
Install file: "distsrc/GNU-AGPL-3.0" as "mongodb-sunos5-x86_64-2012-03-23/GNU-AGPL-3.0"
(etc....)

New, broken:

Checking for C library nsl... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
generate_buildinfo(["build/buildinfo.cpp"], ['\n#include <string>\n#include <boost/version.hpp>\n\n#include "mongo/util/version.h"\n\nnamespace mongo {\n    const char * gitVersion() { return "%(git_version)s"; }\n    std::string sysInfo() { return "%(sys_info)s BOOST_LIB_VERSION=" BOOST_LIB_VERSION ; }\n}  // namespace mongo\n'])
strip -o build/sunos5/64/cc__opt_gcc_gcc44_bin_gcc/cxx__opt_gcc_gcc44_bin_g++/extrapath__opt_local_/release/mongo/stripped/mongodump build/sunos5/64/cc__opt_gcc_gcc44_bin_gcc/cxx__opt_gcc_gcc44_bin_g++/extrapath__opt_local_/release/mongo/mongodump
strip: illegal option -- o
usage: strip [-lVx] file ...

http://buildbot.mongodb.org:8081/builders/Nightly%20Solaris-Joyent%2064-bit/builds/870/steps/shell_1/logs/stdio



 Comments   
Comment by auto [ 26/Mar/12 ]

Author:

{u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-5402: Solaris strip only works in place; change SConscript to handle.

Unlike on Linux, the Solaris version of the "strip" utility only works in-place.
A previous change started using the "strip -o" form supported by the gnu version
of the strip utility. This patch causes us to use the standard form on both
Linux and Solaris.
Branch: master
https://github.com/mongodb/mongo/commit/88fbe9ab9e47e5d1e254c72c1eff573d9afba06c

Generated at Thu Feb 08 03:08:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.