Perl is required to build this port on ARM. After patching the makefile of net-im/tg_owt to read -USES= cmake pkgconfig xorg +USES= cmake pkgconfig xorg perl5 +USE_PERL5= build I got the port to build on armv7 FreeBSD 13 (with Poudriere).
maintainer timeout
I have no possibility to test on armv7. I neither object to any change that would improve the build on it nor I can sign them as reviewed. Sorry.
(In reply to Gleb Smirnoff from comment #2) Would it suffice if I presented you a build log from an armv7 machine with this patch applied?
Any ports committer is happy and able to review the change if requested. @Reporter Can you: - Include the full build log, compressed if necessary, of the issue (build time or otherwise) that highlights the problem when perl is not available - explain, or obtain the information necessary to explain the nature of the arm specific dependency on perl, where its not required (apparently) for other architectures? - test whether any other architectures are effected - if only specific architectures are required, scope the additional perl dependency only to those architectures, and only for the targets necessary If you need help with dependency scoping, #freebsd-ports on IRC or #ports on Discord can help ^Triage: Retain maintainer on CC and request feedback from maintainer re this comment and comment 3.
Created attachment 232037 [details] armv7 build failure See attached build log for an example where it fails on ARM. Perl is required on ARM only to (work/tg_owt-*/cmake/libvpx.cmake): # Convert the ASM files from the ARM Developer Suite 1.0.1 syntax to syntax # accepted by the platform's native assembler (e.g. GNU as from binutils). It would be possible to make the Perl dependency an ARM-only dependency, but it's a bit tricky. To access the ARCH macro you have to include bsd.port.pre.mk, but after having included that one, it is no longer possible to add new USES. So either a hack is needed, or Perl has to be unconditionally included (which does not seem to be too bad).
Created attachment 232038 [details] armv7 build success (xz compressed) Attached is a log with the Perl change applied. The build succeeds.
Kubilay, thanks! Yes, I don't mind if any port committer fixes the issue. I agree that patch should affect only the architecture(s) that indeed require perl.
Any progress on this one? Again, patching in a Perl dependency just for armv7 is tricky and I would strongly prefer not to do that as it impedes maintainability. Dear maintainer, please make a decision.
It appears that this is no longer needed with tg_owt-0.0.20220508.