Bug 234542 - science/hdf5: Does not create .pc file for linking
Summary: science/hdf5: Does not create .pc file for linking
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords: needs-patch
Depends on:
Blocks: 236824
  Show dependency treegraph
 
Reported: 2019-01-01 12:31 UTC by Muhammad Moinur Rahman
Modified: 2022-07-18 12:57 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Moinur Rahman freebsd_committer freebsd_triage 2019-01-01 12:31:59 UTC
science/hdf5 by default doeesn't create any .pc for pkg-config to dynamically link with it's libraries. So far it seems we will need to use cmake.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2020-12-16 15:52:53 UTC
I have just submitted PR 251894 which could solve this, if your port supports HDF5 1.12.0:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251894
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2020-12-18 22:12:31 UTC
(In reply to Thierry Thomas from comment #1)
My problem is with science/py-netCDF4 which cannot find the library itself as there is no .pc file. Thanks for the patch. I will try to give it a shot once it lands in the tree.
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2021-12-08 22:02:40 UTC
Any updates?
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2022-02-12 08:30:36 UTC
Ping
Comment 5 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-12 11:29:26 UTC
(In reply to Daniel Engberg from comment #4)
Oops. Sorry I forgot about this.

I am a bit confused with all the works with bug #251894. Can you tell me which patch I should actually try my port?
Comment 6 Thierry Thomas freebsd_committer freebsd_triage 2022-02-12 16:43:14 UTC
(In reply to Muhammad Moinur Rahman from comment #5)

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251894#c21

But it was not approved by sunpoet (maintainer).
Comment 7 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-12 16:51:32 UTC
(In reply to Thierry Thomas from comment #6)
As the other patches are not obsoleted so I am taking your last patch which is from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251894#c19

Will keep you posted on updates here.
Comment 8 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-12 17:37:06 UTC
dizzy@

Can you refresh the patch please? Makefile fails to be patched.
Comment 9 Daniel Engberg freebsd_committer freebsd_triage 2022-02-13 09:38:48 UTC
bofh@
What patch? I'm not a user or consumer of this port, I'm just trying to clean up PRs in bugzilla.
Comment 10 Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-07-18 12:57:09 UTC
science/hdf5 provides .pc now. See bug 265152.