Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pRgsr-00078S-Uf for mharc-grub-devel@gnu.org; Mon, 13 Feb 2023 17:01:14 -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 1pRgsm-00075C-HA for grub-devel@gnu.org; Mon, 13 Feb 2023 17:01:09 -0500 Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRgsg-0004qr-2L for grub-devel@gnu.org; Mon, 13 Feb 2023 17:01:07 -0500 Received: by mail-qv1-xf2a.google.com with SMTP id j9so9316786qvt.0 for ; Mon, 13 Feb 2023 14:01:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=NtxwB7ixuIrMz7Sudv/oh85uBIRi3RxJZo66AqdyNAM=; b=pGwOvT0yMBtriK3B1xnvJ8voevkHTA3Crkx/9t4MY1RzYkeSwzL+TX0x5yReLkPxCB dsA3GQB0xX7KDUC8qWtPGkkMI4Lct684a6ntHp5rfzX4hhr2mlW/dRPW7a/Bno3VKBuX ycEx6PpgC5d4pBqO0yBSNRNa9hTkJZbdMi1tk7x9Sq5J6o3cKbuMaDRS8qw96QaErmTr 0UzvOanmQe3/0GvVa4OB/4MbC10LaEJCHWmmYf65oIfl8W4L7FI0GwrOFMmaCadTtYJ/ DshNV8fmvXtnntN9gvuYeKY+X2SD2k1WAdmLuWMJojv1msataq76DbMDU6IuNw/fGSee 2iNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:reply-to:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NtxwB7ixuIrMz7Sudv/oh85uBIRi3RxJZo66AqdyNAM=; b=QG3iIscvpYS9Rfk2B7UQ78N2/63Yrx3G4e5W1ZL6Hk+pXjHJYxw2LZ8tbOgUJDWye8 BL5NJ5ADlDyPhSjq8QOWXVerpfRZavI2Z0wjp2JkJ7CfLvrmSJ5HHS/jqLADlLDsPo0Q v4q1J953232bIAL6a8ZSwJco7zdM6n4qEZYwMDhvnUUG5ABz31VNz9iD6s3t0Q8kZV2d ljAsH+Dq5hogOspzhmo/kFhaYbVpArhzEdbNxQ4hzvzeOpgcypO2mUFGSJDCaBHTd0O4 nJV1jn5LSBhGLAMBsC+na3+sujBm+0TR9Tg5qVdd2meEcOkjPJRl2iMjx/ipNU90rXVT 8V6g== X-Gm-Message-State: AO0yUKVUegjtO0uxtNXZBuJZnz8/urOylT5P/orOFTAMne9QxztfQtYh wlSyx48xzSE61vPoYG2Rn4pc1g== X-Google-Smtp-Source: AK7set+Od9RujnH8X4OnpopgilzFudt51GTyGAi904gPB245eXSG+/MSjMY7xdL32X55tTe1D5foYw== X-Received: by 2002:a05:6214:e64:b0:56e:a39f:f060 with SMTP id jz4-20020a0562140e6400b0056ea39ff060mr670630qvb.19.1676325660697; Mon, 13 Feb 2023 14:01:00 -0800 (PST) Received: from crass-HP-ZBook-15-G2 ([37.218.244.251]) by smtp.gmail.com with ESMTPSA id m127-20020a37bc85000000b00720750365b9sm10595737qkf.129.2023.02.13.14.00.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 14:01:00 -0800 (PST) Date: Mon, 13 Feb 2023 16:00:53 -0600 From: Glenn Washburn To: "Thomas Schmitt" Cc: The development of GNU GRUB Subject: Re: make check: grub-mkrescue fails missing unicode.pf2. Leftovers in /tmp Message-ID: <20230213160053.441da7b2@crass-HP-ZBook-15-G2> In-Reply-To: <2390390910396418887@scdbackup.webframe.org> References: <2390390910396418887@scdbackup.webframe.org> Reply-To: development@efficientek.com X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::f2a; envelope-from=development@efficientek.com; helo=mail-qv1-xf2a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 22:01:11 -0000 On Mon, 13 Feb 2023 09:53:20 +0100 "Thomas Schmitt" wrote: > 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. You have the package xfonts-unifont installed correct? You also don't have the djvu fonts, but I don't think that's affecting this issue. If you do have the unifonts installed, you may need to run configure with shell tracing on to see whats really going on. You can do this like: sh -x ./configure If you don't see where the issue is, xz the output and send it here. > (The system is Debian 11 amd64.) This is the recommended OS for running the test suite. > 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"` IIRC, grub-mkfont creates unicode.pf2 and puts it in the root of the build directory. Since grub-mkfont is not being built, this generated file will not be created. Glenn > > 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 > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel