Bug 285291 - devel/esbuild: latest version break net-im/signal-desktop
Summary: devel/esbuild: latest version break net-im/signal-desktop
Status: Closed Overcome By Events
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:
: 285432 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-03-09 17:04 UTC by Mikael Urankar
Modified: 2025-03-18 09:21 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2025-03-09 17:04:06 UTC
✘ [ERROR] Cannot start service: Host version "0.24.0" does not match binary version "0.25.0"

https://pkg-status.freebsd.org/beefy22/data/141amd64-default/9229caa5b2ac/logs/signal-desktop-7.44.0.log

You already broke the ports last time you updated esbuild, would be nice if you don't do it every time.
Comment 1 Joel Bodenmann freebsd_committer freebsd_triage 2025-03-10 19:34:27 UTC
I am experiencing the same build failure.

While I definitely appreciate all port maintaining efforts, it does seem like more thorough testporting would be helpful.
Comment 2 Dave Cottlehuber freebsd_committer freebsd_triage 2025-03-10 21:08:11 UTC
Sure, that's very reasonable. This is the first time I've been
informed it was broken BTW.

When (in 2021) this port was added, there were obviously no consumers,
and it was used as a local web-dev tool. Keeping it as up-to-date as
possible has been my main objective, that's typically how web dev goes.

I have no idea when it was added as a dependency, nobody informed
me, so it's not unreasonable (from my perspective) that I don't know
that it's now become an essential dependency for building signal.

https://www.freshports.org/devel/esbuild/ says its the only consumer,
I'll happily test it in future, I can only do this on amd64 though.

When esbuild is updated, is it sufficient to bump the ESBUILD_VERSION
in net-im/signal-desktop/Makefile and try to rebuild?

When you next update net-im/signal-desktop, let me know and we can
bump esbuild concurrently. Would that work for you?
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-03-10 21:41:02 UTC
A commit in branch main references this bug:

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

commit d6f0c70df29dce3d0b5cf39a4b3541520a8fa7f9
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2025-03-10 21:40:22 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2025-03-10 21:40:22 +0000

    devel/esbuild: note consumers for future port bumps

    Reported by:    mikael
    PR:             285291

 devel/esbuild/Makefile | 1 +
 1 file changed, 1 insertion(+)
Comment 4 Mikael Urankar freebsd_committer freebsd_triage 2025-03-11 17:16:25 UTC
(In reply to Dave Cottlehuber from comment #2)
I've put you in CC in bug #283677, not sure if you received the mail.

I have to regen the npm cache, reupload it to freefall, fix distinfo etc.

Drop me an email or open a PR saying that you want to update esbuild so that we can coordinate our effort.

Thank you.
Comment 5 Dave Cottlehuber freebsd_committer freebsd_triage 2025-03-14 09:37:55 UTC
thanks Mikael, lets do that in future. FWIW a generic comment on a PR that isn't
assigned to me gets lost in the 1000s of port related emails :-( but we can at
least coordinate this for next time! When you update signal-desktop I'll bump
esbuild as well.

I tried bumping the vars here & rebuilding (it takes a long time to build electron),
clearly its a bit more complicated than that. Thanks for fixing this.

Closing this as AFAICT no changes are required for esbuild atm.
Comment 6 Mikael Urankar freebsd_committer freebsd_triage 2025-03-18 07:45:50 UTC
*** Bug 285432 has been marked as a duplicate of this bug. ***
Comment 7 Mikael Urankar freebsd_committer freebsd_triage 2025-03-18 09:21:01 UTC
(In reply to Dave Cottlehuber from comment #5)
FYI, latest version of signal-desktop uses the bundled esbuild, no need to ping me when you update the port.