[Pkg-opencl-devel] Bug#971572: oclgrind appears to depend on libclang-common-9-dev

ryan ryan at ratml.org
Fri Oct 2 02:31:39 BST 2020


Source: oclgrind
Version: 19.10-2
Severity: normal

Dear Maintainer,

Thanks for packaging oclgrind!

   * What led up to the situation?

I was attempting to use oclgrind, but I found that using oclgrind and trying to
compile an OpenCL program resulted in unexpected output from
clGetProgramBuildInfo():

```
fatal error: malformed or corrupted AST file: 'could not find file
'/usr/lib/llvm-9/lib/clang/9.0.1/include/opencl-c-base.h' referenced by AST file
'/usr/lib/x86_64-linux-gnu/oclgrind/19.10//opencl-c-1.2-64.pch''
```

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

I discovered that this file is provided by libclang-common-9-dev, which I then
installed.  At this point, my program worked successfully.

So it seems like oclgrind should also depend on libclang-common-9-dev.

   * What was the outcome of this action?

I successfully worked around the issue.

   * What outcome did you expect instead?

Hopefully that I might not need to work around the issue. :)

My system information below is inaccurate---I am behind a Comcast host so I
can't use reportbug to actually send an email, so I am here using reportbug on a
different system that is not behind Comcast's awful SMTP block rules.

Please let me know if there's any more information you need.  And thanks again!

-- System Information:
Debian Release: 10.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-10-amd64 (SMP w/16 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-opencl-devel mailing list