Bug 273735 - misc/mbuffer: fails to build if www/libwww installed
Summary: misc/mbuffer: fails to build if www/libwww installed
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-12 06:06 UTC by Koichiro Iwao
Modified: 2023-09-13 11:16 UTC (History)
2 users (show)

See Also:


Attachments
portmaster-log (10.66 KB, text/plain)
2023-09-12 06:06 UTC, Koichiro Iwao
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Koichiro Iwao freebsd_committer freebsd_triage 2023-09-12 06:06:41 UTC
Created attachment 244788 [details]
portmaster-log

See attached portmaster log.

Maybe trying to link wrong libraries of libwww.

% pkg info -l libwww|grep libmd
        /usr/local/lib/libmd5.a
        /usr/local/lib/libmd5.so
        /usr/local/lib/libmd5.so.0
        /usr/local/lib/libmd5.so.0.1.0
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-09-13 02:44:07 UTC
A commit in branch main references this bug:

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

commit d3f22d319918c1dda4dbfbc5d85678c91ed13590
Author:     Fukang Chen <loader@FreeBSD.org>
AuthorDate: 2023-09-13 01:01:25 +0000
Commit:     Fukang Chen <loader@FreeBSD.org>
CommitDate: 2023-09-13 02:13:32 +0000

    misc/mbuffer: Fix build if www/libwww installed

    Remove libmd5 from AC_SEARCH_LIBS and only searches for libmd,
    avoid linking with libmd5 installed by www/libwww.

    PR:             273735
    Reported by:    meta
    MFH:            2023Q3 (build fix)

 misc/mbuffer/files/patch-configure.in | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)
Comment 2 Koichiro Iwao freebsd_committer freebsd_triage 2023-09-13 07:08:47 UTC
Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-09-13 10:22:05 UTC
A commit in branch 2023Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=42abff3b5076e7805cf85565a90520a872425d23

commit 42abff3b5076e7805cf85565a90520a872425d23
Author:     Fukang Chen <loader@FreeBSD.org>
AuthorDate: 2023-09-13 01:01:25 +0000
Commit:     Fukang Chen <loader@FreeBSD.org>
CommitDate: 2023-09-13 10:19:08 +0000

    misc/mbuffer: Fix build if www/libwww installed

    Remove libmd5 from AC_SEARCH_LIBS and only searches for libmd,
    avoid linking with libmd5 installed by www/libwww.

    PR:             273735
    Reported by:    meta
    MFH:            2023Q3 (build fix)

    (cherry picked from commit d3f22d319918c1dda4dbfbc5d85678c91ed13590)

 misc/mbuffer/files/patch-configure.in | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)
Comment 4 Fukang Chen freebsd_committer freebsd_triage 2023-09-13 11:16:53 UTC
Thanks for reporting!