From patchwork Sun Jan 28 14:49:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 25636 Received: (qmail 75985 invoked by alias); 28 Jan 2018 14:49:44 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 75974 invoked by uid 89); 28 Jan 2018 14:49:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd, commited] hurd: Make build-many-glibcs.py use mainline gnumach Date: Sun, 28 Jan 2018 15:49:38 +0100 Message-Id: <20180128144938.6098-1-samuel.thibault@ens-lyon.org> Some warnings need a couple of fixes in the gnumach headers. * scripts/build-many-glibcs.py (checkout_vcs): Add gnumach repository URLs, run autoreconf, and make it the default for now. --- ChangeLog | 4 ++-- scripts/build-many-glibcs.py | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5eebc649cc..863afe0ce6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,8 +19,8 @@ timer_ptr2id to cast struct timer_node * to void *. * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass --disable-libcilkrts to gcc configure. - (checkout_vcs): Add mig repository URL, and run autoreconf, make it the - default for now. + (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf, + and make them the default for now. * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c. * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0. diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index d7adcc8022..43b573e371 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -705,7 +705,7 @@ class Context(object): 'mpc': '1.1.0', 'mpfr': '4.0.0', 'mig': 'vcs-mainline', - 'gnumach': '1.8', + 'gnumach': 'vcs-mainline', 'hurd': 'vcs-mainline'} use_versions = {} explicit_versions = {} @@ -786,6 +786,13 @@ class Context(object): r = self.git_checkout(component, git_url, git_branch, update) self.fix_glibc_timestamps() return r + elif component == 'gnumach': + git_url = 'git://git.savannah.gnu.org/hurd/gnumach.git' + git_branch = 'master' + r = self.git_checkout(component, git_url, git_branch, update) + subprocess.run(['autoreconf', '-i'], + cwd=self.component_srcdir(component), check=True) + return r elif component == 'mig': git_url = 'git://git.savannah.gnu.org/hurd/mig.git' git_branch = 'master'