Bug 290976 - net/eturnal: bump PORTREVISION (preferrably always) after updating lang/erlang
Summary: net/eturnal: bump PORTREVISION (preferrably always) after updating lang/erlang
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Koichiro Iwao
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-12 15:19 UTC by Marko Cupać
Modified: 2025-11-23 06:23 UTC (History)
3 users (show)

See Also:


Attachments
Bump PORTREVISION after lang/erlang update (607 bytes, patch)
2025-11-12 15:19 UTC, Marko Cupać
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Cupać 2025-11-12 15:19:23 UTC
Created attachment 265363 [details]
Bump PORTREVISION after lang/erlang update

Hi,

this is the third PR with same topic - eturnal does not start after erlang updates. Apparently it needs to be recompiled against every new erlang version, even if it is minor point release such as 26.2.5.15,4 -> 26.2.5.16,4 in this particular case.

This time error message was different, eturnal would start when run in foreground with sudo -u eturnal eturnalctl foreground`, but not when starting with `service eturnal start`.

Attempting to start it with command from rc script would give the following:

# su eturnal -c "env ERL_EPMD_ADDRESS=\"127.0.0.1\" RUNNER_LOG_DIR=\"/var/log/eturnal\" /usr/local/sbin/eturnalctl daemon"
Can not run the release. There is no ERTS bundled with the release or found on the system.

Bumping PORTREVISION, rebuilding in poudriere and installing new eturnal version by means of pkg resulted eturnal starting and running as expected.

I have attached patch to bump PORTREVISION. Who could communicate with lang/erlang maintainers to do it automatically?

Regards,
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-11-23 06:23:35 UTC
A commit in branch main references this bug:

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

commit aea721c2bfe907388dd72f701d01768ab1b885c4
Author:     Koichiro Iwao <meta@FreeBSD.org>
AuthorDate: 2025-11-23 06:18:15 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2025-11-23 06:22:56 +0000

    net/eturnal: Bump after erlang update

    PR:             290976

 net/eturnal/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)