[MDEV-206] OQGraph is missing from 5.5 bintars (and debs) Created: 2012-03-30  Updated: 2012-08-08  Resolved: 2012-08-08

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.22
Fix Version/s: 5.5.27

Type: Bug Priority: Critical
Reporter: Sergei Golubchik Assignee: Sergei Golubchik
Resolution: Fixed Votes: 1
Labels: packaging

Issue Links:
Blocks
is blocked by MDEV-336 oqgraph 5.5 crashes in buildbot Closed

 Description   

OQGraph in 5.3 needs boost 1.40 or later, otherwise it's not built.
In 5.5 it needs boost 1.45.
We have 1.42 on all our package-building VMs.

As a result, all 5.5. binary packages don't have OQGraph.

VMs need to be updated to have the newer boost.

See http://kb.askmonty.org/en/installing-the-boost-library-needed-for-the-oqgraph-storage-engine

When upgrading boost, update the above KB page too.


OQGraph fails to compile with a new Boost. We're waiting for Anthony to fix it.



 Comments   
Comment by Daniel Bartholomew [ 2012-03-30 ]

It looks like the current version of Boost (according to http://www.boost.org/ ) is 1.49. Is that OK? or do we need 1.45 exactly?

Comment by Sergei Golubchik [ 2012-03-30 ]

1.45 is specified as a minimal requirement in CMakeLists.txt

I've successfully built OQGraph with 1.46 (current default on Gentoo) and with 1.48 (highest available on Gentoo, marked experimental).

It's OK to install 1.49, if you'd like, it'll most probably work, but be prepared to downgrade it if the build will fail. Alternatively, you can install a lower version, which I've already tested.

After installing Boost, please restart few VM builds in 5.5 branch, just to see how it'll work.

Comment by Daniel Bartholomew [ 2012-04-03 ]

logged some work (over under the "Work Log" tab).

Comment by Sergei Golubchik [ 2012-04-05 ]

old VMs are moved back, new VMs moved in new/ subdirectory.
OQGraph fails to build or crashes in tests in different VMs. In a couple of VMs it passes all tests.

Let's postpone fixing OQGraph until after the next 5.5 release.

Comment by Sergei Petrunia [ 2012-04-05 ]

This is what I did:

    1. on terrier:

mkdir new-psergey
mv vm-centos5-amd64-build.qcow2 new-psergey/
mv vm-debian5-amd64-build.qcow2 new-psergey/
mv vm-debian5-i386-build.qcow2 new-psergey/
mv vm-debian6-amd64-build.qcow2 new-psergey/
mv vm-debian6-i386-build.qcow2 new-psergey/
mv vm-hardy-amd64-build.qcow2 new-psergey/
mv vm-hardy-i386-build.qcow2 new-psergey/
mv vm-jaunty-i386-deb-tarbake.qcow2 new-psergey/
mv vm-karmic-amd64-build.qcow2 new-psergey/
mv vm-karmic-i386-build.qcow2 new-psergey/
mv vm-lucid-amd64-build.qcow2 new-psergey/
mv vm-lucid-amd64-tarbake.qcow2 new-psergey/
mv vm-lucid-i386-build.qcow2 new-psergey/
mv vm-maverick-amd64-build.qcow2 new-psergey/
mv vm-maverick-i386-build.qcow2 new-psergey/
mv vm-natty-amd64-build.qcow2 new-psergey/
mv vm-natty-i386-build.qcow2 new-psergey/
mv vm-oneiric-amd64-build.qcow2 new-psergey/
mv vm-oneiric-i386-build.qcow2 new-psergey/
mv vm-rhel4-amd64-build.qcow2 new-psergey/
mv vm-rhel5-amd64-build.qcow2 new-psergey/
mv vm-rhel5-x86-build.qcow2 new-psergey/
mv vm-rhel6-amd64-build-cmake.qcow2 new-psergey/
mv vm-rhel6-amd64-build.qcow2 new-psergey/

mv old/vm-centos5-amd64-build.old-2012-04-04.qcow2 vm-centos5-amd64-build.qcow2
mv old/vm-debian5-amd64-build.old-2012-04-04.qcow2 vm-debian5-amd64-build.qcow2
mv old/vm-debian5-i386-build.old-2012-04-04.qcow2 vm-debian5-i386-build.qcow2
mv old/vm-debian6-amd64-build.old-2012-04-04.qcow2 vm-debian6-amd64-build.qcow2
mv old/vm-debian6-i386-build.old-2012-04-04.qcow2 vm-debian6-i386-build.qcow2
mv old/vm-hardy-amd64-build.old-2012-04-04.qcow2 vm-hardy-amd64-build.qcow2
mv old/vm-hardy-i386-build.old-2012-04-04.qcow2 vm-hardy-i386-build.qcow2
mv old/vm-karmic-amd64-build.old-2012-04-04.qcow2 vm-karmic-amd64-build.qcow2
mv old/vm-karmic-i386-build.old-2012-04-04.qcow2 vm-karmic-i386-build.qcow2
mv old/vm-lucid-amd64-build.old-2012-04-04.qcow2 vm-lucid-amd64-build.qcow2
mv old/vm-lucid-amd64-tarbake.old-2012-04-04.qcow2 vm-lucid-amd64-tarbake.qcow2
mv old/vm-lucid-i386-build.old-2012-04-04.qcow2 vm-lucid-i386-build.qcow2
mv old/vm-maverick-amd64-build.old-2012-04-04.qcow2 vm-maverick-amd64-build.qcow2
mv old/vm-maverick-i386-build.old-2012-04-04.qcow2 vm-maverick-i386-build.qcow2
mv old/vm-natty-amd64-build.old-2012-04-04.qcow2 vm-natty-amd64-build.qcow2
mv old/vm-natty-i386-build.old-2012-04-04.qcow2 vm-natty-i386-build.qcow2
mv old/vm-oneiric-amd64-build.old-2012-04-04.qcow2 vm-oneiric-amd64-build.qcow2
mv old/vm-oneiric-i386-build.old-2012-04-04.qcow2 vm-oneiric-i386-build.qcow2
mv old/vm-rhel4-amd64-build.old-2012-04-04.qcow2 vm-rhel4-amd64-build.qcow2
mv old/vm-rhel5-amd64-build.old-2012-04-04.qcow2 vm-rhel5-amd64-build.qcow2
mv old/vm-rhel5-x86-build.old-2012-04-04.qcow2 vm-rhel5-x86-build.qcow2
mv old/vm-rhel6-amd64-build-cmake.old-2012-04-04.qcow2 vm-rhel6-amd64-build-cmake.qcow2
mv old/vm-rhel6-amd64-build.old-2012-04-04.qcow2 vm-rhel6-amd64-build.qcow2

    1. on terrier2:
      mkdir new-psergey
      mv vm-centos5-amd64-build.qcow2 new-psergey/
      mv vm-debian5-amd64-build.qcow2 new-psergey/
      mv vm-debian5-i386-build.qcow2 new-psergey/
      mv vm-debian6-amd64-build.qcow2 new-psergey/
      mv vm-debian6-i386-build.qcow2 new-psergey/
      mv vm-hardy-amd64-build.qcow2 new-psergey/
      mv vm-hardy-i386-build.qcow2 new-psergey/
      mv vm-karmic-amd64-build.qcow2 new-psergey/
      mv vm-karmic-i386-build.qcow2 new-psergey/
      mv vm-lucid-amd64-build.qcow2 new-psergey/
      mv vm-lucid-amd64-tarbake.qcow2 new-psergey/
      mv vm-lucid-i386-build.qcow2 new-psergey/
      mv vm-maverick-amd64-build.qcow2 new-psergey/
      mv vm-maverick-i386-build.qcow2 new-psergey/
      mv vm-natty-amd64-build.qcow2 new-psergey/
      mv vm-natty-i386-build.qcow2 new-psergey/
      mv vm-oneiric-amd64-build.qcow2 new-psergey/
      mv vm-oneiric-i386-build.qcow2 new-psergey/
      mv vm-rhel4-amd64-build.qcow2 new-psergey/
      mv vm-rhel5-amd64-build.qcow2 new-psergey/
      mv vm-rhel5-x86-build.qcow2 new-psergey/
      mv vm-rhel6-amd64-build-cmake.qcow2 new-psergey/
      mv vm-rhel6-amd64-build.qcow2 new-psergey/

mv old/vm-centos5-amd64-build.old-2012-04-04.qcow2 vm-centos5-amd64-build.qcow2
mv old/vm-debian5-amd64-build.old-2012-04-04.qcow2 vm-debian5-amd64-build.qcow2
mv old/vm-debian5-i386-build.old-2012-04-04.qcow2 vm-debian5-i386-build.qcow2
mv old/vm-debian6-amd64-build.old-2012-04-04.qcow2 vm-debian6-amd64-build.qcow2
mv old/vm-debian6-i386-build.old-2012-04-04.qcow2 vm-debian6-i386-build.qcow2
mv old/vm-hardy-amd64-build.old-2012-04-04.qcow2 vm-hardy-amd64-build.qcow2
mv old/vm-hardy-i386-build.old-2012-04-04.qcow2 vm-hardy-i386-build.qcow2
mv old/vm-karmic-amd64-build.old-2012-04-04.qcow2 vm-karmic-amd64-build.qcow2
mv old/vm-karmic-i386-build.old-2012-04-04.qcow2 vm-karmic-i386-build.qcow2
mv old/vm-lucid-amd64-build.old-2012-04-04.qcow2 vm-lucid-amd64-build.qcow2
mv old/vm-lucid-amd64-tarbake.old-2012-04-04.qcow2 vm-lucid-amd64-tarbake.qcow2
mv old/vm-lucid-i386-build.old-2012-04-04.qcow2 vm-lucid-i386-build.qcow2
mv old/vm-maverick-amd64-build.old-2012-04-04.qcow2 vm-maverick-amd64-build.qcow2
mv old/vm-maverick-i386-build.old-2012-04-04.qcow2 vm-maverick-i386-build.qcow2
mv old/vm-natty-amd64-build.old-2012-04-04.qcow2 vm-natty-amd64-build.qcow2
mv old/vm-natty-i386-build.old-2012-04-04.qcow2 vm-natty-i386-build.qcow2
mv old/vm-oneiric-amd64-build.old-2012-04-04.qcow2 vm-oneiric-amd64-build.qcow2
mv old/vm-oneiric-i386-build.old-2012-04-04.qcow2 vm-oneiric-i386-build.qcow2
mv old/vm-rhel4-amd64-build.old-2012-04-04.qcow2 vm-rhel4-amd64-build.qcow2
mv old/vm-rhel5-amd64-build.old-2012-04-04.qcow2 vm-rhel5-amd64-build.qcow2
mv old/vm-rhel5-x86-build.old-2012-04-04.qcow2 vm-rhel5-x86-build.qcow2
mv old/vm-rhel6-amd64-build-cmake.old-2012-04-04.qcow2 vm-rhel6-amd64-build-cmake.qcow2
mv old/vm-rhel6-amd64-build.old-2012-04-04.qcow2 vm-rhel6-amd64-build.qcow2

Comment by Daniel Bartholomew [ 2012-04-05 ]

I've documented what I did to upgrade the VMs here: https://kb.askmonty.org/en/installing-the-boost-library-needed-for-the-oqgraph-storage-engine

Comment by Arjen Lentz [ 2012-06-12 ]

The problem report is confusing: it self-contradicts, and notes other unlikely scenarios. Therefore it's not clear what needs to be done to fix the problem, if indeed there is a problem.

a) why would the same OQGraph code in a different MariaDB branch suddenly require a different version of Boost? (MariaDB 5.5 needing Boost 1.45 - where is that requirement seen?)
b) on the one hand it's stated that OQGraph does not build with a new Boost, but all the Boost versions listed are higher than the minimum requirement that OQGraph code has.
c) Serg writes "OQGraph fails to build or crashes in tests in different VMs. In a couple of VMs it passes all tests." - it'd be handy to know what status it has in which environments, and what the build errors are, and test crash reports?

Please will the people who detected the issues provide the info they saw, so someone can actually fix it?
Come on guys - if you get a bug report of this nature, can you magically resolve it?
Your help is appreciated. thanks

Comment by Sergei Golubchik [ 2012-06-13 ]

Arjen, I've created new bug for this. Please see MDEV-336 for details

Comment by Sergei Golubchik [ 2012-08-01 ]

oqgraph is now in debs (on distributions with a sufficiently new gcc, e.g not on hardy)

Comment by Sergei Golubchik [ 2012-08-08 ]

oqgraph is now in debs in bintars, where possible

Generated at Thu Feb 08 06:27:02 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.