Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pRUaD-0007yK-N9 for mharc-grub-devel@gnu.org; Mon, 13 Feb 2023 03:53:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRUaB-0007y5-Sc for grub-devel@gnu.org; Mon, 13 Feb 2023 03:53:08 -0500 Received: from mout.gmx.net ([212.227.17.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRUaA-0001Lr-0C for grub-devel@gnu.org; Mon, 13 Feb 2023 03:53:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1676278383; bh=xZEN9Kunkaai5aNwLb4LaqC4ti3ErK1t+5YxETI3BkQ=; h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To; b=XPh9Srtnwjg5D53xDLk9gE9Hj8idQtLj2N9Z0sq6gbWRCth5EqW8P5FMfoVEwl9Lu sj2TDsl1DRednzY+kez+W/DGdbLUdNk5DQvxVJ6geJrBfBUZ0t71RHVhM+1EToez93 mRbZ/bxsdg29BjCRNHHFJ+NlZ2VDne/jjy3V1xGCLGIxWT595qWnT5WmYmySmr5oD7 myTty+kHpLkW8mQT4M6FrZajOBJCmmRs+P71yjMtCaFePMehnGhekpsEKXsrvjgV6B 6IwaocXrsecR4iuPNGMol9mHqto49tEq72/wvPBbiwq+Vh4UJjpOdaq6UIFzq18fnG QzN1unINpPCFg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from scdbackup.webframe.org ([84.179.243.254]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MSKu0-1oymXf1Bsm-00SbR9 for ; Mon, 13 Feb 2023 09:53:03 +0100 Date: Mon, 13 Feb 2023 09:53:20 +0100 From: "Thomas Schmitt" To: grub-devel@gnu.org Subject: Re: make check: grub-mkrescue fails missing unicode.pf2. Leftovers in /tmp Content-Type: text/plain; charset="utf-8" References: In-Reply-To: Message-Id: <2390390910396418887@scdbackup.webframe.org> X-Provags-ID: V03:K1:kHQHRzjMcQLYLp26LiL6ro+mQFnqAaqV4tBS2/7uwTv9Vw/peV0 zekXHtmgvdrq3ts6a30UXWsgCvm7KmxvD65FZ8MZsrNp89BDbLDldr5Fa0txoyTHz7npTdY AYslL3q2xrTr8IJX+W6xwlKIm4x2Gx40XubqIN/pUUnYxmDrv21aNnYsAC+zcdmhWqSev2c /XqlOI56E8rhTsd2eAEcg== UI-OutboundReport: notjunk:1;M01:P0:0HHyrqYK1KI=;XZLDQEYXoDRDEN2tj86cd1Ems9o QdM9qZ7l/8qB91PZ6WVhPAd8KtqnKqdXoUCyrraCBccYJnI3zakMSKRsHiC1AHifZCngSvOSG n0SbrGYfX/+B5/vjEoI6MZqLkggFtBmw0pTrEVj9zfko/EXT8bC+SwH2zGmoeUsdeFzWBb/s0 NS2VaQpWZgWPLk7yvuaBz/KyBARejm3bjG8hIhsbenDvydPSqDsLnTqLru8O/TH2J1B9uSxxO 1GybQAqTYgmyjSXU0gRTuEjAUov10ymXZuEPWlur3+RTSlaY4vAhMxB9wEgJ74HEOmVrptOBc p/Cexb3w3YMT/5yBS7mZgr4uSF6YU+Xew2UmwK+ikdCFM9aswsfOQFy8Gqo+LC/pYRBrCfDd+ KOQKSicF5I+MaUnIYNWPvqu7Eid0yrpTloiaT1ZSe5FQzhW0Q781e/P13IK96aAODMEFrh3fC bDJRNqrwBUZsO5Wl8P8qIPQXBH2EM/cGZJOPWRPsru/oFRoOdexnCezIoIIeAmb0Tg7TcRLjq VD8DabAtfUQPupwKxuVYKt19km6hNkXOOW7tOUKReicEm1qDfI8IlIIgzf7clOOGKG3EK4+xD AXCDl8WSAenst+1FWjK0Z4VADn3y+6kSDUH+uH5xD8DsoeaEjp6zaYu1JeOrfXaksLWSFCwx0 JphimfqdCYLmB88dk0knt6rcbnkJKJpf9EDRFL7u9IybVS3Cg8VwiOmMoCshCgniMK6MFDNdx 7nOIqSidBOIZ8qch6DS5KpCxkgWYZygOlo/DX0wRnRzsEkWwLkN/EH1d/mGAblSZNSwPE/p2S 53az7QPJerW6Hg1GxtAuW9UlRvrmRtdPgIot7MTKbIBwxmKczMepYN9XoX7Ci4QW7k/eIWqJN lkR4leH23XhGXVLiuZOYdpscX3xwd30VmmHUq/s8y9o259aodQqybHwuUTL7PVcLUJZwokMm4 mKFCVbPVynmc1WQz7wBWEkNd6gw= Received-SPF: pass client-ip=212.227.17.22; envelope-from=scdbackup@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2023 08:53:08 -0000 Hi, Vladimir Serbinenko wrote: > Look at the end of configure message. Is free type enabled? Was unifont > found? -------------------------------------------------------------------- $ ./configure ... checking whether -Wtrampolines work... yes checking for freetype2... yes checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking whether byte ordering is bigendian... no checking for freetype2... yes checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes checking for fuse3... no ... ******************************************************* GRUB2 will be compiled with following components: Platform: i386-pc With devmapper support: No (need libdevmapper header) With memory debugging: No With disk cache statistics: No With boot time statistics: No efiemu runtime: Yes grub-mkfont: Yes grub-mount: No (need fuse or fuse3 libraries) starfield theme: No (No DejaVu found) With libzfs support: No (need zfs library) Build-time grub-mkfont: No (no fonts) Without unifont (no build-time grub-mkfont) With liblzma from -llzma (support for XZ-compressed mips images) With stack smashing protector: No ******************************************************* -------------------------------------------------------------------- So i would say "freetype2" yes, "unifont" no. (The system is Debian 11 amd64.) The test log says: FAIL grub_func_test (exit status: 1) In ./grub_func_test i see # Increase memory as some of tests are high-resolution and need a lot of memory. out=`echo all_functional_test | ./grub-shell --timeout=3600 --files="/boot/grub/fonts/unicode.pf2"="./"unicode.pf2 --qemu-opts="-m $mem"` I believe to see the grub-mkrescue invocation in tests/util/grub-shell.in exec_show_error "${builddir}/grub-mkrescue" "--output=${isofile}" \ "--override-directory=${builddir}/grub-core" \ --rom-directory="${rom_directory}" \ --locale-directory="${srcdir}/po" \ --themes-directory="${srcdir}/themes" \ $mkimage_extra_arg ${mkrescue_args} \ "/boot/grub/grub.cfg=${cfgfile}" "/boot/grub/testcase.cfg=${source}" \ ${files} || exit $? As proof i added a pathspec with an existing filename before ${files}: - ${files} || exit $? + /x=/home/thomas/x ${files} || exit $? This file path then appears in the test failure message: Added to ISO image: file '/x'='/home/thomas/x' xorriso : FAILURE : Cannot determine attributes of source file '/home/thomas/projekte/grub_dir/grub/unicode.pf2' : No such file or directory So i am sure that the xorriso run in grub-shell.in is the one which fails and that the bad filename comes from ${files}. I suspect that ${files} comes from the "--files=" argument that is given to ./grub-shell by tests/util/grub-shell.in. Have a nice day :) Thomas