From owner-freebsd-ports-bugs@freebsd.org Wed Oct 17 14:37:10 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 B3F7810D6EF5 for ; Wed, 17 Oct 2018 14:37:10 +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 4F423825AF for ; Wed, 17 Oct 2018 14:37:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 13E5F10D6EF4; Wed, 17 Oct 2018 14:37:10 +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 CC49210D6EF3 for ; Wed, 17 Oct 2018 14:37:09 +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 6C799825AB for ; Wed, 17 Oct 2018 14:37:09 +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 B196C19D4F for ; Wed, 17 Oct 2018 14:37:08 +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 w9HEb88Q090002 for ; Wed, 17 Oct 2018 14:37:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w9HEb8Yr090001 for ports-bugs@FreeBSD.org; Wed, 17 Oct 2018 14:37:08 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 232357] graphics/ImageMagick: run-time failure for convert(1) if built with libOpenCL and beignet / clover are installed Date: Wed, 17 Oct 2018 14:37:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: z7dr6ut7gs@snkmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kwm@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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.27 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2018 14:37:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232357 Bug ID: 232357 Summary: graphics/ImageMagick: run-time failure for convert(1) if built with libOpenCL and beignet / clover are installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: kwm@FreeBSD.org Reporter: z7dr6ut7gs@snkmail.com Flags: maintainer-feedback?(kwm@FreeBSD.org) Assignee: kwm@FreeBSD.org If graphics/ImageMagick (currently ImageMagick-6.9.9.28_2,1) is built with = the following packages installed: devel/opencl devel/ocl-icd lang/beignet lang/clover ... then running convert(1) (from ImageMagick) with certain parameters will fail: % convert foo.png -colorspace Gray foo2.png Device open failed, aborting... : CommandLine Error: Option 'enable-value-profiling' registered more than o= nce! LLVM ERROR: inconsistency in registered CommandLine options Nothing to output ! This was first noticed when building x11-wm/awesome on a system (amd64) with lang/beignet & lang/clover installed. You can reproduce it by installing devel/ocl-icd, devel/opencl, lang/beignet and lang/clover packages (maybe j= ust lang/beignet??), then trying 'make build' in x11-wm/awesome. The configure stage for ImageMagick detects the opencl include files & libraries and will link with libOpenCL if detected. Then if the lang/beign= et and lang/clover ports are installed then convert will use them at run-time.= =20 That triggers the error. I have not yet done any in depth digging into ImageMagick to see more details about this. Workaround: configure ImageMagick with --disable-opencl --=20 You are receiving this mail because: You are the assignee for the bug.=