Ardour new B-D

Jaromír Mikeš mira.mikes at gmail.com
Fri Dec 9 15:54:09 UTC 2016


2016-12-08 8:53 GMT+01:00 Jaromír Mikeš <mira.mikes at gmail.com>:
> 2016-12-07 1:45 GMT+01:00 Jaromír Mikeš <mira.mikes at gmail.com>:
>> 2016-12-06 23:09 GMT+01:00 James Cowgill <jcowgill at debian.org>:
>>> On 06/12/16 02:15, Jaromír Mikeš wrote:
>
>>> Why do you need to patch a makefile in? Most of this stuff could be done
>>> in debian/rules or by dh_install etc.
>>
>> I will move instructions from "my makefile" to d/rules file latter ...
>> for now I have just improved patch.
>>
>>>> +include build/general/Makefile.inc
>>>
>>> IMO you should use make recursion instead of including this makefile.
>>
>> I must investigate how to do properly ... not working here for now :(
>
> Fixed now in d/rules file.
>
>>>> +CFLAGS += -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS -Ibuild/linux/amd64
>>>
>>> The headers in build/linux/amd64 look bundled so I don't think you
>>> should use them.
>>
>> Will be fixed ... need some time to figure out how to do it
>
> Used system-wide libatlas-dev headers
>
>>>> +     gcc -shared $(LDFLAGS) -o $(QM-DSP_MAJ) -Wl,-soname,$(QM-DSP_MAJ) -Wl,--whole-archive libqm-dsp.a -Wl,--no-whole-archive
>>>
>>> I think adding -Wl,--no-undefined is a good idea here. You then need to
>>> add the other libraries qm-dsp uses so you don't need to add them manually.
>>
>> Build fails with -Wl,--no-undefined :(
>>
>>>> +
>>>> +install:     $(QM-DSP_MAJ)
>>>> +     install -d $(DESTDIR)$(PREFIX)/include/base
>>>> +     install -d $(DESTDIR)$(PREFIX)/$(LIBDIR)
>>>> +     install -m 644 $(QM-DSP_H) $(DESTDIR)$(PREFIX)/include/base
>>>
>>> I think "/usr/include/base" is a bit too generic. I notice that fedora
>>> installs them into "/usr/include/qm-dsp".
>>
>> Hmmm but when building Ardour base/Pitch.h is searched ...
>>
>>> http://pkgs.fedoraproject.org/cgit/rpms/qm-dsp.git/tree/qm-dsp-install.patch
>
> Ahh ... sorry now I got it! :(
> All headers are now installed!
>
> Can you check now please?

Hi,

I've tested build Ardour with current qm-dsp but it failed ... what is
still missing? We build libqm-dsp.so.0 but Ardour libqmdsp.so.0 ...
can this be a problem?

--------------------
Checking for header base/Pitch.h                     : 13:07:43 runner
['/usr/bin/g++', '-I/home/mira/PACKAGING/ardour', '-Wdate-time',
'-D_FORTIFY_SOURCE=2', '-g', '-O2',
'-fdebug-prefix-map=/home/mira/PACKAGING/ardour=.',
'-fstack-protector-strong', '-Wformat', '-Werror=format-security',
'-I/usr/include/qm-dsp', '-DHAVE_RF64_RIFF', '-DWAF_BUILD',
'-DNDEBUG', '-fshow-column', '-O3', '-fomit-frame-pointer',
'-ffast-math', '-fstrength-reduce', '-pipe', '-DARCH_X86', '-mmmx',
'-msse', '-mfpmath=sse', '-DUSE_XMMINTRIN',
'-DBUILD_SSE_OPTIMIZATIONS', '-DLXVST_64BIT', '-Wall',
'-Wpointer-arith', '-Wcast-qual', '-Wcast-align',
'-Wno-unused-parameter', '-DBOOST_SYSTEM_NO_DEPRECATED',
'-D_ISOC9X_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64',
'-DENABLE_NLS', '-DPROGRAM_NAME="Ardour"', u'-DPROGRAM_VERSION="5"',
'-std=c++11', '-DBOOST_NO_AUTO_PTR', '-Woverloaded-virtual',
'-Wno-unused-local-typedefs', '-D__STDC_LIMIT_MACROS',
'-D__STDC_FORMAT_MACROS', '-DCANVAS_COMPATIBILITY', '-DCANVAS_DEBUG',
'-I/home/mira/PACKAGING/ardour/build/.conf_check_8c4e7c126e23dfb147a35ec0355dded9/testbuild',
'-DINTERNAL_SHARED_LIBS=1', '-DUSE_EXTERNAL_LIBS=1',
'-DHAVE_DLOPEN=1', '-DHAVE_ALSA=1', '-DHAVE_GLIB=1',
'-DHAVE_GTHREAD=1', '-DHAVE_GLIBMM=1', '-DHAVE_SNDFILE=1',
'-DHAVE_GIOMM=1', '-DHAVE_CURL=1', '-DHAVE_ARCHIVE=1', '-DHAVE_LO=1',
'-DHAVE_TAGLIB=1', '-DHAVE_VAMPSDK=1', '-DHAVE_VAMPHOSTSDK=1',
'-DHAVE_RUBBERBAND=1', '-DEXPORT_VISIBILITY_HIDDEN=False',
'-DENABLE_NLS=1', '-DLXVST_SUPPORT=1', '-DCONFIG_ARCH="x86_64"',
'-DHAVE_TOOLS_SANITY_CHECK=1', '-DHAVE_TOOLS_GCCABICHECK=1',
'-DHAVE_LIBS_CLEARLOOKS_NEWER=1', '-DHAVE_LIBFLUIDSYNTH=1',
'-DHAVE_LIBS_FLUIDSYNTH=1', '-DHAVE_HIDAPI=1', '-DHAVE_LIBS_HIDAPI=1',
'-DHAVE_LIBLTC=1', '-DHAVE_LIBS_LIBLTC=1', '-DHAVE_LIBS_LUA=1',
'-DHAVE_LIBS_PTFORMAT=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
13:07:43 runner ['/usr/bin/g++', '-Wl,-z,relro', '-Wl,-z,now',
'-Wl,-z,relro', '-Wl,-z,now', 'test.cpp.1.o', '-o',
'/home/mira/PACKAGING/ardour/build/.conf_check_8c4e7c126e23dfb147a35ec0355dded9/testbuild/testprog',
'-Wl,-Bstatic', '-Wl,-Bdynamic']
yes
Checking for library qm-dsp                          : 13:07:43 runner
['/usr/bin/g++', '-I/home/mira/PACKAGING/ardour', '-Wdate-time',
'-D_FORTIFY_SOURCE=2', '-g', '-O2',
'-fdebug-prefix-map=/home/mira/PACKAGING/ardour=.',
'-fstack-protector-strong', '-Wformat', '-Werror=format-security',
'-I/usr/include/qm-dsp', '-DHAVE_RF64_RIFF', '-DWAF_BUILD',
'-DNDEBUG', '-fshow-column', '-O3', '-fomit-frame-pointer',
'-ffast-math', '-fstrength-reduce', '-pipe', '-DARCH_X86', '-mmmx',
'-msse', '-mfpmath=sse', '-DUSE_XMMINTRIN',
'-DBUILD_SSE_OPTIMIZATIONS', '-DLXVST_64BIT', '-Wall',
'-Wpointer-arith', '-Wcast-qual', '-Wcast-align',
'-Wno-unused-parameter', '-DBOOST_SYSTEM_NO_DEPRECATED',
'-D_ISOC9X_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64',
'-DENABLE_NLS', '-DPROGRAM_NAME="Ardour"', u'-DPROGRAM_VERSION="5"',
'-std=c++11', '-DBOOST_NO_AUTO_PTR', '-Woverloaded-virtual',
'-Wno-unused-local-typedefs', '-D__STDC_LIMIT_MACROS',
'-D__STDC_FORMAT_MACROS', '-DCANVAS_COMPATIBILITY', '-DCANVAS_DEBUG',
'-I/home/mira/PACKAGING/ardour/build/.conf_check_48333b3c30dd07c905f36b363152880a/testbuild',
'-DINTERNAL_SHARED_LIBS=1', '-DUSE_EXTERNAL_LIBS=1',
'-DHAVE_DLOPEN=1', '-DHAVE_ALSA=1', '-DHAVE_GLIB=1',
'-DHAVE_GTHREAD=1', '-DHAVE_GLIBMM=1', '-DHAVE_SNDFILE=1',
'-DHAVE_GIOMM=1', '-DHAVE_CURL=1', '-DHAVE_ARCHIVE=1', '-DHAVE_LO=1',
'-DHAVE_TAGLIB=1', '-DHAVE_VAMPSDK=1', '-DHAVE_VAMPHOSTSDK=1',
'-DHAVE_RUBBERBAND=1', '-DEXPORT_VISIBILITY_HIDDEN=False',
'-DENABLE_NLS=1', '-DLXVST_SUPPORT=1', '-DCONFIG_ARCH="x86_64"',
'-DHAVE_TOOLS_SANITY_CHECK=1', '-DHAVE_TOOLS_GCCABICHECK=1',
'-DHAVE_LIBS_CLEARLOOKS_NEWER=1', '-DHAVE_LIBFLUIDSYNTH=1',
'-DHAVE_LIBS_FLUIDSYNTH=1', '-DHAVE_HIDAPI=1', '-DHAVE_LIBS_HIDAPI=1',
'-DHAVE_LIBLTC=1', '-DHAVE_LIBS_LIBLTC=1', '-DHAVE_LIBS_LUA=1',
'-DHAVE_LIBS_PTFORMAT=1', '-DHAVE_BASE_PITCH_H=1', '../test.cpp',
'-c', '-o', 'test.cpp.1.o']
13:07:43 runner ['/usr/bin/g++', '-Wl,-z,relro', '-Wl,-z,now',
'-Wl,-z,relro', '-Wl,-z,now', 'test.cpp.1.o', '-o',
'/home/mira/PACKAGING/ardour/build/.conf_check_48333b3c30dd07c905f36b363152880a/testbuild/testprog',
'-Wl,-Bstatic', '-Wl,-Bdynamic', '-lqm-dsp']
not found
The configuration failed
---------------------

best regards

mira



More information about the pkg-multimedia-maintainers mailing list