Back Midas Rome Roody Rootana
  Midas DAQ System, Page 124 of 142  Not logged in ELOG logo
ID Date Author Topicdown Subject
  2727   19 Mar 2024 Grzegorz NieradkaBug ReportMidas (manalyzer) + ROOT 6.31/01 - compilation error
Dear Konstantin,
Thank you for your interest in my problem.

What I did:
1. I installed the latest ROOT from source according tho the manual,
exactly as in this webpage (https://root.cern/install/).
ROOT sems work correctly, .demo from it is works and some example
file too. The manalyzer is not linking with this ROOT version installed from source.

2. I downgraded the ROOT to the lower version (6.30.04):
 git checkout -b v6-30-04 v6-30-04
ROOT seems compiled, installed and run correctly. The manalyzer,
from the MIDAS is not linked.

3. I downoladed the latest version of ROOT:
https://root.cern/download/root_v6.30.04.Linux-ubuntu22.04-x86_64-gcc11.4.tar.gz
and I installed it simple by tar: tar -xzvf root_...
   ------------------------------------------------------------------
  | Welcome to ROOT 6.30/04                        https://root.cern |
  | (c) 1995-2024, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Jan 31 2024, 10:01:37                 |
  | From heads/master@tags/v6-30-04                                  |
  | With c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0                   |
  | Try '.help'/'.?', '.demo', '.license', '.credits', '.quit'/'.q'  |
   ------------------------------------------------------------------
Again the ROOT sems work properly, the .demo from it is working, and example file
are working too. Manalyzer from MIDAS is failed to linking.

4. The midas with the option: cmake -D NO_ROOT=ON ..
is compliling, linking and even working.

5. When I try to build MIDAS with ROOT support threre is error:
[ 33%] Linking CXX executable manalyzer_test.exe
/usr/bin/ld: /home/astrocent/workspace/root/lib/libRIO.so: undefined reference to 
`std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30

I'm trying to attach files:
cmake-midas-root -> My configuration of compiling MIDAS with ROOT
make-cmake-midas  -> output of my the command make cmake in MIDAS directory
make-cmake-k -> output of my the command make cmake -k in MIDAS directory

And I'm stupid at this moment.
Regards, 
Grzegorz Nieradka
Attachment 1: cmake-midas-root
- MIDAS: cmake version: 3.22.1
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- MIDAS: Setting build type to 'RelWithDebInfo' as non was specified
-- MIDAS: Curent build type is 'RelWithDebInfo'
-- MIDAS: Disabled address sanitizer
-- MIDAS: CMAKE_INSTALL_PREFIX: /home/astrocent/workspace/packages/midas
-- Found Vdt: /home/astrocent/workspace/root/include (found version "0.4") 
-- MIDAS: Found ROOT version 6.30.04 in /home/astrocent/workspace/root
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- MIDAS: Found ZLIB version 1.2.11
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "7.81.0")  
-- MIDAS: Found LibCURL version 7.81.0
-- MIDAS: MBEDTLS not found
-- MIDAS: Found MySQL version 8.0.36
-- MIDAS: MySQL CFLAGS: -I/usr/include/mysql and libs: -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm
-- MIDAS: Found PostgreSQL version PostgreSQL 12.9
-- MIDAS: PostgresSQL include: /home/astrocent/anaconda3/include and libs: /home/astrocent/anaconda3/lib
-- MIDAS: ODBC not found
-- Could NOT find SQLite3 (missing: SQLite3_INCLUDE_DIR SQLite3_LIBRARY) 
-- MIDAS: SQLITE not found
-- MIDAS (msysmon): NVIDIA CUDA libs not found
-- MIDAS (msysmon): Found LM_SENSORS 
-- MIDAS (mlogger): OpenCV not found, (no rtsp camera support))
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found Git: /usr/bin/git (found version "2.34.1") 
-- MSCB: CMAKE_INSTALL_PREFIX: /home/astrocent/workspace/packages/midas
-- manalyzer: CMAKE_INSTALL_PREFIX: /home/astrocent/workspace/packages/midas
-- manalyzer: Building as a subproject of MIDAS
-- manalyzer: Using ROOT: flags: -std=c++17;-pipe;-fsigned-char;-pthread and includes: /home/astrocent/workspace/root/include
-- Found Python3: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter 
-- example_experiment: Building as a subproject of MIDAS
-- example_experiment: MIDASSYS: /home/astrocent/workspace/packages/midas
-- example_experiment: Using ROOT: flags: -std=c++17;-pipe;-fsigned-char;-pthread and includes: /home/astrocent/workspace/root/include
-- example_experiment: Found ROOT version 6.30.04
-- Configuring done
-- Generating done
-- Build files have been written to: /home/astrocent/workspace/packages/midas/build

Attachment 2: make-cmake-midas
astrocent@astrocent-desktop:~/workspace/packages/midas$ make cmake
mkdir -p build
cd build; cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_TARGET_MESSAGES=OFF; make --no-print-directory VERBOSE=1 all install | 2>&1 grep -v -e ^make -e ^Dependee -e cmake_depends -e ^Scanning -e cmake_link_script -e cmake_progress_start -e cmake_clean_target -e build.make
-- MIDAS: cmake version: 3.22.1
-- MIDAS: Setting build type to 'RelWithDebInfo' as non was specified
-- MIDAS: Curent build type is 'RelWithDebInfo'
-- MIDAS: Disabled address sanitizer
-- MIDAS: CMAKE_INSTALL_PREFIX: /home/astrocent/workspace/packages/midas
-- MIDAS: Found ROOT version 6.30.04 in /home/astrocent/workspace/root
-- MIDAS: Found ZLIB version 1.2.11
-- MIDAS: Found LibCURL version 7.81.0
-- MIDAS: MBEDTLS not found
-- MIDAS: Found MySQL version 8.0.36
-- MIDAS: MySQL CFLAGS: -I/usr/include/mysql and libs: -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm
-- MIDAS: Found PostgreSQL version PostgreSQL 12.9
-- MIDAS: PostgresSQL include: /home/astrocent/anaconda3/include and libs: /home/astrocent/anaconda3/lib
-- MIDAS: ODBC not found
-- Could NOT find SQLite3 (missing: SQLite3_INCLUDE_DIR SQLite3_LIBRARY) 
-- MIDAS: SQLITE not found
-- MIDAS (msysmon): NVIDIA CUDA libs not found
-- MIDAS (msysmon): Found LM_SENSORS 
-- MIDAS (mlogger): OpenCV not found, (no rtsp camera support))
-- MSCB: CMAKE_INSTALL_PREFIX: /home/astrocent/workspace/packages/midas
-- manalyzer: CMAKE_INSTALL_PREFIX: /home/astrocent/workspace/packages/midas
-- manalyzer: Building as a subproject of MIDAS
-- manalyzer: Using ROOT: flags: -std=c++17;-pipe;-fsigned-char;-pthread and includes: /home/astrocent/workspace/root/include
-- example_experiment: Building as a subproject of MIDAS
-- example_experiment: MIDASSYS: /home/astrocent/workspace/packages/midas
-- example_experiment: Using ROOT: flags: -std=c++17;-pipe;-fsigned-char;-pthread and includes: /home/astrocent/workspace/root/include
-- example_experiment: Found ROOT version 6.30.04
-- Configuring done
-- Generating done
-- Build files have been written to: /home/astrocent/workspace/packages/midas/build
/usr/bin/cmake -S/home/astrocent/workspace/packages/midas -B/home/astrocent/workspace/packages/midas/build --check-build-system CMakeFiles/Makefile.cmake 0
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E echo_append \#define\ GIT_REVISION\ \" > /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/git log -n 1 --pretty=format:"%ad" >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E echo_append \ -\  >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/git describe --abbrev=8 --tags --dirty | tr -d '\n' >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E echo_append \ on\ branch\  >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/git rev-parse --abbrev-ref HEAD | tr -d '\n' >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E echo \" >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E copy_if_different /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp /home/astrocent/workspace/packages/midas/include/git-revision.h
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E remove /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
Dependencies file "CMakeFiles/objlib.dir/src/tinyexpr.c.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/midasio/lz4.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/midasio/lz4frame.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/midasio/lz4hc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/midasio/midasio.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/midasio/xxhash.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mjson/mjson.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mscb/src/strlcpy.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mvodb/midasodb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mvodb/mjsonodb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mvodb/mvodb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mvodb/mxmlodb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mvodb/nullodb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mxml/mxml.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/alarm.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/crc32c.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/device_driver.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/elog.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/ftplib.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/history.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/history_common.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/history_image.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/history_odbc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/history_schema.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/json_paste.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/mdsupport.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/midas.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/mjsonrpc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/mjsonrpc_user.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/mrpc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/odb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/odbxx.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/sha256.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/sha512.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/system.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/tmfe.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target objlib
Dependencies file "CMakeFiles/objlib-c-compat.dir/src/midas_c_compat.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib-c-compat.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target objlib-c-compat
Dependencies file "CMakeFiles/mfe.dir/src/mfe.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/mfe.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target mfe
Dependencies file "CMakeFiles/mana.dir/src/mana.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/mana.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target mana
Dependencies file "CMakeFiles/rmana.dir/src/mana.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/rmana.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target rmana
Dependencies file "CMakeFiles/mfeo.dir/src/mfe.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/mfeo.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target mfeo
Dependencies file "CMakeFiles/manao.dir/src/mana.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/manao.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target manao
Dependencies file "CMakeFiles/rmanao.dir/src/mana.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/rmanao.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target rmanao
Dependencies file "mscb/CMakeFiles/msc.dir/mxml/mxml.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/msc.dir/src/cmdedit.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/msc.dir/src/msc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/msc.dir/src/mscb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/msc.dir/src/mscbrpc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/msc.dir/src/strlcpy.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target msc
Dependencies file "mscb/CMakeFiles/mscb.dir/mxml/mxml.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/mscb.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/mscb.dir/src/mscb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/mscb.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/mscb.dir/src/mscbrpc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/mscb.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/mscb.dir/src/strlcpy.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/mscb.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target mscb
Dependencies file "manalyzer/CMakeFiles/manalyzer.dir/manalyzer.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/manalyzer/CMakeFiles/manalyzer.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target manalyzer
Dependencies file "manalyzer/CMakeFiles/manalyzer_main.dir/manalyzer_main.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/manalyzer/CMakeFiles/manalyzer_main.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target manalyzer_main
Dependencies file "manalyzer/CMakeFiles/manalyzer_test.exe.dir/manalyzer_main.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/manalyzer/CMakeFiles/manalyzer_test.exe.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target manalyzer_test.exe
[  0%] Linking CXX executable manalyzer_test.exe
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/manalyzer_test.exe.dir/manalyzer_main.cxx.o -o manalyzer_test.exe  -Wl,-rpath,/home/astrocent/workspace/root/lib: libmanalyzer_main.a libmanalyzer.a ../libmidas.a -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl /home/astrocent/workspace/root/lib/libCore.so /home/astrocent/workspace/root/lib/libImt.so /home/astrocent/workspace/root/lib/libRIO.so /home/astrocent/workspace/root/lib/libNet.so /home/astrocent/workspace/root/lib/libHist.so /home/astrocent/workspace/root/lib/libGraf.so /home/astrocent/workspace/root/lib/libGraf3d.so /home/astrocent/workspace/root/lib/libGpad.so /home/astrocent/workspace/root/lib/libROOTDataFrame.so /home/astrocent/workspace/root/lib/libTree.so /home/astrocent/workspace/root/lib/libTreePlayer.so /home/astrocent/workspace/root/lib/libRint.so /home/astrocent/workspace/root/lib/libPostscript.so /home/astrocent/workspace/root/lib/libMatrix.so /home/astrocent/workspace/root/lib/libPhysics.so /home/astrocent/workspace/root/lib/libMathCore.so /home/astrocent/workspace/root/lib/libThread.so /home/astrocent/workspace/root/lib/libMultiProc.so /home/astrocent/workspace/root/lib/libROOTVecOps.so /home/astrocent/workspace/root/lib/libGui.so /home/astrocent/workspace/root/lib/libRHTTP.so /home/astrocent/workspace/root/lib/libXMLIO.so /home/astrocent/workspace/root/lib/libXMLParser.so /usr/lib/x86_64-linux-gnu/libz.so 
/usr/bin/ld: /home/astrocent/workspace/root/lib/libRIO.so: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
collect2: error: ld returned 1 exit status
make[3]: *** [manalyzer/CMakeFiles/manalyzer_test.exe.dir/build.make:124: manalyzer/manalyzer_test.exe] Error 1
make[2]: *** [CMakeFiles/Makefile2:766: manalyzer/CMakeFiles/manalyzer_test.exe.dir/all] Error 2
make[1]: *** [Makefile:136: all] Error 2

Attachment 3: make-cmake-k
astrocent@astrocent-desktop:~/workspace/packages/midas$ make cmake -k
mkdir -p build
cd build; cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_TARGET_MESSAGES=OFF; make --no-print-directory VERBOSE=1 all install | 2>&1 grep -v -e ^make -e ^Dependee -e cmake_depends -e ^Scanning -e cmake_link_script -e cmake_progress_start -e cmake_clean_target -e build.make
-- MIDAS: cmake version: 3.22.1
-- MIDAS: Setting build type to 'RelWithDebInfo' as non was specified
-- MIDAS: Curent build type is 'RelWithDebInfo'
-- MIDAS: Disabled address sanitizer
-- MIDAS: CMAKE_INSTALL_PREFIX: /home/astrocent/workspace/packages/midas
-- MIDAS: Found ROOT version 6.30.04 in /home/astrocent/workspace/root
-- MIDAS: Found ZLIB version 1.2.11
-- MIDAS: Found LibCURL version 7.81.0
-- MIDAS: MBEDTLS not found
-- MIDAS: Found MySQL version 8.0.36
-- MIDAS: MySQL CFLAGS: -I/usr/include/mysql and libs: -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm
-- MIDAS: Found PostgreSQL version PostgreSQL 12.9
-- MIDAS: PostgresSQL include: /home/astrocent/anaconda3/include and libs: /home/astrocent/anaconda3/lib
-- MIDAS: ODBC not found
-- Could NOT find SQLite3 (missing: SQLite3_INCLUDE_DIR SQLite3_LIBRARY) 
-- MIDAS: SQLITE not found
-- MIDAS (msysmon): NVIDIA CUDA libs not found
-- MIDAS (msysmon): Found LM_SENSORS 
-- MIDAS (mlogger): OpenCV not found, (no rtsp camera support))
-- MSCB: CMAKE_INSTALL_PREFIX: /home/astrocent/workspace/packages/midas
-- manalyzer: CMAKE_INSTALL_PREFIX: /home/astrocent/workspace/packages/midas
-- manalyzer: Building as a subproject of MIDAS
-- manalyzer: Using ROOT: flags: -std=c++17;-pipe;-fsigned-char;-pthread and includes: /home/astrocent/workspace/root/include
-- example_experiment: Building as a subproject of MIDAS
-- example_experiment: MIDASSYS: /home/astrocent/workspace/packages/midas
-- example_experiment: Using ROOT: flags: -std=c++17;-pipe;-fsigned-char;-pthread and includes: /home/astrocent/workspace/root/include
-- example_experiment: Found ROOT version 6.30.04
-- Configuring done
-- Generating done
-- Build files have been written to: /home/astrocent/workspace/packages/midas/build
/usr/bin/cmake -S/home/astrocent/workspace/packages/midas -B/home/astrocent/workspace/packages/midas/build --check-build-system CMakeFiles/Makefile.cmake 0
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E echo_append \#define\ GIT_REVISION\ \" > /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/git log -n 1 --pretty=format:"%ad" >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E echo_append \ -\  >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/git describe --abbrev=8 --tags --dirty | tr -d '\n' >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E echo_append \ on\ branch\  >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/git rev-parse --abbrev-ref HEAD | tr -d '\n' >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E echo \" >> /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E copy_if_different /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp /home/astrocent/workspace/packages/midas/include/git-revision.h
cd /home/astrocent/workspace/packages/midas/include && /usr/bin/cmake -E remove /home/astrocent/workspace/packages/midas/include/git-revision.h.tmp
Dependencies file "CMakeFiles/objlib.dir/src/tinyexpr.c.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/midasio/lz4.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/midasio/lz4frame.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/midasio/lz4hc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/midasio/midasio.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/midasio/xxhash.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mjson/mjson.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mscb/src/strlcpy.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mvodb/midasodb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mvodb/mjsonodb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mvodb/mvodb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mvodb/mxmlodb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mvodb/nullodb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/mxml/mxml.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/alarm.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/crc32c.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/device_driver.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/elog.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/ftplib.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/history.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/history_common.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/history_image.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/history_odbc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/history_schema.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/json_paste.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/mdsupport.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/midas.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/mjsonrpc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/mjsonrpc_user.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/mrpc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/odb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/odbxx.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/sha256.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/sha512.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/system.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Dependencies file "CMakeFiles/objlib.dir/src/tmfe.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target objlib
Dependencies file "CMakeFiles/objlib-c-compat.dir/src/midas_c_compat.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/objlib-c-compat.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target objlib-c-compat
Dependencies file "CMakeFiles/mfe.dir/src/mfe.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/mfe.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target mfe
Dependencies file "CMakeFiles/mana.dir/src/mana.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/mana.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target mana
Dependencies file "CMakeFiles/rmana.dir/src/mana.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/rmana.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target rmana
Dependencies file "CMakeFiles/mfeo.dir/src/mfe.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/mfeo.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target mfeo
Dependencies file "CMakeFiles/manao.dir/src/mana.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/manao.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target manao
Dependencies file "CMakeFiles/rmanao.dir/src/mana.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/CMakeFiles/rmanao.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target rmanao
Dependencies file "mscb/CMakeFiles/msc.dir/mxml/mxml.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/msc.dir/src/cmdedit.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/msc.dir/src/msc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/msc.dir/src/mscb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/msc.dir/src/mscbrpc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/msc.dir/src/strlcpy.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/msc.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target msc
Dependencies file "mscb/CMakeFiles/mscb.dir/mxml/mxml.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/mscb.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/mscb.dir/src/mscb.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/mscb.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/mscb.dir/src/mscbrpc.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/mscb.dir/compiler_depend.internal".
Dependencies file "mscb/CMakeFiles/mscb.dir/src/strlcpy.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/mscb/CMakeFiles/mscb.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target mscb
Dependencies file "manalyzer/CMakeFiles/manalyzer.dir/manalyzer.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/manalyzer/CMakeFiles/manalyzer.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target manalyzer
Dependencies file "manalyzer/CMakeFiles/manalyzer_main.dir/manalyzer_main.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/manalyzer/CMakeFiles/manalyzer_main.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target manalyzer_main
Dependencies file "manalyzer/CMakeFiles/manalyzer_test.exe.dir/manalyzer_main.cxx.o.d" is newer than depends file "/home/astrocent/workspace/packages/midas/build/manalyzer/CMakeFiles/manalyzer_test.exe.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target manalyzer_test.exe
[  0%] Linking CXX executable manalyzer_test.exe
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/manalyzer_test.exe.dir/manalyzer_main.cxx.o -o manalyzer_test.exe  -Wl,-rpath,/home/astrocent/workspace/root/lib: libmanalyzer_main.a libmanalyzer.a ../libmidas.a -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl /home/astrocent/workspace/root/lib/libCore.so /home/astrocent/workspace/root/lib/libImt.so /home/astrocent/workspace/root/lib/libRIO.so /home/astrocent/workspace/root/lib/libNet.so /home/astrocent/workspace/root/lib/libHist.so /home/astrocent/workspace/root/lib/libGraf.so /home/astrocent/workspace/root/lib/libGraf3d.so /home/astrocent/workspace/root/lib/libGpad.so /home/astrocent/workspace/root/lib/libROOTDataFrame.so /home/astrocent/workspace/root/lib/libTree.so /home/astrocent/workspace/root/lib/libTreePlayer.so /home/astrocent/workspace/root/lib/libRint.so /home/astrocent/workspace/root/lib/libPostscript.so /home/astrocent/workspace/root/lib/libMatrix.so /home/astrocent/workspace/root/lib/libPhysics.so /home/astrocent/workspace/root/lib/libMathCore.so /home/astrocent/workspace/root/lib/libThread.so /home/astrocent/workspace/root/lib/libMultiProc.so /home/astrocent/workspace/root/lib/libROOTVecOps.so /home/astrocent/workspace/root/lib/libGui.so /home/astrocent/workspace/root/lib/libRHTTP.so /home/astrocent/workspace/root/lib/libXMLIO.so /home/astrocent/workspace/root/lib/libXMLParser.so /usr/lib/x86_64-linux-gnu/libz.so 
/usr/bin/ld: /home/astrocent/workspace/root/lib/libRIO.so: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
collect2: error: ld returned 1 exit status
make[3]: *** [manalyzer/CMakeFiles/manalyzer_test.exe.dir/build.make:124: manalyzer/manalyzer_test.exe] Error 1
make[3]: Target 'manalyzer/CMakeFiles/manalyzer_test.exe.dir/build' not remade because of errors.
make[2]: *** [CMakeFiles/Makefile2:766: manalyzer/CMakeFiles/manalyzer_test.exe.dir/all] Error 2
[  1%] Building CXX object manalyzer/CMakeFiles/manalyzer_example_cxx.exe.dir/manalyzer_example_cxx.cxx.o
cd /home/astrocent/workspace/packages/midas/build/manalyzer && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MIDAS -DHAVE_MYSQL -DHAVE_PGSQL -DHAVE_ROOT_HTTP -DHAVE_THTTP_SERVER -DHAVE_TMFE -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/manalyzer -I/home/astrocent/workspace/root/include -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -I/home/astrocent/workspace/packages/midas/manalyzer/../mvodb -I/home/astrocent/workspace/packages/midas/manalyzer/../midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -O2 -g -std=c++17 -pipe -fsigned-char -pthread -DHAVE_ROOT -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT manalyzer/CMakeFiles/manalyzer_example_cxx.exe.dir/manalyzer_example_cxx.cxx.o -MF CMakeFiles/manalyzer_example_cxx.exe.dir/manalyzer_example_cxx.cxx.o.d -o CMakeFiles/manalyzer_example_cxx.exe.dir/manalyzer_example_cxx.cxx.o -c /home/astrocent/workspace/packages/midas/manalyzer/manalyzer_example_cxx.cxx
[  1%] Linking CXX executable manalyzer_example_cxx.exe
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/manalyzer_example_cxx.exe.dir/manalyzer_example_cxx.cxx.o -o manalyzer_example_cxx.exe  -Wl,-rpath,/home/astrocent/workspace/root/lib: libmanalyzer_main.a libmanalyzer.a ../libmidas.a -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl /home/astrocent/workspace/root/lib/libCore.so /home/astrocent/workspace/root/lib/libImt.so /home/astrocent/workspace/root/lib/libRIO.so /home/astrocent/workspace/root/lib/libNet.so /home/astrocent/workspace/root/lib/libHist.so /home/astrocent/workspace/root/lib/libGraf.so /home/astrocent/workspace/root/lib/libGraf3d.so /home/astrocent/workspace/root/lib/libGpad.so /home/astrocent/workspace/root/lib/libROOTDataFrame.so /home/astrocent/workspace/root/lib/libTree.so /home/astrocent/workspace/root/lib/libTreePlayer.so /home/astrocent/workspace/root/lib/libRint.so /home/astrocent/workspace/root/lib/libPostscript.so /home/astrocent/workspace/root/lib/libMatrix.so /home/astrocent/workspace/root/lib/libPhysics.so /home/astrocent/workspace/root/lib/libMathCore.so /home/astrocent/workspace/root/lib/libThread.so /home/astrocent/workspace/root/lib/libMultiProc.so /home/astrocent/workspace/root/lib/libROOTVecOps.so /home/astrocent/workspace/root/lib/libGui.so /home/astrocent/workspace/root/lib/libRHTTP.so /home/astrocent/workspace/root/lib/libXMLIO.so /home/astrocent/workspace/root/lib/libXMLParser.so /usr/lib/x86_64-linux-gnu/libz.so 
/usr/bin/ld: /home/astrocent/workspace/root/lib/libRIO.so: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
collect2: error: ld returned 1 exit status
make[3]: *** [manalyzer/CMakeFiles/manalyzer_example_cxx.exe.dir/build.make:124: manalyzer/manalyzer_example_cxx.exe] Error 1
make[3]: Target 'manalyzer/CMakeFiles/manalyzer_example_cxx.exe.dir/build' not remade because of errors.
make[2]: *** [CMakeFiles/Makefile2:793: manalyzer/CMakeFiles/manalyzer_example_cxx.exe.dir/all] Error 2
[  2%] Building CXX object manalyzer/CMakeFiles/manalyzer_example_flow.exe.dir/manalyzer_example_flow.cxx.o
cd /home/astrocent/workspace/packages/midas/build/manalyzer && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MIDAS -DHAVE_MYSQL -DHAVE_PGSQL -DHAVE_ROOT_HTTP -DHAVE_THTTP_SERVER -DHAVE_TMFE -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/manalyzer -I/home/astrocent/workspace/root/include -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -I/home/astrocent/workspace/packages/midas/manalyzer/../mvodb -I/home/astrocent/workspace/packages/midas/manalyzer/../midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -O2 -g -std=c++17 -pipe -fsigned-char -pthread -DHAVE_ROOT -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT manalyzer/CMakeFiles/manalyzer_example_flow.exe.dir/manalyzer_example_flow.cxx.o -MF CMakeFiles/manalyzer_example_flow.exe.dir/manalyzer_example_flow.cxx.o.d -o CMakeFiles/manalyzer_example_flow.exe.dir/manalyzer_example_flow.cxx.o -c /home/astrocent/workspace/packages/midas/manalyzer/manalyzer_example_flow.cxx
[  2%] Linking CXX executable manalyzer_example_flow.exe
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/manalyzer_example_flow.exe.dir/manalyzer_example_flow.cxx.o -o manalyzer_example_flow.exe  -Wl,-rpath,/home/astrocent/workspace/root/lib: libmanalyzer_main.a libmanalyzer.a ../libmidas.a -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl /home/astrocent/workspace/root/lib/libCore.so /home/astrocent/workspace/root/lib/libImt.so /home/astrocent/workspace/root/lib/libRIO.so /home/astrocent/workspace/root/lib/libNet.so /home/astrocent/workspace/root/lib/libHist.so /home/astrocent/workspace/root/lib/libGraf.so /home/astrocent/workspace/root/lib/libGraf3d.so /home/astrocent/workspace/root/lib/libGpad.so /home/astrocent/workspace/root/lib/libROOTDataFrame.so /home/astrocent/workspace/root/lib/libTree.so /home/astrocent/workspace/root/lib/libTreePlayer.so /home/astrocent/workspace/root/lib/libRint.so /home/astrocent/workspace/root/lib/libPostscript.so /home/astrocent/workspace/root/lib/libMatrix.so /home/astrocent/workspace/root/lib/libPhysics.so /home/astrocent/workspace/root/lib/libMathCore.so /home/astrocent/workspace/root/lib/libThread.so /home/astrocent/workspace/root/lib/libMultiProc.so /home/astrocent/workspace/root/lib/libROOTVecOps.so /home/astrocent/workspace/root/lib/libGui.so /home/astrocent/workspace/root/lib/libRHTTP.so /home/astrocent/workspace/root/lib/libXMLIO.so /home/astrocent/workspace/root/lib/libXMLParser.so /usr/lib/x86_64-linux-gnu/libz.so 
/usr/bin/ld: /home/astrocent/workspace/root/lib/libRIO.so: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
collect2: error: ld returned 1 exit status
make[3]: *** [manalyzer/CMakeFiles/manalyzer_example_flow.exe.dir/build.make:124: manalyzer/manalyzer_example_flow.exe] Error 1
make[3]: Target 'manalyzer/CMakeFiles/manalyzer_example_flow.exe.dir/build' not remade because of errors.
make[2]: *** [CMakeFiles/Makefile2:820: manalyzer/CMakeFiles/manalyzer_example_flow.exe.dir/all] Error 2
[  3%] Building CXX object manalyzer/CMakeFiles/manalyzer_example_flow_queue.exe.dir/manalyzer_example_flow_queue.cxx.o
cd /home/astrocent/workspace/packages/midas/build/manalyzer && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MIDAS -DHAVE_MYSQL -DHAVE_PGSQL -DHAVE_ROOT_HTTP -DHAVE_THTTP_SERVER -DHAVE_TMFE -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/manalyzer -I/home/astrocent/workspace/root/include -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -I/home/astrocent/workspace/packages/midas/manalyzer/../mvodb -I/home/astrocent/workspace/packages/midas/manalyzer/../midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -O2 -g -std=c++17 -pipe -fsigned-char -pthread -DHAVE_ROOT -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT manalyzer/CMakeFiles/manalyzer_example_flow_queue.exe.dir/manalyzer_example_flow_queue.cxx.o -MF CMakeFiles/manalyzer_example_flow_queue.exe.dir/manalyzer_example_flow_queue.cxx.o.d -o CMakeFiles/manalyzer_example_flow_queue.exe.dir/manalyzer_example_flow_queue.cxx.o -c /home/astrocent/workspace/packages/midas/manalyzer/manalyzer_example_flow_queue.cxx
[  3%] Linking CXX executable manalyzer_example_flow_queue.exe
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/manalyzer_example_flow_queue.exe.dir/manalyzer_example_flow_queue.cxx.o -o manalyzer_example_flow_queue.exe  -Wl,-rpath,/home/astrocent/workspace/root/lib: libmanalyzer_main.a libmanalyzer.a ../libmidas.a -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl /home/astrocent/workspace/root/lib/libCore.so /home/astrocent/workspace/root/lib/libImt.so /home/astrocent/workspace/root/lib/libRIO.so /home/astrocent/workspace/root/lib/libNet.so /home/astrocent/workspace/root/lib/libHist.so /home/astrocent/workspace/root/lib/libGraf.so /home/astrocent/workspace/root/lib/libGraf3d.so /home/astrocent/workspace/root/lib/libGpad.so /home/astrocent/workspace/root/lib/libROOTDataFrame.so /home/astrocent/workspace/root/lib/libTree.so /home/astrocent/workspace/root/lib/libTreePlayer.so /home/astrocent/workspace/root/lib/libRint.so /home/astrocent/workspace/root/lib/libPostscript.so /home/astrocent/workspace/root/lib/libMatrix.so /home/astrocent/workspace/root/lib/libPhysics.so /home/astrocent/workspace/root/lib/libMathCore.so /home/astrocent/workspace/root/lib/libThread.so /home/astrocent/workspace/root/lib/libMultiProc.so /home/astrocent/workspace/root/lib/libROOTVecOps.so /home/astrocent/workspace/root/lib/libGui.so /home/astrocent/workspace/root/lib/libRHTTP.so /home/astrocent/workspace/root/lib/libXMLIO.so /home/astrocent/workspace/root/lib/libXMLParser.so /usr/lib/x86_64-linux-gnu/libz.so 
/usr/bin/ld: /home/astrocent/workspace/root/lib/libRIO.so: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
collect2: error: ld returned 1 exit status
make[3]: *** [manalyzer/CMakeFiles/manalyzer_example_flow_queue.exe.dir/build.make:124: manalyzer/manalyzer_example_flow_queue.exe] Error 1
make[3]: Target 'manalyzer/CMakeFiles/manalyzer_example_flow_queue.exe.dir/build' not remade because of errors.
make[2]: *** [CMakeFiles/Makefile2:847: manalyzer/CMakeFiles/manalyzer_example_flow_queue.exe.dir/all] Error 2
[  4%] Building CXX object manalyzer/CMakeFiles/manalyzer_example_frontend.exe.dir/manalyzer_example_frontend.cxx.o
cd /home/astrocent/workspace/packages/midas/build/manalyzer && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MIDAS -DHAVE_MYSQL -DHAVE_PGSQL -DHAVE_ROOT_HTTP -DHAVE_THTTP_SERVER -DHAVE_TMFE -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/manalyzer -I/home/astrocent/workspace/root/include -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -I/home/astrocent/workspace/packages/midas/manalyzer/../mvodb -I/home/astrocent/workspace/packages/midas/manalyzer/../midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -O2 -g -std=c++17 -pipe -fsigned-char -pthread -DHAVE_ROOT -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT manalyzer/CMakeFiles/manalyzer_example_frontend.exe.dir/manalyzer_example_frontend.cxx.o -MF CMakeFiles/manalyzer_example_frontend.exe.dir/manalyzer_example_frontend.cxx.o.d -o CMakeFiles/manalyzer_example_frontend.exe.dir/manalyzer_example_frontend.cxx.o -c /home/astrocent/workspace/packages/midas/manalyzer/manalyzer_example_frontend.cxx
[  4%] Linking CXX executable manalyzer_example_frontend.exe
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/manalyzer_example_frontend.exe.dir/manalyzer_example_frontend.cxx.o -o manalyzer_example_frontend.exe  -Wl,-rpath,/home/astrocent/workspace/root/lib: libmanalyzer_main.a libmanalyzer.a ../libmidas.a -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl /home/astrocent/workspace/root/lib/libCore.so /home/astrocent/workspace/root/lib/libImt.so /home/astrocent/workspace/root/lib/libRIO.so /home/astrocent/workspace/root/lib/libNet.so /home/astrocent/workspace/root/lib/libHist.so /home/astrocent/workspace/root/lib/libGraf.so /home/astrocent/workspace/root/lib/libGraf3d.so /home/astrocent/workspace/root/lib/libGpad.so /home/astrocent/workspace/root/lib/libROOTDataFrame.so /home/astrocent/workspace/root/lib/libTree.so /home/astrocent/workspace/root/lib/libTreePlayer.so /home/astrocent/workspace/root/lib/libRint.so /home/astrocent/workspace/root/lib/libPostscript.so /home/astrocent/workspace/root/lib/libMatrix.so /home/astrocent/workspace/root/lib/libPhysics.so /home/astrocent/workspace/root/lib/libMathCore.so /home/astrocent/workspace/root/lib/libThread.so /home/astrocent/workspace/root/lib/libMultiProc.so /home/astrocent/workspace/root/lib/libROOTVecOps.so /home/astrocent/workspace/root/lib/libGui.so /home/astrocent/workspace/root/lib/libRHTTP.so /home/astrocent/workspace/root/lib/libXMLIO.so /home/astrocent/workspace/root/lib/libXMLParser.so /usr/lib/x86_64-linux-gnu/libz.so 
/usr/bin/ld: /home/astrocent/workspace/root/lib/libRIO.so: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
collect2: error: ld returned 1 exit status
make[3]: *** [manalyzer/CMakeFiles/manalyzer_example_frontend.exe.dir/build.make:124: manalyzer/manalyzer_example_frontend.exe] Error 1
make[3]: Target 'manalyzer/CMakeFiles/manalyzer_example_frontend.exe.dir/build' not remade because of errors.
make[2]: *** [CMakeFiles/Makefile2:874: manalyzer/CMakeFiles/manalyzer_example_frontend.exe.dir/all] Error 2
[  5%] Building CXX object manalyzer/CMakeFiles/manalyzer_example_root.exe.dir/manalyzer_example_root.cxx.o
cd /home/astrocent/workspace/packages/midas/build/manalyzer && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MIDAS -DHAVE_MYSQL -DHAVE_PGSQL -DHAVE_ROOT_HTTP -DHAVE_THTTP_SERVER -DHAVE_TMFE -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/manalyzer -I/home/astrocent/workspace/root/include -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -I/home/astrocent/workspace/packages/midas/manalyzer/../mvodb -I/home/astrocent/workspace/packages/midas/manalyzer/../midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -O2 -g -std=c++17 -pipe -fsigned-char -pthread -DHAVE_ROOT -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT manalyzer/CMakeFiles/manalyzer_example_root.exe.dir/manalyzer_example_root.cxx.o -MF CMakeFiles/manalyzer_example_root.exe.dir/manalyzer_example_root.cxx.o.d -o CMakeFiles/manalyzer_example_root.exe.dir/manalyzer_example_root.cxx.o -c /home/astrocent/workspace/packages/midas/manalyzer/manalyzer_example_root.cxx
[  5%] Linking CXX executable manalyzer_example_root.exe
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/manalyzer_example_root.exe.dir/manalyzer_example_root.cxx.o -o manalyzer_example_root.exe  -Wl,-rpath,/home/astrocent/workspace/root/lib: libmanalyzer_main.a libmanalyzer.a ../libmidas.a -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl /home/astrocent/workspace/root/lib/libCore.so /home/astrocent/workspace/root/lib/libImt.so /home/astrocent/workspace/root/lib/libRIO.so /home/astrocent/workspace/root/lib/libNet.so /home/astrocent/workspace/root/lib/libHist.so /home/astrocent/workspace/root/lib/libGraf.so /home/astrocent/workspace/root/lib/libGraf3d.so /home/astrocent/workspace/root/lib/libGpad.so /home/astrocent/workspace/root/lib/libROOTDataFrame.so /home/astrocent/workspace/root/lib/libTree.so /home/astrocent/workspace/root/lib/libTreePlayer.so /home/astrocent/workspace/root/lib/libRint.so /home/astrocent/workspace/root/lib/libPostscript.so /home/astrocent/workspace/root/lib/libMatrix.so /home/astrocent/workspace/root/lib/libPhysics.so /home/astrocent/workspace/root/lib/libMathCore.so /home/astrocent/workspace/root/lib/libThread.so /home/astrocent/workspace/root/lib/libMultiProc.so /home/astrocent/workspace/root/lib/libROOTVecOps.so /home/astrocent/workspace/root/lib/libGui.so /home/astrocent/workspace/root/lib/libRHTTP.so /home/astrocent/workspace/root/lib/libXMLIO.so /home/astrocent/workspace/root/lib/libXMLParser.so /usr/lib/x86_64-linux-gnu/libz.so 
/usr/bin/ld: /home/astrocent/workspace/root/lib/libRIO.so: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
collect2: error: ld returned 1 exit status
make[3]: *** [manalyzer/CMakeFiles/manalyzer_example_root.exe.dir/build.make:124: manalyzer/manalyzer_example_root.exe] Error 1
make[3]: Target 'manalyzer/CMakeFiles/manalyzer_example_root.exe.dir/build' not remade because of errors.
make[2]: *** [CMakeFiles/Makefile2:901: manalyzer/CMakeFiles/manalyzer_example_root.exe.dir/all] Error 2
[  6%] Building CXX object manalyzer/CMakeFiles/manalyzer_example_root_graphics.exe.dir/manalyzer_example_root_graphics.cxx.o
cd /home/astrocent/workspace/packages/midas/build/manalyzer && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MIDAS -DHAVE_MYSQL -DHAVE_PGSQL -DHAVE_ROOT_HTTP -DHAVE_THTTP_SERVER -DHAVE_TMFE -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/manalyzer -I/home/astrocent/workspace/root/include -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -I/home/astrocent/workspace/packages/midas/manalyzer/../mvodb -I/home/astrocent/workspace/packages/midas/manalyzer/../midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -O2 -g -std=c++17 -pipe -fsigned-char -pthread -DHAVE_ROOT -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT manalyzer/CMakeFiles/manalyzer_example_root_graphics.exe.dir/manalyzer_example_root_graphics.cxx.o -MF CMakeFiles/manalyzer_example_root_graphics.exe.dir/manalyzer_example_root_graphics.cxx.o.d -o CMakeFiles/manalyzer_example_root_graphics.exe.dir/manalyzer_example_root_graphics.cxx.o -c /home/astrocent/workspace/packages/midas/manalyzer/manalyzer_example_root_graphics.cxx
[  6%] Linking CXX executable manalyzer_example_root_graphics.exe
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/manalyzer_example_root_graphics.exe.dir/manalyzer_example_root_graphics.cxx.o -o manalyzer_example_root_graphics.exe  -Wl,-rpath,/home/astrocent/workspace/root/lib: libmanalyzer_main.a libmanalyzer.a ../libmidas.a -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl /home/astrocent/workspace/root/lib/libCore.so /home/astrocent/workspace/root/lib/libImt.so /home/astrocent/workspace/root/lib/libRIO.so /home/astrocent/workspace/root/lib/libNet.so /home/astrocent/workspace/root/lib/libHist.so /home/astrocent/workspace/root/lib/libGraf.so /home/astrocent/workspace/root/lib/libGraf3d.so /home/astrocent/workspace/root/lib/libGpad.so /home/astrocent/workspace/root/lib/libROOTDataFrame.so /home/astrocent/workspace/root/lib/libTree.so /home/astrocent/workspace/root/lib/libTreePlayer.so /home/astrocent/workspace/root/lib/libRint.so /home/astrocent/workspace/root/lib/libPostscript.so /home/astrocent/workspace/root/lib/libMatrix.so /home/astrocent/workspace/root/lib/libPhysics.so /home/astrocent/workspace/root/lib/libMathCore.so /home/astrocent/workspace/root/lib/libThread.so /home/astrocent/workspace/root/lib/libMultiProc.so /home/astrocent/workspace/root/lib/libROOTVecOps.so /home/astrocent/workspace/root/lib/libGui.so /home/astrocent/workspace/root/lib/libRHTTP.so /home/astrocent/workspace/root/lib/libXMLIO.so /home/astrocent/workspace/root/lib/libXMLParser.so /usr/lib/x86_64-linux-gnu/libz.so 
/usr/bin/ld: /home/astrocent/workspace/root/lib/libRIO.so: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'
collect2: error: ld returned 1 exit status
make[3]: *** [manalyzer/CMakeFiles/manalyzer_example_root_graphics.exe.dir/build.make:124: manalyzer/manalyzer_example_root_graphics.exe] Error 1
make[3]: Target 'manalyzer/CMakeFiles/manalyzer_example_root_graphics.exe.dir/build' not remade because of errors.
make[2]: *** [CMakeFiles/Makefile2:928: manalyzer/CMakeFiles/manalyzer_example_root_graphics.exe.dir/all] Error 2
[  7%] Building CXX object progs/CMakeFiles/mserver.dir/mserver.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mserver.dir/mserver.cxx.o -MF CMakeFiles/mserver.dir/mserver.cxx.o.d -o CMakeFiles/mserver.dir/mserver.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mserver.cxx
[  7%] Linking CXX executable mserver
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mserver.dir/mserver.cxx.o -o mserver  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[  7%] Building CXX object progs/CMakeFiles/mlogger.dir/mlogger.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mlogger.dir/mlogger.cxx.o -MF CMakeFiles/mlogger.dir/mlogger.cxx.o.d -o CMakeFiles/mlogger.dir/mlogger.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mlogger.cxx
[  8%] Linking CXX executable mlogger
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mlogger.dir/mlogger.cxx.o -o mlogger  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[  9%] Building CXX object progs/CMakeFiles/mhist.dir/mhist.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mhist.dir/mhist.cxx.o -MF CMakeFiles/mhist.dir/mhist.cxx.o.d -o CMakeFiles/mhist.dir/mhist.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mhist.cxx
[  9%] Linking CXX executable mhist
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mhist.dir/mhist.cxx.o -o mhist  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 10%] Building CXX object progs/CMakeFiles/mstat.dir/mstat.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mstat.dir/mstat.cxx.o -MF CMakeFiles/mstat.dir/mstat.cxx.o.d -o CMakeFiles/mstat.dir/mstat.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mstat.cxx
[ 10%] Linking CXX executable mstat
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mstat.dir/mstat.cxx.o -o mstat  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 10%] Building CXX object progs/CMakeFiles/mdump.dir/mdump.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mdump.dir/mdump.cxx.o -MF CMakeFiles/mdump.dir/mdump.cxx.o.d -o CMakeFiles/mdump.dir/mdump.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mdump.cxx
[ 11%] Linking CXX executable mdump
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mdump.dir/mdump.cxx.o -o mdump  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 11%] Building CXX object progs/CMakeFiles/mtransition.dir/mtransition.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mtransition.dir/mtransition.cxx.o -MF CMakeFiles/mtransition.dir/mtransition.cxx.o.d -o CMakeFiles/mtransition.dir/mtransition.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mtransition.cxx
[ 12%] Linking CXX executable mtransition
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mtransition.dir/mtransition.cxx.o -o mtransition  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 13%] Building CXX object progs/CMakeFiles/mhdump.dir/mhdump.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mhdump.dir/mhdump.cxx.o -MF CMakeFiles/mhdump.dir/mhdump.cxx.o.d -o CMakeFiles/mhdump.dir/mhdump.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mhdump.cxx
[ 13%] Linking CXX executable mhdump
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mhdump.dir/mhdump.cxx.o -o mhdump  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 13%] Building CXX object progs/CMakeFiles/odbhist.dir/odbhist.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/odbhist.dir/odbhist.cxx.o -MF CMakeFiles/odbhist.dir/odbhist.cxx.o.d -o CMakeFiles/odbhist.dir/odbhist.cxx.o -c /home/astrocent/workspace/packages/midas/progs/odbhist.cxx
[ 14%] Linking CXX executable odbhist
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/odbhist.dir/odbhist.cxx.o -o odbhist  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 14%] Building CXX object progs/CMakeFiles/melog.dir/melog.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/melog.dir/melog.cxx.o -MF CMakeFiles/melog.dir/melog.cxx.o.d -o CMakeFiles/melog.dir/melog.cxx.o -c /home/astrocent/workspace/packages/midas/progs/melog.cxx
[ 15%] Linking CXX executable melog
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/melog.dir/melog.cxx.o -o melog  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 16%] Building CXX object progs/CMakeFiles/mh2sql.dir/mh2sql.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mh2sql.dir/mh2sql.cxx.o -MF CMakeFiles/mh2sql.dir/mh2sql.cxx.o.d -o CMakeFiles/mh2sql.dir/mh2sql.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mh2sql.cxx
[ 16%] Linking CXX executable mh2sql
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mh2sql.dir/mh2sql.cxx.o -o mh2sql  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 17%] Building CXX object progs/CMakeFiles/hwtest.dir/hwtest.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/hwtest.dir/hwtest.cxx.o -MF CMakeFiles/hwtest.dir/hwtest.cxx.o.d -o CMakeFiles/hwtest.dir/hwtest.cxx.o -c /home/astrocent/workspace/packages/midas/progs/hwtest.cxx
[ 17%] Linking CXX executable hwtest
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/hwtest.dir/hwtest.cxx.o -o hwtest  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 17%] Building CXX object progs/CMakeFiles/tmfe_example.dir/tmfe_example.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/tmfe_example.dir/tmfe_example.cxx.o -MF CMakeFiles/tmfe_example.dir/tmfe_example.cxx.o.d -o CMakeFiles/tmfe_example.dir/tmfe_example.cxx.o -c /home/astrocent/workspace/packages/midas/progs/tmfe_example.cxx
[ 18%] Linking CXX executable tmfe_example
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/tmfe_example.dir/tmfe_example.cxx.o -o tmfe_example  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 18%] Building CXX object progs/CMakeFiles/tmfe_example_multithread.dir/tmfe_example_multithread.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/tmfe_example_multithread.dir/tmfe_example_multithread.cxx.o -MF CMakeFiles/tmfe_example_multithread.dir/tmfe_example_multithread.cxx.o.d -o CMakeFiles/tmfe_example_multithread.dir/tmfe_example_multithread.cxx.o -c /home/astrocent/workspace/packages/midas/progs/tmfe_example_multithread.cxx
[ 19%] Linking CXX executable tmfe_example_multithread
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/tmfe_example_multithread.dir/tmfe_example_multithread.cxx.o -o tmfe_example_multithread  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 19%] Building CXX object progs/CMakeFiles/tmfe_example_everything.dir/tmfe_example_everything.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/tmfe_example_everything.dir/tmfe_example_everything.cxx.o -MF CMakeFiles/tmfe_example_everything.dir/tmfe_example_everything.cxx.o.d -o CMakeFiles/tmfe_example_everything.dir/tmfe_example_everything.cxx.o -c /home/astrocent/workspace/packages/midas/progs/tmfe_example_everything.cxx
[ 20%] Linking CXX executable tmfe_example_everything
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/tmfe_example_everything.dir/tmfe_example_everything.cxx.o -o tmfe_example_everything  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 20%] Building CXX object progs/CMakeFiles/tmfe_example_frontend.dir/tmfe_example_frontend.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/tmfe_example_frontend.dir/tmfe_example_frontend.cxx.o -MF CMakeFiles/tmfe_example_frontend.dir/tmfe_example_frontend.cxx.o.d -o CMakeFiles/tmfe_example_frontend.dir/tmfe_example_frontend.cxx.o -c /home/astrocent/workspace/packages/midas/progs/tmfe_example_frontend.cxx
[ 21%] Linking CXX executable tmfe_example_frontend
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/tmfe_example_frontend.dir/tmfe_example_frontend.cxx.o -o tmfe_example_frontend  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 21%] Building CXX object progs/CMakeFiles/tmfe_example_indexed.dir/tmfe_example_indexed.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/tmfe_example_indexed.dir/tmfe_example_indexed.cxx.o -MF CMakeFiles/tmfe_example_indexed.dir/tmfe_example_indexed.cxx.o.d -o CMakeFiles/tmfe_example_indexed.dir/tmfe_example_indexed.cxx.o -c /home/astrocent/workspace/packages/midas/progs/tmfe_example_indexed.cxx
[ 22%] Linking CXX executable tmfe_example_indexed
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/tmfe_example_indexed.dir/tmfe_example_indexed.cxx.o -o tmfe_example_indexed  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 22%] Building CXX object progs/CMakeFiles/fetest.dir/fetest.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/fetest.dir/fetest.cxx.o -MF CMakeFiles/fetest.dir/fetest.cxx.o.d -o CMakeFiles/fetest.dir/fetest.cxx.o -c /home/astrocent/workspace/packages/midas/progs/fetest.cxx
[ 23%] Linking CXX executable fetest
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/fetest.dir/fetest.cxx.o -o fetest  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 23%] Building CXX object progs/CMakeFiles/test_sleep.dir/test_sleep.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/test_sleep.dir/test_sleep.cxx.o -MF CMakeFiles/test_sleep.dir/test_sleep.cxx.o.d -o CMakeFiles/test_sleep.dir/test_sleep.cxx.o -c /home/astrocent/workspace/packages/midas/progs/test_sleep.cxx
[ 24%] Linking CXX executable test_sleep
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/test_sleep.dir/test_sleep.cxx.o -o test_sleep  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 24%] Building CXX object progs/CMakeFiles/crc32c_sum.dir/crc32c_sum.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/crc32c_sum.dir/crc32c_sum.cxx.o -MF CMakeFiles/crc32c_sum.dir/crc32c_sum.cxx.o.d -o CMakeFiles/crc32c_sum.dir/crc32c_sum.cxx.o -c /home/astrocent/workspace/packages/midas/progs/crc32c_sum.cxx
[ 25%] Linking CXX executable crc32c_sum
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/crc32c_sum.dir/crc32c_sum.cxx.o -o crc32c_sum  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 26%] Building CXX object progs/CMakeFiles/lazylogger.dir/lazylogger.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/lazylogger.dir/lazylogger.cxx.o -MF CMakeFiles/lazylogger.dir/lazylogger.cxx.o.d -o CMakeFiles/lazylogger.dir/lazylogger.cxx.o -c /home/astrocent/workspace/packages/midas/progs/lazylogger.cxx
[ 26%] Linking CXX executable lazylogger
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/lazylogger.dir/lazylogger.cxx.o -o lazylogger  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 26%] Building CXX object progs/CMakeFiles/odbinit.dir/odbinit.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/odbinit.dir/odbinit.cxx.o -MF CMakeFiles/odbinit.dir/odbinit.cxx.o.d -o CMakeFiles/odbinit.dir/odbinit.cxx.o -c /home/astrocent/workspace/packages/midas/progs/odbinit.cxx
[ 27%] Linking CXX executable odbinit
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/odbinit.dir/odbinit.cxx.o -o odbinit  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 27%] Building CXX object progs/CMakeFiles/mchart.dir/mchart.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mchart.dir/mchart.cxx.o -MF CMakeFiles/mchart.dir/mchart.cxx.o.d -o CMakeFiles/mchart.dir/mchart.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mchart.cxx
[ 28%] Linking CXX executable mchart
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mchart.dir/mchart.cxx.o -o mchart  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 28%] Building CXX object progs/CMakeFiles/mjson_test.dir/mjson_test.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mjson_test.dir/mjson_test.cxx.o -MF CMakeFiles/mjson_test.dir/mjson_test.cxx.o.d -o CMakeFiles/mjson_test.dir/mjson_test.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mjson_test.cxx
[ 29%] Linking CXX executable mjson_test
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mjson_test.dir/mjson_test.cxx.o -o mjson_test  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 30%] Building CXX object progs/CMakeFiles/get_record_test.dir/get_record_test.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/get_record_test.dir/get_record_test.cxx.o -MF CMakeFiles/get_record_test.dir/get_record_test.cxx.o.d -o CMakeFiles/get_record_test.dir/get_record_test.cxx.o -c /home/astrocent/workspace/packages/midas/progs/get_record_test.cxx
[ 30%] Linking CXX executable get_record_test
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/get_record_test.dir/get_record_test.cxx.o -o get_record_test  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 31%] Building CXX object progs/CMakeFiles/odb_lock_test.dir/odb_lock_test.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/odb_lock_test.dir/odb_lock_test.cxx.o -MF CMakeFiles/odb_lock_test.dir/odb_lock_test.cxx.o.d -o CMakeFiles/odb_lock_test.dir/odb_lock_test.cxx.o -c /home/astrocent/workspace/packages/midas/progs/odb_lock_test.cxx
[ 31%] Linking CXX executable odb_lock_test
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/odb_lock_test.dir/odb_lock_test.cxx.o -o odb_lock_test  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 31%] Building CXX object progs/CMakeFiles/mfe_link_test.dir/mfe_link_test.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mfe_link_test.dir/mfe_link_test.cxx.o -MF CMakeFiles/mfe_link_test.dir/mfe_link_test.cxx.o.d -o CMakeFiles/mfe_link_test.dir/mfe_link_test.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mfe_link_test.cxx
[ 32%] Linking CXX executable mfe_link_test
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mfe_link_test.dir/mfe_link_test.cxx.o -o mfe_link_test  ../libmfe.a ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 32%] Building CXX object progs/CMakeFiles/mfe_link_test_cxx.dir/mfe_link_test_cxx.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/mfe_link_test_cxx.dir/mfe_link_test_cxx.cxx.o -MF CMakeFiles/mfe_link_test_cxx.dir/mfe_link_test_cxx.cxx.o.d -o CMakeFiles/mfe_link_test_cxx.dir/mfe_link_test_cxx.cxx.o -c /home/astrocent/workspace/packages/midas/progs/mfe_link_test_cxx.cxx
[ 33%] Linking CXX executable mfe_link_test_cxx
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/mfe_link_test_cxx.dir/mfe_link_test_cxx.cxx.o -o mfe_link_test_cxx  ../libmfe.a ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 33%] Building CXX object progs/CMakeFiles/feudp.dir/feudp.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/feudp.dir/feudp.cxx.o -MF CMakeFiles/feudp.dir/feudp.cxx.o.d -o CMakeFiles/feudp.dir/feudp.cxx.o -c /home/astrocent/workspace/packages/midas/progs/feudp.cxx
[ 34%] Linking CXX executable feudp
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/feudp.dir/feudp.cxx.o -o feudp  ../libmfe.a ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 35%] Building CXX object progs/CMakeFiles/msysmon.dir/msysmon.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/msysmon.dir/msysmon.cxx.o -MF CMakeFiles/msysmon.dir/msysmon.cxx.o.d -o CMakeFiles/msysmon.dir/msysmon.cxx.o -c /home/astrocent/workspace/packages/midas/progs/msysmon.cxx
[ 35%] Linking CXX executable msysmon
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/msysmon.dir/msysmon.cxx.o -o msysmon  ../libmfe.a ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 36%] Building CXX object progs/CMakeFiles/msequencer.dir/msequencer.cxx.o
cd /home/astrocent/workspace/packages/midas/build/progs && /usr/bin/c++ -DHAVE_CURL -DHAVE_FTPLIB -DHAVE_MYSQL -DHAVE_PGSQL -D_LARGEFILE64_SOURCE -I/home/astrocent/workspace/packages/midas/include -I/home/astrocent/workspace/packages/midas/mxml -I/home/astrocent/workspace/packages/midas/mscb/include -I/home/astrocent/workspace/packages/midas/mjson -I/home/astrocent/workspace/packages/midas/mvodb -I/home/astrocent/workspace/packages/midas/midasio -O2 -g -DNDEBUG -Wall -Wformat=2 -Wno-format-nonliteral -Wno-strict-aliasing -Wuninitialized -Wno-unused-function -I/usr/include/mysql -I/home/astrocent/anaconda3/include -MD -MT progs/CMakeFiles/msequencer.dir/msequencer.cxx.o -MF CMakeFiles/msequencer.dir/msequencer.cxx.o.d -o CMakeFiles/msequencer.dir/msequencer.cxx.o -c /home/astrocent/workspace/packages/midas/progs/msequencer.cxx
[ 36%] Linking CXX executable msequencer
/usr/bin/c++ -O2 -g -DNDEBUG CMakeFiles/msequencer.dir/msequencer.cxx.o -o msequencer  ../libmidas.a /usr/lib/x86_64-linux-gnu/libz.so -lcurl -L/usr/lib/x86_64-linux-gnu -lmysqlclient -lzstd -lssl -lcrypto -lresolv -lm -L/home/astrocent/anaconda3/lib -lpq -lutil -lrt -ldl 
[ 37%] Building CXX object progs/CMakeFiles/msysmon-lmsensors.dir/msysmon.cxx.o
... 188 more lines ...
  2728   19 Mar 2024 Konstantin OlchanskiBug ReportMidas (manalyzer) + ROOT 6.31/01 - compilation error
ok, thank you for your information. I cannot reproduce this problem, I use vanilla Ubuntu 
LTS 22, ROOT binary kit root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4 from root.cern.ch 
and latest midas from git.

something is wrong with your ubuntu or with your c++ standard library or with your ROOT.

a) can you try with root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4 from root.cern.ch
b) for the midas build, please run "make cclean; make cmake -k" and email me (or post 
here) the complete output.

K.O.
  2729   19 Mar 2024 Konstantin OlchanskiBug ReportMidas (manalyzer) + ROOT 6.31/01 - compilation error
> ok, thank you for your information. I cannot reproduce this problem, I use vanilla Ubuntu 
> LTS 22, ROOT binary kit root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4 from root.cern.ch 
> and latest midas from git.
> 
> something is wrong with your ubuntu or with your c++ standard library or with your ROOT.
> 
> a) can you try with root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4 from root.cern.ch
> b) for the midas build, please run "make cclean; make cmake -k" and email me (or post 
> here) the complete output.

also, please email me the output of these commands on your machine:

daq00:midas$ ls -l /lib/x86_64-linux-gnu/libstdc++*
lrwxrwxrwx 1 root root      19 May 13  2023 /lib/x86_64-linux-gnu/libstdc++.so.6 -> libstdc++.so.6.0.30
-rw-r--r-- 1 root root 2260296 May 13  2023 /lib/x86_64-linux-gnu/libstdc++.so.6.0.30
daq00:midas$ 

and

daq00:midas$ ldd $ROOTSYS/bin/rootreadspeed 
	linux-vdso.so.1 (0x00007ffe6c399000)
	libTree.so => /daq/cern_root/root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4/lib/libTree.so (0x00007f67e53b5000)
	libRIO.so => /daq/cern_root/root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4/lib/libRIO.so (0x00007f67e4fb9000)
	libCore.so => /daq/cern_root/root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4/lib/libCore.so (0x00007f67e4b08000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f67e48bd000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f67e489b000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f67e4672000)
	libNet.so => /daq/cern_root/root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4/lib/libNet.so (0x00007f67e458b000)
	libThread.so => /daq/cern_root/root_v6.30.02.Linux-ubuntu22.04-x86_64-gcc11.4/lib/libThread.so (0x00007f67e4533000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f67e444c000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f67e5599000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f67e43d6000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f67e43b8000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f67e438d000)
	libxxhash.so.0 => /lib/x86_64-linux-gnu/libxxhash.so.0 (0x00007f67e4378000)
	liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f67e4358000)
	libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x00007f67e4289000)
	libssl.so.3 => /lib/x86_64-linux-gnu/libssl.so.3 (0x00007f67e41e3000)
	libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x00007f67e3d9f000)
daq00:midas$ 

K.O.
  2730   28 Mar 2024 Grzegorz NieradkaBug ReportMidas (manalyzer) + ROOT 6.31/01 - compilation error
I found solution for my trouble. With MIDAS and ROOT everything is OK,
the trobule was with my Ubuntu enviroment.

In this case the trobule was caused by earlier installed anaconda and hardcoded path
to anaconda libs folder in PATH enviroment variable.

In anaconda lib folder I have the libstdc++.so.6.0.29 and the hardcoded path
to this folder was added during the linking, by ld program, after the standard path location 
of libstdc++.

So the linker tried to link to this version of libstdc++.

When I removed the path for anaconda libs from enviroment and the standard libs location 
is /usr/lib/x86_64-linux-gnu/ and I have the libstdc++.so.6.0.32 version
of  stdc++ library everything is compiling and linking smoothly without any errors.

Additionaly, everything works smoothly even with the newest ROOT version 6.30/04 compiled
from source.

Thanks for help.

BTW. I would like to take this opportunity to wish everyone a happy Easter and tasty eggs!

Regards,
Grzegorz Nieradka
  2734   02 Apr 2024 Konstantin OlchanskiBug ReportMidas (manalyzer) + ROOT 6.31/01 - compilation error
> I found solution for my trouble. With MIDAS and ROOT everything is OK,
> the trobule was with my Ubuntu enviroment.

Congratulations with figuring this out.

BTW, this is the 2nd case of contaminated linker environment I run into in the last 30 days. We 
just had a problem of "cannot link MIDAS with ROOT" (resolving by "make cmake NO_ROOT=1 NO_CURL=1 
NO_MYSQL=1").

This all seems to be a flaw in cmake, it reports "found ROOT at XXX", "found CURL at YYY", "found 
MYSQL at ZZZ", then proceeds to link ROOT, CURL and MYSQL libraries from somewhere else, 
resulting in shared library version mismatch.

With normal Makefiles, this is fixable by changing the link command from:

g++ -o rmlogger ... -LAAA/lib -LXXX/lib -LYYY/lib -lcurl -lmysql -lROOT

into explicit

g++ -o rmlogger ... -LAAA/lib XXX/lib/libcurl.a YYY/lib/libmysql.a ...

defeating the bogus CURL and MYSQL libraries in AAA.

With cmake, I do not think it is possible to make this transformation.

Maybe it is possible to add a cmake rules to at least detect this situation, i.e. compare library 
paths reported by "ldd rmlogger" to those found and expected by cmake.

K.O.
  2736   15 Apr 2024 Konstantin OlchanskiBug Reportopen MIDAS RPC ports
we had a bit of trouble with open network ports recently and I now think security of MIDAS RPC 
ports needs to be tightened.

TL;DR, this is a non-trivial network configuration problem, TL required, DR up to you.

as background, right now we have two settings in ODB, "/expt/security/enable non-localhost 
RPC" set to "no" (the default) and set to "yes". Set to "no" is very secure, all RPC sockets 
listen only on the "localhost" interface (127.0.0.1) and do not accept connections from other 
computers. Set to "yes", RPC sockets accept connections from everywhere in the world, but 
immediately close them without reading any data unless connection origins are listed in ODB 
"/expt/security/RPC hosts" (white-listed).

the problem, one. for security and robustness we place most equipments on a private network 
(192.168.1.x). MIDAS frontends running on these equipments must connect to MIDAS running on 
the main computer. This requires setting "enable non-localhost RPC" to "yes" and white-listing 
all private network equipments. so far so good.

the problem, one, continued. in this configuration, the MIDAS main computer is usually also 
the network gateway (with NAT, IP forwarding, DHCP, DNS, etc). so now MIDAS RPC ports are open 
to all external connections (in the absence of restrictive firewall rules). one would hope for 
security-through-obscurity and expect that "external threat actors" will try to bother them, 
but in reality we eventually see large numbers of rejected unwanted connections logged in 
midas.log (we log the first 10 rejected connections to help with maintaining the RPC 
connections white-list).

the problem, two. central IT do not like open network ports. they run their scanners, discover 
the MIDAS RPC ports, complain about them, require lengthy explanations, etc.

it would be much better if in the typical configuration, MIDAS RPC ports did not listen on 
external interfaces (campus network). only listen on localhost and on private network 
interfaces (192.168.1.x).

I am not yet of the simplest way to implement this. But I think this is the direction we 
should go.

P.S. what about firewall rules? two problems: one: from statistic-of-one, I make mistakes 
writing firewall rules, others also will make mistakes, a literally fool-proof protection of 
MIDAS RPC ports is needed. two: RHEL-derived Linuxes by-default have restrictive firewall 
rules, and this is good for security, except that there is a failure mode where at boot time 
something can go wrong and firewall rules are not loaded at all. we have seen this happen. 
this is a complete disaster on a system that depends on firewall rules for security. better to 
have secure applications (TCP ports protected by design and by app internals) with firewall 
rules providing a secondary layer of protection.

P.P.S. what about MIDAS frontend initial connection to the mserver? this is currently very 
insecure, but the vulnerability window is very small. Ideally we should rework the mserver 
connection to make it simpler, more secure and compatible with SSH tunneling.

P.P.S. Typical network diagram:

internet - campus firewall - campus network - MIDAS host (MIDAS) - 192.168.1.x network - power 
supplies, digitizers, MIDAS frontends.

P.P.S. mserver connection sequence:

1) midas frontend opens 3 tcp sockets, connections permitted from anywhere
2) midas frontend opens tcp socket to main mserver, sends port numbers of the 3 tcp sockets
3) main mserver forks out a secondary (per-client) mserver
4) secondary mserver connects to the 3 tcp sockets of the midas frontend created in (1)
5) from here midas rpc works
6) midas frontend loads the RPC white-list
7) from here MIDAS RPC sockets are secure (protected by the white-list).

(the 3 sockets are: RPC recv_sock, RPC send_sock and event_sock)

P.P.S. MIDAS UDP sockets used for event buffer and odb notifications are secure, they bind to 
localhost interface and do not accept external connections.

K.O.
  2737   15 Apr 2024 Stefan RittBug Reportopen MIDAS RPC ports
One thing coming to my mind is the interface binding. If you have a midas host with two networks 
("global" and "local"=192.168.x.x), you can tell to which interface a socket should bind. 
By default it binds both interfaces, but we could restrict the socket only to bind to the local 
interface 192.168.x.x. This way the open port would be invisible from the outside, but from 
your local network everybody can connect easily without the need of a white list.

Stefan
  2742   30 Apr 2024 Luigi ViganiBug ReportParams not initialized when starting sequencer
Good afternoon,

After updating Midas to the latest develop commit 
(0f5436d901a1dfaf6da2b94e2d87f870e3611cf1) we found out a bug when starting 
sequencer. If we have a simple loop from start value to stop value and step 
size, just printing the value at each iteration, we see everything good (see 
first attachment). Then we included another script though, which contains 
several subroutines we defined for our detector, and we try to run the same 
script. Unfortunately after this the parameters seem uninitialized, and the 
value at each loop does not make sense (see second attachment). Also, sometimes 
when pressing run the set parameter window would pop-up, but sometimes not.

The script is this one:

>>>
COMMENT Test script to check for a specific bug

INCLUDE global_basic_functions

#CALL setup_paths
#CALL generate_DUT_params

PARAM lv_start, "Start of LV", 1.8
PARAM lv_stop, "Stop of LV", 2.1
PARAM lv_step, "Step of LV", 0.02

n_iterations = (($lv_stop - $lv_start)/$lv_step)

MSG "Parameters:"
MSG $lv_start
MSG $lv_stop
MSG $lv_step
MSG $n_iterations

MSG "Start of looping"

LOOP n, $n_iterations
   lv_now = $lv_start + $n * $lv_step
   MSG $lv_now
   WAIT SECONDS, 1
ENDLOOP
<<<

and the only difference comes from commenting the line:

>>>
INCLUDE global_basic_functions
<<<

as global_basic_functions is defined as a LIBRARY and it includes 75 (!) 
subroutines...

Is it possible that when loading a large script it messes up the loading of 
parameters?

Thank you very much,
Regards,
Luigi.
Attachment 1: midas_sequencer_ok.png
midas_sequencer_ok.png
Attachment 2: midas_sequencer_buggy2.png
midas_sequencer_buggy2.png
  2750   03 May 2024 Zaher SalmanBug ReportParams not initialized when starting sequencer
Could you please export and send me the /Sequencer ODB tree (or just /Sequencer/Param and /Sequencer/Variables) in both cases while the sequence is running. 

thanks,
Zaher


> Good afternoon,
> 
> After updating Midas to the latest develop commit 
> (0f5436d901a1dfaf6da2b94e2d87f870e3611cf1) we found out a bug when starting 
> sequencer. If we have a simple loop from start value to stop value and step 
> size, just printing the value at each iteration, we see everything good (see 
> first attachment). Then we included another script though, which contains 
> several subroutines we defined for our detector, and we try to run the same 
> script. Unfortunately after this the parameters seem uninitialized, and the 
> value at each loop does not make sense (see second attachment). Also, sometimes 
> when pressing run the set parameter window would pop-up, but sometimes not.
> 
> The script is this one:
> 
> >>>
> COMMENT Test script to check for a specific bug
> 
> INCLUDE global_basic_functions
> 
> #CALL setup_paths
> #CALL generate_DUT_params
> 
> PARAM lv_start, "Start of LV", 1.8
> PARAM lv_stop, "Stop of LV", 2.1
> PARAM lv_step, "Step of LV", 0.02
> 
> n_iterations = (($lv_stop - $lv_start)/$lv_step)
> 
> MSG "Parameters:"
> MSG $lv_start
> MSG $lv_stop
> MSG $lv_step
> MSG $n_iterations
> 
> MSG "Start of looping"
> 
> LOOP n, $n_iterations
>    lv_now = $lv_start + $n * $lv_step
>    MSG $lv_now
>    WAIT SECONDS, 1
> ENDLOOP
> <<<
> 
> and the only difference comes from commenting the line:
> 
> >>>
> INCLUDE global_basic_functions
> <<<
> 
> as global_basic_functions is defined as a LIBRARY and it includes 75 (!) 
> subroutines...
> 
> Is it possible that when loading a large script it messes up the loading of 
> parameters?
> 
> Thank you very much,
> Regards,
> Luigi.
  2751   03 May 2024 Stefan RittBug ReportParams not initialized when starting sequencer
Ok, here is the complete code to reproduce the problem. Load parameter_test.msl which includes functions.msl. From the screenshot you see the variables containing 
garbage, and you also see that from the ODB screenshot. For completeness, I added Sequencer.json which contains the whole sequencer tree.

The interesting thing is that this works sometimes, and sometimes not. I'm not sure if this in the GUI or in the sequencer program, so we have to sort out who can 
fix it ;-)

Best,
Stefan
Attachment 1: param_test.msl
INCLUDE functions

PARAM lv_start, "Start of LV", 1.8
PARAM lv_stop, "Stop of LV", 2.1
PARAM lv_step, "Step of LV", 0.02

n_iterations = (($lv_stop - $lv_start)/$lv_step)

MSG "Parameters:"
MSG $lv_start
MSG $lv_stop
MSG $lv_step
MSG $n_iterations

MSG "Start of looping"

LOOP n, $n_iterations
   lv_now = $lv_start + $n * $lv_step
   MSG $lv_now
   WAIT SECONDS, 1
ENDLOOP
Attachment 2: functions.msl
SUBROUTINE sub1
   WAIT seconds, 1
ENDSUBROUTINE

SUBROUTINE sub2
   WAIT seconds, 1
ENDSUBROUTINE

SUBROUTINE sub3
   WAIT seconds, 1
ENDSUBROUTINE

SUBROUTINE sub4
   WAIT seconds, 1
ENDSUBROUTINE

SUBROUTINE sub5
   WAIT seconds, 1
ENDSUBROUTINE

SUBROUTINE sub6
   WAIT seconds, 1
ENDSUBROUTINE

Attachment 3: Sequencer.json
{
   "/MIDAS version": "2.1",
   "/filename": "Sequencer.json",
   "/ODB path": "/Sequencer",
   "State": {
      "New File/key": {
         "type": 8,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "New File": false,
      "Path/key": {
         "type": 12,
         "item_size": 256,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Path": "",
      "Filename/key": {
         "type": 12,
         "item_size": 256,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Filename": "param_test.msl",
      "SFilename/key": {
         "type": 12,
         "item_size": 256,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "SFilename": "/Users/ritt/online/userfiles/sequencer/param_test.msl",
      "Next Filename/key": {
         "type": 12,
         "num_values": 10,
         "item_size": 256,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Next Filename": [
         "",
         "",
         "",
         "",
         "",
         "",
         "",
         "",
         "",
         ""
      ],
      "Error/key": {
         "type": 12,
         "item_size": 256,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Error": "",
      "Error line/key": {
         "type": 7,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Error line": 0,
      "SError line/key": {
         "type": 7,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "SError line": 0,
      "Message/key": {
         "type": 12,
         "item_size": 256,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Message": "",
      "Message Wait/key": {
         "type": 8,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Message Wait": false,
      "Running/key": {
         "type": 8,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Running": true,
      "Finished/key": {
         "type": 8,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Finished": false,
      "Paused/key": {
         "type": 8,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Paused": false,
      "Debug/key": {
         "type": 8,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Debug": false,
      "Current line number/key": {
         "type": 7,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Current line number": 46,
      "SCurrent line number/key": {
         "type": 7,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "SCurrent line number": 20,
      "Follow Libraries/key": {
         "type": 8,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Follow Libraries": true,
      "Stop after run/key": {
         "type": 8,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Stop after run": false,
      "Transition request/key": {
         "type": 8,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Transition request": false,
      "Loop start line/key": {
         "type": 7,
         "num_values": 10,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Loop start line": [
         43,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0
      ],
      "SLoop start line/key": {
         "type": 7,
         "num_values": 10,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "SLoop start line": [
         17,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0
      ],
      "Loop end line/key": {
         "type": 7,
         "num_values": 10,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Loop end line": [
         47,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0
      ],
      "SLoop end line/key": {
         "type": 7,
         "num_values": 10,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "SLoop end line": [
         21,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0
      ],
      "Loop counter/key": {
         "type": 7,
         "num_values": 10,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Loop counter": [
         6,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0
      ],
      "Loop n/key": {
         "type": 7,
         "num_values": 10,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Loop n": [
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0
      ],
      "Subdir/key": {
         "type": 12,
         "item_size": 256,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Subdir": "",
      "Subdir end line/key": {
         "type": 7,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Subdir end line": 0,
      "Subdir not notify/key": {
         "type": 7,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "Subdir not notify": 0,
      "If index/key": {
         "type": 7,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "If index": 0,
      "If line/key": {
         "type": 7,
         "num_values": 10,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "If line": [
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0,
         0
      ],
      "If else line/key": {
         "type": 7,
         "num_values": 10,
         "access_mode": 7,
         "last_written": 1714720819
      },
      "If else line": [
         0,
         0,
         0,
         0,
         0,
... 379 more lines ...
Attachment 4: Screenshot_2024-05-03_at_09.19.29.png
Screenshot_2024-05-03_at_09.19.29.png
Attachment 5: Screenshot_2024-05-03_at_09.20.47.png
Screenshot_2024-05-03_at_09.20.47.png
  2752   03 May 2024 Luigi ViganiBug ReportParams not initialized when starting sequencer
It is pretty much the same as Stefan, I attach here the screenshots. Also in my case it works sometimes, and sometimes partially (one or 2 params, like in 
attachment 3).

> Could you please export and send me the /Sequencer ODB tree (or just /Sequencer/Param and /Sequencer/Variables) in both cases while the sequence is running. 
> 
> thanks,
> Zaher
> 
> 
> > Good afternoon,
> > 
> > After updating Midas to the latest develop commit 
> > (0f5436d901a1dfaf6da2b94e2d87f870e3611cf1) we found out a bug when starting 
> > sequencer. If we have a simple loop from start value to stop value and step 
> > size, just printing the value at each iteration, we see everything good (see 
> > first attachment). Then we included another script though, which contains 
> > several subroutines we defined for our detector, and we try to run the same 
> > script. Unfortunately after this the parameters seem uninitialized, and the 
> > value at each loop does not make sense (see second attachment). Also, sometimes 
> > when pressing run the set parameter window would pop-up, but sometimes not.
> > 
> > The script is this one:
> > 
> > >>>
> > COMMENT Test script to check for a specific bug
> > 
> > INCLUDE global_basic_functions
> > 
> > #CALL setup_paths
> > #CALL generate_DUT_params
> > 
> > PARAM lv_start, "Start of LV", 1.8
> > PARAM lv_stop, "Stop of LV", 2.1
> > PARAM lv_step, "Step of LV", 0.02
> > 
> > n_iterations = (($lv_stop - $lv_start)/$lv_step)
> > 
> > MSG "Parameters:"
> > MSG $lv_start
> > MSG $lv_stop
> > MSG $lv_step
> > MSG $n_iterations
> > 
> > MSG "Start of looping"
> > 
> > LOOP n, $n_iterations
> >    lv_now = $lv_start + $n * $lv_step
> >    MSG $lv_now
> >    WAIT SECONDS, 1
> > ENDLOOP
> > <<<
> > 
> > and the only difference comes from commenting the line:
> > 
> > >>>
> > INCLUDE global_basic_functions
> > <<<
> > 
> > as global_basic_functions is defined as a LIBRARY and it includes 75 (!) 
> > subroutines...
> > 
> > Is it possible that when loading a large script it messes up the loading of 
> > parameters?
> > 
> > Thank you very much,
> > Regards,
> > Luigi.
Attachment 1: seq1.PNG
seq1.PNG
Attachment 2: seq2.PNG
seq2.PNG
Attachment 3: seq3.PNG
seq3.PNG
  2755   03 May 2024 Zaher SalmanBug ReportParams not initialized when starting sequencer
I have been able to reproduce the problem only once. From what I see, it seems that the Variables ODB tree is not initialized properly from the Param tree. Below are the messages from the failed run compared to a successful one. As far as I could see, the javascript code does not change anything in the Variables ODB tree (only monitors it). The actual changes are done by the sequencer program, or am I wrong?

Failed run:
16:14:25.849 2024/05/03 [Sequencer,INFO]  + 3 * 
16:14:24.722 2024/05/03 [Sequencer,INFO]  + 2 * 
16:14:23.594 2024/05/03 [Sequencer,INFO]  + 1 * 
16:14:23.592 2024/05/03 [Sequencer,INFO] Start of looping
16:14:23.591 2024/05/03 [Sequencer,INFO] (( - )/)
16:14:23.591 2024/05/03 [Sequencer,INFO] 
16:14:23.590 2024/05/03 [Sequencer,INFO] 
16:14:23.590 2024/05/03 [Sequencer,INFO] 
16:14:23.589 2024/05/03 [Sequencer,INFO] Parameters:
16:14:23.562 2024/05/03 [Sequencer,TALK] Sequencer started with script "testpars.msl".


Successful run:
16:15:37.472 2024/05/03 [Sequencer,INFO] 1.820000
16:15:37.471 2024/05/03 [Sequencer,INFO] Start of looping
16:15:37.471 2024/05/03 [Sequencer,INFO] 15
16:15:37.470 2024/05/03 [Sequencer,INFO] 0.020000
16:15:37.470 2024/05/03 [Sequencer,INFO] 2.100000
16:15:37.469 2024/05/03 [Sequencer,INFO] 1.800000
16:15:37.469 2024/05/03 [Sequencer,INFO] Parameters:
16:15:37.450 2024/05/03 [Sequencer,TALK] Sequencer started with script "testpars.msl".
  2756   03 May 2024 Stefan RittBug ReportParams not initialized when starting sequencer
Ahh, that rings a bell:

1) JS opens start dialog box
2) User enters parameters and presses start
3) JS writes parameters
4) JS starts sequencer
5) Sequencer copies parameters to variables

Now how do you handle 3) and 4). Just issue two mjsonrpc commands together? What then could happen is that 4) is executed before 3) and we get the garbage.
You have to do 3) and WAIT for the return ("then" in the JS promise), and only then issue 4) from there.

Stefan
  2757   03 May 2024 Zaher SalmanBug ReportParams not initialized when starting sequencer
Thanks for the hint Stefan. I pushed a possible fix but I cannot test it since I cannot reproduce the issue.

> Ahh, that rings a bell:
> 
> 1) JS opens start dialog box
> 2) User enters parameters and presses start
> 3) JS writes parameters
> 4) JS starts sequencer
> 5) Sequencer copies parameters to variables
> 
> Now how do you handle 3) and 4). Just issue two mjsonrpc commands together? What then could happen is that 4) is executed before 3) and we get the garbage.
> You have to do 3) and WAIT for the return ("then" in the JS promise), and only then issue 4) from there.
> 
> Stefan
  2758   03 May 2024 Stefan RittBug ReportParams not initialized when starting sequencer
Seems to me like the problem happens less frequently, but I still see it (1 out of 5 or so). The fact that /Sequencer/Params/Value is empty tells me that the GUI 
has the problem and not the sequencer side.

Stefan
Attachment 1: Screenshot_2024-05-03_at_18.19.52.png
Screenshot_2024-05-03_at_18.19.52.png
  2763   10 May 2024 Zaher SalmanBug ReportParams not initialized when starting sequencer
I think that I finally managed to fix the problem. The default values of the parameters are now written first in one go, then the sequencer waits for confirmation that everything is completed before proceeding. Please test and let me know if there are still any issues.

Zaher
  Draft   13 May 2024 Luigi ViganiBug ReportParams not initialized when starting sequencer

[quote="Zaher Salman"]I think that I finally managed to fix the problem. The default values of the parameters are now written first in one go, then the sequencer waits for confirmation that everything is completed before proceeding. Please test and let me know if there are still any issues. Zaher [/quote]

  2765   13 May 2024 Luigi ViganiBug ReportParams not initialized when starting sequencer

Zaher Salman wrote:
I think that I finally managed to fix the problem. The default values of the parameters are now written first in one go, then the sequencer waits for confirmation that everything is completed before proceeding. Please test and let me know if there are still any issues.

Zaher


Hi Zaher,

It seems fixed to me as well! Thanks a lot!

Luigi.
  2767   16 May 2024 Konstantin OlchanskiBug Reportmidas alarm borked condition evaluation
I am updating the TRIUMF IRIS experiment to the latest version of MIDAS. I see following error messages in midas.log:

19:06:16.806 2024/05/16 [mhttpd,ERROR] [odb.cxx:6967:db_get_data_index,ERROR] index (29) exceeds array length (20) for key 
"/Equipment/Beamline/Variables/Measured"

19:06:15.806 2024/05/16 [mhttpd,ERROR] [odb.cxx:6967:db_get_data_index,ERROR] index (30) exceeds array length (20) for key 
"/Equipment/Beamline/Variables/Measured"

The errors are correct, there is only 20 elements in that array. The errors are coming every few seconds, they spam midas.log. How do I fix 
them? Where do they come from? There is no additional diagnostics or information to go from.

In the worst case, they come from some custom web page that reads wrong index variables from ODB. mhttpd currently provides no diagnostics to 
find out which web page could be causing this.

But maybe it's internal to MIDAS? I save odb to odb.json, "grep Measured odb.json" yields:
iris00:~> grep Measured odb.json 
        "Condition" : "/Equipment/Beamline/Variables/Measured[29] > 1e-5",
        "Condition" : "/Equipment/Beamline/Variables/Measured[30] < 0.5",

So wrong index errors is coming from evaluated alarms.
ODB "/Alarms/Alarm system active" is set to "no" (alarm system is disabled), the errors are coming.
ODB "/Alarms/Alarms/TP4/Active" is set to "no" (specific alarm is disabled), the errors are coming.
WTF? (and this is recentish borkage, old IRIS MIDAS had the same wrong index alarms and did not generate these errors).

Breakage:
- where is the error message "evaluated alarm XXX cannot be computed because YYY cannot be read from ODB!"
- disabled alarm should not be computed
- alarm system is disabled, alarms should not be computed

K.O.

P.S. I am filing bug reports here, I cannot be bothered with the 25-factor authentication to access bitbucket.
  2768   17 May 2024 Stefan RittBug Reportmidas alarm borked condition evaluation
This is a common problem I also encountered in the past. You get a low-level ODB access error (could also be a read of a non-existing key) and you 
have no idea where this comes from. Could be the alarm system, a mhttpd web page, even some user code in a front-end over which the midas library 
has no control.

One option would be to add a complete stack dump to each of these error (ROOT does something like that), but I hear already people shouting "my 
midas.log is flooded with stack dumps!". So what I do in this case is I run a midas program in the debugger and set a breakpoint (in your case at 
odb.cxx:6967). If the breakpoint triggers, I inspect the stack and find out where this comes from.

Not that I print a stack dump for such error in the odbxx API. This goes to stdout, not the midas log, and it helped me in the past. Unfortunately 
stack dumps work only under linux (not MacOSX), and they do not contain all information a debugger can show you.

It is not true that alarm conditions are evaluated when the alarm system is off. I just tried and it works fine. The code is here:

alarm.cxx:591

      /* check global alarm flag */
      flag = TRUE;
      size = sizeof(flag);
      db_get_value(hDB, 0, "/Alarms/Alarm system active", &flag, &size, TID_BOOL, TRUE);
      if (!flag)
         return AL_SUCCESS;

so no idea why you see this error if you correctly st "Alarm system active" to false.

Stefan
ELOG V3.1.4-2e1708b5