lsp-plugins / lsp-plugins

Linux Studio Plugins Project
https://lsp-plug.in/
GNU Lesser General Public License v3.0
545 stars 48 forks source link

During build: Generating resource file lsp-plugins/.build/src/res/xml_resource.cpp runs forever #34

Closed errtro closed 5 years ago

errtro commented 5 years ago
-------------------------------------------------------------------------------
Building binaries
  target architecture : x86_64
  target platform     : Linux
  target system       : Linux
  modules             : ladspa lv2 vst jack profile src doc
-------------------------------------------------------------------------------
Building core
  g++ ICanvas.cpp
  g++ ITask.cpp
  g++ io/InputStreamReader.cpp
  g++ io/FileReader.cpp
  g++ io/StringWriter.cpp
  g++ io/FileWriter.cpp
  g++ io/Reader.cpp
  g++ io/IOutputStream.cpp
  g++ io/charset.cpp
  g++ io/Writer.cpp
  g++ io/StringReader.cpp
  g++ io/IInputStream.cpp
  g++ IExecutor.cpp
  g++ LSPString.cpp
  g++ envelope.cpp
  g++ IWrapper.cpp
  g++ filters/DynamicFilters.cpp
  g++ filters/FilterBank.cpp
  g++ filters/Equalizer.cpp
  g++ filters/Filter.cpp
  g++ types.cpp
  g++ debug.cpp
  g++ windows.cpp
  g++ midi.cpp
  g++ util/ShiftBuffer.cpp
  g++ util/Color.cpp
  g++ util/Oscillator.cpp
  g++ util/Crossover.cpp
  g++ util/Dither.cpp
  g++ util/SyncChirpProcessor.cpp
  g++ util/Analyzer.cpp
  g++ util/Counter.cpp
  g++ util/ResponseTaker.cpp
  g++ util/LatencyDetector.cpp
  g++ util/Oversampler.cpp
  g++ util/Sidechain.cpp
  g++ util/Randomizer.cpp
  g++ util/Bypass.cpp
  g++ util/MeterGraph.cpp
  g++ util/Delay.cpp
  g++ util/Convolver.cpp
  g++ sampling/Sample.cpp
  g++ sampling/SamplePlayer.cpp
  g++ plugin.cpp
  g++ IPort.cpp
  g++ dynamics/Expander.cpp
  g++ dynamics/Limiter.cpp
  g++ dynamics/Gate.cpp
  g++ dynamics/DynamicProcessor.cpp
  g++ dynamics/Compressor.cpp
  g++ alloc.cpp
  g++ files/config/IConfigHandler.cpp
  g++ files/config/IConfigSource.cpp
  g++ files/AudioFile.cpp
  g++ files/lspc/LSPCChunkWriter.cpp
  g++ files/lspc/LSPCAudioWriter.cpp
  g++ files/lspc/LSPCChunkReader.cpp
  g++ files/lspc/LSPCChunkAccessor.cpp
  g++ files/lspc/LSPCAudioReader.cpp
  g++ files/config.cpp
  g++ files/LSPCFile.cpp
files/LSPCFile.cpp: In member function ‘lsp::status_t lsp::LSPCFile::open(const char*)’:
files/LSPCFile.cpp:58:13: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
         read(fd, &hdr, sizeof(lspc_root_header_t));
         ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
files/LSPCFile.cpp: In member function ‘lsp::status_t lsp::LSPCFile::create(const char*)’:
files/LSPCFile.cpp:102:14: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
         write(fd, &hdr, sizeof(lspc_root_header_t));
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  g++ files/3d/ObjFileParser.cpp
  g++ files/3d/IFileHandler3D.cpp
  g++ files/Model3DFile.cpp
  g++ 3d/TraceMap3D.cpp
  g++ 3d/RayTrace3D.cpp
  g++ 3d/Object3D.cpp
  g++ 3d/TraceCapture3D.cpp
  g++ 3d/Scene3D.cpp
  g++ 3d/RaySource3D.cpp
  g++ NativeExecutor.cpp
  g++ fade.cpp
  g++ buffer.cpp
  g++ ITrigger.cpp
  g++ status.cpp
  g++ interpolation.cpp
  ld core.o
