grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make check: grub-mkrescue fails missing unicode.pf2. Leftovers in /t


From: Glenn Washburn
Subject: Re: make check: grub-mkrescue fails missing unicode.pf2. Leftovers in /tmp
Date: Tue, 14 Feb 2023 11:00:50 -0600

On Tue, 14 Feb 2023 10:10:02 +0100
"Thomas Schmitt" <scdbackup@gmx.net> wrote:

> Hi,
> 
> Glenn Washburn wrote:
> > You have the package xfonts-unifont installed correct?
> 
> Urm, no. (I have no desktop running. Just fvwm.)
> Is the need for this package documented somewhere ?

IIRC, xfonts-unifont is pulled in by the unifont package on Debian, but
it is the one with the files you need. No, its not documented, but then
not every single debian package name needed is documented because the
documentation is partially distribution agnostic. If it were documented
it would be in ./INSTALL, which does talk about needing unifonts. If
you'd like to modify that file to help other Debian users, I'm
supportive.

> 
> Well, now it is installed. I do
> 
>   $ ./configure
>   ...
>   GRUB2 will be compiled with following components:
>   ...
>   With unifont from /usr/share/fonts/X11/misc/unifont.pcf.gz
>   ...
>   $ make
>   ...
>   $ make check
> 
> The complaints about the xorriso run do not appear any more.
> 
> 
> Now grub_func_test fails with other log messages:
> 
>   qemu-system-i386: -fw_cfg name=etc/sercon-port,string=0: warning:
> externally provided fw_cfg item names should be prefixed with "opt/"
> Functional test failure: shift_test: shift_test: PASS
>   ...
>   cmdline_cat_test:
>    tests/video_checksum.c:checksum:615: assert failed: 0 Checksum
> cmdline_cat_2560x1440xrgba8888:44 failed: 0x62031fea vs 0x8071678a
> ... about 300 lines of this kind ...
> tests/video_checksum.c:checksum:615: assert failed: 0 Checksum
> cmdline_cat_640x480xi16:1 failed: 0x46514dfc vs 0xc69be699
> cmdline_cat_test: FAIL ... gfxterm_menu:
>    tests/video_checksum.c:checksum:615: assert failed: 0 Checksum
> gfxterm_high_2560x1440xrgba8888:18 failed: 0xc4dbc501 vs 0xfc345163
> ... about 1400 lines ... tests/video_checksum.c:checksum:615: assert
> failed: 0 Checksum gfxterm_menu_640x480xi16:1 failed: 0x3bc388a0 vs
> 0xd9f04953 gfxterm_menu: FAIL ... more passed tests ...
>   TEST FAILURE
>   FAIL grub_func_test (exit status: 1)
> 
> Those messages are outside my range of knowledge.
> If i shall try to tackle them, i'd need exact instructions.

These are very old, well known, and expected failures. I would love for
someone to fix them, but there's little interest. Daniel Axten looked
into fixing them a couple years ago, but looks like a pain[1]. I think
we should either only checksum the part of the image that doesn't
contain the version number, or generate the checksums in
grub-core/tests/checksums.h at build time.

Glenn

[1] https://lists.gnu.org/archive/html/grub-devel/2020-08/msg00018.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]