Bug 453591 - [PATCH] sg3_utils api breakage breaks compilation and running of podsleuth
[PATCH] sg3_utils api breakage breaks compilation and running of podsleuth
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: podsleuth (Show other bugs)
9
All Linux
low Severity low
: ---
: ---
Assigned To: Michel Alexandre Salim
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-01 10:12 EDT by David Nielsen
Modified: 2008-09-24 20:13 EDT (History)
2 users (show)

See Also:
Fixed In Version: podsleuth-0.6.2-2.fc10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-08-28 04:42:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
podsleuth debug information (1.92 KB, text/plain)
2008-07-17 16:56 EDT, David Nielsen
no flags Details
sg3_utils api patch (972 bytes, application/octet-stream)
2008-08-09 08:41 EDT, David Nielsen
no flags Details
version of the patch actually in the srpm (2.13 KB, application/octet-stream)
2008-08-09 08:49 EDT, David Nielsen
no flags Details
working patch (2.13 KB, application/octet-stream)
2008-08-09 09:52 EDT, David Nielsen
no flags Details

  None (edit)
Description David Nielsen 2008-07-01 10:12:29 EDT
Description of problem:
My iPod stopped turning up in Banshee 1.0 and I noticed the following when
running podsleuth:

Found an iPod device, but it is not known by PodSleuth:
   Error: org.podsleuth.* properties are missing
   UDI:          /org/freedesktop/Hal/devices/volume_uuid_AEF3_A4D0
   Block Device: /dev/sdb2
   Mount Point:  /media/DAVIDS IPOD

   Cause: PodSleuth may not be installed properly, the HAL daemon may need
          to be restarted and/or the device needs to be refreshed.

SElinuix complains a whole lot.. again when inserting the iPod, so I set it to
be permissive but that did not bring about any magic solution.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.3.1-72.fc9.noarch
podsleuth-0.6.0-6.fc9.x86_64


How reproducible:
100%

Steps to Reproduce:
1. podsleuth
  
Actual results:
the above error

Expected results:
glorious feeling of being screwed by apple rather than podsleuth

Additional info:
Comment 1 David Nielsen 2008-07-04 19:44:31 EDT
Turns out this is a udev bug, which is already filed as 451320

*** This bug has been marked as a duplicate of 451320 ***
Comment 2 David Nielsen 2008-07-17 16:49:32 EDT
reopening, the bug reoccured even with udev-124-1.fc9.2.x86_64 installed. 
Comment 3 David Nielsen 2008-07-17 16:56:37 EDT
Created attachment 312081 [details]
podsleuth debug information

It turns out that podsleuth is complaining that libsgutils.so.1 is missing,
depending on sg3_utils-libs looks to be the solution?
Comment 4 David Nielsen 2008-08-09 07:57:18 EDT
I did a bit more digging on this and it turns out that sg3_utils had some api breakage which podsleuth needs to be updated for.

adding Phil Knirsch (sg3_utils maintainer) to cc for information on what changes are required.
Comment 5 David Nielsen 2008-08-09 08:00:14 EDT
Sorry, Dan Horak did the API update, add him instead of Paul.
Comment 6 David Nielsen 2008-08-09 08:41:20 EDT
Created attachment 313872 [details]
sg3_utils api patch

Stab one at the api patch, podsleuth compiles but I am still seeing the error for some reason.

updated spec and srpms:
http://dnielsen.fedorapeople.org/podsleuth.spec
http://dnielsen.fedorapeople.org/podsleuth-0.6.0-7.fc10.src.rpm
Comment 7 Dan Horák 2008-08-09 08:47:35 EDT
There was an update (in Rawhide only) of sg3_utils at the end of June and repoquery returned lsvpd, libgpod and libipoddevice as the only users of the libsgutils library. All of them were patched and rebuilt. To fix the dependency you should just recompile and relink against libsgutils2 instead of libsgutils. See http://cvs.fedoraproject.org/viewcvs/rpms/libgpod/devel/libgpod-0.6.0-sg3_utils-1.26.patch?rev=1.1&view=auto for an example.
Comment 8 David Nielsen 2008-08-09 08:49:01 EDT
Created attachment 313873 [details]
version of the patch actually in the srpm

doh, attached the wrong version.. still doesn 't work right though.
Comment 9 Dan Horák 2008-08-09 09:01:25 EDT
-        [DllImport("libsgutils.so.1")]
+        [DllImport("libsgutils.so.2")]

I think this should be 
-        [DllImport("libsgutils.so.1")]
+        [DllImport("libsgutils2.so.2")]
Comment 10 David Nielsen 2008-08-09 09:52:16 EDT
Created attachment 313877 [details]
working patch

working patch for the sg3_utils stuff, srpms above has been updated. Well spotted Dan.

Now all podsleuth complains about is 458537
Comment 11 Nigel Jones 2008-08-14 09:16:34 EDT
This package has now been orphaned, hopefully someone will be able to pick it up and resolve the reported bug soon.
Comment 12 Michel Alexandre Salim 2008-08-25 03:49:35 EDT
podsleuth unorphaned; 0.6.2 going to be pushed for F-9 updates soon.
Comment 13 Fedora Update System 2008-08-25 04:35:40 EDT
podsleuth-0.6.2-2.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/podsleuth-0.6.2-2.fc9
Comment 14 Fedora Update System 2008-08-25 04:36:42 EDT
podsleuth-0.6.2-2.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/podsleuth-0.6.2-2.fc8
Comment 15 Fedora Update System 2008-09-04 02:17:21 EDT
podsleuth-0.6.2-3.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/podsleuth-0.6.2-3.fc9
Comment 16 Fedora Update System 2008-09-04 02:18:11 EDT
podsleuth-0.6.2-3.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/podsleuth-0.6.2-3.fc8
Comment 17 Fedora Update System 2008-09-24 20:03:36 EDT
podsleuth-0.6.2-3.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 18 Fedora Update System 2008-09-24 20:08:09 EDT
podsleuth-0.6.2-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 19 Fedora Update System 2008-09-24 20:09:34 EDT
podsleuth-0.6.2-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 20 Fedora Update System 2008-09-24 20:13:08 EDT
podsleuth-0.6.2-3.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.