Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1575661 - reintroduce the file-static subpackage
Summary: reintroduce the file-static subpackage
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: rawhide
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-07 14:45 UTC by Vitaly Isaev
Modified: 2018-05-28 11:47 UTC (History)
3 users (show)

Fixed In Version: file-5.33-6.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-28 11:41:54 UTC
Type: Bug


Attachments (Terms of Use)
Possible patch to include static library (659 bytes, patch)
2018-05-07 14:57 UTC, Vitaly Isaev
no flags Details | Diff

Description Vitaly Isaev 2018-05-07 14:45:55 UTC
Please add static library (libmagic.a) to the development package. It's important for Go application developers who have to link statically with libmagic via cgo. 

These third party Golang libraries in fact depend on libmagic static library:
https://github.com/rakyll/magicmime
https://github.com/vimeo/go-magic

Sincerely,
Vitaly

Comment 1 Vitaly Isaev 2018-05-07 14:57:46 UTC
Created attachment 1432665 [details]
Possible patch to include static library

Comment 2 Kamil Dudka 2018-05-07 15:34:24 UTC
The static library needs to go to a separate subpackage which will not be installed by default.  Actually, the subpackage used to be there until the following commit that was pushed 5 years ago:

https://src.fedoraproject.org/cgit/rpms/file.git/commit/?id=a5b3f76c

Comment 3 Kamil Dudka 2018-05-28 11:41:54 UTC
Fixed in file-5.33-6.fc29 by the following commit:

https://src.fedoraproject.org/cgit/rpms/file.git/commit/?id=406a93dc

Comment 4 Vitaly Isaev 2018-05-28 11:47:10 UTC
Thanks a lot!


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