Bug 265166 - graphics/openfx-arena-2.3.14: build fail in poudriere
Summary: graphics/openfx-arena-2.3.14: build fail in poudriere
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Olivier Cochard
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-12 09:48 UTC by Martin Filla
Modified: 2022-07-22 19:55 UTC (History)
2 users (show)

See Also:
fernape: maintainer-feedback? (olivier)


Attachments
openfx-arena.log (58.12 KB, text/plain)
2022-07-12 13:18 UTC, Martin Filla
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2022-07-12 09:48:37 UTC
CXX      FreeBSD-64-release/ReadKrita.o
  CXX      FreeBSD-64-release/OpenRaster.o
  CXX      FreeBSD-64-release/ReadPDF.o
  CXX      FreeBSD-64-release/Sketch.o
  CXX      FreeBSD-64-release/Polaroid.o
  CXX      FreeBSD-64-release/Edges.o
  CXX      FreeBSD-64-release/Texture.o
  CXX      FreeBSD-64-release/Tile.o
  CXX      FreeBSD-64-release/Reflection.o
  CXX      FreeBSD-64-release/Arc.o
  CXX      FreeBSD-64-release/Polar.o
  CXX      FreeBSD-64-release/Roll.o
  CXX      FreeBSD-64-release/Wave.o
  CXX      FreeBSD-64-release/Swirl.o
  CXX      FreeBSD-64-release/Implode.o
  CXX      FreeBSD-64-release/Charcoal.o
  CXX      FreeBSD-64-release/Oilpaint.o
  CXX      FreeBSD-64-release/ReadPSD.o
In file included from ../Magick/ReadPSD.cpp:29:
/usr/local/include/lcms2.h:1261:44: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef cmsInt32Number (* cmsSAMPLER16)   (CMSREGISTER const cmsUInt16Number In[],
                                           ^~~~~~~~~~~~
/usr/local/include/lcms2.h:158:23: note: expanded from macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
/usr/local/include/lcms2.h:1262:44: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                           CMSREGISTER cmsUInt16Number Out[],
                                           ^~~~~~~~~~~~
/usr/local/include/lcms2.h:158:23: note: expanded from macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
/usr/local/include/lcms2.h:1263:44: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                           CMSREGISTER void * Cargo);
                                           ^~~~~~~~~~~~
/usr/local/include/lcms2.h:158:23: note: expanded from macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
/usr/local/include/lcms2.h:1265:44: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef cmsInt32Number (* cmsSAMPLERFLOAT)(CMSREGISTER const cmsFloat32Number In[],
                                           ^~~~~~~~~~~~
/usr/local/include/lcms2.h:158:23: note: expanded from macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
/usr/local/include/lcms2.h:1266:44: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                           CMSREGISTER cmsFloat32Number Out[],
                                           ^~~~~~~~~~~~
/usr/local/include/lcms2.h:158:23: note: expanded from macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
/usr/local/include/lcms2.h:1267:44: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                           CMSREGISTER void * Cargo);
                                           ^~~~~~~~~~~~
/usr/local/include/lcms2.h:158:23: note: expanded from macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
6 warnings generated.
  CXX      FreeBSD-64-release/Modulate.o
  CXX      FreeBSD-64-release/ReadMisc.o
  CXX      FreeBSD-64-release/Text.o
  CXX      FreeBSD-64-release/MagickPlugin.o
  CXX      FreeBSD-64-release/ofxsOGLTextRenderer.o
  CXX      FreeBSD-64-release/ofxsOGLFontData.o
  CXX      FreeBSD-64-release/ofxsRectangleInteract.o
  CXX      FreeBSD-64-release/ofxsTransform3x3.o
  CXX      FreeBSD-64-release/ofxsTransformInteract.o
  CXX      FreeBSD-64-release/ofxsShutter.o
  CXX      FreeBSD-64-release/ofxsMultiPlane.o
  CXX      FreeBSD-64-release/GenericReader.o
../OpenFX-IO/IOSupport/GenericReader.cpp:2069:53: warning: 'parseColorSpaceFromString' is deprecated: This was marked as deprecated starting in v2.0, please use Config::getColorSpaceFromFilepath(). [-Wdeprecated-declarations]
            const char* colorSpaceStr = ocioConfig->parseColorSpaceFromString( name.c_str() );
                                                    ^
