From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NHjbv-00067h-TO for mharc-grub-devel@gnu.org; Mon, 07 Dec 2009 14:51:08 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHjbs-00061g-3L for grub-devel@gnu.org; Mon, 07 Dec 2009 14:51:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHjbn-0005tw-27 for grub-devel@gnu.org; Mon, 07 Dec 2009 14:51:03 -0500 Received: from [199.232.76.173] (port=45752 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHjbm-0005tW-SC for grub-devel@gnu.org; Mon, 07 Dec 2009 14:50:58 -0500 Received: from mail-ew0-f215.google.com ([209.85.219.215]:52290) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHjbm-0004NK-F4 for grub-devel@gnu.org; Mon, 07 Dec 2009 14:50:58 -0500 Received: by ewy7 with SMTP id 7so6122000ewy.32 for ; Mon, 07 Dec 2009 11:50:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=Eya6xMVAj+68BKXtuFhQA9zRqMuNnN9aYgyBrPlIyHY=; b=xtbwgnSAxfhBsZ3/t7YqAIhKUIZSvjNw6UOyvRv7oP6/TvDKldLP7A9TKNaDW9v8EF ZAI6BhIS4vdQFfbBL1ENzgHn+FnGzntRdK7DMKS1fWfQ5l4ESu5ZJZRi8K4g/NZxkbEq Q8newpYn8aXT3m4+PtVXVpcmGShedzU7L1744= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=El0J+PJ3WvJz3CArMpUZ+RnV1y4rwT+/HpXpQZdkL2/wudtoftnhZFtmiZwAJW384V T5am5eZ4LmvKuimZAMVkrj+WpmhbiddytC8g5tpAlnbjfkqI+oCFuKdsWAEvr2e1+dK9 xnkenhQ2kk8O096LSJJTmdFQ1nT3vGf0yK7rg= Received: by 10.213.102.66 with SMTP id f2mr7642083ebo.12.1260215457045; Mon, 07 Dec 2009 11:50:57 -0800 (PST) Received: from debian.bg45.phnet (gprs43.swisscom-mobile.ch [193.247.250.43]) by mx.google.com with ESMTPS id 15sm3580400ewy.0.2009.12.07.11.50.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Dec 2009 11:50:55 -0800 (PST) Message-ID: <4B1D5C89.8080104@gmail.com> Date: Mon, 07 Dec 2009 20:50:33 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <4B1D3D7E.5000909@gmail.com> In-Reply-To: <4B1D3D7E.5000909@gmail.com> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigD38376A3D1B81F76AA26F79B" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: autogen.sh warnings X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Mon, 07 Dec 2009 19:51:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD38376A3D1B81F76AA26F79B Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Bruce Dubbs wrote: > I did a fresh checkout of revision 1917 and autogen.sh produces > several warnings, although the configure and make stages are OK. I am > using relatively new versions of autoconf and automake: > > automake (GNU automake) 1.11 > autoconf (GNU Autoconf) 2.64 > > When building, a lot of warnings is a red flag to me. I've studied > the code and am attaching the fixes. autogen.sh now runs cleanly for > me with a few informational messages. > > Below are explanations of what was going on and attached are patches > to remove all the warnings. > Thanks. I'll let someone more familiar with automake to review automake parts. Just a comment to import_gcry > > These are generated by util/import_gcry.py by copying (and in some > cases modifying) the files in lib/libgcrypt to lib/libgcrypt-grub. It > also creates cipher.h, memory.h, and types.h. > > The warnings above appear to be spurious for autogen.sh crypto and experimental branches have newer import_gcry.py which has less warning by skipping copying files unnecessary for grub2. If you want to fix remaining warnings (on rsa, dsa, elgamal, primegen and ecc) implement assymetric cryptography support (it's planned but may need changes to core to be useful, there are lower hanging fruits for crypto).= > > I added code to util/import_gcry.py supress the warnings if a third > parameter is passed. I then changed autogen.sh to use: > > python util/import_gcry.py lib/libgcrypt/ . NoWarn This NoWarn is just suppressing legitimate warnings > > In a release, the lib/libgcrypt-grub/ directory should be released and > the lib/libgcrypt/ should probably be suppressed to avoid dependence > on ruby for non-developers. import_gcry.py is python, not ruby. Generally ./autogen.sh is ran before releasing tarball --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enigD38376A3D1B81F76AA26F79B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAksdXJAACgkQNak7dOguQgkULgD/c7umrVdTf5Oh8Iivx2/+3mn4 3/lc4M9OW0dKHxbd9noA/RnQvju4VF0MwD5by+uukQNBfIfcOmHLf+MmMJrtd8yG =CWjT -----END PGP SIGNATURE----- --------------enigD38376A3D1B81F76AA26F79B--