Menu

#504 libgdcmMSFF missing linking with libjpeg

3.1
wont-fix
None
5
2020-05-15
2020-05-13
No

Looks like libgdcmMSFF is underlinked with libjpeg. It is easy to expose that issue by add -Wl,--asneeded options to linker options (LDFLAGS:

[ 67%] Linking CXX executable ../../../../bin/gdcmMSFFTests
cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/MediaStorageAndFileFormat/Cxx && /usr/bin/cmake -E cmake_link_script CMakeFiles/gdcmMSFFTests.dir/link.txt --verbose=1
/usr/bin/g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -O2 -g -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin CMakeFiles/gdcmMSFFTests.dir/gdcmMSFFTests.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestAnonymizer.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestDataSetHelper.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestEquipmentManufacturer.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileChangeTransferSyntax1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileChangeTransferSyntax2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileChangeTransferSyntax3.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileChangeTransferSyntax4.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileStreamer1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileStreamer2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileStreamer3.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileStreamer4.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileStreamer5.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileStreamer6.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileAnonymizer1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileAnonymizer2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileAnonymizer3.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileAnonymizer4.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestIconImageFilter.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestParseXPATH.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestValidate.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestAnonymizeEvent.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileDerivation.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestSegmentedPaletteColorLookupTable.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestPNMCodec.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestSpacing.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestSerieHelper.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileExplicitFilter.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageFragmentSplitter.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestTagPath.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestOrientation.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestIconImage.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageHelper.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageToImageFilter.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageChangeTransferSyntax1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageChangeTransferSyntax2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageChangeTransferSyntax3.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageChangeTransferSyntax4.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageChangeTransferSyntax6.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageChangeTransferSyntax7.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageApplyLookupTable.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFileDecompressLookupTable.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageChangePlanarConfiguration.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestCoder.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestDecoder.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestRescaler1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestRescaler2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestDumper.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestDictPrinter.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestApplicationEntity.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestStringFilter1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestStringFilter2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestStringFilter3.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestUIDGenerator.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestUUIDGenerator.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestXMLPrinter.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestPrinter1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestPrint.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestSorter.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageReader.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestStreamImageReader.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageRegionReader1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageRegionReader2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageRegionReader3.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageReaderRandomEmpty.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestDirectionCosines.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageWriter.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestCodec.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestPDFCodec.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestRLECodec.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestAudioCodec.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImage.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestPhotometricInterpretation.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestLookupTable.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestOverlay.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestOverlay3.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestCurve.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestCurve2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestPixelFormat.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestPersonName.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageCodec.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageConverter.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestJPEGCodec.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestRAWCodec.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestDICOMDIR.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestWaveform.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestFiducials.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestEncapsulatedDocument.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestSpectroscopy.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestSurfaceWriter.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestSurfaceWriter2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestSplitMosaicFilter3.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestStrictScanner1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestStrictScanner2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestScanner1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestScanner2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageHelper2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestPrinter2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestIPPSorter.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestIPPSorter2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestIPPSorter3.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestCopyDataSet.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestDataElementValueAsSQ.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageWriter2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestDICOMDIRGenerator1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestDICOMDIRGenerator2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestAnonymizer2.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestAnonymizer3.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestJSON1.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestImageChangeTransferSyntax5.cxx.o CMakeFiles/gdcmMSFFTests.dir/TestUIDGenerator2.cxx.o -o ../../../../bin/gdcmMSFFTests -Wl,-rpath,/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/bin ../../../../bin/libgdcmMSFF.so.3.1.0 -lpthread ../../../../bin/libgdcmDICT.so.3.1.0 ../../../../bin/libgdcmIOD.so.3.1.0 ../../../../bin/libgdcmDSED.so.3.1.0 ../../../../bin/libgdcmCommon.so.3.1.0 -Wl,-rpath-link,/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/bin
/usr/bin/ld: ../../../../bin/libgdcmMSFF.so.3.1.0: undefined reference to JpegLsReadHeader' /usr/bin/ld: ../../../../bin/libgdcmMSFF.so.3.1.0: undefined reference toJpegLsEncode'
/usr/bin/ld: ../../../../bin/libgdcmMSFF.so.3.1.0: undefined reference to `JpegLsDecode'
collect2: error: ld returned 1 exit status

PS. did you think about move bug tracking system to github as well? It would be good to have everything in one place. SF is really outdated and does not change from long time ..

Discussion

  • Mathieu Malaterre

    • assigned_to: Mathieu Malaterre
     
  • Mathieu Malaterre

    Looks like libgdcmMSFF is underlinked with libjpeg.

    I doubt this is the case since I can build the entire project using static libs. Care to send the me output when you do:

    $ git diff
    diff --git a/Source/MediaStorageAndFileFormat/CMakeLists.txt b/Source/MediaStorageAndFileFormat/CMakeLists.txt
    index dbdd752a5137..f24d272b9716 100644
    --- a/Source/MediaStorageAndFileFormat/CMakeLists.txt
    +++ b/Source/MediaStorageAndFileFormat/CMakeLists.txt
    @@ -195,6 +195,7 @@ target_link_libraries(gdcmMSFF LINK_PRIVATE ${GDCM_LJPEG_LIBRARIES} ${GDCM_OPENJ
     if(GDCM_USE_JPEGLS)
       target_link_libraries(gdcmMSFF LINK_PRIVATE ${GDCM_CHARLS_LIBRARIES})
     endif()
    +message("Full path to JPEG-LS lib: ${GDCM_CHARLS_LIBRARIES}")
    
     if(CMAKE_COMPILER_IS_GNUCXX AND MINGW)
       # I am getting:
    
     
  • Tomasz Kłoczko

    I'm not sure which one jpe library it is in this case.
    Looks like gdcm is using libjpeg-turbo and libopenjp2

    [tkloczko@barrel dcmtk-DCMTK-3.6.5]$ grep -r libopenjp2 | grep cmake
    CMake/FindOpenJPEG.cmake:  pkg_check_modules(OPENJPEG_PKGCONF libopenjp2)
    
    [tkloczko@barrel dcmtk-DCMTK-3.6.5]$ grep -r libjpeg
    CMake/3rdparty.cmake:      # libtiff can be compiled with libjpeg support; if available, add libjpeg to library and include path
    config/configure.in:dnl Check for libjpeg, which is needed by libtiff on some platforms
    dcmjpeg/docs/ijg_libjpeg.txt:is to prepare a library file ("libjpeg.a", or a corresponding name on non-Unix
    dcmjpeg/docs/ijg_libjpeg.txt:The supplied makefiles build libjpeg.a automatically (see install.doc).
    dcmjpeg/docs/ijg_readme.txt:  libjpeg.doc       How to use the JPEG library in your own programs.
    dcmjpeg/docs/ijg_structure.txt:libjpeg.doc describes the library from the viewpoint of an application
    dcmjpeg/docs/ijg_structure.txt:output section is concerned.  See libjpeg.doc for more detail.
    dcmjpeg/docs/ijg_structure.txt:capability.)  The libjpeg.doc file goes into more detail about the usage and
    dcmjpeg/libijg12/jpeglib12.h:/* Write a special marker.  See libjpeg.doc concerning safe usage. */
    dcmjpeg/libijg16/jpeglib16.h:/* Write a special marker.  See libjpeg.doc concerning safe usage. */
    dcmjpeg/libijg8/jpeglib8.h:/* Write a special marker.  See libjpeg.doc concerning safe usage. */
    docs/CHANGES.351:           dcmjpeg/docs/ijg_libjpeg.txt
    docs/CHANGES.354:- Added configure test that checks for the presence of libjpeg. Both libjpeg
    docs/CHANGES.362:- Add libjpeg dependency for libtiff and minor changes:
    docs/CHANGES.362:  It is possible to build libtiff with libjpeg-based JPEG coding support.
    docs/CHANGES.362:  Thus CMake is told on Unix to add libjpeg includes and libraries so that
    docs/CHANGES.362:  tiff-based tools will be linked to libjpeg, too. This mirrors the
    CMakeCache.txt:JPEG_LIBRARY_RELEASE:FILEPATH=/usr/lib64/libjpeg.so
    CMakeCache.txt:DCMTK_LIBRARY_DEPENDENCIES:INTERNAL=/usr/lib64/libicuuc.so;/usr/lib64/libicudata.so;nsl;pthread;/usr/lib64/libz.so;/usr/lib64/libxml2.so;/usr/lib64/libtiff.so;/usr/lib64/libjpeg.so;/usr/lib64/libpng.so;/usr/lib64/libssl.so;/usr/lib64/libcrypto.so;dl;/usr/lib64/libxml2.so;/usr/lib64/libssl.so;/usr/lib64/libcrypto.so;dl
    

    BTW I think that it would be good to switch to pkgcongfig based libraries detection like it is in case of libopenjp2.

    From my spec file:

    [tkloczko@barrel SPECS]$ grep BuildRequires gdcm.spec
    BuildRequires: CharLS-devel >= 2.0
    BuildRequires: cmake
    BuildRequires: dcmtk-devel
    BuildRequires: docbook5-style-xsl
    BuildRequires: docbook-style-xsl
    BuildRequires: doxygen
    BuildRequires: expat-devel
    BuildRequires: fontconfig-devel
    BuildRequires: gcc
    BuildRequires: gcc-c++
    BuildRequires: gl2ps-devel
    BuildRequires: graphviz
    BuildRequires: json-c-devel
    BuildRequires: libogg-devel
    BuildRequires: libtheora-devel
    BuildRequires: libuuid-devel
    BuildRequires: libxml2-devel
    BuildRequires: libxslt-devel
    BuildRequires: mesa-libOSMesa-devel
    BuildRequires: openssl-devel
    BuildRequires: pkgconfig
    BuildRequires: pkgconfig(libopenjp2)
    BuildRequires: poppler-devel
    BuildRequires: python3-devel
    BuildRequires: sqlite-devel
    BuildRequires: swig

    Almost all devel bits could be detected using pkgconfig and using it will shorten many cmake files.

     

    Last edit: Tomasz Kłoczko 2020-05-13
  • Mathieu Malaterre

    • status: open --> wont-fix
     
  • Mathieu Malaterre

    Great. Feel free to re-open when you can provide the missing bits about CharLS.

     
  • Tomasz Kłoczko

    What you mean "missing bits about CharLS"?

     
  • Mathieu Malaterre

    I gave instructions at:

    I suspect something broke with CharLS 2.1. And this variable is not populated. I need to know what happen on your side to know for sure.

     
  • Tomasz Kłoczko

    Which one variabble?

    [tkloczko@barrel GDCM-3.1.0]$ cmake -L . | egrep "CHARLS_LIBRARIES|CHARLS_LIBRARIES"
    If you want to build the test suite, you must set GDCM_DATA_ROOT (advanced option) to the full path name of the gdcmData directory; if you don't want, disable GDCM_BUILD_TESTING.
    What is gdcmData? Please read: http://gdcm.sourceforge.net/wiki/index.php/General_questions#What_is_gdcmData_.3F
    CMake Warning at Utilities/doxygen/CMakeLists.txt:281 (message):
      Could not find the location of your docbook-xsl-ns installation.  Please
      make sure your internet connection works.  Or skip man pages generation:
      GDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF.
    
    
    [tkloczko@barrel GDCM-3.1.0]$ egrep -r "CHARLS_LIBRARIES|CHARLS_LIBRARIES"
    CMake/FindCharLS.cmake:    set(CHARLS_LIBRARIES    ${CHARLS_LIBRARY})
    CMake/FindCharLS.cmake:      message(STATUS "Found CHARLS: ${CHARLS_LIBRARIES}")
    CMakeLists.txt:  set(GDCM_CHARLS_LIBRARIES ${CHARLS_LIBRARIES})
    CMakeLists.txt:  set(GDCM_CHARLS_LIBRARIES gdcmcharls)
    Examples/Cxx/CMakeLists.txt:    target_link_libraries(${example} gdcmMSFF ${GDCM_CHARLS_LIBRARIES})
    Source/MediaStorageAndFileFormat/CMakeLists.txt:  target_link_libraries(gdcmMSFF LINK_PRIVATE ${GDCM_CHARLS_LIBRARIES})
    

    Loos like none of those variabes has any content.

    Here is cmake params and output:

    + /usr/bin/cmake -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc . -B x86_64-redhat-linux-gnu -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_VERBOSE_MAKEFILE=ON -D GDCM_BUILD_APPLICATIONS=ON -D GDCM_BUILD_EXAMPLES=OFF -D GDCM_BUILD_SHARED_LIBS=ON -D GDCM_BUILD_TESTING=ON -D GDCM_DATA_ROOT=../gdcmData/ -D GDCM_DOCUMENTATION=OFF -D GDCM_INSTALL_DOC_DIR=/usr/share/doc/gdcm -D GDCM_INSTALL_INCLUDE_DIR=/usr/include/gdcm -D GDCM_INSTALL_LIB_DIR=/usr/lib64 -D GDCM_INSTALL_MAN_DIR=/usr/share/man -D GDCM_INSTALL_PACKAGE_DIR=/usr/lib64/cmake/gdcm -D GDCM_INSTALL_PYTHONMODULE_DIR=/usr/lib64/python3.8/site-packages -D GDCM_USE_JPEGLS=ON -D GDCM_USE_SYSTEM_CHARLS=ON -D GDCM_USE_SYSTEM_EXPAT=ON -D GDCM_USE_SYSTEM_JSON=ON -D GDCM_USE_SYSTEM_LIBXML2=ON -D GDCM_USE_SYSTEM_LJPEG=OFF -D GDCM_USE_SYSTEM_OPENJPEG=ON -D GDCM_USE_SYSTEM_OPENSSL=ON -D GDCM_USE_SYSTEM_POPPLER=ON -D GDCM_USE_SYSTEM_UUID=ON -D GDCM_USE_SYSTEM_ZLIB=ON -D GDCM_USE_VTK=OFF -D GDCM_WRAP_CSHARP=OFF -D GDCM_WRAP_JAVA=OFF -D GDCM_WRAP_PYTHON=ON -D PYTHON_EXECUTABLE=/usr/bin/python3
    -- The CXX compiler identification is GNU 10.1.1
    -- The C compiler identification is GNU 10.1.1
    -- Check for working CXX compiler: /usr/bin/g++
    -- Check for working CXX compiler: /usr/bin/g++ - works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc - works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for inttypes.h
    -- Looking for inttypes.h - found
    -- Found POPPLER: /usr/lib64/libpoppler.so
    -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.10")
    -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3")
    -- Checking for module 'libopenjp2'
    --   Found libopenjp2, version 2.3.1
    -- Found OpenJPEG: openjp2 (found suitable version "2.3.1", minimum required is "2.0.0")
    -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
    -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so
    -- Found UUID: /usr/lib64/libuuid.so
    -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.2.9")
    -- Found JSON: /usr/lib64/libjson-c.so
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    -- Check if the system is big endian
    -- Searching 16 bit integer
    -- Looking for sys/types.h
    -- Looking for sys/types.h - found
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for stddef.h
    -- Looking for stddef.h - found
    -- Check size of unsigned short
    -- Check size of unsigned short - done
    -- Searching 16 bit integer - Using unsigned short
    -- Check if the system is big endian - little endian
    -- Found DCMTK: /usr/include/dcmtk/config
    -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.2", minimum required is "3.2")
    -- Looking for sys/mman.h
    -- Looking for sys/mman.h - found
    -- Looking for stdlib.h
    -- Looking for stdlib.h - found
    -- Looking for strsignal
    -- Looking for strsignal - found
    -- Looking for include file sys/time.h
    -- Looking for include file sys/time.h - found
    -- Looking for include files sys/time.h, winsock.h
    -- Looking for include files sys/time.h, winsock.h - not found
    -- Looking for include files sys/time.h, byteswap.h
    -- Looking for include files sys/time.h, byteswap.h - found
    -- Performing Test GDCM_HAVE_BYTESWAP_H
    -- Performing Test GDCM_HAVE_BYTESWAP_H - Success
    -- Looking for rpc.h
    -- Looking for rpc.h - not found
    -- Looking for langinfo.h
    -- Looking for langinfo.h - found
    -- Looking for nl_langinfo
    -- Looking for nl_langinfo - found
    -- Looking for strcasecmp
    -- Looking for strcasecmp - found
    -- Looking for strncasecmp
    -- Looking for strncasecmp - found
    -- Looking for strptime
    -- Looking for strptime - found
    -- Looking for _stricmp
    -- Looking for _stricmp - not found
    -- Looking for _strnicmp
    -- Looking for _strnicmp - not found
    -- Looking for gettimeofday
    -- Looking for gettimeofday - found
    -- Looking for json_object_object_get_ex
    -- Looking for json_object_object_get_ex - found
    -- Performing Test GDCM_CXX_HAS_FUNCTION
    -- Performing Test GDCM_CXX_HAS_FUNCTION - Success
    -- Performing Test GDCM_HAVE_WCHAR_IFSTREAM
    -- Performing Test GDCM_HAVE_WCHAR_IFSTREAM - Failed
    -- Performing Test GDCM_HAVE_CMS_RECIPIENT_PASSWORD
    -- Performing Test GDCM_HAVE_CMS_RECIPIENT_PASSWORD - Success
    -- Found SWIG: /usr/bin/swig (found suitable version "4.0.1", minimum required is "3.0.7")
    -- Found PythonLibs: /usr/lib64/libpython3.8.so (found suitable version "3.8.2", minimum required is "3.2")
    CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:460 (message):
      Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module
      flag.  Run "cmake --help-policy CMP0086" for policy details.  Use the
      cmake_policy command to set the policy and suppress this warning.
    
    Call Stack (most recent call first):
      /usr/share/cmake/Modules/UseSWIG.cmake:702 (SWIG_ADD_SOURCE_TO_MODULE)
      Wrapping/Python/CMakeLists.txt:96 (SWIG_ADD_LIBRARY)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    -- Will NOT use pyd extension
    -- Performing Test LIBPOPPLER_GLOBALPARAMS_CSTOR_HAS_PARAM
    -- Performing Test LIBPOPPLER_GLOBALPARAMS_CSTOR_HAS_PARAM - Failed
    -- Performing Test LIBPOPPLER_PDFDOC_HAS_PDFVERSION
    -- Performing Test LIBPOPPLER_PDFDOC_HAS_PDFVERSION - Failed
    -- Performing Test LIBPOPPLER_CATALOG_HAS_STRUCTTREEROOT
    -- Performing Test LIBPOPPLER_CATALOG_HAS_STRUCTTREEROOT - Success
    -- Performing Test LIBPOPPLER_NEW_OBJECT_API
    -- Performing Test LIBPOPPLER_NEW_OBJECT_API - Success
    -- Performing Test LIBPOPPLER_GOOSTRING_HAS_CONSTGETCHAR
    -- Performing Test LIBPOPPLER_GOOSTRING_HAS_CONSTGETCHAR - Success
    -- Performing Test LIBPOPPLER_GOOSTRING_HAS_GETCSTRING
    -- Performing Test LIBPOPPLER_GOOSTRING_HAS_GETCSTRING - Failed
    -- Found LibXslt: /usr/lib64/libxslt.so (found version "1.1.34")
    CMake Warning at Utilities/doxygen/CMakeLists.txt:281 (message):
      Could not find the location of your docbook-xsl-ns installation.  Please
      make sure your internet connection works.  Or skip man pages generation:
      GDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF.
    
    
    -- Configuring done
    -- Generating done
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_Fortran_FLAGS_RELEASE
        INCLUDE_INSTALL_DIR
        LIB_INSTALL_DIR
        LIB_SUFFIX
        SHARE_INSTALL_PREFIX
        SYSCONF_INSTALL_DIR
    
    
    -- Build files have been written to: /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu
    
     
  • Mathieu Malaterre

    I do not see the string "Full path to JPEG-LS lib:" in the output. It appears you forgot to apply the patch I suggested.

     
  • Tomasz Kłoczko

    + /usr/bin/cmake -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc . -B x86_64-redhat-linux-gnu -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_VERBOSE_MAKEFILE=ON -D GDCM_BUILD_APPLICATIONS=ON -D GDCM_BUILD_EXAMPLES=OFF -D GDCM_BUILD_SHARED_LIBS=ON -D GDCM_BUILD_TESTING=ON -D GDCM_DATA_ROOT=../gdcmData/ -D GDCM_DOCUMENTATION=OFF -D GDCM_INSTALL_DOC_DIR=/usr/share/doc/gdcm -D GDCM_INSTALL_INCLUDE_DIR=/usr/include/gdcm -D GDCM_INSTALL_LIB_DIR=/usr/lib64 -D GDCM_INSTALL_MAN_DIR=/usr/share/man -D GDCM_INSTALL_PACKAGE_DIR=/usr/lib64/cmake/gdcm -D GDCM_INSTALL_PYTHONMODULE_DIR=/usr/lib64/python3.8/site-packages -D GDCM_USE_JPEGLS=ON -D GDCM_USE_SYSTEM_CHARLS=ON -D GDCM_USE_SYSTEM_EXPAT=ON -D GDCM_USE_SYSTEM_JSON=ON -D GDCM_USE_SYSTEM_LIBXML2=ON -D GDCM_USE_SYSTEM_LJPEG=OFF -D GDCM_USE_SYSTEM_OPENJPEG=ON -D GDCM_USE_SYSTEM_OPENSSL=ON -D GDCM_USE_SYSTEM_POPPLER=ON -D GDCM_USE_SYSTEM_UUID=ON -D GDCM_USE_SYSTEM_ZLIB=ON -D GDCM_USE_VTK=OFF -D GDCM_WRAP_CSHARP=OFF -D GDCM_WRAP_JAVA=OFF -D GDCM_WRAP_PYTHON=ON -D PYTHON_EXECUTABLE=/usr/bin/python3
    -- The CXX compiler identification is GNU 10.1.1
    -- The C compiler identification is GNU 10.1.1
    -- Check for working CXX compiler: /usr/bin/g++
    -- Check for working CXX compiler: /usr/bin/g++ - works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc - works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for inttypes.h
    -- Looking for inttypes.h - found
    -- Found POPPLER: /usr/lib64/libpoppler.so
    -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.10")
    -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3")
    -- Checking for module 'libopenjp2'
    --   Found libopenjp2, version 2.3.1
    -- Found OpenJPEG: openjp2 (found suitable version "2.3.1", minimum required is "2.0.0")
    -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
    -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so
    -- Found UUID: /usr/lib64/libuuid.so
    -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.2.9")
    -- Found JSON: /usr/lib64/libjson-c.so
    -- Looking for pthread.h
    -- Looking for pthread.h - found
    -- Check if the system is big endian
    -- Searching 16 bit integer
    -- Looking for sys/types.h
    -- Looking for sys/types.h - found
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for stddef.h
    -- Looking for stddef.h - found
    -- Check size of unsigned short
    -- Check size of unsigned short - done
    -- Searching 16 bit integer - Using unsigned short
    -- Check if the system is big endian - little endian
    -- Found DCMTK: /usr/include/dcmtk/config
    -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.2", minimum required is "3.2")
    -- Looking for sys/mman.h
    -- Looking for sys/mman.h - found
    -- Looking for stdlib.h
    -- Looking for stdlib.h - found
    -- Looking for strsignal
    -- Looking for strsignal - found
    -- Looking for include file sys/time.h
    -- Looking for include file sys/time.h - found
    -- Looking for include files sys/time.h, winsock.h
    -- Looking for include files sys/time.h, winsock.h - not found
    -- Looking for include files sys/time.h, byteswap.h
    -- Looking for include files sys/time.h, byteswap.h - found
    -- Performing Test GDCM_HAVE_BYTESWAP_H
    -- Performing Test GDCM_HAVE_BYTESWAP_H - Success
    -- Looking for rpc.h
    -- Looking for rpc.h - not found
    -- Looking for langinfo.h
    -- Looking for langinfo.h - found
    -- Looking for nl_langinfo
    -- Looking for nl_langinfo - found
    -- Looking for strcasecmp
    -- Looking for strcasecmp - found
    -- Looking for strncasecmp
    -- Looking for strncasecmp - found
    -- Looking for strptime
    -- Looking for strptime - found
    -- Looking for _stricmp
    -- Looking for _stricmp - not found
    -- Looking for _strnicmp
    -- Looking for _strnicmp - not found
    -- Looking for gettimeofday
    -- Looking for gettimeofday - found
    -- Looking for json_object_object_get_ex
    -- Looking for json_object_object_get_ex - found
    -- Performing Test GDCM_CXX_HAS_FUNCTION
    -- Performing Test GDCM_CXX_HAS_FUNCTION - Success
    -- Performing Test GDCM_HAVE_WCHAR_IFSTREAM
    -- Performing Test GDCM_HAVE_WCHAR_IFSTREAM - Failed
    -- Performing Test GDCM_HAVE_CMS_RECIPIENT_PASSWORD
    -- Performing Test GDCM_HAVE_CMS_RECIPIENT_PASSWORD - Success
    Full path to JPEG-LS lib:
    -- Found SWIG: /usr/bin/swig (found suitable version "4.0.1", minimum required is "3.0.7")
    -- Found PythonLibs: /usr/lib64/libpython3.8.so (found suitable version "3.8.2", minimum required is "3.2")
    CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:460 (message):
      Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module
      flag.  Run "cmake --help-policy CMP0086" for policy details.  Use the
      cmake_policy command to set the policy and suppress this warning.
    
    Call Stack (most recent call first):
      /usr/share/cmake/Modules/UseSWIG.cmake:702 (SWIG_ADD_SOURCE_TO_MODULE)
      Wrapping/Python/CMakeLists.txt:96 (SWIG_ADD_LIBRARY)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    -- Will NOT use pyd extension
    -- Performing Test LIBPOPPLER_GLOBALPARAMS_CSTOR_HAS_PARAM
    -- Performing Test LIBPOPPLER_GLOBALPARAMS_CSTOR_HAS_PARAM - Failed
    -- Performing Test LIBPOPPLER_PDFDOC_HAS_PDFVERSION
    -- Performing Test LIBPOPPLER_PDFDOC_HAS_PDFVERSION - Failed
    -- Performing Test LIBPOPPLER_CATALOG_HAS_STRUCTTREEROOT
    -- Performing Test LIBPOPPLER_CATALOG_HAS_STRUCTTREEROOT - Success
    -- Performing Test LIBPOPPLER_NEW_OBJECT_API
    -- Performing Test LIBPOPPLER_NEW_OBJECT_API - Success
    -- Performing Test LIBPOPPLER_GOOSTRING_HAS_CONSTGETCHAR
    -- Performing Test LIBPOPPLER_GOOSTRING_HAS_CONSTGETCHAR - Success
    -- Performing Test LIBPOPPLER_GOOSTRING_HAS_GETCSTRING
    -- Performing Test LIBPOPPLER_GOOSTRING_HAS_GETCSTRING - Failed
    -- Found LibXslt: /usr/lib64/libxslt.so (found version "1.1.34")
    CMake Warning at Utilities/doxygen/CMakeLists.txt:281 (message):
      Could not find the location of your docbook-xsl-ns installation.  Please
      make sure your internet connection works.  Or skip man pages generation:
      GDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF.
    
    
    -- Configuring done
    -- Generating done
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_Fortran_FLAGS_RELEASE
        INCLUDE_INSTALL_DIR
        LIB_INSTALL_DIR
        LIB_SUFFIX
        SHARE_INSTALL_PREFIX
        SYSCONF_INSTALL_DIR
    
    
    -- Build files have been written to: /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu
    

    variable is empty which was possible to check looking on "clake -L" output

     
  • Tomasz Kłoczko

    In CMakeLists.txt is:

    if(GDCM_USE_SYSTEM_CHARLS)
      find_package(CharLS 2.0.0 REQUIRED)
      set(GDCM_CHARLS_LIBRARIES ${CHARLS_LIBRARIES})
    else()
      set(GDCM_CHARLS_LIBRARIES gdcmcharls)
    endif()
    

    To be honet I have no idea how cmake suppose to detect that library if CharLS 2.0.0 and 2.1.0 does not provide any cmake module or pkgconfig library description.

    [tkloczko@barrel SPECS]$ rpm -ql CharLS-devel
    /usr/include/charls
    /usr/include/charls/api_abi.h
    /usr/include/charls/charls.h
    /usr/include/charls/charls_legacy.h
    /usr/include/charls/jpegls_error.h
    /usr/include/charls/public_types.h
    /usr/include/charls/version.h
    /usr/lib64/libcharls.so
    /usr/share/doc/CharLS-devel
    /usr/share/doc/CharLS-devel/style_and_design.md
    
     
  • Tomasz Kłoczko

    Just checked https://github.com/team-charls/charls/ and yopu can see that there is no any cmake module ior pkgconfig description.

     
  • Tomasz Kłoczko

    I'm trying to use CharLS 2.1.0 and just checked that CharLS 2.0.0 had not cmake module or pkgconfig description https://github.com/team-charls/charls/tree/2.0.0
    gdcm cmake suggests that someone heve been trying to use it against CharLS 2.0.0 but I think that it was not possible to buid it against 2.0.0.

    In other words probably it woud be good first to add pkgconfig .pc file for CharLS then it will be possible to detect it.

     
  • Tomasz Kłoczko

    I've checked SuSE, Debian and few other distributions an none of them provides CharLS with cmake module or pkgcoonfig .pc file

     
  • Tomasz Kłoczko

    I found some kind of work around for lack of detection of CharLS.
    It ispossible to pass CharLS libarry name in "-D CHARLS_LIBRARIES=-lcharls" in cmake parametrs.

    However even wiy that it is not possible to build all code because another issue:

    [tkloczko@barrel x86_64-redhat-linux-gnu]$ make -k
    /usr/bin/cmake -S/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 -B/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
    /usr/bin/cmake -E cmake_progress_start /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/CMakeFiles /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/CMakeFiles/progress.marks
    make  -f CMakeFiles/Makefile2 all
    make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Utilities/gdcmmd5/CMakeFiles/gdcmmd5.dir/build.make Utilities/gdcmmd5/CMakeFiles/gdcmmd5.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities/gdcmmd5 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/gdcmmd5 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/gdcmmd5/CMakeFiles/gdcmmd5.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Utilities/gdcmmd5/CMakeFiles/gdcmmd5.dir/build.make Utilities/gdcmmd5/CMakeFiles/gdcmmd5.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Utilities/gdcmmd5/CMakeFiles/gdcmmd5.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [  0%] Built target gdcmmd5
    make  -f Source/Common/CMakeFiles/gdcmCommon.dir/build.make Source/Common/CMakeFiles/gdcmCommon.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/Common /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/Common /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/Common/CMakeFiles/gdcmCommon.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Source/Common/CMakeFiles/gdcmCommon.dir/build.make Source/Common/CMakeFiles/gdcmCommon.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Source/Common/CMakeFiles/gdcmCommon.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [  4%] Built target gdcmCommon
    make  -f Testing/Source/Common/Cxx/CMakeFiles/gdcmCommonTests.dir/build.make Testing/Source/Common/Cxx/CMakeFiles/gdcmCommonTests.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Testing/Source/Common/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/Common/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/Common/Cxx/CMakeFiles/gdcmCommonTests.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Testing/Source/Common/Cxx/CMakeFiles/gdcmCommonTests.dir/build.make Testing/Source/Common/Cxx/CMakeFiles/gdcmCommonTests.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Testing/Source/Common/Cxx/CMakeFiles/gdcmCommonTests.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [  8%] Built target gdcmCommonTests
    make  -f Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/build.make Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/DataStructureAndEncodingDefinition /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/build.make Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Source/DataStructureAndEncodingDefinition/CMakeFiles/gdcmDSED.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 15%] Built target gdcmDSED
    make  -f Source/InformationObjectDefinition/CMakeFiles/gdcmIOD.dir/build.make Source/InformationObjectDefinition/CMakeFiles/gdcmIOD.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/InformationObjectDefinition /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/InformationObjectDefinition /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/InformationObjectDefinition/CMakeFiles/gdcmIOD.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Source/InformationObjectDefinition/CMakeFiles/gdcmIOD.dir/build.make Source/InformationObjectDefinition/CMakeFiles/gdcmIOD.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Source/InformationObjectDefinition/CMakeFiles/gdcmIOD.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 17%] Built target gdcmIOD
    make  -f Utilities/gdcmjpeg/8/CMakeFiles/gdcmjpeg8.dir/build.make Utilities/gdcmjpeg/8/CMakeFiles/gdcmjpeg8.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities/gdcmjpeg/8 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/gdcmjpeg/8 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/gdcmjpeg/8/CMakeFiles/gdcmjpeg8.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Utilities/gdcmjpeg/8/CMakeFiles/gdcmjpeg8.dir/build.make Utilities/gdcmjpeg/8/CMakeFiles/gdcmjpeg8.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Utilities/gdcmjpeg/8/CMakeFiles/gdcmjpeg8.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 25%] Built target gdcmjpeg8
    make  -f Utilities/gdcmjpeg/12/CMakeFiles/gdcmjpeg12.dir/build.make Utilities/gdcmjpeg/12/CMakeFiles/gdcmjpeg12.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities/gdcmjpeg/12 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/gdcmjpeg/12 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/gdcmjpeg/12/CMakeFiles/gdcmjpeg12.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Utilities/gdcmjpeg/12/CMakeFiles/gdcmjpeg12.dir/build.make Utilities/gdcmjpeg/12/CMakeFiles/gdcmjpeg12.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Utilities/gdcmjpeg/12/CMakeFiles/gdcmjpeg12.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 33%] Built target gdcmjpeg12
    make  -f Utilities/gdcmjpeg/16/CMakeFiles/gdcmjpeg16.dir/build.make Utilities/gdcmjpeg/16/CMakeFiles/gdcmjpeg16.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities/gdcmjpeg/16 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/gdcmjpeg/16 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/gdcmjpeg/16/CMakeFiles/gdcmjpeg16.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Utilities/gdcmjpeg/16/CMakeFiles/gdcmjpeg16.dir/build.make Utilities/gdcmjpeg/16/CMakeFiles/gdcmjpeg16.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Utilities/gdcmjpeg/16/CMakeFiles/gdcmjpeg16.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 41%] Built target gdcmjpeg16
    make  -f Source/DataDictionary/CMakeFiles/gdcmDICT.dir/build.make Source/DataDictionary/CMakeFiles/gdcmDICT.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataDictionary /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/DataDictionary /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/DataDictionary/CMakeFiles/gdcmDICT.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Source/DataDictionary/CMakeFiles/gdcmDICT.dir/build.make Source/DataDictionary/CMakeFiles/gdcmDICT.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Source/DataDictionary/CMakeFiles/gdcmDICT.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 43%] Built target gdcmDICT
    make  -f Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/build.make Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/MediaStorageAndFileFormat /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/MediaStorageAndFileFormat /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/build.make Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Source/MediaStorageAndFileFormat/CMakeFiles/gdcmMSFF.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 56%] Built target gdcmMSFF
    make  -f Testing/Source/DataDictionary/Cxx/CMakeFiles/gdcmDICTTests.dir/build.make Testing/Source/DataDictionary/Cxx/CMakeFiles/gdcmDICTTests.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Testing/Source/DataDictionary/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/DataDictionary/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/DataDictionary/Cxx/CMakeFiles/gdcmDICTTests.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Testing/Source/DataDictionary/Cxx/CMakeFiles/gdcmDICTTests.dir/build.make Testing/Source/DataDictionary/Cxx/CMakeFiles/gdcmDICTTests.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Testing/Source/DataDictionary/Cxx/CMakeFiles/gdcmDICTTests.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 57%] Built target gdcmDICTTests
    make  -f Testing/Source/DataStructureAndEncodingDefinition/Cxx/CMakeFiles/gdcmDSEDTests.dir/build.make Testing/Source/DataStructureAndEncodingDefinition/Cxx/CMakeFiles/gdcmDSEDTests.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Testing/Source/DataStructureAndEncodingDefinition/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/DataStructureAndEncodingDefinition/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/DataStructureAndEncodingDefinition/Cxx/CMakeFiles/gdcmDSEDTests.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Testing/Source/DataStructureAndEncodingDefinition/Cxx/CMakeFiles/gdcmDSEDTests.dir/build.make Testing/Source/DataStructureAndEncodingDefinition/Cxx/CMakeFiles/gdcmDSEDTests.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Testing/Source/DataStructureAndEncodingDefinition/Cxx/CMakeFiles/gdcmDSEDTests.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 64%] Built target gdcmDSEDTests
    make  -f Testing/Source/InformationObjectDefinition/Cxx/CMakeFiles/gdcmIODTests.dir/build.make Testing/Source/InformationObjectDefinition/Cxx/CMakeFiles/gdcmIODTests.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Testing/Source/InformationObjectDefinition/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/InformationObjectDefinition/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/InformationObjectDefinition/Cxx/CMakeFiles/gdcmIODTests.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Testing/Source/InformationObjectDefinition/Cxx/CMakeFiles/gdcmIODTests.dir/build.make Testing/Source/InformationObjectDefinition/Cxx/CMakeFiles/gdcmIODTests.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Testing/Source/InformationObjectDefinition/Cxx/CMakeFiles/gdcmIODTests.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 67%] Built target gdcmIODTests
    make  -f Testing/Source/MediaStorageAndFileFormat/Cxx/CMakeFiles/gdcmMSFFTests.dir/build.make Testing/Source/MediaStorageAndFileFormat/Cxx/CMakeFiles/gdcmMSFFTests.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Testing/Source/MediaStorageAndFileFormat/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/MediaStorageAndFileFormat/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/MediaStorageAndFileFormat/Cxx/CMakeFiles/gdcmMSFFTests.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Testing/Source/MediaStorageAndFileFormat/Cxx/CMakeFiles/gdcmMSFFTests.dir/build.make Testing/Source/MediaStorageAndFileFormat/Cxx/CMakeFiles/gdcmMSFFTests.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Testing/Source/MediaStorageAndFileFormat/Cxx/CMakeFiles/gdcmMSFFTests.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 82%] Built target gdcmMSFFTests
    make  -f Utilities/socketxx/socket++/CMakeFiles/socketxx.dir/build.make Utilities/socketxx/socket++/CMakeFiles/socketxx.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities/socketxx/socket++ /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/socketxx/socket++ /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/socketxx/socket++/CMakeFiles/socketxx.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Utilities/socketxx/socket++/CMakeFiles/socketxx.dir/build.make Utilities/socketxx/socket++/CMakeFiles/socketxx.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Utilities/socketxx/socket++/CMakeFiles/socketxx.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 83%] Built target socketxx
    make  -f Source/MessageExchangeDefinition/CMakeFiles/gdcmMEXD.dir/build.make Source/MessageExchangeDefinition/CMakeFiles/gdcmMEXD.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/MessageExchangeDefinition /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/MessageExchangeDefinition /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/MessageExchangeDefinition/CMakeFiles/gdcmMEXD.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Source/MessageExchangeDefinition/CMakeFiles/gdcmMEXD.dir/build.make Source/MessageExchangeDefinition/CMakeFiles/gdcmMEXD.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Source/MessageExchangeDefinition/CMakeFiles/gdcmMEXD.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 91%] Built target gdcmMEXD
    make  -f Testing/Source/MessageExchangeDefinition/Cxx/CMakeFiles/gdcmMEXDTests.dir/build.make Testing/Source/MessageExchangeDefinition/Cxx/CMakeFiles/gdcmMEXDTests.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Testing/Source/MessageExchangeDefinition/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/MessageExchangeDefinition/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/MessageExchangeDefinition/Cxx/CMakeFiles/gdcmMEXDTests.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Testing/Source/MessageExchangeDefinition/Cxx/CMakeFiles/gdcmMEXDTests.dir/build.make Testing/Source/MessageExchangeDefinition/Cxx/CMakeFiles/gdcmMEXDTests.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Testing/Source/MessageExchangeDefinition/Cxx/CMakeFiles/gdcmMEXDTests.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 93%] Built target gdcmMEXDTests
    make  -f Wrapping/Python/CMakeFiles/gdcmswig_swig_compilation.dir/build.make Wrapping/Python/CMakeFiles/gdcmswig_swig_compilation.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Wrapping/Python /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Wrapping/Python /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Wrapping/Python/CMakeFiles/gdcmswig_swig_compilation.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Wrapping/Python/CMakeFiles/gdcmswig_swig_compilation.dir/build.make Wrapping/Python/CMakeFiles/gdcmswig_swig_compilation.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Wrapping/Python/CMakeFiles/gdcmswig_swig_compilation.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 93%] Built target gdcmswig_swig_compilation
    make  -f Wrapping/Python/CMakeFiles/gdcmswig.dir/build.make Wrapping/Python/CMakeFiles/gdcmswig.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Wrapping/Python /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Wrapping/Python /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Wrapping/Python/CMakeFiles/gdcmswig.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Wrapping/Python/CMakeFiles/gdcmswig.dir/build.make Wrapping/Python/CMakeFiles/gdcmswig.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Wrapping/Python/CMakeFiles/gdcmswig.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 93%] Built target gdcmswig
    make  -f Applications/Cxx/CMakeFiles/gdcmpdf.dir/build.make Applications/Cxx/CMakeFiles/gdcmpdf.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmpdf.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmpdf.dir/build.make Applications/Cxx/CMakeFiles/gdcmpdf.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 93%] Building CXX object Applications/Cxx/CMakeFiles/gdcmpdf.dir/gdcmpdf.cxx.o
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx && /usr/bin/g++   -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/Common -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/Common -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/MediaStorageAndFileFormat -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/InformationObjectDefinition -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/MessageExchangeDefinition -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataDictionary -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities/socketxx -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities/socketxx/socket++ -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/socketxx/socket++ -I/usr/include/poppler -I/usr/include/libxml2 -I/usr/include/openjpeg-2.3  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -O2 -g -DNDEBUG   -DLIBPOPPLER_CATALOG_HAS_STRUCTTREEROOT -DLIBPOPPLER_NEW_OBJECT_API -DLIBPOPPLER_GOOSTRING_HAS_CONSTGETCHAR -o CMakeFiles/gdcmpdf.dir/gdcmpdf.cxx.o -c /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcmpdf.cxx
    /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcmpdf.cxx: In function int main(int, char**):
    /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcmpdf.cxx:342:35: error: no match for operator= (operand types are std::unique_ptr<GlobalParams> and GlobalParams*)
      342 |   globalParams = new GlobalParams();
          |                                   ^
    In file included from /usr/include/c++/10/bits/locale_conv.h:41,
                     from /usr/include/c++/10/locale:43,
                     from /usr/include/c++/10/iomanip:43,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmTag.h:20,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmDataElement.h:17,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmDataSet.h:17,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmFile.h:18,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmWriter.h:18,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcmpdf.cxx:18:
    /usr/include/c++/10/bits/unique_ptr.h:370:19: note: candidate: std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp, _Dp>::operator=(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = GlobalParams; _Dp = std::default_delete<GlobalParams>]
      370 |       unique_ptr& operator=(unique_ptr&&) = default;
          |                   ^~~~~~~~
    /usr/include/c++/10/bits/unique_ptr.h:370:29: note:   no known conversion for argument 1 from GlobalParams* to std::unique_ptr<GlobalParams>&&
      370 |       unique_ptr& operator=(unique_ptr&&) = default;
          |                             ^~~~~~~~~~~~
    /usr/include/c++/10/bits/unique_ptr.h:385:2: note: candidate: template<class _Up, class _Ep> typename std::enable_if<std::__and_<std::__and_<std::is_convertible<typename std::unique_ptr<_Up, _Ep>::pointer, typename std::__uniq_ptr_impl<_Tp, _Dp>::pointer>, std::__not_<std::is_array<_Up> > >, std::is_assignable<_T2&, _U2&&> >::value, std::unique_ptr<_Tp, _Dp>&>::type std::unique_ptr<_Tp, _Dp>::operator=(std::unique_ptr<_Up, _Ep>&&) [with _Up = _Up; _Ep = _Ep; _Tp = GlobalParams; _Dp = std::default_delete<GlobalParams>]
      385 |  operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
          |  ^~~~~~~~
    /usr/include/c++/10/bits/unique_ptr.h:385:2: note:   template argument deduction/substitution failed:
    /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcmpdf.cxx:342:35: note:   mismatched types std::unique_ptr<_Tp, _Dp> and GlobalParams*
      342 |   globalParams = new GlobalParams();
          |                                   ^
    In file included from /usr/include/c++/10/bits/locale_conv.h:41,
                     from /usr/include/c++/10/locale:43,
                     from /usr/include/c++/10/iomanip:43,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmTag.h:20,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmDataElement.h:17,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmDataSet.h:17,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmFile.h:18,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmWriter.h:18,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcmpdf.cxx:18:
    /usr/include/c++/10/bits/unique_ptr.h:394:7: note: candidate: std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp, _Dp>::operator=(std::nullptr_t) [with _Tp = GlobalParams; _Dp = std::default_delete<GlobalParams>; std::nullptr_t = std::nullptr_t]
      394 |       operator=(nullptr_t) noexcept
          |       ^~~~~~~~
    /usr/include/c++/10/bits/unique_ptr.h:394:17: note:   no known conversion for argument 1 from GlobalParams* to std::nullptr_t
      394 |       operator=(nullptr_t) noexcept
          |                 ^~~~~~~~~
    make[2]: *** [Applications/Cxx/CMakeFiles/gdcmpdf.dir/build.make:86: Applications/Cxx/CMakeFiles/gdcmpdf.dir/gdcmpdf.cxx.o] Error 1
    make[2]: Target 'Applications/Cxx/CMakeFiles/gdcmpdf.dir/build' not remade because of errors.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[1]: *** [CMakeFiles/Makefile2:2365: Applications/Cxx/CMakeFiles/gdcmpdf.dir/all] Error 2
    make  -f Applications/Cxx/CMakeFiles/gdcmdump.dir/build.make Applications/Cxx/CMakeFiles/gdcmdump.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmdump.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmdump.dir/build.make Applications/Cxx/CMakeFiles/gdcmdump.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmdump.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 94%] Built target gdcmdump
    make  -f Applications/Cxx/CMakeFiles/gdcmdiff.dir/build.make Applications/Cxx/CMakeFiles/gdcmdiff.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmdiff.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmdiff.dir/build.make Applications/Cxx/CMakeFiles/gdcmdiff.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmdiff.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 94%] Built target gdcmdiff
    make  -f Applications/Cxx/CMakeFiles/gdcmraw.dir/build.make Applications/Cxx/CMakeFiles/gdcmraw.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmraw.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmraw.dir/build.make Applications/Cxx/CMakeFiles/gdcmraw.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmraw.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 94%] Built target gdcmraw
    make  -f Applications/Cxx/CMakeFiles/gdcmscanner.dir/build.make Applications/Cxx/CMakeFiles/gdcmscanner.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmscanner.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmscanner.dir/build.make Applications/Cxx/CMakeFiles/gdcmscanner.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmscanner.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 94%] Built target gdcmscanner
    make  -f Applications/Cxx/CMakeFiles/gdcmanon.dir/build.make Applications/Cxx/CMakeFiles/gdcmanon.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmanon.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmanon.dir/build.make Applications/Cxx/CMakeFiles/gdcmanon.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmanon.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 94%] Built target gdcmanon
    make  -f Applications/Cxx/CMakeFiles/gdcmscu.dir/build.make Applications/Cxx/CMakeFiles/gdcmscu.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmscu.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmscu.dir/build.make Applications/Cxx/CMakeFiles/gdcmscu.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmscu.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 95%] Built target gdcmscu
    make  -f Applications/Cxx/CMakeFiles/gdcmgendir.dir/build.make Applications/Cxx/CMakeFiles/gdcmgendir.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmgendir.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmgendir.dir/build.make Applications/Cxx/CMakeFiles/gdcmgendir.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmgendir.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 95%] Built target gdcmgendir
    make  -f Applications/Cxx/CMakeFiles/gdcmimg.dir/build.make Applications/Cxx/CMakeFiles/gdcmimg.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmimg.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmimg.dir/build.make Applications/Cxx/CMakeFiles/gdcmimg.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmimg.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 95%] Built target gdcmimg
    make  -f Applications/Cxx/CMakeFiles/gdcmconv.dir/build.make Applications/Cxx/CMakeFiles/gdcmconv.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmconv.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmconv.dir/build.make Applications/Cxx/CMakeFiles/gdcmconv.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmconv.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 95%] Built target gdcmconv
    make  -f Applications/Cxx/CMakeFiles/gdcminfo.dir/build.make Applications/Cxx/CMakeFiles/gdcminfo.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcminfo.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcminfo.dir/build.make Applications/Cxx/CMakeFiles/gdcminfo.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 95%] Building CXX object Applications/Cxx/CMakeFiles/gdcminfo.dir/gdcminfo.cxx.o
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx && /usr/bin/g++   -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/Common -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/Common -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/MediaStorageAndFileFormat -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/InformationObjectDefinition -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/MessageExchangeDefinition -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataDictionary -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities/socketxx -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities/socketxx/socket++ -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/socketxx/socket++ -I/usr/include/poppler -I/usr/include/libxml2 -I/usr/include/openjpeg-2.3  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -O2 -g -DNDEBUG   -DLIBPOPPLER_CATALOG_HAS_STRUCTTREEROOT -DLIBPOPPLER_NEW_OBJECT_API -DLIBPOPPLER_GOOSTRING_HAS_CONSTGETCHAR -o CMakeFiles/gdcminfo.dir/gdcminfo.cxx.o -c /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcminfo.cxx
    /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcminfo.cxx: In function int ProcessOneFile(const string&, const gdcm::Defs&):
    /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcminfo.cxx:516:37: error: no match for operator= (operand types are std::unique_ptr<GlobalParams> and GlobalParams*)
      516 |     globalParams = new GlobalParams();
          |                                     ^
    In file included from /usr/include/c++/10/bits/locale_conv.h:41,
                     from /usr/include/c++/10/locale:43,
                     from /usr/include/c++/10/iomanip:43,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmTag.h:20,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmDataElement.h:17,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmDataSet.h:17,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmFile.h:18,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmReader.h:17,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcminfo.cxx:19:
    /usr/include/c++/10/bits/unique_ptr.h:370:19: note: candidate: std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp, _Dp>::operator=(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = GlobalParams; _Dp = std::default_delete<GlobalParams>]
      370 |       unique_ptr& operator=(unique_ptr&&) = default;
          |                   ^~~~~~~~
    /usr/include/c++/10/bits/unique_ptr.h:370:29: note:   no known conversion for argument 1 from GlobalParams* to std::unique_ptr<GlobalParams>&&
      370 |       unique_ptr& operator=(unique_ptr&&) = default;
          |                             ^~~~~~~~~~~~
    /usr/include/c++/10/bits/unique_ptr.h:385:2: note: candidate: template<class _Up, class _Ep> typename std::enable_if<std::__and_<std::__and_<std::is_convertible<typename std::unique_ptr<_Up, _Ep>::pointer, typename std::__uniq_ptr_impl<_Tp, _Dp>::pointer>, std::__not_<std::is_array<_Up> > >, std::is_assignable<_T2&, _U2&&> >::value, std::unique_ptr<_Tp, _Dp>&>::type std::unique_ptr<_Tp, _Dp>::operator=(std::unique_ptr<_Up, _Ep>&&) [with _Up = _Up; _Ep = _Ep; _Tp = GlobalParams; _Dp = std::default_delete<GlobalParams>]
      385 |  operator=(unique_ptr<_Up, _Ep>&& __u) noexcept
          |  ^~~~~~~~
    /usr/include/c++/10/bits/unique_ptr.h:385:2: note:   template argument deduction/substitution failed:
    /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcminfo.cxx:516:37: note:   mismatched types std::unique_ptr<_Tp, _Dp> and GlobalParams*
      516 |     globalParams = new GlobalParams();
          |                                     ^
    In file included from /usr/include/c++/10/bits/locale_conv.h:41,
                     from /usr/include/c++/10/locale:43,
                     from /usr/include/c++/10/iomanip:43,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmTag.h:20,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmDataElement.h:17,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmDataSet.h:17,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmFile.h:18,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition/gdcmReader.h:17,
                     from /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx/gdcminfo.cxx:19:
    /usr/include/c++/10/bits/unique_ptr.h:394:7: note: candidate: std::unique_ptr<_Tp, _Dp>& std::unique_ptr<_Tp, _Dp>::operator=(std::nullptr_t) [with _Tp = GlobalParams; _Dp = std::default_delete<GlobalParams>; std::nullptr_t = std::nullptr_t]
      394 |       operator=(nullptr_t) noexcept
          |       ^~~~~~~~
    /usr/include/c++/10/bits/unique_ptr.h:394:17: note:   no known conversion for argument 1 from GlobalParams* to std::nullptr_t
      394 |       operator=(nullptr_t) noexcept
          |                 ^~~~~~~~~
    make[2]: *** [Applications/Cxx/CMakeFiles/gdcminfo.dir/build.make:86: Applications/Cxx/CMakeFiles/gdcminfo.dir/gdcminfo.cxx.o] Error 1
    make[2]: Target 'Applications/Cxx/CMakeFiles/gdcminfo.dir/build' not remade because of errors.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[1]: *** [CMakeFiles/Makefile2:2677: Applications/Cxx/CMakeFiles/gdcminfo.dir/all] Error 2
    make  -f Applications/Cxx/CMakeFiles/gdcmtar.dir/build.make Applications/Cxx/CMakeFiles/gdcmtar.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmtar.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmtar.dir/build.make Applications/Cxx/CMakeFiles/gdcmtar.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmtar.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 95%] Built target gdcmtar
    make  -f Applications/Cxx/CMakeFiles/gdcmxml.dir/build.make Applications/Cxx/CMakeFiles/gdcmxml.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmxml.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmxml.dir/build.make Applications/Cxx/CMakeFiles/gdcmxml.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmxml.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 96%] Built target gdcmxml
    make  -f Applications/Cxx/CMakeFiles/gdcmpap3.dir/build.make Applications/Cxx/CMakeFiles/gdcmpap3.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Applications/Cxx/CMakeFiles/gdcmpap3.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Applications/Cxx/CMakeFiles/gdcmpap3.dir/build.make Applications/Cxx/CMakeFiles/gdcmpap3.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make[2]: Nothing to be done for 'Applications/Cxx/CMakeFiles/gdcmpap3.dir/build'.
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 97%] Built target gdcmpap3
    make  -f Utilities/doxygen/CMakeFiles/DOCBOOK_MANPAGES.dir/build.make Utilities/doxygen/CMakeFiles/DOCBOOK_MANPAGES.dir/depend
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0 /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Utilities/doxygen /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/doxygen /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Utilities/doxygen/CMakeFiles/DOCBOOK_MANPAGES.dir/DependInfo.cmake --color=
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make  -f Utilities/doxygen/CMakeFiles/DOCBOOK_MANPAGES.dir/build.make Utilities/doxygen/CMakeFiles/DOCBOOK_MANPAGES.dir/build
    make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 97%] docbook manpages
    make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    [ 99%] Built target DOCBOOK_MANPAGES
    make[1]: Target 'all' not remade because of errors.
    make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu'
    make: *** [Makefile:186: all] Error 2
    make: Target 'default_target' not remade because of errors.
    
     
  • Tomasz K&#322;oczko

    And yet another observatiopn: seems like gdcm is using two xml parser libraries (libxml-2.0 and expat).

     
  • Tomasz K&#322;oczko

    Any comments/updates? :P

     
  • Mathieu Malaterre

    I've closed this one (#404) and kept #405 open to track progress. Thanks for report.

     
  • Tomasz K&#322;oczko

    OK. Please let me know if you will habve some new patches for gdcm.
    I'm tryig to use latest gdcm version to build latest opencv.

    Probably today or tomorrow will try to submit PR for CharLS to add install CharLS.pc file so than it will be possible to detect CharLS using pkgconfig
    In mean time I think that trick with passing "-D CHARLS_LIBRARIES=-lcharls" could be used to test gdcm agaoinst latest CharLS :)

    Just found yert another small issue in gdcm.
    Quote from build log:

    [ 93%] Building CXX object Testing/Source/MessageExchangeDefinition/Cxx/CMakeFiles/gdcmMEXDTests.dir/TestSCUFunctions.cxx.o
    cd /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/MessageExchangeDefinition/Cxx && /usr/bin/g++   -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Source/Common -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/Common -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Testing/Source/Data -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/x86_64-redhat-linux-gnu/Testing/Source/Data -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataStructureAndEncodingDefinition -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/DataDictionary -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/MediaStorageAndFileFormat -I/home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Source/MessageExchangeDefinition  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -O2 -g -DNDEBUG   -o CMakeFiles/gdcmMEXDTests.dir/TestSCUFunctions.cxx.o -c /home/tkloczko/rpmbuild/BUILD/GDCM-3.1.0/Testing/Source/MessageExchangeDefinition/Cxx/TestSCUFunctions.cxx
    [ 93%] Linking CXX executable ../../../../bin/gdcmMEXDTests
    

    If you will have look closer you can fioing in above my CFLAGS which I'm passing to the cmake ev variables:

    [tkloczko@barrel SPECS]$ rpm -E %set_build_flags | grep CFLAGS -w
            export CFLAGS="${CFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none}";
    

    However looks like gdcm cmake fiels are adding after that own part "-O2 -g -DNDEBUG".
    This should be not done that way because it wiill cancel for example trying to complile gdcm with optimisation for size.
    When will find where it is added that will try to submit PR to reorder that part.

     

Log in to post a comment.

MongoDB Logo MongoDB