[Bug 1428834] Re: [FFE] Please backport jerasure and lib-gf-complete from from Ubuntu 14.10 to 14.04 LTS

Tushar Gohad tushar.gohad at intel.com
Mon Mar 9 04:41:43 UTC 2015


The Utopic packages seem to work OK on Trusty:


$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty


Packages from http://packages.ubuntu.com/utopic/libgf-complete1 and libjerasure2


gf-complete Build::

$ tar xf gf-complete_1.0.2.orig.tar.xz
$ cd gf-complete-1.0.2/
$ tar xf ../gf-complete_1.0.2-1.debian.tar.xz


libgf-complete install::

$ sudo dpkg -i libgf-complete*
(Reading database ... 67946 files and directories currently installed.)
Preparing to unpack .../libgf-complete1_1.0.2-1_amd64.deb ...
Unpacking libgf-complete1 (1.0.2-1) over (1.0.2-1) ...
Preparing to unpack .../libgf-complete-dev_1.0.2-1_amd64.deb ...
Unpacking libgf-complete-dev (1.0.2-1) over (1.0.2-1) ...
Setting up libgf-complete1 (1.0.2-1) ...
Setting up libgf-complete-dev (1.0.2-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...


$ dpkg-buildpackage -us -uc -nc
dpkg-buildpackage: source package gf-complete
dpkg-buildpackage: source version 1.0.2-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Thomas Goirand <zigo at debian.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build gf-complete-1.0.2
 debian/rules build
dh build  --with autoreconf
 fakeroot debian/rules binary
dh binary  --with autoreconf
 dpkg-genchanges  >../gf-complete_1.0.2-1_amd64.changes
[snip]
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build gf-complete-1.0.2
dpkg-buildpackage: full upload (original source is included)


Jerasure Build:

$ tar xf jerasure_2.0.0.orig.tar.xz
$ cd jerasure-2.0.0/
$ tar xf ../jerasure_2.0.0-1.debian.tar.xz

$ dpkg-buildpackage -us -uc -nc
dpkg-buildpackage: source package jerasure
dpkg-buildpackage: source version 2.0.0-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Thomas Goirand <zigo at debian.org>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build jerasure-2.0.0
 debian/rules build
dh build  --with autotools-dev,autoreconf
   dh_testdir
   dh_autotools-dev_updateconfig
   dh_autoreconf
[snip]
dpkg-deb: building package `libjerasure-dev' in `../libjerasure-dev_2.0.0-1_amd64.deb'.
dpkg-deb: building package `libjerasure2' in `../libjerasure2_2.0.0-1_amd64.deb'.
 dpkg-genchanges  >../jerasure_2.0.0-1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build jerasure-2.0.0
dpkg-source: info: unapplying remove-AX_EXT-from-configure.ac
dpkg-buildpackage: full upload (original source is included)


Jerasure install:

$ sudo dpkg -i ../libjerasure*
(Reading database ... 67946 files and directories currently installed.)
Preparing to unpack .../libjerasure2_2.0.0-1_amd64.deb ...
Unpacking libjerasure2 (2.0.0-1) over (2.0.0-1) ...
Preparing to unpack .../libjerasure-dev_2.0.0-1_amd64.deb ...
Unpacking libjerasure-dev (2.0.0-1) over (2.0.0-1) ...
Setting up libjerasure2 (2.0.0-1) ...
Setting up libjerasure-dev (2.0.0-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...


Check:

$ sudo ldconfig -v | grep libgf_complete.so.1
        libgf_complete.so.1 -> libgf_complete.so.1.0.0


$ sudo ldconfig -v | grep libJerasure 2> /dev/null
        libJerasure.so.2 -> libJerasure.so.2.0.0


Run:  (PyECLib unit tests)

$ nosetests test.test_pyeclib_api:TestPyECLibDriver.test_rs -s
jerasure_rs_vand ... ok 
jerasure_rs_cauchy ... ok
----------------------------------------------------------------------
Ran 1 test in 0.266s

OK

-- 
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to trusty-backports.
Matching subscriptions: ubuntu-backporters
https://bugs.launchpad.net/bugs/1428834

Title:
  [FFE] Please backport jerasure and lib-gf-complete from from Ubuntu
  14.10 to 14.04 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/trusty-backports/+bug/1428834/+subscriptions



More information about the ubuntu-backports mailing list