kmatheussen / radium

A graphical music editor. A next generation tracker.
http://users.notam02.no/~kjetism/radium/
GNU General Public License v2.0
842 stars 36 forks source link

Building 6.5.86 (from git) fails with Faust #1307

Closed grammoboy2 closed 3 years ago

grammoboy2 commented 3 years ago

Make packages

Debian testing

[ 82%] Linking CXX executable ../bin/faust /usr/bin/cmake -E cmake_link_script CMakeFiles/faust.dir/link.txt --verbose=1 /usr/bin/g++ -mtune=generic -msse2 -mfpmath=sse -fPIC -fno-strict-aliasing -O3 -Wextra -Wno-unused-parameter CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/boxes/boxcomplexity.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/boxes/boxes.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/boxes/boxtype.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/boxes/ppbox.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/documentator/doc.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/documentator/doc_Text.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/documentator/doc_autodoc.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/documentator/doc_compile.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/documentator/doc_lang.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/documentator/doc_metadatas.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/documentator/doc_notice.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/documentator/doc_sharing.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/documentator/lateq.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/device/PSDev.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/device/SVGDev.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/drawschema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/blockSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/cableSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/collector.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/connectorSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/cutSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/decorateSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/enlargedSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/inverterSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/mergeSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/parSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/recSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/routeSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/seqSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/splitSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/schema/topSchema.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/draw/sigToGraph.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/errors/errormsg.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/errors/timing.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/evaluate/environment.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/evaluate/eval.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/evaluate/loopDetector.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/extended/xtended.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/Text.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/code_container.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/compile.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/compile_scal.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/compile_sched.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/compile_vect.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/contextor.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/dag_instructions_compiler.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/description.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/dsp_aux.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/export.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/fir/fir_code_container.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/fir_to_fir.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/floats.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/instructions.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/instructions_compiler.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/klass.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/occurences.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/old_occurences.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/omp_code_container.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/sharing.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/tools.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/uitree.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/vec_code_container.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/wss_code_container.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/global.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/libcode.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/lock_api.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/main.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/normalize/aterm.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/normalize/mterm.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/normalize/normalize.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/normalize/privatise.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/normalize/simplify.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/parallelize/code_loop.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/parallelize/colorize.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/parallelize/graphSorting.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/parallelize/loop.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/parser/enrobage.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/parser/faustlexer.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/parser/faustparser.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/parser/sourcefetcher.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/parser/sourcereader.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/patternmatcher/patternmatcher.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/propagate/labels.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/propagate/propagate.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/signals/binop.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/signals/ppsig.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/signals/prim2.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/signals/recursivness.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/signals/signals.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/signals/sigorderrules.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/signals/sigprint.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/signals/sigtype.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/signals/sigtyperules.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/signals/sigvisitor.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/signals/subsignals.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/tlib/compatibility.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/tlib/dcond.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/tlib/list.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/tlib/node.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/tlib/occurrences.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/tlib/recursive-tree.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/tlib/shlysis.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/tlib/symbol.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/tlib/tree.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/transform/sigConstantPropagation.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/transform/sigIdentity.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/transform/sigPromotion.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/transform/treeTransform.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/utils/exepath.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/utils/files.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/utils/names.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/cpp/cpp_code_container.cpp.o CMakeFiles/faust.dir/home/debian/myhome/develop/radium/bin/packages/faust/compiler/generator/cpp/cpp_gpu_code_container.cpp.o -o ../bin/faust -lpthread -L/usr/lib/llvm-11/lib -lLLVM-11 gmake[5]: Leaving directory '/home/debian/myhome/develop/radium/bin/packages/faust/build/faustdir' [ 82%] Built target faust gmake[4]: Leaving directory '/home/debian/myhome/develop/radium/bin/packages/faust/build/faustdir' gmake[3]: [Makefile:171: all] Error 2 gmake[3]: Leaving directory '/home/debian/myhome/develop/radium/bin/packages/faust/build/faustdir' make[2]: [Makefile:78: all] Error 2 make[2]: Leaving directory '/home/debian/myhome/develop/radium/bin/packages/faust/build' make[1]: [Makefile:31: most] Error 2 make[1]: Leaving directory '/home/debian/myhome/develop/radium/bin/packages/faust' make: [Makefile:769: bin/packages/deletemetorebuild] Error 2

