[R-pkg-team] Bug#998287: r-cran-pdftools: autopkgtest failure: nrow(fonts) not equal to 3

Paul Gevers elbrus at debian.org
Mon Nov 8 20:51:01 GMT 2021


Hi Nilesh,

On 08-11-2021 17:41, Nilesh Patra wrote:
> I could reproduce this (relevant part below). *But*, it passes when I
> try run it locally with
> 
> (i) "bash ./debian/tests/run-unit-tests" --> OK
> 
> and also, inside a container with -- null
> 
> (ii) "sudo autopkgtest -B ../*.deb -- null" --> Works perfect.

Ack.

> It does not work when I try running it in a schroot, or an lxc container
> and gives errors similar to the one quoted below.

So, something on your local system is interfering with the test. schroot
and lxc are better in setting up a clean environment than the null runner.

> I tried changing locales with several different permutations, but the
> result is same.

How about other environment variables? (Or fonts, see below)

> Since this does not really look like a bug with this package, but rather
> something very specific to "autopkgtest" or "schroot" environment is
> triggering this,
> I need your inputs to tackle this.

I'd say the opposite. schroot's and lxc's generated with autopkgtest are
cleaner than your own computer. Of course there's still something, so
let's try to find out.

> Would you have any idea as to what autopkgtest might do differently in a
> chroot? Or what is specific there to be causing this?

To my eye it looks like a font (or more) is (are) missing in the
testbed. fonts\$name\[2\] does not match "MSung" and fonts\$name\[3\]
does not match "MHei" suggest to me that something needs to provide
them. Maybe that would fix the first issue too.

Paul

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


More information about the R-pkg-team mailing list