Building metadata
  g++ expander.cpp
  g++ spectrum_analyzer.cpp
  g++ impulse_reverb.cpp
  g++ trigger.cpp
  g++ comp_delay.cpp
  g++ oscillator.cpp
  g++ metadata.cpp
  g++ limiter.cpp
  g++ impulse_responses.cpp
  g++ mb_compressor.cpp
  g++ profiler.cpp
  g++ developers.cpp
  g++ phase_detector.cpp
  g++ slap_delay.cpp
  g++ ports.cpp
  g++ experimental.cpp
  g++ graph_equalizer.cpp
  g++ sampler.cpp
  g++ compressor.cpp
  g++ gate.cpp
  g++ latency_meter.cpp
  g++ nonlinear_convovler.cpp
  g++ para_equalizer.cpp
  g++ dyna_processor.cpp
  ld metadata.o
Building dsp
  g++ dsp.cpp
  g++ bits.cpp
  g++ native.cpp
  g++ x86.cpp
x86.cpp: In function ‘dsp::info_t* x86::info()’:
x86.cpp:388:17: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         asprintf(&model, "vendor=%s, family=0x%x, model=0x%x", cpu_vendors[f.vendor], int(f.family), int(f.model));
         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  g++ sse.cpp
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse/filters/static.h: Assembler messages:
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse/filters/static.h:648: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse/filters/static.h:649: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse/filters/static.h:764: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse/filters/static.h:765: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse/filters/dynamic.h:684: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse/filters/dynamic.h:685: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse/filters/dynamic.h:686: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse/filters/dynamic.h:804: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse/filters/dynamic.h:805: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse/filters/dynamic.h:813: Warning: missing operand; zero assumed
  g++ sse2.cpp
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse2/graphics.h: Assembler messages:
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse2/graphics.h:653: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse2/graphics.h:654: Warning: missing operand; zero assumed
  g++ sse3.cpp
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/static.h: Assembler messages:
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/static.h:545: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/static.h:546: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/static.h:585: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/static.h:586: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/static.h:615: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/static.h:616: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/static.h:662: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/static.h:663: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/dynamic.h:282: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/dynamic.h:283: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/dynamic.h:322: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/dynamic.h:323: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/dynamic.h:353: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/dynamic.h:354: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/dynamic.h:401: Warning: missing operand; zero assumed
/home/rt/work/lsp-plugins/include/dsp/arch/x86/sse3/filters/dynamic.h:402: Warning: missing operand; zero assumed
  g++ sse4.cpp
  g++ avx.cpp
  g++ avx2.cpp
  ld dsp.o
Building utils
  g++ resource_gen.cpp
resource_gen.cpp: In function ‘int lsp::scan_directory(const char*, const char*, lsp::cvector<lsp::resource_t>&)’:
resource_gen.cpp:408:21: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
             asprintf(&realpath, "%s" FILE_SEPARATOR_S "%s", basedir, path);
             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resource_gen.cpp:446:29: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
                     asprintf(&subdir, "%s" FILE_SEPARATOR_S "%s", path, ent->d_name);
                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resource_gen.cpp: In function ‘lsp::resource_t* lsp::create_xml_resource(const char*, const char*, size_t)’:
resource_gen.cpp:326:21: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
             asprintf(&ptr, "%s" FILE_SEPARATOR_S "%s", path, name);
             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
resource_gen.cpp:337:17: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
         asprintf(&dst, "%08x", int(id));
         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
  g++ lv2_genttl.cpp
lv2_genttl.cpp: In function ‘void lsp::gen_plugin_ttl(const char*, const plugin_metadata_t&, const char*)’:
lv2_genttl.cpp:829:21: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
             asprintf(&ui_uri, LSP_PLUGIN_UI_URI(lv2, "%s"), m.lv2_uid);
             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lv2_genttl.cpp:830:21: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
             asprintf(&plugin_uri, LSP_PLUGIN_URI(lv2, "%s"), m.lv2_uid);
             ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  g++ vst_genmake.cpp
vst_genmake.cpp: In function ‘int lsp::gen_cpp_file(const char*, const plugin_metadata_t*, const char*, const char*)’:
vst_genmake.cpp:27:35: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
         snprintf(fname, PATH_MAX, "%s/%s", path, cppfile);
                                   ^~~~~~~
In file included from /usr/include/stdio.h:862,
                 from vst_genmake.cpp:3:
