[MDEV-8976] OQGraph should be disabled for POWER8 Ubuntu package builds Created: 2015-10-21  Updated: 2017-05-10  Resolved: 2015-11-11

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform Debian, Platform Power, Storage Engine - OQGRAPH
Fix Version/s: 10.1.9

Type: Task Priority: Major
Reporter: Daniel Bartholomew Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-9111 debian/control has libjudy-dev in Bui... Closed
relates to MDEV-12751 Oqgraph tests fail on kvm-deb-trusty-... Closed
Sprint: 10.1.9-2, 10.1.9-3

 Description   

On POWER8, the libjudydebian1 package is empty except for the copyright and changelog files:

u0016471@sys-74005:~$ dpkg -L libjudydebian1
/.
/usr
/usr/lib
/usr/share
/usr/share/doc
/usr/share/doc/libjudydebian1
/usr/share/doc/libjudydebian1/copyright
/usr/share/doc/libjudydebian1/changelog.Debian.gz

This leads to issues when compiling:

  • If the libjudydebian1 and libjudy-dev packages are not installed, building MariaDB fails with the following failure:

    dpkg-checkbuilddeps: Unmet build dependencies: libjudy-dev
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting

Log: http://buildbot.askmonty.org/buildbot/builders/p8-trusty-deb/builds/616/steps/compile/logs/stdio

  • If the two packages are installed, building MariaDB fails with the following failure:

make[3]: *** No rule to make target `/usr/lib/libJudy.so', needed by `storage/oqgraph/ha_oqgraph.so'.  Stop.

Log: http://buildbot.askmonty.org/buildbot/builders/p8-trusty-deb/builds/615/steps/compile/logs/stdio

We should disable building OQGraph on POWER8 and remove the dependency on the libjudy-dev package, at least until the libjudydebian1 package gets fixed upstream.



 Comments   
Comment by Sergei Golubchik [ 2015-11-02 ]

I'd rather build and install libjudydebian1 on the power8 builder

Comment by Daniel Bartholomew [ 2015-11-10 ]

serg: So you're saying we build the library from source on that box and then include it in our packages?

Comment by Kolbe Kegel (Inactive) [ 2015-11-10 ]

I think taking on responsibility for building and maintaining libjudy-dev on our own makes no sense. I vote that we skip OQGraph on POWER8 and remove the libjudy-dev dependency (MDEV-9111).

Comment by Daniel Black [ 2015-11-11 ]

(untested) you could potentially install a libjudy-dev package from Debian to build leave end users having to do the same.

Hopefully ubuntu distro maintainers can make it happen.

Comment by Sergey Vojtovich [ 2015-11-11 ]

danblack, it worked, thanks for your idea.

First successful build:
http://buildbot.askmonty.org/buildbot/builders/p8-trusty-deb/builds/648

Build fixed by installing libjudy-dev_1.0.5-4_ppc64el.deb, libjudydebian1_1.0.5-4_ppc64el.deb of Debian Jessie. However oqgraph package won't be functional without installing these packages, which should be acceptable.

Generated at Thu Feb 08 07:31:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.