I wanted to emerge lsscsi (http://www.torque.net/scsi/lsscsi.html) and saw that 0.14 is out, so I wrote my own ebuild for that. Turns out that lsscsi as of late requires a CVS-updated version of sysfsutils and hence should have an according DEPENDS entry. Reproducible: Always Steps to Reproduce: 1. write new ebuild for lsscsi 0.14 2. watch it don't link (missing symbol dlist_sort_custom) 3. fix sysfsutils with sources from CVS 4. proceed with lsscsi :) Actual Results: lsscsi 0.14 emerges cleanly without warnings and works correctly on my 2.6.8.1 kernel with FireWire drives.
Created attachment 37595 [details] fixed ebuild+files for sysfsutils-1.1.0
An additional note for the added files: the ebuild doesn't apply patches but rather just replaces the files in the source tree with their fixed versions. Hope that's OK.
Please post all the files individually as plain text attachments. Also I think it would be better to apply the fix as a patch, plus we should check out the differences between the two versions before replacing entire files.
Sorry for the previous attachment, I'm new to ebuilding. The new version of the ebuild uses patches.
Created attachment 37604 [details] new ebuild new ebuild using patches
Created attachment 37605 [details, diff] add dlist_sort_custom
Created attachment 37606 [details, diff] add dlist_sort_custom
Created attachment 37607 [details, diff] add writeonly attributes
greg: you can handle the sysfs stuff ? historically azarah took care of it, but i think you're the next guy who knows most about this
Sure, I'll take this over. Be able to get to it in monday.
As if by magic ;) I just noticed that sysfsutils-1.2 is "stable" and does not require any more patches, so that's probably the version that should go in.
Created attachment 41405 [details] ebuild for 1.2.0 that does not need any more patches builds cleanly for me; lsscsi still works, too (as far as I can test)
1.2.0 works fine for me :)
I'd like to have sysfsutils-1.2.0 available for cpufrequtils (see bug 69320 http://bugs.gentoo.org/show_bug.cgi?id=69320 ) available as it is supposed to fix some bugs to be found in sysfsutils-1.0.0.
1.2.0 is released.