/usr/include/bits/stdio2.h:64:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  g++ jack_genmake.cpp
jack_genmake.cpp: In function ‘int lsp::gen_cpp_file(const char*, const plugin_metadata_t*, const char*, const char*)’:
jack_genmake.cpp:24:35: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
         snprintf(fname, PATH_MAX, "%s/%s", path, cppfile);
                                   ^~~~~~~
In file included from /usr/include/stdio.h:862,
                 from jack_genmake.cpp:3:
/usr/include/bits/stdio2.h:64:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 4097) into a destination of size 4096
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  g++ gen_php.cpp
  g++ gen_resources.exe
  g++ lv2_genttl.exe
  g++ vst_genmake.exe
  g++ jack_genmake.exe
  g++ gen_php.exe
Generating PHP file plugins.php
Writing file /home/rt/work/lsp-plugins/.build/plugins.php
Building doc
Preparing PHP documentation generator
Generating HTML documentation
  mkdir html
  mkdir html/plugins
  mkdir html/development
  php index.html
  php html/overview.html
  php html/licensing.html
  php html/requirements.html
  php html/installation.html
  php html/controls.html
  php html/plugins/compressor_lr.html
  php html/plugins/compressor_ms.html
  php html/plugins/compressor_mono.html
  php html/plugins/compressor_stereo.html
  php html/plugins/comp_delay_mono.html
  php html/plugins/comp_delay_stereo.html
  php html/plugins/comp_delay_x2_stereo.html
  php html/plugins/dyna_processor_lr.html
  php html/plugins/dyna_processor_ms.html
  php html/plugins/dyna_processor_mono.html
  php html/plugins/dyna_processor_stereo.html
  php html/plugins/expander_lr.html
  php html/plugins/expander_ms.html
  php html/plugins/expander_mono.html
  php html/plugins/expander_stereo.html
  php html/plugins/gate_lr.html
  php html/plugins/gate_ms.html
  php html/plugins/gate_mono.html
  php html/plugins/gate_stereo.html
  php html/plugins/graph_equalizer_x16_lr.html
  php html/plugins/graph_equalizer_x16_ms.html
  php html/plugins/graph_equalizer_x16_mono.html
  php html/plugins/graph_equalizer_x16_stereo.html
  php html/plugins/graph_equalizer_x32_lr.html
  php html/plugins/graph_equalizer_x32_ms.html
  php html/plugins/graph_equalizer_x32_mono.html
  php html/plugins/graph_equalizer_x32_stereo.html
  php html/plugins/impulse_responses_mono.html
  php html/plugins/impulse_responses_stereo.html
  php html/plugins/impulse_reverb_mono.html
  php html/plugins/impulse_reverb_stereo.html
  php html/plugins/latency_meter.html
  php html/plugins/limiter_mono.html
  php html/plugins/limiter_stereo.html
  php html/plugins/multisampler_x12_do.html
  php html/plugins/multisampler_x12.html
  php html/plugins/multisampler_x24_do.html
  php html/plugins/multisampler_x24.html
  php html/plugins/multisampler_x48_do.html
  php html/plugins/multisampler_x48.html
  php html/plugins/mb_compressor_lr.html
  php html/plugins/mb_compressor_ms.html
  php html/plugins/mb_compressor_mono.html
  php html/plugins/mb_compressor_stereo.html
  php html/plugins/oscillator_mono.html
  php html/plugins/para_equalizer_x16_lr.html
  php html/plugins/para_equalizer_x16_ms.html
  php html/plugins/para_equalizer_x16_mono.html
  php html/plugins/para_equalizer_x16_stereo.html
  php html/plugins/para_equalizer_x32_lr.html
  php html/plugins/para_equalizer_x32_ms.html
  php html/plugins/para_equalizer_x32_mono.html
  php html/plugins/para_equalizer_x32_stereo.html
  php html/plugins/phase_detector.html
  php html/plugins/profiler_mono.html
  php html/plugins/profiler_stereo.html
  php html/plugins/sampler_mono.html
  php html/plugins/sampler_stereo.html
  php html/plugins/sc_compressor_lr.html
  php html/plugins/sc_compressor_ms.html
  php html/plugins/sc_compressor_mono.html
  php html/plugins/sc_compressor_stereo.html
  php html/plugins/sc_dyna_processor_lr.html
  php html/plugins/sc_dyna_processor_ms.html
  php html/plugins/sc_dyna_processor_mono.html
  php html/plugins/sc_dyna_processor_stereo.html
  php html/plugins/sc_expander_lr.html
  php html/plugins/sc_expander_ms.html
  php html/plugins/sc_expander_mono.html
  php html/plugins/sc_expander_stereo.html
  php html/plugins/sc_gate_lr.html
  php html/plugins/sc_gate_ms.html
  php html/plugins/sc_gate_mono.html
  php html/plugins/sc_gate_stereo.html
  php html/plugins/sc_limiter_mono.html
  php html/plugins/sc_limiter_stereo.html
  php html/plugins/sc_mb_compressor_lr.html
  php html/plugins/sc_mb_compressor_ms.html
  php html/plugins/sc_mb_compressor_mono.html
  php html/plugins/sc_mb_compressor_stereo.html
  php html/plugins/slap_delay_mono.html
  php html/plugins/slap_delay_stereo.html
  php html/plugins/spectrum_analyzer_x1.html
  php html/plugins/spectrum_analyzer_x12.html
  php html/plugins/spectrum_analyzer_x16.html
  php html/plugins/spectrum_analyzer_x2.html
  php html/plugins/spectrum_analyzer_x4.html
  php html/plugins/spectrum_analyzer_x8.html
  php html/plugins/trigger_midi_mono.html
  php html/plugins/trigger_midi_stereo.html
  php html/plugins/trigger_mono.html
  php html/plugins/trigger_stereo.html
  php html/video.html
  php html/development/versioning.html
  php html/development/building.html
  php html/development/debug.html
  php html/development/testing.html
  php html/development/eclipse.html
  php html/troubleshooting.html
