Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1966

Building tools fails on sles12-z after the os update

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      We noticed in BF-8280 that compile on Enterprise SLES12-z started to fail on 2/22

      [2018/03/07 12:02:34.972] build_tools="bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop"
      [2018/03/07 12:02:34.972] if [ "true" = "true" ]; then
      [2018/03/07 12:02:34.972]     build_tools="$build_tools mongoreplay"
      [2018/03/07 12:02:34.972] fi
      [2018/03/07 12:02:34.972] for i in $build_tools; do
      [2018/03/07 12:02:34.972]      PATH=/opt/mongodbtoolchain/v2/bin:$PATH go build -gccgoflags "$(pkg-config --libs --cflags libssl libsasl2)" -tags 'sasl ssl' -o "../../mongo-tools/$i" $i/main/$i.go
      [2018/03/07 12:02:34.972]      "../../mongo-tools/$i" --version
      [2018/03/07 12:02:34.972] done
      [2018/03/07 12:02:35.211] pkg-config --libs --cflags libssl libsasl2
      [2018/03/07 12:02:35.211] # github.com/10gen/openssl/utils
      [2018/03/07 12:02:35.211] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:35.211] # gopkg.in/mgo.v2/internal/scram
      [2018/03/07 12:02:35.211] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:35.211] # github.com/mongodb/mongo-tools/common/failpoint
      [2018/03/07 12:02:35.211] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:35.255] # github.com/mongodb/mongo-tools/common/log
      [2018/03/07 12:02:35.255] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:35.303] # github.com/mongodb/mongo-tools/common/connstring
      [2018/03/07 12:02:35.303] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:35.358] # golang.org/x/crypto/ssh/terminal
      [2018/03/07 12:02:35.358] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:35.399] # github.com/howeyc/gopass
      [2018/03/07 12:02:35.399] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:35.402] # github.com/spacemonkeygo/spacelog
      [2018/03/07 12:02:35.402] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:35.417] # gopkg.in/mgo.v2/internal/sasl
      [2018/03/07 12:02:35.417] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:35.433] # github.com/mongodb/mongo-tools/common/password
      [2018/03/07 12:02:35.433] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:35.701] # gopkg.in/mgo.v2/internal/json
      [2018/03/07 12:02:35.701] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:35.843] # github.com/jessevdk/go-flags
      [2018/03/07 12:02:35.843] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:36.169] # gopkg.in/mgo.v2/bson
      [2018/03/07 12:02:36.169] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:36.268] # github.com/mongodb/mongo-tools/common/util
      [2018/03/07 12:02:36.268] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:36.311] # github.com/mongodb/mongo-tools/common/signals
      [2018/03/07 12:02:36.311] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:37.093] # github.com/mongodb/mongo-tools/common/json
      [2018/03/07 12:02:37.093] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:37.639] # gopkg.in/mgo.v2
      [2018/03/07 12:02:37.639] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:37.639] # github.com/mongodb/mongo-tools/common/bsonutil
      [2018/03/07 12:02:37.639] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:43.922] # github.com/10gen/openssl
      [2018/03/07 12:02:43.922] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:44.121] # github.com/mongodb/mongo-tools/common/options
      [2018/03/07 12:02:44.121] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:44.156] # github.com/mongodb/mongo-tools/common/db/kerberos
      [2018/03/07 12:02:44.156] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:44.259] # github.com/mongodb/mongo-tools/common/db/openssl
      [2018/03/07 12:02:44.259] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:44.524] # github.com/mongodb/mongo-tools/common/db
      [2018/03/07 12:02:44.524] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:44.618] # github.com/mongodb/mongo-tools/bsondump
      [2018/03/07 12:02:44.618] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:44.667] # command-line-arguments
      [2018/03/07 12:02:44.667] ar: `u' modifier ignored since `D' is the default (see `U')
      [2018/03/07 12:02:45.106] # command-line-arguments
      [2018/03/07 12:02:45.106] /opt/mongodbtoolchain/v2/lib/gcc/s390x-mongodb-linux/5.4.0/../../../../s390x-mongodb-linux/bin/ld: $WORK/github.com/10gen/libopenssl.a(cert.cgo2.o): undefined reference to symbol 'X509_free'
      [2018/03/07 12:02:45.106] /lib64/libcrypto.so.1.0.0: error adding symbols: DSO missing from command line
      [2018/03/07 12:02:45.106] collect2: error: ld returned 1 exit status
      [2018/03/07 12:02:45.127] Command failed: command [pid=41431] encountered problem: exit status 2
      [2018/03/07 12:02:45.127] Task completed - FAILURE.

      We found that our z provider upgraded our boxes on that date without any notices.
      We went from sles12-sp1 with openssl 1.0.1i-54.5.1 to sles12-sp3 with openssl 1.0.2j-60.20.2

      I'm able to reproduce this manually. It looks like we don't test on sles12-z in evergreen.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            zakhar.kleyman@mongodb.com Zakhar Kleyman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: