Summary: | net-im/jitsi-videobridge build fails - depends on mvn | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Marko Cupać <marko.cupac> | ||||
Component: | Individual Port(s) | Assignee: | Jose Alonso Cardenas Marquez <acm> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | cryx-ports, john, m.ne | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(acm) |
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Marko Cupać
2023-08-25 12:38:51 UTC
Same here, from the poudriere logfile: ===> jitsi-videobridge-2.2.79 depends on file: /usr/local/share/java/maven/bin/mvn - not found ===> Installing existing package /packages/All/maven-3.8.8_1.pkg and later: ===> jitsi-videobridge-2.2.79 depends on file: /usr/local/share/java/maven/bin/mvn - not found *** Error code 1 Stop. make: stopped in /usr/ports/net-im/jitsi-videobridge If we look into the maven-3.8.8_1.pkg we can see: % tar tzfv maven-3.8.8_1.pkg | grep bin/mvn -r-xr-xr-x 0 root wheel 5368 Aug 30 03:01 /usr/local/share/java/apache-maven-3.8/bin/mvn So this could be the source of the problem, the mvn binary is at a different location then expeceted. An indeed, there was a PR (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272899) which included this patch https://cgit.freebsd.org/ports/commit/?id=a1c897de331a3363f0d74b0decf8d07ae2498f1c Reversing the patch on my ports tree, bringing maven back from 3.8.8_1 to 3.8.8, made everything work again. Created attachment 244584 [details]
Fix picking up maven dependency
I stumbled over this as well, but rather than reverting the commit changed the dependency line to how every other port using maven does it. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5e18c06c0174b9072146590ce09881306130f96e commit 5e18c06c0174b9072146590ce09881306130f96e Author: Marko Cupać <marko.cupac@mimar.rs> AuthorDate: 2023-09-20 06:29:18 +0000 Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> CommitDate: 2023-09-20 06:30:22 +0000 net-im/jitsi-videobridge: Fix picking up maven dependency PR: 273345 net-im/jitsi-videobridge/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Committed thanks! (Martin, I put wrong author in my commit, sorry) |