Red Hat Bugzilla – Bug 588508
Missing development headers and linker libraries of libusal
Last modified: 2011-03-28 11:06:40 EDT
the current upstream source of cdrkit misses an install rule for the headers and linker libraries (.a-files) of libusal. It is therefore not possible to compile own code which links against libusal. Since libusal is a highly flexible and portable SCSI library, it's highly desirable to have that included.
In fact, when building and installing the original cdrtools sources, the appropriate headers and libraries for libscg are installed and can therefore be used to build custom applications which use this SCSI library. It seems that the appropriate install rules were lost during the fork process.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
I've forwarded this request to cdrkit upstream (http://lists.alioth.debian.org/pipermail/debburn-devel/2011-January/000825.html).
I recommend people who like to use this library interface to use the maintained original software instead of a questionable fork that is dead since 4 years.
Cdrkit is still alive. The last version was released in October 2010 and development continues further.
cdrkit uses a variant of libscg that is known to be full of bugs. Since May 2007, nothing has been done on the code, so we can safely call it dead.
There is no development in the fork, it did not even ever try to fix one of the eprox. 100 well known bugs.
Redhat just removes the bug entries from it's database without fixing the bugs. They are still there....
Created attachment 479497 [details]
A patch is proposed. For more info see the next comment.
Created attachment 479498 [details]
new spec file proposed
A new spec file is proposed with the patch above. It adds a new subpackage libusal-devel in order to install libusal.a and header files.
libusal.a is installed into /usr/lib or /usr/lib64, libusal/usal/*.h files are installed into /usr/include/usal/.
Adrian, could you try the patch and spec file to see, if it fulfills your requirments?
Comment on attachment 479497 [details]
this patch is obsolete
Comment on attachment 479498 [details]
new spec file proposed
this spec file is obsolete
A new build is proposed on http://koji.fedoraproject.org/koji/buildinfo?buildID=230556
In this build libusal.a and librols.a are installed together with libusal's header files. librols.a contains some general functions used by libusal.a.
I'm planning to push this build into F15, but not F14 or older any more.
Created attachment 480770 [details]
Simple test of usal library.
This is a simple test of libusal. You can compile it using
gcc -o usaltest usaltest.c -lusal -lrols
It should print a status of /dev/cdrom to stdout. For example:
status: 0x0 (GOOD STATUS)
* should fix your issue,
* was pushed to the Fedora 15 updates-testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cdrkit-1.1.11-4.fc15'
as soon as you are able to, then reboot.
Please go to the following url:
then log in and leave karma (feedback).
cdrkit-1.1.11-4.fc15 has been pushed to the Fedora 15 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update cdrkit'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/cdrkit-1.1.11-4.fc15