Error when building Zyn-Fusion from Octopi & Pamac AUR (pacaur, yay, trizen)

Greetings All,

I recently setup a new installation of Manjaro KDE. I have never had any issues building any app from Octopi & Pamac AUR. I was wondering if anyone else is having the same problem building and installing Zyn-Fusion from AUR (pacaur, yay, trizen). I'm getting consistent errors on 2 machines with new Manjaro installs. Any help on this would be appreciated.

Cheers,

AT

bash -c "pacaur -Sa zyn-fusion ;echo 'Press any key to continue...'"
:: resolving dependencies...
:: looking for inter-conflicts...

AUR Packages  (1) zyn-fusion-3.0.5-1  

:: Proceed with installation? [Y/n] y
:: Retrieving package(s)...
update complete: /home/syntheus/.cache/pacaur/zyn-fusion
:: zyn-fusion build files are up-to-date -- skipping
sudo: a password is required
[sudo] password for syntheus: 
:: Checking zyn-fusion integrity...
==> Making package: zyn-fusion 3.0.5-1 (Fri 12 Jun 2020 10:20:51 PM PDT)
==> Retrieving sources...
  -> Updating zynaddsubfx git repo...
Fetching origin
  -> Updating mruby-zest-build git repo...
Fetching origin
  -> Found BashCompletion.cmake
==> Validating source files with sha512sums...
    zynaddsubfx ... Skipped
    mruby-zest-build ... Skipped
    BashCompletion.cmake ... Passed
:: Preparing zyn-fusion...
==> Making package: zyn-fusion 3.0.5-1 (Fri 12 Jun 2020 10:20:54 PM PDT)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Updating zynaddsubfx git repo...
Fetching origin
  -> Updating mruby-zest-build git repo...
Fetching origin
  -> Found BashCompletion.cmake
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of zynaddsubfx git repo...
Reset branch 'makepkg'
  -> Creating working copy of mruby-zest-build git repo...
Reset branch 'makepkg'
==> Starting prepare()...
make: Nothing to be done for 'setup'.
==> Sources are ready.
:: Building zyn-fusion package(s)...
==> Making package: zyn-fusion 3.0.5-1 (Fri 12 Jun 2020 10:20:59 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- Found Rtosc Submodule...
-- Found GCC Version >= 4.7
-- Include what you use: disabled (RTOSC_INCLUDE_WHAT_YOU_USE=OFF)
CMake Warning (dev) at rtosc/cmake/ColorMessage.cmake:59 (_message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the     
  cmake_policy command to set the policy and suppress this warning.              
                                                                                 
  ;FindOpenGL found both a legacy GL library:                                    
                                                                                 
  ; OPENGL_gl_LIBRARY: /usr/lib/libGL.so                                         
                                                                                 
  ;and GLVND libraries for OpenGL and GLX:                                       
                                                                                 
  ; OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so                                 
                                                                                 
  ; OPENGL_glx_LIBRARY: /usr/lib/libGLX.so                                       
                                                                                 
  ;OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for          
  ;compatibility with CMake 3.10 and below the legacy GL library will be         
  used.                                                                          
Call Stack (most recent call first):
  /usr/share/cmake-3.17/Modules/FindOpenGL.cmake:305 (message)
  /usr/share/cmake-3.17/Modules/FindFLTK.cmake:83 (find_package)
  rtosc/CMakeLists.txt:94 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at rtosc/cmake/ColorMessage.cmake:59 (_message):
  The package name passed to `find_package_handle_standard_args`
  ;(X11) does not match the name of the calling package ;(FLTK).  This can       
  lead to problems in calling ;code that expects `find_package` result           
  variables (e.g., `_FOUND`) ;to follow a certain pattern.                       
Call Stack (most recent call first):
  /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message)
  /usr/share/cmake-3.17/Modules/FindX11.cmake:366 (find_package_handle_standard_args)
  /usr/share/cmake-3.17/Modules/FindFLTK.cmake:98 (include)
  rtosc/CMakeLists.txt:94 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find FLTK (missing: FLTK_LIBRARIES FLTK_FLUID_EXECUTABLE) 
-- Checking for module 'ntk'
--   Package 'ntk', required by 'virtual:world', not found
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- 
-- Rtosc Build Configuration
-- =========================
-- 
-- PkgConfig enabled  -- package found
-- Liblo enabled      -- package found
-- JACK enabled       -- package found
-- NTK disabled       -- package NOT found
-- Perf Test(s) disabled
-- FLTK disabled      -- package NOT found
-- Checking Include Path
-- Checking Library Path
CMake Warning (dev) at rtosc/cmake/ColorMessage.cmake:59 (_message):
  The package name passed to `find_package_handle_standard_args`
  ;(ZLIB) does not match the name of the calling package ;(zlib).  This can      
  lead to problems in calling ;code that expects `find_package` result           
  variables (e.g., `_FOUND`) ;to follow a certain pattern.                       
Call Stack (most recent call first):
  /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message)
  cmake/Findzlib.cmake:39 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/CMakeLists.txt:13 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found ALSA: /usr/lib/libasound.so
