From owner-freebsd-ports@freebsd.org Sun Jul 23 21:37:11 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A2F5DAE302 for ; Sun, 23 Jul 2017 21:37:11 +0000 (UTC) (envelope-from herbert@mailbox.org) Received: from mx1.mailbox.org (mx1.mailbox.org [80.241.60.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mailbox.org", Issuer "SwissSign Server Silver CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDB96709C4 for ; Sun, 23 Jul 2017 21:37:10 +0000 (UTC) (envelope-from herbert@mailbox.org) Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id C18CD46993 for ; Sun, 23 Jul 2017 23:37:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-type:content-type:mime-version:references:in-reply-to :subject:subject:from:from:message-id:date:date:received; s= mail20150812; t=1500845822; bh=x+K/Y9HCeedY1TT8od+0INVo1JjFe5eaj YmEyoYFfQ4=; b=cyu1xNtWcsAIppqM4M1UnqHwiFbuNg6qLrHm5440Ab2Vh3rAu AmJqDQyrENBOUNWwHXVai88DoHB86GmnflZohjSzQf5LuiCnuxU7dhOmG+LbMXCT IBFHo+hZ7JgcWbwiA6Lk+pxiMcQn2VHNzGJOQTi5Bi5kbcRXOgFDtnULtxlM57Pr pqeWuBKenZVpCu2kQycxl+RGYsmjXAY5VBgbTaaQb5JS0na1U8BPwtQ/iY+fr2S3 lIlCOVAafdDF6yrPaTml4J51wK9eVFTy3EHQO45jclNeoUdGF++hXBgdCowoHF5b FgWzu7hm0f/hxqO27f8wjxQGydBoFkrMZOIzw== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id Iuv2-Z2CSTzr for ; Sun, 23 Jul 2017 23:37:02 +0200 (CEST) Date: Sun, 23 Jul 2017 23:36:59 +0200 Message-ID: <87iniiq1hg.wl-herbert@mailbox.org> From: "Herbert J. Skuhra" To: freebsd-ports@freebsd.org Subject: Re: Blender and opencv2-core In-Reply-To: <6a1ab979-80c6-3774-0538-e1c5818eb107@gjunka.com> References: <00bf95d8-94ce-9eb6-8f8e-fc4494e4b4e7@gjunka.com> <7339a34b-1e81-618d-0f01-e3d2eef9e9cb@gjunka.com> <87bmobncyi.wl-herbert@mailbox.org> <6a1ab979-80c6-3774-0538-e1c5818eb107@gjunka.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jul 2017 21:37:11 -0000 Grzegorz Junka skrev: > > 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. % poudriere ports -l What method is used? > 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? If svn is used run 'svnlite revert -R .' in graphics/openimageio. If portsnap is used 'any local changes or additions will be removed' according to portsnap(8). -- Herbert