From: Dave P. <dpl...@gm...> - 2018-03-15 07:46:31
|
On 15/03/18 08:32, Jonathan Woithe wrote: > Hi Dave > > On Thu, Mar 15, 2018 at 08:26:09AM +0200, Dave Plater wrote: >> On 15/03/18 08:07, Jonathan Woithe wrote: >>> That sounds like progress, and it should benefit other projects as well. >>> Thanks for doing this work; hopefully the effort (along with changes in ffado >>> v2.4.1) will make it easier to integrate ffado into OpenSUSE both now and in >>> the future. If your work does identify the need for further adjustments >>> within FFADO please let me know. >>> >>> Speaking generally, if scons3 is to be used to build FFADO there will be a >>> minimum version requirement: anything earlier will fail due to the problems >>> you're currently fixing in scons3. Do you think it's worth putting a check >>> for the scons3 version near the start of SConstruct? If so, what scons3 >>> version do you think we should consider to be the mimimum required? >>> >> It seems that scons-3.0.1 is the minimum python 3 version and when the scons >> patch is complete, maybe it should be placed in the ffado sources. > > I don't have any fundamental objections to this. However, presumedly those > fixes will be pushed upstream into scons, right? So long as a fixed version > of scons3 is released soon there wouldn't be a need for ffado to carry the > patch. Is the concern a possibly lengthy delay in seeing the patches into > an scons3 release? I'm not sure how the release versions work with scons but their git is currently at 3.1.0, yes I'm pessimistic about the length of time before another 3.0.x release. > >> I'm still waiting on a reply for this failure : >> [ 147s] g++ -o src/dice/presonus/firestudio_tube.os -c -std=gnu++11 >> -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -fstack-protector-strong >> -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection >> -fno-strict-aliasing -ggdb -Wno-deprecated-declarations -fpermissive >> --std=gnu++11 -Werror=date-time -mmmx -mfpmath=sse -msse -msse2 -mssse3 >> -msse4.1 -msse4.2 -msse4a -fomit-frame-pointer -ffast-math -funroll-loops >> -fPIC -D_FORTIFY_SOURCE=2 -DDEBUG_MESSAGES -DENABLE_BEBOB -DENABLE_FIREWORKS >> -DENABLE_OXFORD -DENABLE_MOTU -DENABLE_DICE -DENABLE_RME -DENABLE_GENERICAVC >> -I. -Isrc -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include >> -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 >> -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 >> -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 >> -I/usr/lib64/sigc++-2.0/include src/dice/presonus/firestudio_tube.cpp >> [ 148s] building 'libffado/ffado.h' from 'libffado/ffado.h.in' >> [ 148s] scons: *** [version.h] TypeError : sequence item 1: expected str >> instance, bytes found >> : >> [ 148s] TypeError: sequence item 1: expected str instance, bytes found >> [ 148s] scons: building terminated because of errors. > > Hopefully this can be resolved soon. > > Regards > jonathan > I just tried the scons --jobs=1 --cache-disable switches on the ffado build and have ended up with an easy to fix error : [ 536s] g++ -o support/tools/ffado-set-nickname support/tools/ffado-set-nickname.o -Lsrc -lffado -lxml++-2.6 -lxml2 -lglibmm-2.4 -lgobject-2.0 -lglib-2.0 -lsigc-2.0 [ 536s] support/tools/ffado-diag --static > support/tools/static_info.txt [ 536s] sh: support/tools/ffado-diag: /usr/bin/python: bad interpreter: No such file or directory [ 536s] scons: *** [support/tools/static_info.txt] Error 126 Seems I just need to locate the definition of $PYTHON_INTERPRETER and make sure it's defined as /usr/bin/python3. Regards Dave |