Bug 237464

Summary: devel/rebar: cannot find erlang escript during build
Product: Ports & Packages Reporter: Leo Schneider <ttkdroid>
Component: Individual Port(s)Assignee: Jimmy Olgeni <olgeni>
Status: Closed Feedback Timeout    
Severity: Affects Many People CC: ttkdroid, w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (olgeni)
Version: Latest   
Hardware: arm   
OS: Any   
Description Flags
Issue evidence none

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/.