Date: Sun, 23 Jul 2017 20:25:16 +0000 From: Grzegorz Junka <list1@gjunka.com> To: freebsd-ports@freebsd.org Subject: Re: Blender and opencv2-core Message-ID: <6a1ab979-80c6-3774-0538-e1c5818eb107@gjunka.com> In-Reply-To: <87bmobncyi.wl-herbert@mailbox.org> References: <00bf95d8-94ce-9eb6-8f8e-fc4494e4b4e7@gjunka.com> <7339a34b-1e81-618d-0f01-e3d2eef9e9cb@gjunka.com> <87bmobncyi.wl-herbert@mailbox.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 23/07/2017 19:57, Herbert J. Skuhra wrote: > Grzegorz Junka skrev: >> On 23/07/2017 12:42, Grzegorz Junka wrote: >>> I am getting the following error when setting up blender >>> dependencies in poudriere: >>> >>> ===> Setting user-specified options for blender-2.78c_3 and dependencies >>> blender-2.78c_3: >>> "/usr/local/poudriere/ports/local/graphics/opencv2-core" >>> non-existent -- dependency list incomplete >>> >>> Has this been removed but not updated in one of dependent ports? >>> >>> Grzegorz J >>> >> Sent too early, this is the actual error when trying to compile: >> >> [00:00:17] ====>> Error: graphics/openimageio depends on nonexistent >> origin 'graphics/opencv2-core'; Please contact maintainer of the port >> to fix this. >> [00:00:33] ====>> Error: Fatal errors encountered calculating dependencies >> >> This is of course when OpenImageIO setting is enabled in blender. > Have you tried to modify Makefile? > > Index: graphics/openimageio/Makefile > =================================================================== > --- graphics/openimageio/Makefile (revision 446433) > +++ graphics/openimageio/Makefile (working copy) > @@ -69,7 +69,7 @@ > OPENCV_CMAKE_ON= -DUSE_OPENCV:BOOL=ON > OPENCV_CMAKE_OFF= -DUSE_OPENCV:BOOL=OFF > OPENCV_LIB_DEPENDS= libopencv_highgui.so:graphics/opencv \ > - libopencv_core.so:graphics/opencv2-core \ > + libopencv_core.so:graphics/opencv-core \ > libopenjpeg.so:graphics/openjpeg15 > > OPENJPEG_CMAKE_ON= -DUSE_OPENJPEG:BOOL=ON > Tried just now and it seems to help. At least there were no errors when configuring and starting the build in poudriere. I will need to wait a day or so in best case scenario to check if the tree/blender compiles fine. I am using poudriere to update ports, i.e. poudriere ports -p local -u, not svn. Should I delete this patch before updating ports next time? How will poudriere treat a local change a Makefile going forward? What's the best practice? Thanks for help Grzegorz J
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1ab979-80c6-3774-0538-e1c5818eb107>