Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2019 15:06:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235159] [audio/mixxx] Fails to build, Vamp SDK version mismatch
Message-ID:  <bug-235159-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235159

            Bug ID: 235159
           Summary: [audio/mixxx] Fails to build, Vamp SDK version
                    mismatch
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: bsdpr@phoe.frmug.org
          Assignee: acm@FreeBSD.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)

While trying to build to build Mixxx v2.2.0 (portrevision 1) an error occurs
while compiling lib/vamp/src/vamp-hostsdk/PluginHostAdapter.cpp:

c++ -o lib/vamp/src/vamp-hostsdk/PluginWrapper.o -c -O2 -pipe -DLIBICONV_PL=
UG
-fstack-protector -fno-strict-aliasing -DLIBICONV_PLUG -std=3Dc++11 -O2 -pi=
pe
-DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -Wall -Wextra -g
-pthread -fPIC -pthread -O3 -ffast-math -funroll-loops -fomit-frame-pointer
-march=3Dnative -Damd64 -DMIXXX_BUILD_RELEASE -DNDEBUG
-D'Q_ASSERT(x)=3Dstatic_cast<void>(false&&(x))' -D__BSD__ -D__UNIX__
-DSETTINGS_PATH=3D\".mixxx/\" -DSETTINGS_FILE=3D\"mixxx.cfg\"
-DUNIX_SHARE_PATH=3D\"/usr/local/share/mixxx\"
-DUNIX_LIB_PATH=3D\"/usr/local/lib/mixxx\" -D__PORTAUDIO__ -DQT_TABLET_SUPP=
ORT
-DQT_SHARED -DQT_DISABLE_DEPRECATED_BEFORE -D__SNDFILE__
-DSFC_SUPPORTS_SET_COMPRESSION_LEVEL -D__MAD__ -D__HID__ -D__BULK__
-D__VINYLCONTROL__ -D__OPUS__ -D__MODPLUG__ -D__VAMP__ -Dkiss_fft_scalar=3D=
double
-DHAVE_FFTW3 -D__LILV__ -I/usr/include -I/usr/local/include
-I/usr/local/include/qt5 -Ibsd64_build -Isrc -Ilib/soundtouch-2.0.0
-Ilib/replaygain -I/usr/local/include/qt5/QtCore -I/usr/local/include/qt5/Q=
tGui
-I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtOpenGL
-I/usr/local/include/qt5/QtScript -I/usr/local/include/qt5/QtScriptTools
-I/usr/local/include/qt5/QtSql -I/usr/local/include/qt5/QtSvg
-I/usr/local/include/qt5/QtTest -I/usr/local/include/qt5/QtXml
-I/usr/local/include/qt5/QtConcurrent -I/usr/local/include/qt5/QtWidgets
-I/usr/local/include/qt5/QtDBus -Ilib/gtest-1.7.0/include -Ilib/fidlib
-I/usr/local/include/taglib -Ilib/qtscript-bytearray -Ilib/reverb
-Ilib/portaudio -I/usr/local/include/hidapi -Ilib/xwax -Ilib/scratchlib
-I/usr/local/include/opus -Ilib/vamp
lib/vamp/src/vamp-hostsdk/PluginWrapper.cpp
lib/vamp/src/vamp-hostsdk/PluginHostAdapter.cpp:41:2: error: Unexpected ver=
sion
      of Vamp SDK header included
#error Unexpected version of Vamp SDK header included
 ^
lib/vamp/src/vamp-hostsdk/PluginLoader.cpp:161:15: error: out-of-line
definition
      of 'listPluginsIn' does not match any declaration in
      '_VampHost::Vamp::HostExt::PluginLoader'
PluginLoader::listPluginsIn(vector<string> libs)=20
              ^~~~~~~~~~~~~
lib/vamp/src/vamp-hostsdk/PluginLoader.cpp:167:15: error: out-of-line
definition
      of 'listPluginsNotIn' does not match any declaration in
      '_VampHost::Vamp::HostExt::PluginLoader'
PluginLoader::listPluginsNotIn(vector<string> libs)=20
              ^~~~~~~~~~~~~~~~
1 error generated.

I suppose there is a mismatch between the included vamp library and the ver=
sion
installed from the ports: vamp-plugin-sdk-2.6

For a quick and dirty port I did on 2.1.4 I made the following change in
features.py:

-            build.env.Append(CPPPATH=3D[self.INTERNAL_VAMP_PATH])
+            build.env.Prepend(CPPPATH=3D[self.INTERNAL_VAMP_PATH])

This will probably resolve the present issue.

--=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-235159-7788>