Building plugins
  g++ expander.cpp
  g++ spectrum_analyzer.cpp
  g++ impulse_reverb.cpp
  g++ trigger.cpp
  g++ declipper.cpp
  g++ comp_delay.cpp
  g++ oscillator.cpp
  g++ limiter.cpp
  g++ mb_compressor.cpp
  g++ profiler.cpp
  g++ phase_detector.cpp
  g++ slap_delay.cpp
  g++ impulse_responses.cpp
  g++ experimental.cpp
  g++ graph_equalizer.cpp
  g++ sampler.cpp
  g++ compressor.cpp
  g++ gate.cpp
  g++ latency_meter.cpp
  g++ nonlinear_convolver.cpp
  g++ para_equalizer.cpp
  g++ dyna_processor.cpp
  ld plugins.o
Building ui
  g++ IUIWrapper.cpp
  g++ graphics.cpp
  g++ ui_locale.cpp
  g++ ui_builder.cpp
  g++ serialize.cpp
  g++ XMLHandler.cpp
  g++ common.cpp
  g++ XMLParser.cpp
  g++ plugin_ui.cpp
Building ws
  g++ ISurface.cpp
  g++ IDisplay.cpp
  g++ INativeWindow.cpp
  g++ IEventHandler.cpp
  g++ IClipboard.cpp
Building x11
  g++ X11Clipboard.cpp
  g++ X11Display.cpp
  g++ X11Atoms.cpp
  g++ X11CairoSurface.cpp
  g++ decode.cpp
  g++ X11Window.cpp
  g++ X11CairoGradient.cpp
  ld ws_x11_core.o
  ld ws_core.o
