Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347712 - Rebase dmraid ebuild on new upstream version
Summary: Rebase dmraid ebuild on new upstream version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Ian Stakenvicius (RETIRED)
URL: http://people.redhat.com/heinzm/sw/dm...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-04 12:03 UTC by fdupoux
Modified: 2010-12-15 17:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dmraid-1.0.0_rc16-r3-static-build-fixes.patch (dmraid-1.0.0_rc16-r3-static-build-fixes.patch,2.91 KB, text/plain)
2010-12-09 20:14 UTC, Ian Stakenvicius (RETIRED)
Details
dmraid-1.0.0_rc16-r3.ebuild (dmraid-1.0.0_rc16-r3.ebuild,2.96 KB, text/plain)
2010-12-09 20:15 UTC, Ian Stakenvicius (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fdupoux 2010-12-04 12:03:35 UTC
A new upstream version of dmraid has been released:
http://people.redhat.com/heinzm/sw/dmraid/src/dmraid-1.0.0.rc16-3.tar.bz2
http://people.redhat.com/heinzm/sw/dmraid/readme

This new version installs without having to hack the destination directory (we can drop dmraid-destdir-fix.patch), and hopefully all patches have been merged.

Reproducible: Always
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2010-12-06 17:23:45 UTC
It doesn't look like many patches have been merged, unfortunately...  In fact, there are no changes to the code at all, just changes to the ./configure script and a couple of makefiles.

Since this is current upstream I will update the ebuild as soon as I can.  Chances are the results won't be any different that the previous revision, though.
Comment 2 fdupoux 2010-12-06 19:08:22 UTC
If at least if could make all the hacks around the installation directories unnecessary, it's worth taking it. When I tested it, the DESTDIR stuff was not required.

BTW, are there interesting patches that could be stolen from ubuntu ?
http://packages.ubuntu.com/natty/dmraid
It sounds they have done recent work on the dmraid package.

1) cd /var/tmp/
2) mkdir dmraid
3) wget -c http://archive.ubuntu.com/ubuntu/pool/main/d/dmraid/dmraid_1.0.0.rc16.orig.tar.gz
4) wget http://archive.ubuntu.com/ubuntu/pool/main/d/dmraid/dmraid_1.0.0.rc16-4ubuntu2.diff.gz
5) tar xfz dmraid_1.0.0.rc16.orig.tar.gz
6) cd dmraid
7) zcat ../dmraid_1.0.0.rc16-4ubuntu2.diff.gz | patch -p1
8) cat debian/patches/series

01_fix_broken_linking.patch
02_disable_dmreg.patch
03_fix_hyphen-used-as-minus-sign.patch
09_promise-add-offsets.patch
10_exit_code.patch
12_support_virtio_devices.patch
17_isw-probe-hpa.patch
15_activate_multiple_raid_sets.patch
18_pdc_raid10_failure..patch
19_ddf1_lsi_persistent_name.patch
20_fix_isw_sectors_calculation.patch
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2010-12-06 19:21:19 UTC
Updates in -r3:
---------------
It does seem that the destdir stuff was fixed, and also the as-needed issues seem to be fixed.

I'm not certain of this but I think the selinux stuff was also removed.

Patches to 1.0.0.16:
--------------------
There are even more patches in redhat's git repository, although for whatever reason the upstream author has decided not to release a new version.  I have rolled my own version of 1.0.0.17_pre1 using those patches, but they didn't seem to actually fix any of the outstanding issues that are listed in bugs.gentoo.org...

If you are having issues with dmraid that are fixed by one or more of the patches below, though, please let me know and I'll apply those fixes.  I'm not willing to apply them preemptively though unless issues are reported.
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2010-12-06 19:38:17 UTC
FYI, this will take a little while; it seems static compiles are also broken at the moment.
Comment 5 Ian Stakenvicius (RETIRED) gentoo-dev 2010-12-09 20:14:52 UTC
Created attachment 256776 [details]
dmraid-1.0.0_rc16-r3-static-build-fixes.patch

patch to fix static build issues.
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2010-12-09 20:15:52 UTC
Created attachment 256777 [details]
dmraid-1.0.0_rc16-r3.ebuild

Updated ebuild for new upstream release.  Use with attachment 256776 [details]
Comment 7 Ian Stakenvicius (RETIRED) gentoo-dev 2010-12-09 20:22:02 UTC
.. This is my preliminary attempt; I'll review these with my proxy maintainer and get the update into the tree in the next few days.

Note that I added use flags for some of the ./configure options which were previously unavailable.  These may not stick when released to the tree, but please feel free to test them out.
Comment 8 Ian Stakenvicius (RETIRED) gentoo-dev 2010-12-13 20:12:57 UTC
OK, so progress -- this version needs to be patched quite a bit more than its predecessor but it seems to be working well now; it should hit the tree in a day or two.

Also, for the record, the codebase in this release does have many of the ubuntu patches integrated.
Comment 9 Thomas Sachau gentoo-dev 2010-12-15 17:28:21 UTC
I just committed -r3 to the main tree, should be on your local mirror in a few hours.