From owner-freebsd-ports-bugs@freebsd.org Tue May 29 05:45:34 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D537EEF8D0 for ; Tue, 29 May 2018 05:45:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B972578150 for ; Tue, 29 May 2018 05:45:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7884FEEF8CA; Tue, 29 May 2018 05:45:33 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67046EEF8C8 for ; Tue, 29 May 2018 05:45:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0656B7814C for ; Tue, 29 May 2018 05:45:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2B57325C21 for ; Tue, 29 May 2018 05:45:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w4T5jWms077736 for ; Tue, 29 May 2018 05:45:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w4T5jWg6077735 for ports-bugs@FreeBSD.org; Tue, 29 May 2018 05:45:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228531] graphics/blender: fails to link with CYCLES Date: Tue, 29 May 2018 05:45:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: FreeBSD@ShaneWare.Biz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2018 05:45:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228531 --- Comment #3 from Shane --- Created attachment 193808 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D193808&action= =3Dedit build fix workaround for graphics/blender Adding LLD_UNSAFE=3Dyes does not fix this. The quick workaround is to add WITH_CYCLES_LOGGING to CMAKE_OFF. When enabled this allows blender to be started with extra debugging output while rendering, unless gathering info = for a bug report disabling this makes no difference to the user. For a proper fix I'm not sure why this is happening. The conflict only happ= ens if devel/gflags is installed when building blender, which includes its own = copy of gflags source in extern/gflags. devel/gflags is now being installed via graphics/opencv. Both the port installed and blender included files have SetCommandLineOption(const char* name, const char* value) but lld is giving an error looking for=20 gflags::SetCommandLineOption(char const*, char const*) Both sources use "const char*" but lld is looking for "char const*" - but o= nly when gflags is installed from ports. Matching code to use SetCommandLineOption is also used in blenders intern/l= ibmv which doesn't get this error - libmv logging is always enabled and builds if CYCLES_LOGGING is disabled per the patch. The two blender sources using SetCommandLineOption are intern/libmv/intern/logging.cc -- this builds intern/cycles/util/util_logging.cpp -- this fails if gflags port is instal= led --=20 You are receiving this mail because: You are the assignee for the bug.=