In file included from Source/FreeImage/../OpenEXR/IlmImf/ImfHeader.h:51,
                 from Source/FreeImage/../OpenEXR/IlmImf/ImfOutputFile.h:46,
                 from Source/FreeImage/PluginEXR.cpp:33:
Source/OpenEXR/Imath/ImathVec.h:228:41: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
  228 |     const Vec2 &        normalizeExc () throw (IEX_NAMESPACE::MathExc);
      |                                         ^~~~~
Source/OpenEXR/Imath/ImathVec.h:232:48: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
  232 |     Vec2             normalizedExc () const throw (IEX_NAMESPACE::MathExc);
      |                                                ^~~~~
Source/OpenEXR/Imath/ImathVec.h:440:41: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
  440 |     const Vec3 &        normalizeExc () throw (IEX_NAMESPACE::MathExc);
      |                                         ^~~~~
Source/OpenEXR/Imath/ImathVec.h:444:48: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
  444 |     Vec3             normalizedExc () const throw (IEX_NAMESPACE::MathExc);
      |                                                ^~~~~
Source/OpenEXR/Imath/ImathVec.h:622:37: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
  622 |     const Vec4 &    normalizeExc () throw (IEX_NAMESPACE::MathExc);
      |                                     ^~~~~
Source/OpenEXR/Imath/ImathVec.h:626:44: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
  626 |     Vec4         normalizedExc () const throw (IEX_NAMESPACE::MathExc);
      |                                            ^~~~~
Source/OpenEXR/Imath/ImathVec.h:714:30: error: ISO C++17 does not allow dynamic exception specifications
  714 | Vec2::normalizeExc () throw (IEX_NAMESPACE::MathExc);
      |                              ^~~~~
Source/OpenEXR/Imath/ImathVec.h:723:37: error: ISO C++17 does not allow dynamic exception specifications
  723 | Vec2::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
      |                                     ^~~~~
Source/OpenEXR/Imath/ImathVec.h:738:28: error: ISO C++17 does not allow dynamic exception specifications
  738 | Vec2::normalizeExc () throw (IEX_NAMESPACE::MathExc);
      |                            ^~~~~
Source/OpenEXR/Imath/ImathVec.h:747:35: error: ISO C++17 does not allow dynamic exception specifications
  747 | Vec2::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
      |                                   ^~~~~
Source/OpenEXR/Imath/ImathVec.h:762:30: error: ISO C++17 does not allow dynamic exception specifications
  762 | Vec3::normalizeExc () throw (IEX_NAMESPACE::MathExc);
      |                              ^~~~~
Source/OpenEXR/Imath/ImathVec.h:771:37: error: ISO C++17 does not allow dynamic exception specifications
  771 | Vec3::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
      |                                     ^~~~~
Source/OpenEXR/Imath/ImathVec.h:786:28: error: ISO C++17 does not allow dynamic exception specifications
  786 | Vec3::normalizeExc () throw (IEX_NAMESPACE::MathExc);
      |                            ^~~~~
Source/OpenEXR/Imath/ImathVec.h:795:35: error: ISO C++17 does not allow dynamic exception specifications
  795 | Vec3::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
      |                                   ^~~~~
Source/OpenEXR/Imath/ImathVec.h:809:30: error: ISO C++17 does not allow dynamic exception specifications
  809 | Vec4::normalizeExc () throw (IEX_NAMESPACE::MathExc);
      |                              ^~~~~
Source/OpenEXR/Imath/ImathVec.h:818:37: error: ISO C++17 does not allow dynamic exception specifications
  818 | Vec4::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
      |                                     ^~~~~
Source/OpenEXR/Imath/ImathVec.h:833:28: error: ISO C++17 does not allow dynamic exception specifications
  833 | Vec4::normalizeExc () throw (IEX_NAMESPACE::MathExc);
      |                            ^~~~~
Source/OpenEXR/Imath/ImathVec.h:842:35: error: ISO C++17 does not allow dynamic exception specifications
  842 | Vec4::normalizedExc () const throw (IEX_NAMESPACE::MathExc);
      |                                   ^~~~~
Source/OpenEXR/Imath/ImathVec.h:1212:26: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
 1212 | Vec2::normalizeExc () throw (IEX_NAMESPACE::MathExc)
      |                          ^~~~~
Source/OpenEXR/Imath/ImathVec.h:1249:33: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
 1249 | Vec2::normalizedExc () const throw (IEX_NAMESPACE::MathExc)
      |                                 ^~~~~
Source/OpenEXR/Imath/ImathVec.h:1704:26: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
 1704 | Vec3::normalizeExc () throw (IEX_NAMESPACE::MathExc)
      |                          ^~~~~
Source/OpenEXR/Imath/ImathVec.h:1743:33: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
 1743 | Vec3::normalizedExc () const throw (IEX_NAMESPACE::MathExc)
      |                                 ^~~~~
Source/OpenEXR/Imath/ImathVec.h:2109:26: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
 2109 | Vec4::normalizeExc () throw (IEX_NAMESPACE::MathExc)
      |                          ^~~~~
Source/OpenEXR/Imath/ImathVec.h:2150:33: error: ISO C++17 does not allow dynamic exception specifications [-Wtemplate-body]
 2150 | Vec4::normalizedExc () const throw (IEX_NAMESPACE::MathExc)
      |                                 ^~~~~
In file included from Source/FreeImage/../OpenEXR/IlmImf/ImfXdr.h:108,
                 from Source/FreeImage/../OpenEXR/IlmImf/ImfGenericOutputFile.h:40,
                 from Source/FreeImage/../OpenEXR/IlmImf/ImfOutputFile.h:49:
Source/OpenEXR/Half/half.h: In constructor ‘half::half(float)’:
Source/OpenEXR/Half/half.h:462:22: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
  462 |         register int e = (x.i >> 23) & 0x000001ff;
      |                      ^
Source/OpenEXR/Half/half.h:473:26: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
  473 |             register int m = x.i & 0x007fffff;
      |                          ^
make[1]: *** [Makefile.gnu:64: Source/FreeImage/PluginEXR.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:21: default] Error 2
Traceback (most recent call last):
  File "/var/pisi/FreeImage/actions.py", line 18, in build
    autotools.make()
  File "/usr/lib/pisilinux/pisi/actionsapi/autotools.py", line 103, in make
    if system('make %s %s' % (get.makeJOBS(), parameters)):
  File "/usr/lib/pisilinux/pisi/actionsapi/shelltools.py", line 255, in system
    error(_("Command \"%s\" failed, return value was %d.") % (command, retValue))
  File "/usr/lib/pisilinux/pisi/actionsapi/__init__.py", line 27, in error
    raise Error(msg)
pisi.actionsapi.Error: Command "make -j5" failed, return value was 2.
Action script error caught.
*** 1 error(s), 0 warning(s)
Program terminated.