Bug 237464 - devel/rebar: cannot find erlang escript during build
Summary: devel/rebar: cannot find erlang escript during build
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Many People
Assignee: Jimmy Olgeni
Depends on:
Reported: 2019-04-22 11:17 UTC by Leo Schneider
Modified: 2021-09-14 14:40 UTC (History)
2 users (show)

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

Issue evidence (64.60 KB, image/png)
2019-04-22 11:17 UTC, Leo Schneider
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Schneider 2019-04-22 11:17:23 UTC
Created attachment 203892 [details]
Issue evidence

When compiling devel/rebar, it looks for an Erlang script called "escript" in /use/local/bin, however, the script is located on /usr/local/lib/erlang<version>/bin. 

Creating a symlink to the right location does the magic, but still,  an issue with this port when compiling it. 

Either Erlang package should be changed to create the symlinks or the devel/rebar package should be changed to look for this file in the correct place.
Comment 1 Walter Schwarzenfeld freebsd_triage 2020-01-31 17:34:21 UTC
I tested:
===>  Staging for rebar-2.6.4,1
===>   rebar-2.6.4,1 depends on file: /usr/local/bin/escript - found
===>   Generating temporary packing list

Can you confirm? (so we can close?).
Comment 2 Jimmy Olgeni freebsd_committer 2021-09-14 14:40:01 UTC
Seems to work fine now - escript is installed in bin/.