From: SourceForge.net <no...@so...> - 2004-09-30 19:02:30
|
Bugs item #969212, was opened at 2004-06-08 14:00 Message generated for change (Comment added) made by tariqx You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=969212&group_id=71730 Category: OpenHPI base library Group: 1.0.0 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Andy Cress (arcress) Assigned to: Nobody/Anonymous (nobody) Summary: rpm dependency errors Initial Comment: trying to install openhpi-0.9.0 on a RedHat EL3 system: # rpm -i openhpi-0.9.0-1.i386.rpm error: Failed dependencies: libOpenIPMI.so.0 is needed by openhpi-0.9.0-1 libOpenIPMIposix.so.0 is needed by openhpi-0.9.0- 1 libsysfs.so.1 is needed by openhpi-0.9.0-1 # # # ls -l /usr/local/lib/*IPMI.*so* lrwxrwxrwx 1 root root 20 Jun 8 10:31 /usr/local/lib/libOpenIPMI.so -> libOpenIPMI.so.0.0.4 lrwxrwxrwx 1 root root 20 Jun 8 10:31 /usr/local/lib/libOpenIPMI.so.0 -> libOpenIPMI.so.0.0.4 -rwxr-xr-x 1 root root 1163799 Jun 8 10:31 /usr/local/lib/libOpenIPMI.so.0.0.4 # ls -l /usr/local/lib/lib*IPMIposix*so* lrwxrwxrwx 1 root root 25 Jun 8 10:31 /usr/local/lib/libOpenIPMIposix.so -> libOpenIPMIposix.so.0.0.1 lrwxrwxrwx 1 root root 25 Jun 8 10:31 /usr/local/lib/libOpenIPMIposix.so.0 -> libOpenIPMIposix.so.0.0.1 -rwxr-xr-x 1 root root 15407 Jun 8 10:31 /usr/local/lib/libOpenIPMIposix.so.0.0.1 # So, apparently the libOpenIPMI detection isn't robust enough (the right version is present in /usr/local/lib), and we probably need to relate libsysfs.so to whatever rpm it belongs to, if it is really needed. ---------------------------------------------------------------------- >Comment By: Tariq Shureih (tariqx) Date: 2004-09-30 12:02 Message: Logged In: YES user_id=118691 Submitted a patch to OpenIPMI to create RPMS. Can be downloaded from OpenIPMI's site. ---------------------------------------------------------------------- Comment By: Sean Dague (sdague) Date: 2004-06-11 13:00 Message: Logged In: YES user_id=21949 You bring up a good point, if there is no OpenIPMI rpm widely available then we should consider disabling the openipmi support in the rpm, as it is currently an uninstallable entity. We could just stop providing binary rpms all together, which would solve this problem. .src.rpms should be provided as an alternative. The dependency is valid, there is just no easy way to fulfill it at the moment. ---------------------------------------------------------------------- Comment By: Andy Cress (arcress) Date: 2004-06-11 12:35 Message: Logged In: YES user_id=602195 Sean, If you have a dependency on an rpm (an OpenIPMI rpm), that rpm has to exist for this to be a valid dependency. Please provide a URL where that rpm can be obtained. All I see is a tarball, and that tarball doesn't seem to contain a spec file either. Bottom line: Is there a way to install the OpenHPI rpm without using --nodeps? Andy ---------------------------------------------------------------------- Comment By: Sean Dague (sdague) Date: 2004-06-11 12:28 Message: Logged In: YES user_id=21949 No, that breaks the rpm system. Any piece of software that is installed by rpm that has real requirements on other packages in the system needs to have those requirements fullfilled by rpms as well. Otherwise having any dependency checking at all is fruitless, as nothing prevents you from removing, or upgrading OpenIPMI to an incompatible version. RPMs are not just self installing tarballs, they are a robust software infrastructure for administrators to clearly understand relationships between software components on their system. If you want to install openhpi as an rpm, you should first build OpenIPMI from rpm, and then rebuild openhpi from .src.rpm for that version of OpenIPMI. I'm closing this bug, as it is invalid, and asks the OpenHPI team to do something considered bad form by the rpm packaging community. ---------------------------------------------------------------------- Comment By: Andy Cress (arcress) Date: 2004-06-09 06:54 Message: Logged In: YES user_id=602195 OpenHPI rpm used: http://prdownloads.sourceforge.net/openhpi/openhpi-0.9.0- 1.i386.rpm?download OpenIPMI 1.3.8 was installed from tarball/source, with 'make install'. As far as I know there isn't any OpenIPMI rpm available. So, that makes it hard to satisfy the dependency for the OpenHPI rpm. Rather that setting an rpm dependency, it would make more sense to check for the library files in the preinstall section of the spec file, right? Options: 1) Change the OpenHPI spec file from rpm dependency to file check. or 2) Document that you have to install hpi with rpm -i --nodeps (no so good) or 3) Include the OpenIPMI binary libs (as an rpm?) along with the OpenHPI rpms. ---------------------------------------------------------------------- Comment By: Sean Dague (sdague) Date: 2004-06-08 18:19 Message: Logged In: YES user_id=21949 Where did you get your OpenIPMI rpm that you installed OpenIPMI with? If that rpm doesn't list the provides properly, rpm installation of OpenHPI will not work, and you will have to install OpenHPI from source. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=969212&group_id=71730 |