CMake Warning (dev) at rtosc/cmake/ColorMessage.cmake:59 (_message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the     
  cmake_policy command to set the policy and suppress this warning.              
                                                                                 
  ;FindOpenGL found both a legacy GL library:                                    
                                                                                 
  ; OPENGL_gl_LIBRARY: /usr/lib/libGL.so                                         
                                                                                 
  ;and GLVND libraries for OpenGL and GLX:                                       
                                                                                 
  ; OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so                                 
                                                                                 
  ; OPENGL_glx_LIBRARY: /usr/lib/libGLX.so                                       
                                                                                 
  ;OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for          
  ;compatibility with CMake 3.10 and below the legacy GL library will be         
  used.                                                                          
Call Stack (most recent call first):
  /usr/share/cmake-3.17/Modules/FindOpenGL.cmake:305 (message)
  /usr/share/cmake-3.17/Modules/FindFLTK.cmake:83 (find_package)
  src/CMakeLists.txt:18 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at rtosc/cmake/ColorMessage.cmake:59 (_message):
  The package name passed to `find_package_handle_standard_args`
  ;(X11) does not match the name of the calling package ;(FLTK).  This can       
  lead to problems in calling ;code that expects `find_package` result           
  variables (e.g., `_FOUND`) ;to follow a certain pattern.                       
Call Stack (most recent call first):
  /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message)
  /usr/share/cmake-3.17/Modules/FindX11.cmake:366 (find_package_handle_standard_args)
  /usr/share/cmake-3.17/Modules/FindFLTK.cmake:98 (include)
  src/CMakeLists.txt:18 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find FLTK (missing: FLTK_LIBRARIES FLTK_FLUID_EXECUTABLE) 
