Bug 588508

Summary: Missing development headers and linker libraries of libusal
Product: [Fedora] Fedora Reporter: John Paul Adrian Glaubitz <glaubitz>
Component: cdrkitAssignee: Honza Horak <hhorak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: npajkovs, rrakus, schily
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cdrkit-1.1.11-4.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-28 15:06:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch proposed
none
new spec file proposed
none
Simple test of usal library. none

Description John Paul Adrian Glaubitz 2010-05-03 20:27:46 UTC
Hi,

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.

Regards,

Adrian

Comment 1 Fedora Admin XMLRPC Client 2011-01-10 13:23:20 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Honza Horak 2011-01-24 15:53:07 UTC
I've forwarded this request to cdrkit upstream (http://lists.alioth.debian.org/pipermail/debburn-devel/2011-January/000825.html).

Comment 3 Jörg Schilling 2011-01-24 23:19:45 UTC
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.

Comment 4 Honza Horak 2011-01-31 08:58:36 UTC
Cdrkit is still alive. The last version was released in October 2010 and development continues further.

Comment 5 Jörg Schilling 2011-01-31 14:37:27 UTC
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....

Comment 6 Honza Horak 2011-02-18 13:16:37 UTC
Created attachment 479497 [details]
patch proposed

A patch is proposed. For more info see the next comment.

Comment 7 Honza Horak 2011-02-18 13:18:09 UTC
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 8 Honza Horak 2011-02-24 13:37:57 UTC
Comment on attachment 479497 [details]
patch proposed

this patch is obsolete

Comment 9 Honza Horak 2011-02-24 13:38:21 UTC
Comment on attachment 479498 [details]
new spec file proposed

this spec file is obsolete

Comment 10 Honza Horak 2011-02-24 14:23:19 UTC
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.

Comment 11 Honza Horak 2011-02-24 14:26:55 UTC
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)

Comment 12 Fedora Update System 2011-02-28 10:55:43 UTC
Package cdrkit-1.1.11-4.fc15:
* 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:
https://admin.fedoraproject.org/updates/cdrkit-1.1.11-4.fc15
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2011-03-01 06:48:41 UTC
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