Building tk
  g++ basic/LSPWidgetContainer.cpp
  g++ basic/LSPWidgetProxy.cpp
  g++ basic/LSPWidget.cpp
  g++ basic/LSPComplexWidget.cpp
  g++ widgets/dialogs/LSPMessageBox.cpp
  g++ widgets/dialogs/LSPFileDialog.cpp
  g++ widgets/LSPButton.cpp
  g++ widgets/LSPHyperlink.cpp
  g++ widgets/LSPLed.cpp
  g++ widgets/LSPMeter.cpp
  g++ widgets/LSPListBox.cpp
  g++ widgets/LSPGroup.cpp
  g++ widgets/LSPComboBox.cpp
  g++ widgets/LSPEdit.cpp
  g++ widgets/LSPMountStud.cpp
  g++ widgets/LSPSaveFile.cpp
  g++ widgets/graph/LSPBasis.cpp
  g++ widgets/graph/LSPMarker.cpp
  g++ widgets/graph/LSPFrameBuffer.cpp
  g++ widgets/graph/LSPText.cpp
  g++ widgets/graph/LSPGraphItem.cpp
  g++ widgets/graph/LSPDot.cpp
  g++ widgets/graph/LSPMesh.cpp
  g++ widgets/graph/LSPAxis.cpp
  g++ widgets/graph/LSPCenter.cpp
  g++ widgets/LSPGraph.cpp
  g++ widgets/LSPCell.cpp
  g++ widgets/LSPLabel.cpp
  g++ widgets/LSPSeparator.cpp
  g++ widgets/LSPWindow.cpp
  g++ widgets/LSPMenuItem.cpp
  g++ widgets/LSPAudioFile.cpp
  g++ widgets/LSPScrollBar.cpp
  g++ widgets/LSPFader.cpp
  g++ widgets/LSPBox.cpp
  g++ widgets/LSPKnob.cpp
  g++ widgets/LSPIndicator.cpp
  g++ widgets/LSPFraction.cpp
  g++ widgets/LSPSwitch.cpp
  g++ widgets/LSPGrid.cpp
  g++ widgets/LSPMenu.cpp
  g++ widgets/LSPComboGroup.cpp
  g++ widgets/LSPAlign.cpp
  g++ util/LSPFileFilter.cpp
  g++ util/LSPItem.cpp
  g++ util/LSPTextCursor.cpp
  g++ util/LSPItemList.cpp
  g++ util/LSPSurface.cpp
  g++ util/LSPWindowActions.cpp
  g++ util/LSPTextLines.cpp
  g++ util/LSPFont.cpp
  g++ util/LSPTextSelection.cpp
  g++ util/LSPColor.cpp
  g++ util/LSPTextClipboard.cpp
  g++ util/LSPKeyboardHandler.cpp
  g++ util/LSPPadding.cpp
  g++ util/LSPSizeConstraints.cpp
  g++ util/LSPItemSelection.cpp
  g++ util/LSPFileMask.cpp
  g++ util/LSPWidgetFont.cpp
  g++ util/LSPWidgetColor.cpp
  g++ sys/LSPDisplay.cpp
  g++ sys/LSPSlot.cpp
  g++ sys/LSPSlotSet.cpp
  g++ sys/LSPTimer.cpp
  g++ sys/LSPClipboard.cpp
  g++ sys/LSPTheme.cpp
  g++ tk.cpp
  g++ helpers/draw.cpp
  ld tk_core.o
Building ctl
  g++ CtlColor.cpp
  g++ CtlCell.cpp
  g++ CtlPortListener.cpp
  g++ CtlComboBox.cpp
  g++ CtlMarker.cpp
  g++ CtlSwitch.cpp
  g++ CtlHyperlink.cpp
  g++ CtlPortAlias.cpp
  g++ CtlAudioFile.cpp
  g++ CtlComboGroup.cpp
  g++ CtlBasis.cpp
  g++ CtlDot.cpp
  g++ ctl.cpp
  g++ CtlExpression.cpp
  g++ CtlPluginWindow.cpp
  g++ CtlEdit.cpp
  g++ CtlBox.cpp
  g++ CtlGroup.cpp
  g++ CtlConfigSource.cpp
  g++ CtlConfigHandler.cpp
  g++ CtlButton.cpp
  g++ CtlCenter.cpp
  g++ CtlGraph.cpp
  g++ CtlPathPort.cpp
  g++ CtlLabel.cpp
CtlLabel.cpp: In member function ‘void lsp::ctl::CtlLabel::commit_value()’:
CtlLabel.cpp:186:58: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
                         snprintf(a_text, sizeof(a_text), "%s%c%s", buf, (bSameLine) ? ' ' : '\n', (u_name != NULL) ? u_name : "" );
                                                          ^~~~~~~~
In file included from /usr/include/stdio.h:862,
                 from /home/rt/work/lsp-plugins/include/core/debug.h:12,
                 from /home/rt/work/lsp-plugins/include/ui/ws/ws.h:12,
                 from /home/rt/work/lsp-plugins/include/ui/tk/tk.h:17,
                 from /home/rt/work/lsp-plugins/include/ui/ctl/ctl.h:21,
                 from CtlLabel.cpp:8:
