Blender and opencv2-core

Grzegorz Junka list1 at gjunka.com
Sun Jul 23 20:25:20 UTC 2017


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



More information about the freebsd-ports mailing list