-- Could NOT find CxxTest (missing: CXXTEST_INCLUDE_DIR CXXTEST_PYTHON_TESTGEN_EXECUTABLE) 
Looking For pkg config modules
-- Checking for module 'ntk'
--   Package 'ntk', required by 'virtual:world', not found
-- Checking for module 'ntk_images'
--   Package 'ntk_images', required by 'virtual:world', not found
-- Checking for one of the modules 'lash-1.0'
-- Checking for one of the modules 'dssi>=0.9.0'
-- Compiling with liblo
-- Compiling with x86 opcode support
-- Building for Release, flags: -std=c++11 -Wno-unused-parameter -O3 -ffast-math -fomit-frame-pointer -msse -msse2 -mfpmath=sse
-- Include what you use: disabled (IncludeWhatYouUse=OFF)
-- 
-- ZynAddSubFX Build Configuration
-- ===============================
-- 
-- Building on a 'Linux' System
-- PkgConfig -- found
-- zlib      -- found
-- mxml      -- found
-- fftw3     -- found
-- liblo     -- found
-- x11       -- found
-- xpm       -- found
-- fltk      -- NOT found
-- ntk       -- NOT found
-- x11       -- found
-- OSS       -- found
-- ALSA      -- found
-- JACK      -- found
-- PA        -- found
-- Lash      -- NOT found
-- DSSI      -- NOT found
-- CxxTest   -- NOT found
-- Lash      -- NOT enabled
-- DSSI      -- NOT enabled
-- tests     -- NOT enabled
-- ALSA      -- enabled
-- JACK      -- enabled
-- OSS       -- enabled
-- PA        -- enabled
-- c++ async -- usable
-- Link libraries: /usr/lib/libz.so  mxml;pthread portaudio;asound;m;pthread;/usr/lib/libasound.so;jack;pthread;lo;pthread 
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/syntheus/.cache/pacaur/zyn-fusion/src/build-zynaddsubfx
[  4%] Built target rtosc
[  6%] Built target zynaddsubfx_gui_bridge
[ 13%] Built target zynaddsubfx_nio
[ 14%] Built target lv2-ttl-generator
[ 17%] Built target ZynAddSubFX_lv2_ui
[ 22%] Built target rtosc-cpp
[ 23%] Built target nested-bundles
[ 24%] Built target null-messages
[ 25%] Built target patterns
[ 26%] Built target fat-message
[ 27%] Built target simple-messages
[ 28%] Built target liblo
[ 29%] Built target arg-val-math
[ 30%] Built target pretty-format
[ 31%] Built target arg-val-cmp
[ 31%] Built target default-value
[ 32%] Built target util
[ 33%] Built target osc-spec
[ 34%] Built target version
[ 36%] Built target bundles
[ 36%] Built target headerlib
[ 37%] Built target empty-strings
[ 37%] Built target test-automation
[ 38%] Built target message-alignment
[ 39%] Built target test-arg-iter
[ 40%] Built target typed-template-test
[ 41%] Built target test-midi-mapper
[ 41%] Built target metadata
[ 42%] Built target test-walker
[ 44%] Built target port-checker
[ 44%] Built target undo-test
[ 45%] Built target port-checker-testapp
[ 71%] Built target zynaddsubfx_core
[ 72%] Built target port-checker-tester
[ 73%] Built target sugar
[ 74%] Built target path-collapse
[ 75%] Built target zynaddsubfx
[ 76%] Built target ZynAlienWah_vst
[ 77%] Built target ZynAlienWah_lv2
[ 79%] Built target ZynChorus_vst
[ 80%] Built target ZynChorus_lv2
[ 81%] Built target ZynDistortion_vst
[ 82%] Built target ZynDistortion_lv2
[ 83%] Built target ZynDynamicFilter_vst
[ 85%] Built target ZynDynamicFilter_lv2
[ 87%] Built target ZynEcho_vst
[ 88%] Built target ZynEcho_lv2
[ 89%] Built target ZynPhaser_vst
[ 90%] Built target ZynPhaser_lv2
[ 91%] Built target ZynReverb_vst
[ 93%] Built target ZynReverb_lv2
[ 98%] Built target ZynAddSubFX_vst
[100%] Built target ZynAddSubFX_lv2
make: Nothing to be done for 'builddep'.
ruby ./rebuild-fcache.rb
length(IR) = 198
Total time is 280.717374 ms
cd deps/nanovg/src   && cc nanovg.c -c -fPIC
ar rc deps/libnanovg.a deps/nanovg/src/*.o
cd deps/pugl         && python2 ./waf configure --no-cairo --static --debug
Setting top to                           : /home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/deps/pugl                                                 
Setting out to                           : /home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/deps/pugl/build                                           
Checking for 'gcc' (c compiler)          : /usr/bin/gcc 

Global Configuration 
 * Install prefix                        : /usr/local 
 * Debuggable build                      : True 
 * Build documentation                   : False 

Pugl Configuration 
 * OpenGL support                        : True 
 * Cairo support                         : False 
 * Verbose console output                : False 
 * Static library                        : True 
 * Unit tests                            : False 

'configure' finished successfully (0.035s)
cd deps/pugl         && python2 ./waf
Waf: Entering directory `/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/deps/pugl/build'                                                            
Waf: Leaving directory `/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/deps/pugl/build'                                                             
'build' finished successfully (0.007s)
cd src/osc-bridge    && CFLAGS="-I ../../deps/libuv-v1.9.1/include " make lib
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/src/osc-bridge'
cc -I ../../deps/libuv-v1.9.1/include  -std=gnu99 -Wall -Wextra -I . -O3 -g -fPIC -c src/bridge.c src/cache.c src/parse-schema.c src/schema.c rtosc/rtosc.c
ar rcs libosc-bridge.a bridge.o cache.o parse-schema.o schema.o rtosc.o
make[1]: Leaving directory '/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/src/osc-bridge'
cd mruby             && MRUBY_CONFIG=../build_config.rb rake
Environment is:

false
/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/Rakefile:38: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/usr/lib/ruby/2.7.0/fileutils.rb:206: warning: The called method `mkdir_p' is defined here
      MRBC ../src/mruby-widget-lib/mrblib/draw-sequence.rb 
      MRBC ../src/mruby-widget-lib/mrblib/fcache.rb 
      MRBC ../src/mruby-widget-lib/mrblib/layout.rb 
      MRBC ../src/mruby-widget-lib/mrblib/main.rb 
      MRBC ../src/mruby-widget-lib/mrblib/pos.rb 
      MRBC ../src/mruby-widget-lib/mrblib/rect.rb 
      MRBC ../src/mruby-widget-lib/mrblib/remote.rb 
      MRBC ../src/mruby-widget-lib/mrblib/sched.rb 
      MRBC ../src/mruby-widget-lib/mrblib/script.rb 
      MRBC ../src/mruby-widget-lib/mrblib/time-profile.rb 
      MRBC ../src/mruby-widget-lib/mrblib/ui-event.rb 
      MRBC ../src/mruby-widget-lib/mrblib/util.rb 
CC    build/host/mrbgems/mruby-widget-lib/gem_init.c -> build/host/mrbgems/mruby-widget-lib/gem_init.o
AR    build/host/lib/libmruby.a 
LD    build/host/bin/mruby 
/usr/bin/ld: /home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/build/host/lib/libmruby.a(gem.o):/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/src/mruby-widget-lib/src/gem.c:293: multiple definition of `mrb_nvg_context_type'; /home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/build/host/lib/libmruby.a(nvg_context.o):(.data.rel.ro.local+0x0): first defined here
collect2: error: ld returned 1 exit status
/usr/bin/ld: /home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/build/host/lib/libmruby.a(gem.o):/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/src/mruby-widget-lib/src/gem.c:293: multiple definition of `mrb_nvg_context_type'; /home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/build/host/lib/libmruby.a(nvg_context.o):(.data.rel.ro.local+0x0): first defined here
collect2: error: ld returned 1 exit status
rake aborted!
Command failed with status (1): [gcc -Wl,-O1,--sort-common,--as-needed,-z,r...]
/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:31:in `_run'
/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:36:in `rescue in _run'
/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:32:in `_run'
/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:183:in `run'
/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/Rakefile:72:in `block (4 levels) in <top (required)>'

Caused by:
Command failed with status (1): ["gcc" -Wl,-O1,--sort-common,--as-needed,-z...]
/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:33:in `_run'
/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:183:in `run'
/home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/Rakefile:72:in `block (4 levels) in <top (required)>'
Tasks: TOP => default => all => /home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/bin/mruby => /home/syntheus/.cache/pacaur/zyn-fusion/src/mruby-zest-build/mruby/build/host/bin/mruby
(See full trace by running task with --trace)
make: *** [Makefile:13: all] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
:: failed to build zyn-fusion package(s)
Press any key to continue...

Did you read the comment and solution on aur page of zyn-fusion?
https://aur.archlinux.org/packages/zyn-fusion

2 Likes

Thanks for the link. In my research, I kept getting pointed to different pages. A bit of extra digging and your help finally solved it. Thanks again for pointing me in the right direction.

Cheers

AT

Brief experience report on this topic: Had the same problem with Manjaro Lysia with Zyn-Fusion and tried the package in countless ways. Even though I had an Arch account, I was unable to connect with my username and password in octopi. The connection reported wrong username or password is wrong.
That was the main problem.
The installation then ran almost until the message appeared on the octopi terminal window
... must know who you are.
After entering as far as I remember
$ git global --usermail "name@bla.com"
and $ git global username "name"
that's what it looked like. Then made both entries in the terminal and yep it worked.
I hope this help someone.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by