/usr/include/bits/stdio2.h:64:35: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 129) into a destination of size 128
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  g++ CtlScrollBar.cpp
  g++ CtlFrameBuffer.cpp
  g++ CtlAlign.cpp
  g++ CtlWidget.cpp
CtlWidget.cpp: In member function ‘virtual void lsp::ctl::CtlWidget::end()’:
CtlWidget.cpp:143:25: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
                 asprintf(&str, ":%s ieq %d", pVisibilityID, int(nVisibilityKey));
                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  g++ CtlLed.cpp
CtlLed.cpp: In member function ‘virtual void lsp::ctl::CtlLed::end()’:
CtlLed.cpp:120:25: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
                 asprintf(&str, ":%s ieq %d", pPort->id(), int(fKey));
                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  g++ CtlValuePort.cpp
  g++ CtlPortHandler.cpp
  g++ CtlListBox.cpp
  g++ CtlSaveFile.cpp
  g++ CtlText.cpp
  g++ CtlKnob.cpp
  g++ CtlIndicator.cpp
  g++ CtlSeparator.cpp
  g++ CtlRegistry.cpp
  g++ CtlSwitchedPort.cpp
  g++ CtlFraction.cpp
  g++ CtlPort.cpp
  g++ CtlFader.cpp
  g++ CtlControlPort.cpp
  g++ CtlGrid.cpp
  g++ CtlMeter.cpp
