[Bug 1483400] Re: mongodb ftbfs with GCC 5 and boost 1.58

2015-08-16 Thread Launchpad Bug Tracker
This bug was fixed in the package juju-mongodb - 2.4.10-0ubuntu4

---
juju-mongodb (2.4.10-0ubuntu4) wily; urgency=medium

  * Fix FTBFS: (LP: #1483400)
- Add 00git_boost_1.56.patch: Fix std::swap failure with current boost.
  (Backported from upstream git)
- Add 00git_pymongo3.patch: Fix buildscripts/smoke.py for PyMongo 3.
  (Backported from upstream git)
- Add no-unused-variable.patch: Don't fail to build on unused-variable
  warning.

 -- Martin Pitt martin.p...@ubuntu.com  Tue, 11 Aug 2015 10:57:23
+0200

** Changed in: juju-mongodb (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1483400

Title:
  mongodb ftbfs with GCC 5 and boost 1.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1483400/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1483400] Re: mongodb ftbfs with GCC 5 and boost 1.58

2015-08-16 Thread Launchpad Bug Tracker
This bug was fixed in the package mongodb - 1:2.6.10-0ubuntu1

---
mongodb (1:2.6.10-0ubuntu1) wily; urgency=medium

  * New upstream release
  * Fix FTBFS: (LP: #1483400)
- Add 00git_boost_1.56.patch: Fix std::swap failure with current boost.
- Add disable-warnings.patch: Don't fail to build on unused-variable and
  maybe-uninitialized warnings (new from g++ 5).

 -- Martin Pitt martin.p...@ubuntu.com  Tue, 11 Aug 2015 10:19:10
+0200

** Changed in: mongodb (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1483400

Title:
  mongodb ftbfs with GCC 5 and boost 1.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1483400/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1483400] Re: mongodb ftbfs with GCC 5 and boost 1.58

2015-08-11 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/wily-proposed/mongodb

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1483400

Title:
  mongodb ftbfs with GCC 5 and boost 1.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1483400/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1483400] Re: mongodb ftbfs with GCC 5 and boost 1.58

2015-08-11 Thread Martin Pitt
This debdiff gets over the actual build failures, but it now fails here:

scons 
--smokedbprefix=/home/martin/ubuntu/tmp/juju-mongodb-2.4.10/debian/tmp-test 
smoke --use-system-snappy --use-system-pcre --use-system-boost --ssl --nostrip  
-j4 --allocator=tcmalloc --use-system-tcmalloc --disable-scripting
scons: Reading SConscript files ...
scons version: 2.3.6
python version: 2 7 10 'final' 0
Checking whether the C++ compiler works... (cached) yes
Checking for C++ header file boost/filesystem/operations.hpp... (cached) yes
Checking for C++ library boost_thread-mt... (cached) no
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_filesystem-mt... (cached) no
Checking for C++ library boost_filesystem... (cached) yes
Checking for C++ library boost_program_options-mt... (cached) no
Checking for C++ library boost_program_options... (cached) yes
Checking for C++ library boost_system-mt... (cached) no
Checking for C++ library boost_system... (cached) yes
Checking for C header file unistd.h... (cached) yes
Checking whether clock_gettime is declared... (cached) yes
Checking for C library rt... (cached) yes
Checking for C++ header file execinfo.h... (cached) yes
Checking whether backtrace is declared... (cached) yes
Checking whether backtrace_symbols is declared... (cached) yes
Checking whether backtrace_symbols_fd is declared... (cached) yes
Checking for C library pcap... (cached) yes
Checking for C library tcmalloc... (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; }\nconst char * 
compiledJSEngine() { return %(js_engine)s; }\nconst char * allocator() { 
return %(allocator)s; }\nconst char * loaderFlags() { return 
%(loader_flags)s; }\nconst char * compilerFlags() { return 
%(compiler_flags)s; }\nstd::string sysInfo() { return %(sys_info)s 
BOOST_LIB_VERSION= BOOST_LIB_VERSION ; }\n}  // namespace mongo\n'])
/usr/bin/python 
/home/martin/ubuntu/tmp/juju-mongodb-2.4.10/buildscripts/smoke.py 
--with-cleanbb --smoke-db-prefix 
/home/martin/ubuntu/tmp/juju-mongodb-2.4.10/debian/tmp-test test
Traceback (most recent call last):
  File /home/martin/ubuntu/tmp/juju-mongodb-2.4.10/buildscripts/smoke.py, 