grammoboy2 commented 3 years ago

When I try to build master branch, same error message.

kmatheussen commented 3 years ago

I don't see any relevant error messages there. I guess the necessary information is placed somewhere in a log file inside bin/packages/faust But I see that you have LLVM 11. I don't think that one is supported. I think you need to apply @Teteros 's pull request https://github.com/kmatheussen/radium/pull/1299 first.

kmatheussen commented 3 years ago

You can also build faust without llvm (described in README):

export INCLUDE_FAUSTDEV_BUT_NOT_LLVM="jadda"
grammoboy2 commented 3 years ago

You can also build faust without llvm (described in README):

export INCLUDE_FAUSTDEV_BUT_NOT_LLVM="jadda"

That did the trick

kmatheussen commented 3 years ago

By the way, you should probably never compile directly from git. git HEAD should always be considered unstable. Download source from here instead: https://github.com/kmatheussen/radium/tags

kmatheussen commented 3 years ago

I meant here: https://github.com/kmatheussen/radium/releases

grammoboy2 commented 3 years ago

ok

grammoboy2 commented 3 years ago

But this also means I've to do 'make packages' every time?

Can't I use git to pull a certain tag or release?

kmatheussen commented 3 years ago

Yes, that should work too.

On Sat, Dec 19, 2020 at 12:17 PM grammoboy notifications@github.com wrote:

But this also means I've to do 'make packages' every time?

Can't I use git to pull a certain tag or release?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kmatheussen/radium/issues/1307#issuecomment-748459936, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIX3J6AVN4K3I6H7LNYWELSVSDVNANCNFSM4VBSU3NQ .

grammoboy2 commented 3 years ago

Can I just install it over the other version from git master/head, or do I need to remove Radium first? What is the right way to remove Radium?

grammoboy2 commented 3 years ago

uninstall first

sudo rm -r /opt/radium/ sudo rm /usr/local/bin/radium

sudo su

echo QT_QPA_PLATFORM_PLUGIN_PATH="$($(RADIUM_QT_VERSION=5 ./find_moc_and_uic_paths.sh qmake) -query QT_INSTALL_PLUGINS)" /opt/radium/radium >> /usr/local/bin/radium

chmod +x /usr/local/bin/radium

Seems to work

grammoboy2 commented 3 years ago

Uh no, it doesn't $ radium /usr/local/bin/radium: line 1: /opt/radium/radium: No such file or directory

grammoboy2 commented 3 years ago

Trying to build tag 6.5.86

$ QT_QPA_PLATFORM_PLUGIN_PATH=$(./find_moc_and_uic_paths.sh qmake) -query QT_INSTALL_PLUGINS bin/radium bash: bin/radium: No such file or directory

grammoboy2 commented 3 years ago

Ok, will try again from scratch

grammoboy2 commented 3 years ago

Didn't fixed it. I didn't have this issue with the latest git version

$ radium /usr/local/bin/radium: line 1: /opt/radium/radium: No such file or directory

grammoboy2 commented 3 years ago

QT_QPA_PLATFORM_PLUGIN_PATH=$(./find_moc_and_uic_paths.sh qmake) -query QT_INSTALL_PLUGINS bin/radium bash: bin/radium: No such file or directory

I think there is something wrong with the 6.5.86 tag, or I'm not having my day

kmatheussen commented 3 years ago

I don't know. ./install.sh /opt works here. Maybe your disk is full? Maybe you didn't run as root and something silently failed?

On Sat, Dec 19, 2020 at 5:16 PM grammoboy notifications@github.com wrote:

QT_QPA_PLATFORM_PLUGIN_PATH=$(./find_moc_and_uic_paths.sh qmake) -query QT_INSTALL_PLUGINS bin/radium bash: bin/radium: No such file or directory

I think there is something wrong with the 6.5.86 tag, or I'm not having my day

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kmatheussen/radium/issues/1307#issuecomment-748493751, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIX3JZU7HUKBVGTSYZ3FIDSVTGUTANCNFSM4VBSU3NQ .

grammoboy2 commented 3 years ago

6.5.85 builds, installs and runs fine. Something with 6.5.86 I think

grammoboy2 commented 3 years ago

6.5.85 can't find my VST instruments though. Is that 6.5.85 specific? (I saw something mentioned about VST2 and 3 IIRC)