CtlMeter.cpp: In member function ‘virtual void lsp::ctl::CtlMeter::end()’:
CtlMeter.cpp:228:25: warning: ignoring return value of ‘int asprintf(char**, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
                 asprintf(&str, ":%s >= 0.5", pActivityID[i]);
                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  g++ CtlMesh.cpp
  g++ CtlTempoTap.cpp
  g++ parse.cpp
  g++ CtlPadding.cpp
  g++ CtlAxis.cpp
  ld ctl_core.o
  ld ui_core.o
Generating XML resources
Generating resource file ......../lsp-plugins/.build/src/res/xml_resource.cpp

seems to run in an endless loop

sadko4u commented 5 years ago

What compiler do you use for building? What branch do you use for building?

sadko4u commented 5 years ago

It seems that you're trying to build from master branch. Please try to build from the devel branch.

sadko4u commented 5 years ago

Also, what's the content of ./lsp-plugins/.build/src/res/xml_resource.cpp file?

errtro commented 5 years ago

Thanks for the quick response. The compiler is x86_64-pc-linux-gnu-8.2.0. The ./lsp-plugins/.build/src/res/xml_resource.cpp is empty

I build from the master branch and will try to build from the devel branch tomorrow.

sadko4u commented 5 years ago

That's strange. It seems like the generation tool can not write the file. I think it would be also nice to watch what strace will show on the problem process. Also it would be nice to try to launch the tool from gdb. Such Issue I meet the first time, on all other systems it seems to be working fine, so maybe we're missing some details. Do you use any specific file system settings on the path where you're trying to build the binaries?

errtro commented 5 years ago

Here are my investigations so far...

make clean
make BUILD_PROFILE=x86_64
Generating XML resources
Generating resource file /home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp

seems to run in an endless loop

/home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp is empty

strace /home/rt/work/lsp-plugins-devel/.build/gen_resources.exe /home/rt/work/lsp-plugins-devel/res/ui /home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp
execve("/home/rt/work/lsp-plugins-devel/.build/gen_resources.exe", ["/home/rt/work/lsp-plugins-devel/"..., "/home/rt/work/lsp-plugins-devel/"..., "/home/rt/work/lsp-plugins-devel/"...], 0x7ffc9b6807f0 /* 81 vars */) = 0
brk(NULL)                               = 0x55779e736000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/haswell/x86_64/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/haswell/x86_64", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/haswell/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/haswell", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/x86_64/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls/x86_64", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/tls", 0x7ffe9c2dfa90)    = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/haswell/x86_64/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/haswell/x86_64", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/haswell/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/haswell", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64/libexpat.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib/x86_64", 0x7ffe9c2dfa90) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libexpat.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360A\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=239728, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc5958a000
mmap(NULL, 241912, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc5954e000
mprotect(0x7fcc59552000, 217088, PROT_NONE) = 0
mmap(0x7fcc59552000, 131072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7fcc59552000
mmap(0x7fcc59572000, 81920, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24000) = 0x7fcc59572000
mmap(0x7fcc59587000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38000) = 0x7fcc59587000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libsndfile.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Px\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=495624, ...}) = 0
mmap(NULL, 507520, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc594d2000
mmap(0x7fcc594d9000, 335872, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fcc594d9000
mmap(0x7fcc5952b000, 118784, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x59000) = 0x7fcc5952b000
mmap(0x7fcc59548000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x75000) = 0x7fcc59548000
mmap(0x7fcc5954c000, 7808, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcc5954c000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls/haswell/x86_64", 0x7ffe9c2dfa30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls/haswell", 0x7ffe9c2dfa30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls/x86_64", 0x7ffe9c2dfa30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/tls", 0x7ffe9c2dfa30)        = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/haswell/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/haswell/x86_64", 0x7ffe9c2dfa30) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/haswell/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/haswell", 0x7ffe9c2dfa30)    = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib/x86_64", 0x7ffe9c2dfa30)     = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220l\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=118288, ...}) = 0
mmap(NULL, 136288, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc594b0000
mmap(0x7fcc594b6000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7fcc594b6000
mmap(0x7fcc594c7000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fcc594c7000
mmap(0x7fcc594cc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7fcc594cc000
mmap(0x7fcc594ce000, 13408, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcc594ce000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/tls/haswell/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/haswell/x86_64", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/tls/haswell/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/haswell", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/tls/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/tls/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/haswell/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/haswell/x86_64", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/haswell/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/haswell", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/x86_64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/x86_64", 0x7ffe9c2dfa00) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib", {st_mode=S_IFDIR|0755, st_size=312, ...}) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=621078, ...}) = 0
mmap(NULL, 621078, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fcc59418000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3204\t\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=15340528, ...}) = 0
mmap(NULL, 2120768, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc59212000
mmap(0x7fcc592a2000, 888832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x90000) = 0x7fcc592a2000
mmap(0x7fcc5937b000, 561152, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x169000) = 0x7fcc5937b000
mmap(0x7fcc59404000, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f1000) = 0x7fcc59404000
mmap(0x7fcc59415000, 11328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcc59415000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\302\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1673472, ...}) = 0
mmap(NULL, 1675584, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc59078000
mmap(0x7fcc59084000, 757760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7fcc59084000
mmap(0x7fcc5913d000, 864256, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc5000) = 0x7fcc5913d000
mmap(0x7fcc59210000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x197000) = 0x7fcc59210000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3402\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=885120, ...}) = 0
mmap(NULL, 103472, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc5905e000
mprotect(0x7fcc59061000, 86016, PROT_NONE) = 0
mmap(0x7fcc59061000, 69632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fcc59061000
mmap(0x7fcc59072000, 12288, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fcc59072000
mmap(0x7fcc59076000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7fcc59076000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\35\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1861512, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc5905c000
mmap(NULL, 1874504, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc58e92000
mprotect(0x7fcc58eb3000, 1699840, PROT_NONE) = 0
mmap(0x7fcc58eb3000, 1400832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21000) = 0x7fcc58eb3000
mmap(0x7fcc59009000, 294912, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x177000) = 0x7fcc59009000
mmap(0x7fcc59052000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7fcc59052000
mmap(0x7fcc59058000, 14920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fcc59058000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libFLAC.so.8", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\230\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=248832, ...}) = 0
mmap(NULL, 251008, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc58e54000
mprotect(0x7fcc58e5d000, 208896, PROT_NONE) = 0
mmap(0x7fcc58e5d000, 167936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7fcc58e5d000
mmap(0x7fcc58e86000, 36864, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x32000) = 0x7fcc58e86000
mmap(0x7fcc58e90000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3b000) = 0x7fcc58e90000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libogg.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\32\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=26784, ...}) = 0
mmap(NULL, 2122032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc58c4d000
mprotect(0x7fcc58c53000, 2093056, PROT_NONE) = 0
mmap(0x7fcc58e52000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7fcc58e52000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libvorbis.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\208\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=174792, ...}) = 0
mmap(NULL, 2269960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc58a22000
mprotect(0x7fcc58a4c000, 2093056, PROT_NONE) = 0
mmap(0x7fcc58c4b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x29000) = 0x7fcc58c4b000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libvorbisenc.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20;\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=690296, ...}) = 0
mmap(NULL, 2785456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fcc58779000
mprotect(0x7fcc58806000, 2093056, PROT_NONE) = 0
mmap(0x7fcc58a05000, 118784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8c000) = 0x7fcc58a05000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc58777000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fcc58774000
arch_prctl(ARCH_SET_FS, 0x7fcc58774740) = 0
mprotect(0x7fcc59052000, 16384, PROT_READ) = 0
mprotect(0x7fcc58e52000, 4096, PROT_READ) = 0
mprotect(0x7fcc59210000, 4096, PROT_READ) = 0
mprotect(0x7fcc58c4b000, 4096, PROT_READ) = 0
mprotect(0x7fcc58a05000, 114688, PROT_READ) = 0
mprotect(0x7fcc58e90000, 4096, PROT_READ) = 0
mprotect(0x7fcc59076000, 4096, PROT_READ) = 0
mprotect(0x7fcc59404000, 53248, PROT_READ) = 0
mprotect(0x7fcc594cc000, 4096, PROT_READ) = 0
mprotect(0x7fcc59548000, 12288, PROT_READ) = 0
mprotect(0x7fcc59587000, 8192, PROT_READ) = 0
mprotect(0x55779e72f000, 4096, PROT_READ) = 0
mprotect(0x7fcc595b3000, 4096, PROT_READ) = 0
munmap(0x7fcc59418000, 621078)          = 0
set_tid_address(0x7fcc58774a10)         = 21460
set_robust_list(0x7fcc58774a20, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7fcc594b6650, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7fcc594c4ae0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7fcc594b6700, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fcc594c4ae0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL)                               = 0x55779e736000
brk(0x55779e757000)                     = 0x55779e757000
openat(AT_FDCWD, "/home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
write(1, "Generating resource file /home/r"..., 89Generating resource file /home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp
) = 89
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
openat(AT_FDCWD, "/home/rt/work/lsp-plugins-devel/res/ui", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=320, ...}) = 0
getdents(4, /* 12 entries */, 32768)    = 360
getdents(4, /* 0 entries */, 32768)     = 0
close(4)                                = 0

NOW

make clean
make BUILD_PROFILE=i586
.
.
.
Generating XML resources
Generating resource file /home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp
/home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp:28:3: error: expected primary-expression before ‘;’ token
   ;
   ^
make[1]: *** [Makefile:83: /home/rt/work/lsp-plugins-devel/.build/res_core.o] Error 1
make: *** [Makefile:145: compile] Error 2

/home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp contains
//------------------------------------------------------------------------------
// File:            /home/rt/work/lsp-plugins-devel/.build/src/res/xml_resource.cpp
// Description:     resource file containing parsed XML
// 
// This is auto-generated file, do not edit!
//------------------------------------------------------------------------------

#include <core/types.h>

// Control characters
#define X_TAG_CLOSE     "\xff"

#define X_SEPARATOR     "\0"

// String encoders
#define K(k)            k X_SEPARATOR
#define O(x, count)     count x
#define C(x)            X_TAG_CLOSE 
#define P(k, v)         k v 

// Resource definition
namespace lsp
{
    // XML Dictionary
    extern const char *xml_dictionary;

    const char *xml_dictionary =
        ;

    extern const resource_t xml_resources[] =
    {
        { NULL, NULL }
    };

}
sadko4u commented 5 years ago

It seems that the tool can not scan directory for files. What file system are you using for building? Is it a local file system? Anyway, I have idea how to try to fix it.

errtro commented 5 years ago

The file system is /dev/sda3 / reiserfs noatime,notail,user_xattr under gentoo linux kernel 5.0.1

sadko4u commented 5 years ago

Created github-issue-34 branch and made the following commit: 169d1b6b9914236fcc3884f09451db9c0862c08f

Please try to build from this branch. It seems that the tool relied on the d_type field of the dirent structure but for reiserfs it is DT_UNKNOWN, here's the text from manpage:

Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4)
have full support for returning the file type in d_type.
All applications must properly handle a return of DT_UNKNOWN.
errtro commented 5 years ago

branch github-issue-34 worked like a charm thank you very much for that quick fix kind regards

sadko4u commented 5 years ago

Merged changes to devel branch: 81f421a15f85aa3891dad0047eab2553b1e7dd94 Removed github-issue-34 branch.

sadko4u commented 5 years ago

All changes are available in the 1.1.7 release that was just published.