Date: Sat, 08 Aug 2020 09:18:57 +0000 From: bugzilla-noreply@freebsd.org To: multimedia@FreeBSD.org Subject: [Bug 248533] audio/libsndfile: Setting TEST=ON breaks compatibility with dependent ports Message-ID: <bug-248533-12827@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248533 Bug ID: 248533 Summary: audio/libsndfile: Setting TEST=3DON breaks compatibility with dependent ports Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: multimedia@FreeBSD.org Reporter: ross@exitzero.uk Flags: maintainer-feedback?(multimedia@FreeBSD.org) Assignee: multimedia@FreeBSD.org Attachment #217085 text/plain mime type: Created attachment 217085 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D217085&action= =3Dedit poudirere testport log for audio/libsndfile with TEST=3DON Ports including audio/libsamplerate, audio/pulseaudio and audio/twolame dep= end on the shared library libsndfile.so, installed by audio/libsndfile. However, with STATIC=3DON, audio/libsndfile instead produces the static lib= rary libsndfile.a. Setting TEST=3DON also sets STATIC=3DON, I believe due to the following lin= e in the Makefile: TEST_IMPLIES=3D STATIC This means that libsndfile.so is not available for dependent ports. I have attached poudriere testport logs for audio/libsndfile with TEST=3DON and fo= r an example dependent port audio/libsamplerate. In my humble opinion, enabling testing during the port build should not bre= ak compatibility with dependent ports. Can testing be achieved in a different way? For now, the workaround is to build with TEST=3DOFF. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248533-12827>