From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Divvy Cr." Newsgroups: gmane.emacs.bugs Subject: bug#69590: 30.0.50; Build scripts break due to DOS-style line endings Date: Wed, 6 Mar 2024 18:27:41 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10893"; mail-complaints-to="usenet@ciao.gmane.io" To: 69590@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 06 19:41:58 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rhwDG-0002e6-Gt for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Mar 2024 19:41:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhwCx-0006IW-OS; Wed, 06 Mar 2024 13:41:39 -0500 Original-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 1rhwCr-0006HI-Hq for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2024 13:41:34 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhwCp-00006d-8k for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2024 13:41:33 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhwDJ-0006Yk-PW for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2024 13:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Divvy Cr." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Mar 2024 18:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69590 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.170975048525158 (code B ref -1); Wed, 06 Mar 2024 18:42:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Mar 2024 18:41:25 +0000 Original-Received: from localhost ([127.0.0.1]:51432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhwCh-0006Xg-Oi for submit@debbugs.gnu.org; Wed, 06 Mar 2024 13:41:25 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:44974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhw2N-0006Ic-Mc for submit@debbugs.gnu.org; Wed, 06 Mar 2024 13:30:45 -0500 Original-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 1rhvzh-0001ND-Bj for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2024 13:27:57 -0500 Original-Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhvze-0002yY-FV for bug-gnu-emacs@gnu.org; Wed, 06 Mar 2024 13:27:57 -0500 Original-Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-dc34d761e2aso1578702276.1 for ; Wed, 06 Mar 2024 10:27:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709749673; x=1710354473; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=I5tzkJHsLtISVYeE/hVEs8rn+o5xwoQpJNKqoPsHR84=; b=CBSOJT7nNDcd2wcw/ZsahqBFnzAi5CElu84pUT+UJj+ha+hue7eKIOxV9axEjy39x+ 5gcjgcAKl413vlx2N/pqZYVS7l8uhhx3Z9wVcp3FZKW7AK5GLgzqRL5DdMj9KoWswuOM ngj+vMB+j6wbGWfpIxkOTV5y+1SkvIwVkRGW18zgL18IrSaC1EKAEmq1mtDkAZ0eydG6 Masx5eAs6/TqyzFfPcV4U7S58VqzleAx6iyCApOry9auC12AWweI7ZAmrbUfGfOuFx3G oqCbMBvEwhhUgtexs0841OAExERGr7QIhvgTEYyOyFyA+z0Wdji5hSaH4MFh0mQiNKmS jqEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709749673; x=1710354473; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=I5tzkJHsLtISVYeE/hVEs8rn+o5xwoQpJNKqoPsHR84=; b=Be2CGyAJ3yMCa0+uDzJ5crGxQlSkyNX+6Z/CnujYQPpu5zK9fCrDW+T3dxEJzOURwZ 017ayom7buxOVo/dI3tklAhZv0K2HZb162QhHZbeT1sjO4KEQzCHxuc3AbBCILnOmP7v +WZ8xRqb/rlJfhOEQPBkQvNQ6PawGfK0lbAmXx6jVAiYB3zJ98NT5dpLcLA2Pwt6ASsp zKFGhW7k4c+3YZ08qZ5lFs01hgaejx/yd2gVpOuJQ2DCxVgMR3Pk446zGzEMp0g6HsHF gRmqcwPsgliSalXAJISr5WoqojCzeldPRVe8ZNF7q+eWCmkyZbj7jnrhPkDJ/4SPyqa+ iRVA== X-Gm-Message-State: AOJu0Yw1wV/1tS4ojCOWgoMa//jObptzT0ekoyhAgIUEO1DwgY2ABVzt pqzplCKVX59Fxab4Ghwd6FB1A5uk2rP1ekqDnc4Z7OkeO85RBQ+7w/+4U5R6VNAA+P9bdMMRmwu s+ks5PrBWSLrKZ1cMmM4QEH/dsPDqr7WsfAEDSQ== X-Google-Smtp-Source: AGHT+IFYWN//Efc9Bqq9CSsiOpBZD0I1GYEyqR0KbWXFbkBFRCjJp8iv+ujDSnVymTsrQ47r6vteaBdEA+0wvAmc8/M= X-Received: by 2002:a25:df15:0:b0:dcc:2da:e43d with SMTP id w21-20020a25df15000000b00dcc02dae43dmr63482ybg.4.1709749672791; Wed, 06 Mar 2024 10:27:52 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::b32; envelope-from=divvycr@gmail.com; helo=mail-yb1-xb32.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 06 Mar 2024 13:41:22 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281124 Archived-At: Currently, cloning the latest Emacs branches (namely, master and emacs-29) fails to build via `./autogen.sh` with the following error: zsh: ./autogen.sh: bad interpreter: /bin/sh^M: no such file or directory Using Vim's `:set fileformat=unix` on autogen.sh, it still fails to build with the following errors: Checking whether you have the necessary tools... (Read INSTALL.REPO for more details on building Emacs) Checking for autoconf (need at least version 2.65) ... ok Your system has the required tools. Building aclocal.m4 ... Running 'autoreconf -fi -I m4' ... : not found sh: 2: Syntax error: word unexpected (expecting "do") configure.ac:7373: error: expected source file, required through AC_LIBSOURCES, not found ./lib/autoconf/general.m4:2437: AC_FATAL is expanded from... m4/gnulib-comp.m4:222: gl_INIT is expanded from... configure.ac:7373: the top level autom4te: error: /usr/bin/m4 failed with exit status: 1 autoreconf: error: /usr/bin/autoconf failed with exit status: 1 Now, the line ': not found' again hints at problems with DOS-vs-Unix style formatting. I have managed to successfully build latest Emacs after running the following on the repository: git ls-files -z | xargs -0 dos2unix git ls-files -z '*.bat' | xargs -0 unix2dos Is this a bug in Emacs' build scripts, autoreconf, or just an inconvenience of using the latest builds? Notably, my previous Emacs 30.0.50 build from December 2023 did not have these issues.