[R-pkg-team] Bug#996431: r-cran-cairo: Unable to open device: Graphics API version mismatch

Nilesh Patra nilesh at nileshpatra.info
Tue Oct 19 08:26:14 BST 2021


Hi Rob,

On Thu, 14 Oct 2021 11:07:05 +1100 Rob Moss <robm.dev at gmail.com> wrote> But when the script called the CairoPDF() function, the script terminated with the following error message:
> 
> [...]
> 
> I managed to run the script successfully by building and installing the package from within R using the following command:
> So I suspect the r-cran-cairo package needs to be recompiled against the current libcairo2 package.

Actually, the graphics API change is due to R-base package v4.1.1-2 (as seen in your system info as well), they changed the graphics API, and the package needs to rebuild against new R.
I just uploaded a new changelog revision (1.5-12.2-2) for cairo so it rebuild with the right set of deps.

It will be in testing in the next couple of days, it'd be great if you could test the new one, then.

Thanks for reporting,
Nilesh

> -- System Information:
> Debian Release: bookworm/sid
>   APT prefers testing
>   APT policy: (900, 'testing')
> ii  r-base-core [r-api-4.0]  4.1.1-2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20211019/3522dec1/attachment.sig>


More information about the R-pkg-team mailing list