Bug 271546 - cad/verilator: looks for ar in wrong place
Summary: cad/verilator: looks for ar in wrong place
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Yuri Victorovich
URL: https://github.com/verilator/verilato...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-21 03:58 UTC by crb
Modified: 2023-05-21 23:01 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crb 2023-05-21 03:58:36 UTC
While trying to use Verilator it's trying to find ar in /usr/local/bin/ar not /usr/bin/ar
Comment 1 Mina Galić freebsd_triage 2023-05-21 09:23:53 UTC
please note that when you open bugs starting with origin/port: bugzilla can assign them automatically
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2023-05-21 15:53:04 UTC
(In reply to crb from comment #0)

Hi crb,

I run verilator in the attached testcase and it compiles the executable fine.

Please post step by step instructions that lead to the problem.


Yuri
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2023-05-21 15:53:41 UTC
(In reply to Yuri Victorovich from comment #2)

Please disregard the text of the previous comment.

Yuri
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2023-05-21 22:52:47 UTC
Fixed.

Thanks for reporting!
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-05-21 22:53:31 UTC
A commit in branch main references this bug:

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

commit e43ae295f81a5af886cb2625bd38d3a6d2b45560
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-05-21 22:50:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-05-21 22:52:52 +0000

    cad/verilator: Correct the 'ar' executable path

    PR:             271546
    Reported by:    crb@ChrisBowman.com

 cad/verilator/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
Comment 6 commit-hook freebsd_committer freebsd_triage 2023-05-21 23:01:33 UTC
A commit in branch 2023Q2 references this bug:

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

commit 0b540f35eb1bfcd33fa26f3d92658028f8ff08d3
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-05-21 22:50:49 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-05-21 23:00:32 +0000

    cad/verilator: Correct the 'ar' executable path

    PR:             271546
    Reported by:    crb@ChrisBowman.com

    (cherry picked from commit e43ae295f81a5af886cb2625bd38d3a6d2b45560)

 cad/verilator/Makefile | 4 ++++
 1 file changed, 4 insertions(+)