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

Bug #1428834 reported by Tushar Gohad
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
trusty-backports
Won't Fix
Undecided
Unassigned

Bug Description

This is a feature freeze exception request. Jerasure and lib-gf-complete is strategically important for Swift, a component of OpenStack. Thank you for considering this fairly simple library for a backport to Trusty (14.04.x).

Tushar Gohad (tsg-)
description: updated
Tushar Gohad (tsg-)
summary: - Please backport jerasure and lib-gf-complete from utopic
+ [FFE] Please backport jerasure and lib-gf-complete from utopic
Tushar Gohad (tsg-)
summary: - [FFE] Please backport jerasure and lib-gf-complete from utopic
+ [FFE] Please backport jerasure and lib-gf-complete from from Ubuntu
+ 14.10 to 14.04 LTS
Tushar Gohad (tsg-)
no longer affects: liberasurecode (Ubuntu)
Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

Hi,

I have just uploaded version 1.0 to Sid. Best would be to use that one rather than the 0.9.10.

Cheers.

Revision history for this message
Tushar Gohad (tsg-) wrote :

Hi Thomas,

The 0.9.10 vs 1.0 comment applies to https://bugs.launchpad.net/ubuntu/+bug/1428377, perhaps? :)

Thanks a lot

Revision history for this message
Tushar Gohad (tsg-) wrote :

Hi Scott, this is also a request related to the liberasurecode update. Jerasure and gf-complete backport to trusty should be very straightforward. Many thanks!

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 1428834] Re: [FFE] Please backport jerasure and lib-gf-complete from from Ubuntu 14.10 to 14.04 LTS

Please test the packages on trusty and indicate that they build/install/run.

Revision history for this message
Tushar Gohad (tsg-) wrote :
Download full text (3.5 KiB)

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 <email address hidden>
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 <email address hidden>
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

$...

Read more...

Revision history for this message
Tushar Gohad (tsg-) wrote :

Hi Scott, logs above. I jumbled up gf-complete build and install steps - that was a copy-paste error.. Everything was built/installed/tested from the Utopic package sources.

Dan Streetman (ddstreet)
Changed in trusty-backports:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.