From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ygxk6-0003Zq-Cu for mharc-grub-devel@gnu.org; Sat, 11 Apr 2015 11:54:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygxk4-0003YG-3B for grub-devel@gnu.org; Sat, 11 Apr 2015 11:54:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ygxk0-0008KG-Tk for grub-devel@gnu.org; Sat, 11 Apr 2015 11:54:44 -0400 Received: from mail-la0-x229.google.com ([2a00:1450:4010:c03::229]:34015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygxk0-0008H8-L4 for grub-devel@gnu.org; Sat, 11 Apr 2015 11:54:40 -0400 Received: by laat2 with SMTP id t2so31592909laa.1 for ; Sat, 11 Apr 2015 08:54:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=6wtA0GxBULApPIiyrsuIvmGRu5LYEyY+7260b30HS0I=; b=uGKsP6ztQlQAN4cax/GBoHtFIQc8wpNpbbsEU5klJ50omnpZ9zWjpQZasvNh7DyQ8L 9yYJ+iRrz6YhP44LutvX6PFlwfhsa1+aFIrwXeb42U/mWf8y/7gXEQzPJd5dMaV7DJge 5TbizV4zeRy8xH08ekqYkbg2wIerxlHXZ9Jn2jZptlKSoK3IFl1YqUQOnc0vxrbbeu+2 Le5St+wHnbF7cfwfGo2m36iHuBiy+VK9osfkeaw3LHgR90yCnQC0tyMZs11o2535cLQC wyy6FNWg84p68joPaPdYYMFTRk+e9jrQuNqytNSxWwHvgzhAlPtv+/o+/3CUiVYSGvAi WFRA== X-Received: by 10.152.203.134 with SMTP id kq6mr5992266lac.110.1428767679461; Sat, 11 Apr 2015 08:54:39 -0700 (PDT) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id j3sm469111laf.22.2015.04.11.08.54.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Apr 2015 08:54:38 -0700 (PDT) Date: Sat, 11 Apr 2015 18:54:32 +0300 From: Andrei Borzenkov To: Paul Menzel Subject: Re: make check: Tests for platform coreboot using temporary files fail Message-ID: <20150411185432.559f243a@opensuse.site> In-Reply-To: <1428737611.2456.42.camel@users.sourceforge.net> References: <1428737611.2456.42.camel@users.sourceforge.net> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.27; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/JGrntDzSrgIEQii.9wPUYH6"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::229 Cc: grub-devel@gnu.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Apr 2015 15:54:45 -0000 --Sig_/JGrntDzSrgIEQii.9wPUYH6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Sat, 11 Apr 2015 09:33:31 +0200 Paul Menzel =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: > Dear GRUB developers, >=20 >=20 > using Debian Sid/unstable, building GRUB from commit f11db3c (core: > avoid NULL derefrence in grub_divmod64s) and running `make check`, all > the tests using temporary files fail. >=20 > $ ./autogen.sh > $ ./configure --with-platform=3Dcoreboot --enable-boot-time --ena= ble-cache-stats --enable-dependency-tracking > $ make -j > $ LANG=3DC make check > [=E2=80=A6] > =3D=3D=3D=3D=3D=3D=3D=3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[=E2=80=A6] > $ more test-suite.log > [=E2=80=A6] > FAIL: grub_cmd_echo > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > cp: cannot stat '': No such file or directory it is due to if [ x$boot =3D xcoreboot ]; then imgfile=3D`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1 cp "${GRUB_COREBOOT_ROM}" "${imgfile}" According to docs/grub.texi Following variables must be defined: @multitable @columnfractions .30 .65 @item GRUB_PAYLOADS_DIR @tab directory containing the required kernels @item GRUB_CBFSTOOL @tab cbfstoll from Coreboot package (for coreboot platf= orm only) @item GRUB_COREBOOT_ROM @tab empty Coreboot ROM @item GRUB_QEMU_OPTS @tab additional options to be supplied to QEMU @end multitable I have no experience with coreboot so I do not know what "empty Coreboot ROM" is. > [=E2=80=A6] >=20 > The temporary files are present in the temporary directory, `/tmp` in my > case. Is that expected? >=20 > `test-suite.log` is attached. >=20 >=20 > Thanks, >=20 > Paul --Sig_/JGrntDzSrgIEQii.9wPUYH6 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlUpQ7sACgkQR6LMutpd94x5WQCcDnUaYiOIpbV8FrMq1CUPL3To uyAAoKx/8YGP+zwzm/bIn/fSh/G51Gvl =08CZ -----END PGP SIGNATURE----- --Sig_/JGrntDzSrgIEQii.9wPUYH6--