Bug 609698 - Macaulay2 : does not adhere to Static Library Packaging Guidelines
Summary: Macaulay2 : does not adhere to Static Library Packaging Guidelines
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Macaulay2
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-30 20:46 UTC by Michael Schwendt
Modified: 2010-07-01 10:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-30 20:56:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2010-06-30 20:46:30 UTC
Macaulay2-1.3.1-6.fc14.src
is missing
BuildRequires: cddlib-static

[...]

https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries_2

If a library you depend on only provides a static version your package can link against it provided that you BuildRequire the *-static subpackage. Packagers in such a situation should be aware that if a shared library becomes available, that you should adjust your package to use the shared library.

Comment 1 Rex Dieter 2010-06-30 20:56:47 UTC
* Wed Jun 30 2010 Rex Dieter <rdieter> - 1.3.1-7
- BR: cddlib-static (#609698)

Comment 2 Michael Schwendt 2010-07-01 10:24:15 UTC
I must admit I'm not sure about this yet. :-/

Automatically examining koji build logs is not trivial, and reading the log myself and checking the source, it doesn't become clear how cddlib is used. 

The source seems to suggest that Macaulay2 only needs cddlib for gfan, which is not a devel pkg, but programs statically linked with cddlib-static already in Fedora. The libraries/cddlib and libraries/gfan dirs are empty, though.

Is BR cddlib-devel strictly required for Macaulay2?


> checking for cdd.h... no
> checking for cdd.h... yes
...
> configure: using CPPFLAGS      = -I/usr/include/cddlib ...
...
> config.status: creating libraries/cddlib/Makefile


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