Bug 274851 - math/dsdp: adding a SONAME to the shared library
Summary: math/dsdp: adding a SONAME to the shared library
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: Thierry Thomas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-01 16:21 UTC by Thierry Thomas
Modified: 2023-11-02 16:26 UTC (History)
0 users

See Also:
yuri: maintainer-feedback+


Attachments
Adding a SONAME to the shared library (2.50 KB, patch)
2023-11-01 16:21 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2023-11-01 16:21:23 UTC
Created attachment 246049 [details]
Adding a SONAME to the shared library

When building math/py-cvxopt the following error is displayed:

Error: /usr/local/lib/python3.9/site-packages/cvxopt/dsdp.cpython-39.so islinked to /usr/local/lib/libdsdp.so which does not have a SONAME. math/dsdp needs to be fixed.
    
Since I’m there, also install the static library.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2023-11-01 17:01:28 UTC
Hi Thierry,

Thanks for the patch.
Approved, please commit it.


Yuri
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2023-11-01 17:29:09 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-11-01 17:29:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2a236ba2fb1292066821487f6ad5cf49949705cd

commit 2a236ba2fb1292066821487f6ad5cf49949705cd
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-11-01 16:06:15 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-11-01 17:22:16 +0000

    math/dsdp: adding a SONAME to the shared library

    When building math/py-cvxopt the following error is displayed:
    Error: /usr/local/lib/python3.9/site-packages/cvxopt/dsdp.cpython-39.so is
    linked to /usr/local/lib/libdsdp.so which does not have a SONAME.
    math/dsdp needs to be fixed.

    Since I’m there, also install the static library.

    PR:             274851
    Approved by:    yuri 'maintainer)

 math/dsdp/Makefile             | 6 ++++--
 math/dsdp/files/patch-Makefile | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-11-02 16:26:37 UTC
A commit in branch 2023Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=711f7ab1ab59b258d91c60213267c34668b3922e

commit 711f7ab1ab59b258d91c60213267c34668b3922e
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-11-01 16:06:15 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-11-02 16:25:06 +0000

    math/dsdp: adding a SONAME to the shared library

    When building math/py-cvxopt the following error is displayed:
    Error: /usr/local/lib/python3.9/site-packages/cvxopt/dsdp.cpython-39.so is
    linked to /usr/local/lib/libdsdp.so which does not have a SONAME.
    math/dsdp needs to be fixed.

    Since I’m there, also install the static library.

    PR:             274851
    Approved by:    yuri 'maintainer)

    (cherry picked from commit 2a236ba2fb1292066821487f6ad5cf49949705cd)

 math/dsdp/Makefile             | 6 ++++--
 math/dsdp/files/patch-Makefile | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)