From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: autogen.sh and configure errors Date: Sat, 02 Jan 2021 15:12:24 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32517"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jan 02 15:13:49 2021 Return-path: Envelope-to: ged-emacs-devel@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 1kvhfB-0008H5-JG for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Jan 2021 15:13:49 +0100 Original-Received: from localhost ([::1]:32972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvhfA-0004oM-LL for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Jan 2021 09:13:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvhdy-0003rc-Tm for emacs-devel@gnu.org; Sat, 02 Jan 2021 09:12:35 -0500 Original-Received: from mail-oln040092071052.outbound.protection.outlook.com ([40.92.71.52]:12151 helo=EUR03-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvhdt-0002Qt-QN for emacs-devel@gnu.org; Sat, 02 Jan 2021 09:12:34 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TJmufqm3Fk96nJySsmYd1109G8w6f/jKamb222vOuJyKeqXkQlzn6VfRf+Q/5mbmqsPzofQGVRxEIr7vivnU/Eb2I8DKJ8lhf/Xm+HiJlHi8b6Had1umISGAN0H5fNAFonrw3687DDwRL106CHam3bslm4V+I8GIQpuo/P0NIoLLlMsuZ7wHK83DFbi1qtbsbsJXLZtggn352VkMeNde8xYLSt3GfkG+XbtcrFUph0nwg3Z+qjUEp4RvmE0AhjE3jO/UyOJgXp3JM98m46phbkjdZ+rxn2a8PaDLPLE12z1Pp6RxlkT9O2S/9RFB4qTP4agBBzmq6Lj7VrmUkOe7Cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q1r0vMXFslZuJn/zRVfssuBKViVwxsBEC9WgS1JDTrE=; b=oWpb9s6MmGWWCJqrda8KPtVMJJvNlcjIpdCy9y+gFnw9O/aq2SLZblB4DjYhh4P9Exv6eqTn5ruREF4jYhUcs2rw0I57DpVcuUJlcq/9vFl7LoLtaQLL8EVxu8BkML4yBxx30pCk51uuctcIP+RNp9xZT+UzqwYIcjqhmddHMs6R18j7RPBITedlR5sKjrrcDA6U1L3xlIBwg7HwtIDW5gZ71nEwitfr97d4GC2TFTfYxrOrYHEIYoktrG5phRV+ymvLSkxemK0MYsmocwSrO68/TNNh/41N8DjGdWRBGKQOiuXPZ/3fqYGbR4EHfvqH/IE7CzWhwz8FgJJup1hy5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q1r0vMXFslZuJn/zRVfssuBKViVwxsBEC9WgS1JDTrE=; b=lERMb5ETLcPF0DN9jg4GqxDHVXh7GFwoF6CG/3AwHMVDvFTgZxppzf/ma47woYtDE7ERkB3pBhTnzMRZjmpBIGNP2LXwEB5g48mKBtmfSMHvR2gBzWstyDbgFIvCkX2jQGRt5dqgDR6xHuTPlIc6D9kT081URmQ7PV1z1jn+1YWpJD4ezrRs7us8ELb39GaQkBGO7aF1TcVFp8xZl3yW2gzisfVWxlgOUPFtrausexpHppj5Qmp8c38L+l/ussHhVdUW6QCFmnd4ZXI9xpqd5q7RNg8jjqEUM6ddNfme2aoCE465DCreVoFQC2zPwPxnm7+wg6aMed7kSO5Z2mDM9w== Original-Received: from DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e0a::40) by DB5EUR03HT125.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e0a::417) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21; Sat, 2 Jan 2021 14:12:26 +0000 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com (2a01:111:e400:7e0a::50) by DB5EUR03FT011.mail.protection.outlook.com (2a01:111:e400:7e0a::95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.21 via Frontend Transport; Sat, 2 Jan 2021 14:12:26 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:DFBEE423865AE9143B435FEA1BB76926DD350BE38CF964F36BB8A911AB591A72; UpperCasedChecksum:7FFC6B22F4103232A86FB9F555502EC6AD6259518D3C45FA36A468CFCF9BD05D; SizeAsReceived:8387; Count:44 Original-Received: from AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993]) by AM0PR06MB6577.eurprd06.prod.outlook.com ([fe80::9487:8c7d:da00:4993%7]) with mapi id 15.20.3721.023; Sat, 2 Jan 2021 14:12:26 +0000 X-TMN: [DqD6QtBSkQP5k/8QWA1B+kuXbwLpcRKt] X-ClientProxiedBy: AM5PR0201CA0007.eurprd02.prod.outlook.com (2603:10a6:203:3d::17) To AM0PR06MB6577.eurprd06.prod.outlook.com (2603:10a6:208:19a::23) X-Microsoft-Original-Message-ID: <87a6trjulz.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (90.230.29.56) by AM5PR0201CA0007.eurprd02.prod.outlook.com (2603:10a6:203:3d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3721.20 via Frontend Transport; Sat, 2 Jan 2021 14:12:25 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 44 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: f9200227-d30c-4916-fa35-08d8af286ea7 X-MS-TrafficTypeDiagnostic: DB5EUR03HT125: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G+pDaR0sHLOZHMf9NKeidimObosGJ6lEZpykeIyrQhffB30fxAs3tgAR3qmBSfYvgMW3q5aUKtEbfs3EF+7o/aprCE5BDaEHdr9j99v+k+rkieqQImoP+ONSLEVFvNhp903k85PK2WYXpYzYDkWn2XUrv7b2KGhH8B7rtvCVkQ+kBQsG117wvTxsEnZ1OSFoVy0X9KDKCKyaPTHzTghLsrKE7Y3F6QSMosrJeBwDWSsrUe8/PG2P7aiVB0ZqwBJKXsHZubSKXCDVhUrxFClIVJoGOyvQ4nuME3+ZNrdOxBU= X-MS-Exchange-AntiSpam-MessageData: YERLn0OPtgbmyCdhsCpIjHar3/UCQ2jNC2NTApiNmhzzMyUPG8CyBvd6AiCpEhxaxx74ANaTMuOQJ9Sfbw78FPrOGHdEqZ/waN0cSv621GkjiZqnKLVfTEPO+01Epy4kNluiw2guyFrmzTl+sufdlQ== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jan 2021 14:12:26.1506 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-Network-Message-Id: f9200227-d30c-4916-fa35-08d8af286ea7 X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR03HT125 Received-SPF: pass client-ip=40.92.71.52; envelope-from=arthur.miller@live.com; helo=EUR03-DB5-obe.outbound.protection.outlook.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262314 Archived-At: I just pulled Emacs and got some configure errors. So I removed my old sources, cloned new from Savannah and tried to configure again and I am getting same errors: #+begin_src sh 2021-01-02 14:50:37 =E2=8C=9A pascal in ~/repos =E2=97=8B =E2=86=92 rm -fr ./emacs 2021-01-02 14:50:51 =E2=8C=9A pascal in ~/repos =E2=97=8B =E2=86=92 git clone https://git.savannah.gnu.org/git/emacs.git Klonar till "emacs"... remote: Counting objects: 921420, done. remote: Compressing objects: 100% (164155/164155), done. remote: Total 921420 (delta 758106), reused 919022 (delta 756030) Tar emot objekt: 100% (921420/921420), 301,55 MiB | 9,97 MiB/s, klart. Analyserar delta: 100% (758106/758106), klart. 2021-01-02 14:53:22 =E2=8C=9A pascal in ~/repos =E2=97=8B =E2=86=92 cd emacs 2021-01-02 14:53:38 =E2=8C=9A pascal in ~/repos/emacs =C2=B1 |master =E2=9C=93| =E2=86=92 ./autogen.sh 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' ... configure.ac:1771: warning: Checking for headers with the preprocessor is configure.ac:1771: deprecated. Specify prerequisite code to AC_CHECK_HEADER configure.ac:1771: instead of using fourth argument `-'. (Many headers need configure.ac:1771: no prerequisites. If you truly need to test whether configure.ac:1771: something passes the preprocessor but not the compiler, configure.ac:1771: use AC_PREPROC_IFELSE.) ./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.ac:1771: the top level configure.ac:1772: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:1772: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:1772: the top level configure.ac:4708: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:4708: You should run autoupdate. ./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from... configure.ac:4708: the top level Configuring local git repository... '.git/config' -> '.git/config.~1~' git config transfer.fsckObjects 'true' git config diff.cpp.xfuncname '!^[ \t]*[A-Za-z_][A-Za-z_0-9]*:[[:space:]]*(= $|/[/*]) ^((::[[:space:]]*)?[A-Za-z_][A-Za-z_0-9]*[[:space:]]*\(.*)$ ^((#define[[:space:]]|DEFUN).*)$' git config diff.elisp.xfuncname '^\([^[:space:]]*def[^[:space:]]+[[:space:]= ]+([^()[:space:]]+)' git config diff.m4.xfuncname '^((m4_)?define|A._DEFUN(_ONCE)?)\([^),]*' git config diff.make.xfuncname '^([$.[:alnum:]_].*:|[[:alnum:]_]+[[:space:]= ]*([*:+]?[:?]?|!?)=3D|define .*)' git config diff.shell.xfuncname '^([[:space:]]*[[:alpha:]_][[:alnum:]_]*[[:= space:]]*\(\)|[[:alpha:]_][[:alnum:]_]*=3D)' git config diff.texinfo.xfuncname '^@node[[:space:]]+([^,[:space:]][^,]+)' Installing git hooks... 'build-aux/git-hooks/commit-msg' -> '.git/hooks/commit-msg' 'build-aux/git-hooks/pre-commit' -> '.git/hooks/pre-commit' 'build-aux/git-hooks/prepare-commit-msg' -> '.git/hooks/prepare-commit-msg' '.git/hooks/applypatch-msg.sample' -> '.git/hooks/applypatch-msg' '.git/hooks/pre-applypatch.sample' -> '.git/hooks/pre-applypatch' You can now run './configure'. 2021-01-02 14:53:45 =E2=8C=9A pascal in ~/repos/emacs =C2=B1 |master =E2=9C=93| =E2=86=92 autoupdate configure.ac:1772: warning: Update your code to rely only on HAVE_SYS_TIME_= H, then remove this warning and the obsolete code below it. All current systems provide time.h; it need not be checked for. Not all systems provide sys/time.h, but those that do, all allow you to include it and time.h simultaneously. 2021-01-02 14:55:14 =E2=8C=9A pascal in ~/repos/emacs =C2=B1 |master U:1 =E2=9C=97| =E2=86=92 ./autogen.sh Checking whether you have the necessary tools... (Read INSTALL.REPO for more details on building Emacs) Checking for autoconf (need at least version ) ... unable to check Building Emacs from the repository requires the following specialized progr= ams: autoconf (minimum version ) Your system seems to be missing the following tool(s): autoconf (unable to check) If you think you have the required tools, please add them to your PATH and re-run this script. Otherwise, please try installing them. On systems using rpm and yum, try: "yum install PACKAGE" On systems using dpkg and apt, try: "apt-get install PACKAGE" Then re-run this script. If you do not have permission to do this, or if the version provided by your system is too old, it is normally straightforward to build these packages from source. You can find the sources at: https://ftp.gnu.org/gnu/PACKAGE/ Download the package (make sure you get at least the minimum version listed above), extract it using tar, then run configure, make, make install. Add the installation directory to your PATH and re-run this script. If you know that the required versions are in your PATH, but this script has made an error, then you can simply re-run this script with the --no-check option. Please report any problems with this script to bug-gnu-emacs@gnu.org . 2021-01-02 14:55:26 =E2=8C=9A pascal in ~/repos/emacs =C2=B1 |master U:1 =E2=9C=97| =E2=86=92 autoconf --version autoconf (GNU Autoconf) 2.70 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later , This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. 2021-01-02 14:56:21 =E2=8C=9A pascal in ~/repos/emacs =C2=B1 |master U:1 =E2=9C=97| =E2=86=92 ./autogen.sh --no-check Running 'autoreconf -fi -I m4' ... configure.ac:1771: warning: Checking for headers with the preprocessor is configure.ac:1771: deprecated. Specify prerequisite code to AC_CHECK_HEADER configure.ac:1771: instead of using fourth argument `-'. (Many headers need configure.ac:1771: no prerequisites. If you truly need to test whether configure.ac:1771: something passes the preprocessor but not the compiler, configure.ac:1771: use AC_PREPROC_IFELSE.) ./lib/autoconf/headers.m4:115: _AC_CHECK_HEADER_PREPROC is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... configure.ac:1771: the top level configure.ac:1772: warning: Update your code to rely only on HAVE_SYS_TIME_= H, configure.ac:1772: then remove this warning and the obsolete code below it. configure.ac:1772: All current systems provide time.h; it need not be check= ed for. configure.ac:1772: Not all systems provide sys/time.h, but those that do, a= ll allow configure.ac:1772: you to include it and time.h simultaneously. You can now run './configure'. =C2=B1 |master U:1 =E2=9C=97| =E2=86=92 git checkout feature/native-comp error: Dina lokala =C3=A4ndringar av f=C3=B6ljande filer skulle skrivas =C3= =B6ver av utcheckning: configure.ac Checka in dina =C3=A4ndringar eller anv=C3=A4nd "stash" innan du byter gren= . Avbryter #+end_src As seen when I try to change to native-comp branch it says configure.ac is changed; I didn't change it. Finally after stashing and runing autoge.sh, I get followin when I run configure: 2021-01-02 15:06:47 =E2=8C=9A pascal in ~/repos/emacs =C2=B1 |feature/native-comp {1} =E2=9C=93| =E2=86=92 ./configure =E2=80=93-= without-makeinfo =E2=80=93-with-cairo =E2=80=93-without-modules =E2=80=93-w= ithout-compress-install =E2=80=93-with-x-toolkit=3Dno =E2=80=93-with-gnutls= =E2=80=93-without-gconf =E2=80=93-without-xwidgets =E2=80=93-without-toolk= it-scroll-bars -=E2=80=93without-xaw3d =E2=80=93-without-gsettings =E2=80= =93-with-mailutils =E2=80=93-with-nativecomp --with-json --without-included= -regex --without-libgmp CFLAGS=3D'-O3 -mtune=3Dnative -march=3Dnative' = = = = = =20 configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: =E2=80=93-without-makeinfo configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: =E2=80=93-with-cairo configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: =E2=80=93-without-modules configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: =E2=80=93-without-compress-install configure: error: invalid variable name: `=E2=80=93-with-x-toolkit' My system or what am I doing wrong? I see nobody else complains so I guess it is something on my side :-). Linux pascal 5.10.3-arch1-1 #1 SMP PREEMPT Sun, 27 Dec 2020 10:50:46 +0000 = x86_64 GNU/Linux