line 52, in module
from pymongo import Connection
ImportError: cannot import name Connection
scons: *** [smoke] Error 1

Indeed this doesn't seem to work at all:

$ python -c 'from pymongo import Connection'
Traceback (most recent call last):
  File string, line 1, in module
ImportError: cannot import name Connection

 import pymongo
 dir(pymongo)
['ALL', 'ASCENDING', 'CursorType', 'DESCENDING', 'DeleteMany', 'DeleteOne', 
'GEO2D', 'GEOHAYSTACK', 'GEOSPHERE', 'HASHED', 'IndexModel', 'InsertOne', 
'MAX_SUPPORTED_WIRE_VERSION', 'MIN_SUPPORTED_WIRE_VERSION', 'MongoClient', 
'MongoReplicaSetClient', 'OFF', 'ReadPreference', 'ReplaceOne', 
'ReturnDocument', 'SLOW_ONLY', 'TEXT', 'UpdateMany', 'UpdateOne', 
'WriteConcern', '__builtins__', '__doc__', '__file__', '__name__', 
'__package__', '__path__', 'auth', 'bulk', 'client_options', 'collection', 
'command_cursor', 'common', 'cursor', 'cursor_manager', 'database', 'errors', 
'get_version_string', 'has_c', 'helpers', 'ismaster', 'message', 
'mongo_client', 'mongo_replica_set_client', 'monitor', 'monotonic', 'network', 
'operations', 'periodic_executor', 'pool', 'read_preferences', 'response', 
'results', 'server', 'server_description', 'server_selectors', 'server_type', 
'settings', 'son_manipulator', 'ssl_support', 'thread_util', 'topology', 
'topology_description', 'uri_parser', 'version', 'ver
 sion_tuple', 'write_concern']

 import pymongo.Connection
Traceback (most recent call last):
  File stdin, line 1, in module
ImportError: No module named Connection

So it looks like pymongo changed API a while ago, and this needs to be
adjusted?

** Patch added: insufficient debdiff for juju-mongodb
   
https://bugs.launchpad.net/ubuntu/+source/mongodb/+bug/1483400/+attachment/4442851/+files/juju-mongodb.initial-ftbfs.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1483400

Title:
  mongodb ftbfs with GCC 5 and boost 1.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1483400/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1483400] Re: mongodb ftbfs with GCC 5 and boost 1.58

2015-08-11 Thread Martin Pitt
** Changed in: mongodb (Ubuntu)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1483400

Title:
  mongodb ftbfs with GCC 5 and boost 1.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1483400/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1483400] Re: mongodb ftbfs with GCC 5 and boost 1.58

2015-08-11 Thread Martin Pitt
https://github.com/mongodb/mongo/commit/a47efdc689

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1483400

Title:
  mongodb ftbfs with GCC 5 and boost 1.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1483400/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1483400] Re: mongodb ftbfs with GCC 5 and boost 1.58

2015-08-11 Thread Martin Pitt
s/Connection/MongoClient/ in buildscripts/smoke.py seems to work better,
as per

  http://api.mongodb.org/python/current/tutorial.html

** Changed in: juju-mongodb (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: juju-mongodb (Ubuntu)
 Assignee: (unassigned) = Martin Pitt (pitti)

** Changed in: mongodb (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: mongodb (Ubuntu)
 Assignee: (unassigned) = Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1483400

Title:
  mongodb ftbfs with GCC 5 and boost 1.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1483400/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1483400] Re: mongodb ftbfs with GCC 5 and boost 1.58

2015-08-11 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1483400

Title:
  mongodb ftbfs with GCC 5 and boost 1.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1483400/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1483400] Re: mongodb ftbfs with GCC 5 and boost 1.58

2015-08-11 Thread Martin Pitt
** Changed in: juju-mongodb (Ubuntu)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1483400

Title:
  mongodb ftbfs with GCC 5 and boost 1.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1483400/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1483400] Re: mongodb ftbfs with GCC 5 and boost 1.58

2015-08-11 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/wily-proposed/juju-mongodb

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1483400

Title:
  mongodb ftbfs with GCC 5 and boost 1.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1483400/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1483400] Re: mongodb ftbfs with GCC 5 and boost 1.58

2015-08-10 Thread Matthias Klose
blocks GCC 5.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mongodb in Ubuntu.
https://bugs.launchpad.net/bugs/1483400

Title:
  mongodb ftbfs with GCC 5 and boost 1.58

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-mongodb/+bug/1483400/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs