fileio openSUSE Tumbleweed g++

Build 598c1618fd0ca4e534dcf78cc21388ab935fd6bf on openSUSE Tumbleweed using g++ at 2022-03-03 17:26
gem install edicta specificjson
-- The CXX compiler identification is GNU 11.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.3.0")  
-- TIFF supported.
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.37") 
-- PNG supported.
-- Configuring done
-- Generating done
-- Build files have been written to: /workspace/build
[  2%] Generating readimage_io.pspec
[  4%] Generating writeimage_io.pspec
[  6%] Generating readimage_io.cpp, readimage_io.hpp
[  8%] Generating writeimage_io.cpp, writeimage_io.hpp
readimage_io: ReadImageIn ReadImageOut Exception ParseInteger ValueParser Float String Int32 ParserPool ParseObject writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: readimage_io.hpp, source: readimage_io.cpp
writeimage_io: WriteImageIn Exception ParseInteger ValueParser Float String Int32 ParserPool ParseArrayContainer ParseObject ContainerStdVectorEqSize StdVector writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: writeimage_io.hpp, source: writeimage_io.cpp
[  8%] Built target readimage_io
[  8%] Built target writeimage_io
[ 10%] Generating split2planes_io.pspec
[ 12%] Generating writecollada_io.pspec
[ 14%] Generating split2planes_io.cpp, split2planes_io.hpp
[ 16%] Generating writecollada_io.cpp, writecollada_io.hpp
split2planes_io: Split2PlanesIn Exception ValueParser Float String ParserPool ParseArrayContainer ParseObject ContainerStdVector ContainerStdVectorEqSize StdVector writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: split2planes_io.hpp, source: split2planes_io.cpp
writecollada_io: WriteColladaIn Exception ParseInteger ValueParser Float String UInt32 ParserPool ParseArrayContainer ParseObject ContainerStdVector ContainerStdVectorEqSize StdVector writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: writecollada_io.hpp, source: writecollada_io.cpp
[ 16%] Built target split2planes_io
[ 16%] Built target writecollada_io
[ 18%] Generating writegltf_io.pspec
[ 20%] Generating writeglb_io.pspec
[ 22%] Generating writegltf_io.cpp, writegltf_io.hpp
[ 24%] Generating writeglb_io.cpp, writeglb_io.hpp
writegltf_io: WriteglTFIn Exception ParseInteger ValueParser Float String UInt32 ParserPool ParseArrayContainer ParseObject ContainerStdVector ContainerStdVectorEqSize StdVector writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: writegltf_io.hpp, source: writegltf_io.cpp
writeglb_io: WriteGLBIn Exception ParseInteger ValueParser Float String UInt32 ParserPool ParseArrayContainer ParseObject ContainerStdVector ContainerStdVectorEqSize StdVector writeBool writeScalarType writeInt16 writeInt32 writeInt64 writeInt8 writeString writeUInt16 writeUInt32 writeUInt64 writeUInt8 writeDouble writeFloat writePointer writeForwardIterator writeStdVector
  Header: writeglb_io.hpp, source: writeglb_io.cpp
[ 24%] Built target writegltf_io
[ 24%] Built target writeglb_io
[ 26%] Building CXX object CMakeFiles/unittest-split2planes.dir/src/split2planes.cpp.o
[ 28%] Building CXX object CMakeFiles/readimage.dir/src/readimage.cpp.o
/workspace/src/readimage.cpp: In function 'int read_tiff(const filenameType&, Image&)':
/workspace/src/readimage.cpp:81:12: warning: 'uint16' is deprecated [-Wdeprecated-declarations]
   81 |     uint16 bits, samples;
      |            ^~~~
In file included from /usr/include/tiffio.h:31,
                 from /workspace/src/readimage.cpp:22:
/usr/include/tiff.h:81:38: note: declared here
   81 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/workspace/src/readimage.cpp:81:18: warning: 'uint16' is deprecated [-Wdeprecated-declarations]
   81 |     uint16 bits, samples;
      |                  ^~~~~~~
In file included from /usr/include/tiffio.h:31,
                 from /workspace/src/readimage.cpp:22:
/usr/include/tiff.h:81:38: note: declared here
   81 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/workspace/src/readimage.cpp:82:12: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
   82 |     uint32 width, height;
      |            ^~~~~
In file included from /usr/include/tiffio.h:31,
                 from /workspace/src/readimage.cpp:22:
/usr/include/tiff.h:84:38: note: declared here
   84 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/workspace/src/readimage.cpp:82:19: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
   82 |     uint32 width, height;
      |                   ^~~~~~
In file included from /usr/include/tiffio.h:31,
                 from /workspace/src/readimage.cpp:22:
/usr/include/tiff.h:84:38: note: declared here
   84 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/workspace/src/readimage.cpp:92:16: warning: 'uint16' is deprecated [-Wdeprecated-declarations]
   92 |         uint16 config;
      |                ^~~~~~
In file included from /usr/include/tiffio.h:31,
                 from /workspace/src/readimage.cpp:22:
/usr/include/tiff.h:81:38: note: declared here
   81 | typedef TIFF_MSC_DEPRECATED uint16_t uint16 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/workspace/src/readimage.cpp:102:12: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
  102 |     uint32 row = 0;
      |            ^~~
In file included from /usr/include/tiffio.h:31,
                 from /workspace/src/readimage.cpp:22:
/usr/include/tiff.h:84:38: note: declared here
   84 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
[ 30%] Building CXX object CMakeFiles/readimage.dir/readimage_io.cpp.o
/workspace/build/readimage_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/readimage_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/readimage_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
In file included from /workspace/build/readimage_io.cpp:30:
/workspace/build/readimage_io.hpp: In instantiation of 'T io::convert_to_integer(const char*, char**) [with T = int; long int Minimum = -2147483648; long unsigned int Maximum = 2147483647]':
/workspace/build/readimage_io.hpp:168:52:   required from 'const char* io::parse_integer(T&, const char*, const char*, std::vector<char>&, bool) [with T = int; long int Minimum = -2147483648; long unsigned int Maximum = 2147483647]'
/workspace/build/readimage_io.cpp:230:79:   required from here
/workspace/build/readimage_io.hpp:146:50: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'intmax_t' {aka 'long int'} [-Wsign-compare]
  146 |         if (out < Minimum || (0 < out && Maximum < out))
      |                                          ~~~~~~~~^~~~~
[ 32%] Linking CXX executable readimage
[ 36%] Built target readimage
[ 38%] Building CXX object CMakeFiles/writeimage.dir/src/writeimage.cpp.o
[ 40%] Building CXX object CMakeFiles/unittest-split2planes.dir/split2planes_io.cpp.o
/workspace/src/writeimage.cpp: In function 'int writeTIFF(const filenameType&, const imageType&, io::WriteImageIn::depthType)':
/workspace/src/writeimage.cpp:76:12: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
   76 |     uint32 count = 0;
      |            ^~~~~
In file included from /usr/include/tiffio.h:31,
                 from /workspace/src/writeimage.cpp:23:
/usr/include/tiff.h:84:38: note: declared here
   84 | typedef TIFF_MSC_DEPRECATED uint32_t uint32 TIFF_GCC_DEPRECATED;
      |                                      ^~~~~~
