Bug 263884 - databases/lmdb: Installs lib/liblmdb.a with object modules missing symbols
Summary: databases/lmdb: Installs lib/liblmdb.a with object modules missing symbols
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Xin LI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-09 17:08 UTC by Yuri Victorovich
Modified: 2022-05-13 04:57 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (delphij)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2022-05-09 17:08:45 UTC
*.a archive without symbols isn't usable, and in fact mdb_xx symbols were unresolved when another project was linked with liblmdb.a
Comment 1 commit-hook freebsd_committer 2022-05-13 04:57:16 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=70f2348dba64651646fd99f5f87c751a6837f499

commit 70f2348dba64651646fd99f5f87c751a6837f499
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2022-05-13 04:54:40 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2022-05-13 04:54:40 +0000

    databases/lmdb: Fix static library installation.

    INSTALL_LIB will strip symbols, and should not be used for static
    libraries.

    PR:             ports/263884
    Reported by:    yuri
    MFH:            2022Q2

 databases/lmdb/Makefile             |  1 +
 databases/lmdb/files/patch-Makefile | 27 ++++++++++++++++-----------
 2 files changed, 17 insertions(+), 11 deletions(-)
Comment 2 commit-hook freebsd_committer 2022-05-13 04:57:17 UTC
A commit in branch 2022Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39cd1b9f436a6c6d1f9476b42c97e51f94254641

commit 39cd1b9f436a6c6d1f9476b42c97e51f94254641
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2022-05-13 04:54:40 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2022-05-13 04:56:44 +0000

    databases/lmdb: Fix static library installation.

    INSTALL_LIB will strip symbols, and should not be used for static
    libraries.

    PR:             ports/263884
    Reported by:    yuri
    MFH:            2022Q2

    (cherry picked from commit 70f2348dba64651646fd99f5f87c751a6837f499)

 databases/lmdb/Makefile             |  1 +
 databases/lmdb/files/patch-Makefile | 27 ++++++++++++++++-----------
 2 files changed, 17 insertions(+), 11 deletions(-)
Comment 3 Xin LI freebsd_committer 2022-05-13 04:57:36 UTC
Thanks for the report!