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

Rob Moss robm.dev at gmail.com
Thu Oct 14 01:07:05 BST 2021


Package: r-cran-cairo
Version: 1.5-12.2-1
Severity: important
X-Debbugs-Cc: robm.dev at gmail.com

Dear Maintainer,

I recently ran an R plotting script for the first time in about 6 months.

This script uses the r-cran-cairo package to save the plot as a PDF file, and I expected it to produce a PDF file as per usual.

But when the script called the CairoPDF() function, the script terminated with the following error message:

    Graphics API version mismatch
    Calls: <Anonymous> -> CairoPDF -> Cairo
    Execution halted

I managed to run the script successfully by building and installing the package from within R using the following command:

    install.packages('Cairo')

So I suspect the r-cran-cairo package needs to be recompiled against the current libcairo2 package.

All the best,
Rob


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-2-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_DIE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages r-cran-cairo depends on:
ii  libc6                    2.32-4
ii  libcairo2                1.16.0-5
ii  libfreetype6             2.10.4+dfsg-1
ii  libjpeg62-turbo          1:2.0.6-4
ii  libx11-6                 2:1.7.2-2+b1
ii  r-base-core [r-api-4.0]  4.1.1-2

r-cran-cairo recommends no packages.

Versions of packages r-cran-cairo suggests:
ii  r-cran-png  0.1-7-4

-- no debconf information



More information about the R-pkg-team mailing list