/workspace/src/writeimage.cpp: In function 'int write_image(io::WriteImageIn&)':
/workspace/src/writeimage.cpp:352:35: warning: catching polymorphic type 'class std::ios_base::failure' by value [-Wcatch-value=]
  352 |     catch (std::ofstream::failure f) {
      |                                   ^
/workspace/build/split2planes_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/split2planes_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/split2planes_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
[ 42%] Linking CXX executable unittest-split2planes
[ 46%] Built target unittest-split2planes
[ 48%] Building CXX object CMakeFiles/split2planes.dir/src/split2planes.cpp.o
[ 51%] Building CXX object CMakeFiles/writeimage.dir/writeimage_io.cpp.o
/workspace/build/writeimage_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/writeimage_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/writeimage_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
In file included from /workspace/build/writeimage_io.cpp:30:
/workspace/build/writeimage_io.hpp: In instantiation of 'T io::convert_to_integer(const char*, char**) [with T = int; long int Minimum = -2147483648; long unsigned int Maximum = 2147483647]':
/workspace/build/writeimage_io.hpp:167:52:   required from 'const char* io::parse_integer(T&, const char*, const char*, std::vector<char>&, bool) [with T = int; long int Minimum = -2147483648; long unsigned int Maximum = 2147483647]'
/workspace/build/writeimage_io.cpp:230:79:   required from here
/workspace/build/writeimage_io.hpp:145:50: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'intmax_t' {aka 'long int'} [-Wsign-compare]
  145 |         if (out < Minimum || (0 < out && Maximum < out))
      |                                          ~~~~~~~~^~~~~
[ 53%] Building CXX object CMakeFiles/writeimage.dir/src/memimage.cpp.o
[ 55%] Building CXX object CMakeFiles/split2planes.dir/split2planes_io.cpp.o
[ 57%] Linking CXX executable writeimage
/workspace/build/split2planes_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/split2planes_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/split2planes_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
[ 61%] Built target writeimage
[ 63%] Building CXX object CMakeFiles/writecollada.dir/src/writecollada.cpp.o
[ 65%] Linking CXX executable split2planes
[ 69%] Built target split2planes
[ 71%] Building CXX object CMakeFiles/writegltf.dir/src/writegltf.cpp.o
[ 73%] Building CXX object CMakeFiles/writecollada.dir/writecollada_io.cpp.o
[ 75%] Building CXX object CMakeFiles/writegltf.dir/writegltf_io.cpp.o
/workspace/build/writecollada_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/writecollada_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/writecollada_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
[ 77%] Linking CXX executable writecollada
/workspace/build/writegltf_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/writegltf_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/writegltf_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
[ 81%] Built target writecollada
[ 83%] Building CXX object CMakeFiles/writeglb.dir/src/writeglb.cpp.o
[ 85%] Linking CXX executable writegltf
In file included from /usr/include/c++/11/backward/strstream:50,
                 from /workspace/src/writeglb.cpp:25:
/usr/include/c++/11/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
   32 | #warning \
      |  ^~~~~~~
[ 89%] Built target writegltf
[ 91%] Building CXX object CMakeFiles/writeglb.dir/writeglb_io.cpp.o
/workspace/build/writeglb_io.cpp: In constructor 'io::ContextException::ContextException(const io::Exception&, const char*, const char*, const char*)':
/workspace/build/writeglb_io.cpp:48:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   48 |     size_t before = (space < Current - Begin) ? space : (Current - Begin);
      |                      ~~~~~~^~~~~~~~~~~~~~~~~
/workspace/build/writeglb_io.cpp:49:27: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
   49 |     size_t after = (space < End - Current) ? space : (End - Current);
      |                     ~~~~~~^~~~~~~~~~~~~~~
[ 93%] Building CXX object CMakeFiles/writeglb.dir/src/memimage.cpp.o
[ 95%] Linking CXX executable writeglb
[100%] Built target writeglb
Running tests...
Test project /workspace/build
      Start  1: unittest-split2planes
 1/26 Test  #1: unittest-split2planes ............   Passed    0.00 sec
      Start  2: p3ppm8
 2/26 Test  #2: p3ppm8 ...........................***Failed    0.23 sec
      Start  3: p3ppm16
 3/26 Test  #3: p3ppm16 ..........................***Failed    0.46 sec
      Start  4: p3ppm4
 4/26 Test  #4: p3ppm4 ...........................***Failed    0.34 sec
      Start  5: p3ppm10
 5/26 Test  #5: p3ppm10 ..........................***Failed    0.46 sec
      Start  6: ppm8
 6/26 Test  #6: ppm8 .............................***Failed    0.48 sec
      Start  7: ppm16
 7/26 Test  #7: ppm16 ............................***Failed    0.46 sec
      Start  8: tiff1.8
 8/26 Test  #8: tiff1.8 ..........................***Failed    0.34 sec
      Start  9: tiff2.8
 9/26 Test  #9: tiff2.8 ..........................***Failed    0.47 sec
      Start 10: tiff3.8
10/26 Test #10: tiff3.8 ..........................***Failed    0.47 sec
      Start 11: tiff3.16
11/26 Test #11: tiff3.16 .........................***Failed    0.49 sec
      Start 12: tiff4.8
12/26 Test #12: tiff4.8 ..........................***Failed    0.34 sec
      Start 13: tiff4.16
13/26 Test #13: tiff4.16 .........................***Failed    0.47 sec
      Start 14: tiff5.8
14/26 Test #14: tiff5.8 ..........................***Failed    0.47 sec
      Start 15: tiff5.16
15/26 Test #15: tiff5.16 .........................***Failed    0.48 sec
      Start 16: png1.8
16/26 Test #16: png1.8 ...........................***Failed    0.47 sec
      Start 17: png1.16
17/26 Test #17: png1.16 ..........................***Failed    0.34 sec
      Start 18: png2.8
18/26 Test #18: png2.8 ...........................***Failed    0.47 sec
      Start 19: png2.16
19/26 Test #19: png2.16 ..........................***Failed    0.47 sec
      Start 20: png3.8
20/26 Test #20: png3.8 ...........................***Failed    0.48 sec
      Start 21: png3.16
21/26 Test #21: png3.16 ..........................***Failed    0.34 sec
      Start 22: png4.8
22/26 Test #22: png4.8 ...........................***Failed    0.47 sec
      Start 23: png4.16
23/26 Test #23: png4.16 ..........................***Failed    0.47 sec
      Start 24: plane0
24/26 Test #24: plane0 ...........................***Failed    0.47 sec
      Start 25: plane1
25/26 Test #25: plane1 ...........................***Failed    0.34 sec
      Start 26: plane2
26/26 Test #26: plane2 ...........................***Failed    0.47 sec

4% tests passed, 25 tests failed out of 26

Total Test time (real) =  10.77 sec

The following tests FAILED:
	  2 - p3ppm8 (Failed)
	  3 - p3ppm16 (Failed)
	  4 - p3ppm4 (Failed)
	  5 - p3ppm10 (Failed)
	  6 - ppm8 (Failed)
	  7 - ppm16 (Failed)
	  8 - tiff1.8 (Failed)
	  9 - tiff2.8 (Failed)
	 10 - tiff3.8 (Failed)
	 11 - tiff3.16 (Failed)
	 12 - tiff4.8 (Failed)
	 13 - tiff4.16 (Failed)
	 14 - tiff5.8 (Failed)
	 15 - tiff5.16 (Failed)
	 16 - png1.8 (Failed)
	 17 - png1.16 (Failed)
	 18 - png2.8 (Failed)
	 19 - png2.16 (Failed)
	 20 - png3.8 (Failed)
	 21 - png3.16 (Failed)
	 22 - png4.8 (Failed)
	 23 - png4.16 (Failed)
	 24 - plane0 (Failed)
	 25 - plane1 (Failed)
	 26 - plane2 (Failed)
Errors while running CTest
Output from these tests are in: /workspace/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
make: *** [Makefile:71: test] Error 8
Build and test exit code: 2