FS#35257 - [protobuf] package should provide static library (*.a)

Attached to Project: Community Packages
Opened by Anatol Pomozov (anatolik) - Tuesday, 14 May 2013, 03:13 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 16 May 2013, 23:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Building rethinkdb package https://aur.archlinux.org/packages/rethinkdb I found that its compilation fails.

[10/258] CP precompiled/web/js -> build/release/rethinkdb_web_assets/js
PROTOC protoc-gen-js
g++: error: /usr/lib/libprotobuf.a: No such file or directory
g++: error: /usr/lib/libprotoc.a: No such file or directory

It happens because makepkg cannot find any static libs for protobuf library. Currently there is a hack that changes rethinkdb build scripts and replaces libprotobuf.a with libprotobuf.so

But it sounds wrong to me that protobuf does not ship any static libs. IMHO it should ship *.a in addition to *.so
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 16 May 2013, 23:16 GMT
Reason for closing:  Won't fix
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 16 May 2013, 23:15 GMT
It is generally Arch policy to not ship static libraries as it is considered bad practice. Other software should be fixed upstream to work with shared libraries. I'm gonna close this bug report for now on that assumption. If this software requires static libraries for some odd reason, reopen it.

Loading...