Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11769

Only remove mongosniff when generating packages if it's there

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.5.5
    • 2.5.4
    • Packaging
    • None
    • Fully Compatible
    • Linux

    Description

      When running packager.py, if mongosniff isn't in the downloaded tarball, the script throws a fatal error. It should just move on.

      Traceback (most recent call last):
        File "packager.py", line 638, in <module>
          main(sys.argv)
        File "packager.py", line 176, in main
          repos.append(make_package(distro, arch, spec, srcdir))
        File "packager.py", line 343, in make_package
          os.unlink(sdir+("%s/usr/bin/mongosniff"%BINARYDIR))
      OSError: [Errno 2] No such file or directory: 'dst/i686/debian-sysvinit/mongodb-org-unstable-2.5.4/BINARIES/usr/bin/mongosniff'
      [ubuntu@distro-deb2 buildscripts]$

      Attachments

        Activity

          People

            ernie.hershey@mongodb.com Ernie Hershey
            ernie.hershey@mongodb.com Ernie Hershey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: