Bug 280844 - devel/bear: update 3.1.3 → 3.1.4
Summary: devel/bear: update 3.1.3 → 3.1.4
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: Joseph Mingrone
URL: https://github.com/rizsotto/Bear/rele...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-16 03:34 UTC by Älven
Modified: 2024-08-20 18:26 UTC (History)
1 user (show)

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


Attachments
[PATCH] devel/bear: update 3.1.3 → 3.1.4 (2.74 KB, patch)
2024-08-16 03:34 UTC, Älven
alster: maintainer-approval? (jrm)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Älven 2024-08-16 03:34:39 UTC
Created attachment 252798 [details]
[PATCH] devel/bear: update 3.1.3 → 3.1.4
Comment 1 Joseph Mingrone freebsd_committer freebsd_triage 2024-08-16 14:57:15 UTC
Hi.  I have a similar update in a local branch, but was hoping to resolve an issue before pushing.

https://github.com/rizsotto/Bear/issues/557

So far, I haven't been successful in finding a real solution, and the workaround with the soft links and --force-wrapper seems less than ideal.  However, it might be the best we can do for now unless something has enough time to solve the real problem.
Comment 2 Joseph Mingrone freebsd_committer freebsd_triage 2024-08-16 15:04:14 UTC
..unless *someone* has enough time...
Comment 3 Älven 2024-08-16 19:31:30 UTC
I like to help people and may help you with this as well. I even have some time for this my hobby. I just have so many things to learn before I'll be able to actually do anything useful in non-trivial cases…
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-08-20 18:25:10 UTC
A commit in branch main references this bug:

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

commit fb87f081801114619bfd5b569a891c2da6f05947
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-08-20 12:51:37 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-08-20 18:24:55 +0000

    devel/bear: Update to 3.1.4; install links for wrapper interception

    After src commit 8ccd0b876e, bear can no longer intercept compile
    commands using the dynamic linker preload method.  See
    https://github.com/rizsotto/Bear/issues/557 for details.

    An alternative method for bear to intercept compile commands is via
    wrappers.  To simplify using this method, install links for common build
    tools under lib/bear/wrapper.d/.

    PR:             280844
    Sponsored by:   The FreeBSD Foundation

 devel/bear/Makefile                    |  23 ++++-
 devel/bear/distinfo                    |   6 +-
 devel/bear/files/patch-protobuf (gone) |  24 -----
 devel/bear/files/pkg-message.in (new)  |  20 ++++
 devel/bear/pkg-plist                   | 163 +++++++++++++++++++++++++++++++++
 5 files changed, 207 insertions(+), 29 deletions(-)
Comment 5 Joseph Mingrone freebsd_committer freebsd_triage 2024-08-20 18:26:51 UTC
Updated.  Thanks for submitting.