Fails to build when JACK is option is selected and PULSEAUDIO is deselected: configure: error: Pulseaudio library libpulse is required. ===> Script "configure" failed unexpectedly. Please report the problem to yuri@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/graphics/libprojectm/work/projectm-3.1.0/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /usr/ports/graphics/libprojectm =>> Cleaning up wrkdir ===> Cleaning for libprojectM-3.1.0_3 build of graphics/libprojectm | libprojectM-3.1.0_3 ended at Thu May 23 22:29:19 UTC 2019 build time: 00:00:50 !!! build failure encountered !!!
It seems that you need to create this bug report for the upstream.
Grzegorz, Thank you for creating this bug report. projectm has moved to github (https://github.com/projectM-visualizer/projectm) and has a new version 3.1.1-rc4 available. It doesn't build on FreeBSD for some unrelated reasons, but pulseaudio requirement seems to be fixed there. Please wait until the port is updated with the new version. Yuri
I just tested and it also fails when both PULSEAUDIO and JACK are selected: ===> Building package for libprojectM-3.1.0_3 pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/libprojectm/work/stage/usr/local/bin/projectM-jack:No such file or directory pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/libprojectm/work/stage/usr/local/share/applications/projectM-jack.desktop:No such file or directory *** Error code 1 Stop. make: stopped in /usr/ports/graphics/libprojectm =>> Cleaning up wrkdir ===> Cleaning for libprojectM-3.1.0_3 build of graphics/libprojectm | libprojectM-3.1.0_3 ended at Fri May 24 09:37:17 UTC 2019 build time: 00:01:31 !!! build failure encountered !!! So, basically it currently only builds with default options. On a side note, shouldn't the defect be closed when it's fixed in ports rather than upstream?
A commit references this bug: Author: yuri Date: Fri May 24 13:54:09 UTC 2019 New revision: 502468 URL: https://svnweb.freebsd.org/changeset/ports/502468 Log: graphics/libprojectm: Only builds with default options PULSEAUDIO=ON JACK=OFF The new version 3.1.1-rc4 appears to have options reworked, but 3.1.1 itselfdoesn't build for unrelated reasons that were reported to the upstream. Also add USES=sdl PR: 238086 Reported by: Grzegorz Junka <list1@gjunka.com> Changes: head/graphics/libprojectm/Makefile
(In reply to Grzegorz Junka from comment #3) I marked options as broken. I am reluctant to spend time fixing them when the new option with reworked options is pending. Hopefully, they will fix issues soon and it will land in the ports. (https://github.com/projectM-visualizer/projectm/issues/211) Thank you for reporting the issue! Yuri
(In reply to Yuri Victorovich from comment #5) Typo: *new version* ----- pulseaudio is explicitly required in the current version (this is erroneous IMO), but is optional in the new pending one.
(In reply to Yuri Victorovich from comment #5) Great, many thanks for updating the Makefile! I also think that marking the option as broken is easiest and most user friendly for now, until the new version has been ported.