[Bug 232357] graphics/ImageMagick: run-time failure for convert(1) if built with libOpenCL and beignet / clover are installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 17 14:37:10 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232357
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 at FreeBSD.org
Reporter: z7dr6ut7gs at snkmail.com
Flags: maintainer-feedback?(kwm at FreeBSD.org)
Assignee: kwm at 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 once!
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 just
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/beignet
and lang/clover ports are installed then convert will use them at run-time.
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list