From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aiwMg-0006WQ-0E for mharc-grub-devel@gnu.org; Wed, 23 Mar 2016 23:55:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiwMd-0006Up-Us for grub-devel@gnu.org; Wed, 23 Mar 2016 23:55:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiwMa-0006JW-OG for grub-devel@gnu.org; Wed, 23 Mar 2016 23:55:15 -0400 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:33375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiwMa-0006JQ-Fl; Wed, 23 Mar 2016 23:55:12 -0400 Received: by mail-lf0-x22b.google.com with SMTP id o73so25522543lfe.0; Wed, 23 Mar 2016 20:55:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to; bh=6uW+SS6wZBQwZy59QQQ1UmhBSMLk6S/AR8rE1ueq1xc=; b=XevXzLscCnRLGhwfaQFPAZzgfuITYgc4DHEdAMeDCUT+z2gRb9TCC6Kr1zvf4EI6Rj Q0m0TEt42QafYKGzAqJ2LdmdWXGJ8e6Tg4qpm+DgY2K7NTjYdNjdAyx9vk/cS7y9lB73 9dqTSZAhloIuGq0sLl77f9z+6k0WofNIjsBXoEUD8mEAU6PL3D35MeFcXjPph1e1g/5M LTI/ZtGlVrqNGAagOWiEJyRCIb+txPFJCEjT2ZViojJf1VUojeLimc+MrbPnwpU5Cgc9 bxg19leBTfdVt6cU5UYqp1VFdJ0fKK+gJP+SxRFRUJwH1LJG/Ar+5SIiRbBp/nY9kd39 s6Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to; bh=6uW+SS6wZBQwZy59QQQ1UmhBSMLk6S/AR8rE1ueq1xc=; b=f49lF7vXVff2qihJbVs40v64sbZ32xGS3ekD+I9Ap/cMwL5T8aaw5Iwn2snDQzQPTt k1xdKRZxZMwy1bBNf6aCWIaMN8PTfzsudkg2Ezc6i5faCl9lPvjNxY3cumLdRSgf8h0p pyNg/Bka38Il+VsC2VBDGyrjDUzektyyYbwWLw7RF9rJ68/1+W+880x2WWK3ee4TcrEr K0lv7YrimBD6GGvhVQvGdv6aR+nneIZ+ONGG2fxkvb1dobQGIx+8CLIPaUu6uUUiSNz6 VoBXrB8qONa+Vx4H06Tlf5UhukOEb7pM+uezKX+H4DXd8H8w6j6Gv/Ldi3G8xA9CXNAj kVfQ== X-Gm-Message-State: AD7BkJJh2mOJcIEI4bK+DK0oe7clM5P//geMadcTr5YirmgQQ0AXiUeg6pl8j6+dR7xWsw== X-Received: by 10.25.16.90 with SMTP id f87mr2185871lfi.18.1458791711326; Wed, 23 Mar 2016 20:55:11 -0700 (PDT) Received: from [192.168.1.42] (ppp109-252-76-159.pppoe.spdop.ru. [109.252.76.159]) by smtp.gmail.com with ESMTPSA id r20sm886990lfd.4.2016.03.23.20.55.09 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 23 Mar 2016 20:55:09 -0700 (PDT) Subject: Re: [openbsd] 2.02-beta3: build fails - getroot.c:(.text+0x2b): undefined reference to `getrawpartition' To: Jiri B References: <20160312165742.GR17281@wolfman.devio.us> <56E45FFB.3070807@gmail.com> <20160312195423.GS17281@wolfman.devio.us> <56E4FD87.1040009@gmail.com> <20160314181957.GV17281@wolfman.devio.us> From: Andrei Borzenkov Message-ID: <56F3651D.40209@gmail.com> Date: Thu, 24 Mar 2016 06:55:09 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160314181957.GV17281@wolfman.devio.us> Content-Type: multipart/mixed; boundary="------------090205040605030202090303" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22b Cc: bug-grub@gnu.org, The development of GNU GRUB 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: Thu, 24 Mar 2016 03:55:17 -0000 This is a multi-part message in MIME format. --------------090205040605030202090303 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 14.03.2016 21:19, Jiri B пишет: > >>>>> Another thing - 'INSTALL' file says >= autoconf 2.60 is needed but >>>>> it is >= 2.62 otherwise there is: >>>>> >>>>> "error: possibly undefined macro: AS_ECHO" >>>>> >>>> >>>> Indeed. According to git log, AS_ECHO appeared first in 2.61a. What >>>> version you have? >>> >>> IIUC it was firstly available in "normal" autoconf release in 2.62. >>> >> >> This does not answer my question - what autoconf version your system >> ships with (i.e. - do we need to change configure.ac or simply update >> INSTALL)? > > IMO it would be ok to update INSTALL file. I had following autoconf > versions: > > autoconf-2.13p3 > autoconf-2.52p5 > autoconf-2.59p4 > autoconf-2.60p4 > autoconf-2.61p4 > autoconf-2.62p1 > autoconf-2.63p0 > autoconf-2.65p0 > autoconf-2.67p0 > autoconf-2.68p0 > autoconf-2.69p1 > It is silly to bump version requirement in this case where AS_ECHO is not really needed. Could you retest attached patch with 2.60? --------------090205040605030202090303 Content-Type: text/x-patch; name="no-as_echo.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="no-as_echo.patch" From: Andrei Borzenkov Subject: [PATCH] configure: replace AS_ECHO with echo in program transform INSTALL requires autoconf 2.60, but AS_ECHO appeared first in 2.61a. It is used just once to transform program names; in this case arguments are known plain string so simple `echo' is safe to use. This avoids bumping required autoconf version without real reason. Reported by: Jiri B --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 526f97a..e659b1e 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -421,5 +421,5 @@ else dnl Create an output variable with the transformed name of a GRUB utility dnl program. AC_DEFUN([grub_TRANSFORM],[dnl -AC_SUBST(AS_TR_SH([$1]), [`AS_ECHO([$1]) | sed "$program_transform_name"`])dnl +AC_SUBST(AS_TR_SH([$1]), [`echo [$1] | sed "$program_transform_name"`])dnl ]) -- tg: (f4d35d4..) u/no_as_echo (depends on: master) --------------090205040605030202090303--