Re: graphics/openimageio fails to build
On Mon, Jan 18, 2021 at 12:09 AM Shane Ambler wrote: > > On 14/1/21 8:16 am, Torfinn Ingolfsen wrote: > > like so: > > FAILED: > > src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg2000.imageio/jpeg2000input.cpp.o > > > Stop. > > make: stopped in /usr/ports/graphics/openimageio > > The update to 2.2.10.1 has been committed which has a patch to fix > the build with openjeg. FWIW, this update makes openimageio build for me. It build both with OPENJPEG off and on. Thank you. -- mvh Torfinn ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: graphics/openimageio fails to build
On 14/1/21 8:16 am, Torfinn Ingolfsen wrote: > like so: > FAILED: > src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg2000.imageio/jpeg2000input.cpp.o > Stop. > make: stopped in /usr/ports/graphics/openimageio The update to 2.2.10.1 has been committed which has a patch to fix the build with openjeg. -- FreeBSD - the place to B...Software Developing Shane Ambler ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: graphics/openimageio fails to build
On Thu, Jan 14, 2021 at 10:47 AM Shane Ambler wrote: > > > Do you need openjpeg support? Normal jpeg support is always on, the > option for OPENJPEG is a separate library for jpeg2000 support. > FWIW, I tried turning the openjpeg option off, but it didn't help, the build still failed. -- Regards, Torfinn Ingolfsen ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: graphics/openimageio fails to build
On Thu, Jan 14, 2021 at 10:53 AM Fernando Apesteguía < fernando.apesteg...@gmail.com> wrote: > > > On Thu, Jan 14, 2021 at 10:48 AM Shane Ambler > wrote: > >> On 14/1/21 8:16 am, Torfinn Ingolfsen wrote: >> > like so: >> > FAILED: >> src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg2000.imageio/jpeg2000input.cpp.o >> ... >> > fatal error: too many errors emitted, stopping now [-ferror-limit=] >> > 20 errors generated. >> ... >> > ports tree updated today. This on >> > root@kg-core2# uname -a >> > FreeBSD kg-core2.kg4.no 11.4-RELEASE-p5 FreeBSD 11.4-RELEASE-p5 #0: >> > Tue Dec 1 11:46:55 UTC 2020 >> > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >> > >> > Any more info I can provide? >> > >> >> I haven't run test builds for a while, I will look into it. >> >> Do you need openjpeg support? Normal jpeg support is always on, the >> option for OPENJPEG is a separate library for jpeg2000 support. >> > > I'm build testing right now. 27 packages to go. Mind you my poudriere jail > is 11.4-RELEASE-p6 amd64. Ports updated today 2021-01-14 07:29:40. > It built successfully in poudriere with default options. I see this in the log: CMake Warning at src/jpeg2000.imageio/CMakeLists.txt:11 (message): Jpeg-2000 plugin will not be built Are you building in a clean environment? Cheers. > >> >> >> -- >> FreeBSD - the place to B...Software Developing >> >> Shane Ambler >> >> ___ >> freebsd-ports@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-ports >> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" >> > ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: graphics/openimageio fails to build
On Thu, Jan 14, 2021 at 10:48 AM Shane Ambler wrote: > On 14/1/21 8:16 am, Torfinn Ingolfsen wrote: > > like so: > > FAILED: > src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg2000.imageio/jpeg2000input.cpp.o > ... > > fatal error: too many errors emitted, stopping now [-ferror-limit=] > > 20 errors generated. > ... > > ports tree updated today. This on > > root@kg-core2# uname -a > > FreeBSD kg-core2.kg4.no 11.4-RELEASE-p5 FreeBSD 11.4-RELEASE-p5 #0: > > Tue Dec 1 11:46:55 UTC 2020 > > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > > > Any more info I can provide? > > > > I haven't run test builds for a while, I will look into it. > > Do you need openjpeg support? Normal jpeg support is always on, the > option for OPENJPEG is a separate library for jpeg2000 support. > I'm build testing right now. 27 packages to go. Mind you my poudriere jail is 11.4-RELEASE-p6 amd64. Ports updated today 2021-01-14 07:29:40. > > > -- > FreeBSD - the place to B...Software Developing > > Shane Ambler > > ___ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" > ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: graphics/openimageio fails to build
On 14/1/21 8:16 am, Torfinn Ingolfsen wrote: > like so: > FAILED: > src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg2000.imageio/jpeg2000input.cpp.o ... > fatal error: too many errors emitted, stopping now [-ferror-limit=] > 20 errors generated. ... > ports tree updated today. This on > root@kg-core2# uname -a > FreeBSD kg-core2.kg4.no 11.4-RELEASE-p5 FreeBSD 11.4-RELEASE-p5 #0: > Tue Dec 1 11:46:55 UTC 2020 > r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > Any more info I can provide? > I haven't run test builds for a while, I will look into it. Do you need openjpeg support? Normal jpeg support is always on, the option for OPENJPEG is a separate library for jpeg2000 support. -- FreeBSD - the place to B...Software Developing Shane Ambler ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
graphics/openimageio fails to build
like so: FAILED: src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg2000.imageio/jpeg2000input.cpp.o /usr/bin/c++ -DEMBED_PLUGINS=1 -DOpenImageIO_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_DCMTK=1 -DUSE_FREETYPE=1 -DUSE_GIF -DUSE_HEIF=1 -DUSE_OCIO=1 -DUSE_OPENCOLORIO=1 -DUSE_OPENJPEG -DUSE_PTEX -DUSE_STD_REGEX -DUSE_WEBP=1 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -Iinclude/OpenImageIO -Iinclude -Isrc/include -I/usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/include -I/usr/local/include/ptex -I/usr/local/include/freetype2 -isystem /usr/local/include -isystem /usr/local/include/OpenEXR -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -Wall -Wno-unused-function -Wno-overloaded-virtual -Wno-unneeded-internal-declaration -Wno-unused-private-field -Wno-tautological-compare -Qunused-arguments -Wunknown-warning-option -Wno-unused-local-typedefs -Wno-expansion-to-defined -fno-math-errno -pthread -std=c++14 -MD -MT src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg2000.imageio/jpeg2000input.cpp.o -MF src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg2000.imageio/jpeg2000input.cpp.o.d -o src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg2000.imageio/jpeg2000input.cpp.o -c /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:97:5: error: unknown type name 'opj_codec_t'; did you mean 'opj_poc_t'? opj_codec_t* m_codec; ^~~ opj_poc_t /usr/local/include/openjpeg.h:225:3: note: 'opj_poc_t' declared here } opj_poc_t; ^ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:98:5: error: unknown type name 'opj_stream_t' opj_stream_t* m_stream; ^ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:105:5: error: unknown type name 'opj_codec_t'; did you mean 'opj_poc_t'? opj_codec_t* create_decompressor(); ^~~ opj_poc_t /usr/local/include/openjpeg.h:225:3: note: 'opj_poc_t' declared here } opj_poc_t; ^ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:143:26: error: unknown type name 'opj_codec_t'; did you mean 'opj_poc_t'? void setup_event_mgr(opj_codec_t* codec) ^~~ opj_poc_t /usr/local/include/openjpeg.h:225:3: note: 'opj_poc_t' declared here } opj_poc_t; ^ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:145:9: error: use of undeclared identifier 'opj_set_error_handler' opj_set_error_handler(codec, openjpeg_error_callback, this); ^ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:146:9: error: use of undeclared identifier 'opj_set_warning_handler' opj_set_warning_handler(codec, openjpeg_dummy_callback, NULL); ^ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:147:9: error: use of undeclared identifier 'opj_set_info_handler' opj_set_info_handler(codec, openjpeg_dummy_callback, NULL); ^ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:164:12: error: cannot initialize return object of type 'OpenImageIO_v2_2::ImageInput *' with an rvalue of type 'OpenImageIO_v2_2::Jpeg2000Input *' return new Jpeg2000Input; ^ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:188:9: error: no matching member function for call to 'errorf' errorf("Could not open file \"%s\"", m_filename); ^~ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/include/OpenImageIO/imageio.h:1591:10: note: candidate function template not viable: no known conversion from 'OpenImageIO_v2_2::Jpeg2000Input' to 'const OpenImageIO_v2_2::ImageInput' for object argument void errorf(const char* fmt, const Args&... args) const { ^ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:194:9: error: no matching member function for call to 'errorf' errorf("Could not create Jpeg2000 stream decompressor"); ^~ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/include/OpenImageIO/imageio.h:1591:10: note: candidate function template not viable: no known conversion from 'OpenImageIO_v2_2::Jpeg2000Input' to 'const OpenImageIO_v2_2::ImageInput' for object argument void errorf(const char* fmt, const Args&... args) const { ^ /usr/ports/graphics/openimageio/work/oiio-Release-2.2.9.0/src/jpeg2000.imageio/jpeg2000input.cpp:203:5: error: no matching function for call to 'opj_setup_decoder' opj_setup_decoder(m_codec, ); ^