/usr/local/include/OpenColorIO/OpenColorIO.h:1028:5: note: 'parseColorSpaceFromString' has been explicitly marked deprecated here
    OCIO_DEPRECATED("This was marked as deprecated starting in v2.0, please use Config::getColorSpaceFromFilepath().")
    ^
/usr/local/include/OpenColorIO/OpenColorABI.h:34:36: note: expanded from macro 'OCIO_DEPRECATED'
    #define OCIO_DEPRECATED(msg) [[deprecated(msg)]]
                                   ^
../OpenFX-IO/IOSupport/GenericReader.cpp:2075:9: warning: WARNING: OpenColorIO was updated, check that the following code is still necessary [-W#pragma-messages]
#pragma message WARN("OpenColorIO was updated, check that the following code is still necessary")
        ^
2 warnings generated.
  CXX      FreeBSD-64-release/GenericOCIO.o
../OpenFX-IO/IOSupport/GenericOCIO.cpp:113:5: error: use of undeclared identifier 'OpenColorIO'
    OpenColorIO::ConstColorSpaceRcPtr cs;
    ^
../OpenFX-IO/IOSupport/GenericOCIO.cpp:804:35: error: no matching constructor for initialization of 'OCIO::PackedImageDesc'
            OCIO::PackedImageDesc img(pix, renderWindow.x2 - renderWindow.x1, renderWindow.y2 - renderWindow.y1, numChannels, sizeof(float), pixelBytes, _dstRowBytes);
                                  ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/OpenColorIO/OpenColorIO.h:2576:5: note: candidate constructor not viable: requires 8 arguments, but 7 were provided
    PackedImageDesc(void * data,
    ^
/usr/local/include/OpenColorIO/OpenColorIO.h:2588:5: note: candidate constructor not viable: requires 8 arguments, but 7 were provided
    PackedImageDesc(void * data,
    ^
/usr/local/include/OpenColorIO/OpenColorIO.h:2568:5: note: candidate constructor not viable: requires 4 arguments, but 7 were provided
    PackedImageDesc(void * data,
    ^
/usr/local/include/OpenColorIO/OpenColorIO.h:2584:5: note: candidate constructor not viable: requires 4 arguments, but 7 were provided
    PackedImageDesc(void * data,
    ^
/usr/local/include/OpenColorIO/OpenColorIO.h:2630:5: note: candidate constructor not viable: requires 1 argument, but 7 were provided
    PackedImageDesc(const PackedImageDesc &);
    ^
/usr/local/include/OpenColorIO/OpenColorIO.h:2629:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
    PackedImageDesc();
    ^
../OpenFX-IO/IOSupport/GenericOCIO.cpp:805:20: error: no member named 'apply' in 'OpenColorIO_v2_1::Processor'
            _proc->apply(img);
            ~~~~~  ^
3 errors generated.
gmake[2]: *** [../OpenFX/Support/Plugins/Makefile.master:83: FreeBSD-64-release/GenericOCIO.o] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/openfx-arena/work/openfx-arena-Natron-2.3.14/Bundle'
gmake[1]: *** [Makefile:13: Bundle] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/openfx-arena/work/openfx-arena-Natron-2.3.14'
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/openfx-arena
=>> Cleaning up wrkdir
Comment 1 Martin Filla 2022-07-12 13:18:17 UTC
Created attachment 235216 [details]
openfx-arena.log
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-07-22 00:45:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0c4ac5e1b2ee5c25a44b190566345b61e3ae9791

commit 0c4ac5e1b2ee5c25a44b190566345b61e3ae9791
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2022-07-22 00:42:11 +0000
Commit:     Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2022-07-22 00:44:20 +0000

    graphics/openfx-arena: Update to 2.4.3 and fix build

    PR:             265166

    Reported by:    pkg-fallout

 graphics/openfx-arena/Makefile                     |   27 +-
 graphics/openfx-arena/distinfo                     |   30 +-
 .../files/patch-Bundle_Makefile (gone)             |   18 -
 .../files/patch-Bundle_lodepng.cpp (gone)          | 6226 --------------------
 .../files/patch-Bundle_lodepng.h (gone)            | 1762 ------
 .../files/patch-Extra_ReadPDF.cpp (gone)           |   13 -
 .../files/patch-Makefile.master (gone)             |   10 -
 graphics/openfx-arena/pkg-plist                    |    2 +
 8 files changed, 29 insertions(+), 8059 deletions(-)