From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47629 invoked by alias); 5 Jun 2019 09:53:48 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 47415 invoked by uid 89); 5 Jun 2019 09:53:47 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Envelope-From:sk:michael, Commercial, H*c:alternative, H*c:HHH X-HELO: mga05.intel.com Received: from mga05.intel.com (HELO mga05.intel.com) (192.55.52.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Jun 2019 09:53:44 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jun 2019 02:53:42 -0700 Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by fmsmga001.fm.intel.com with ESMTP; 05 Jun 2019 02:53:42 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX108.ger.corp.intel.com (163.33.3.3) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 5 Jun 2019 10:53:41 +0100 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.108]) by irsmsx112.ger.corp.intel.com ([169.254.1.197]) with mapi id 14.03.0415.000; Wed, 5 Jun 2019 10:53:41 +0100 From: "Soegtrop, Michael" To: "cygwin@cygwin.com" Subject: Cygport: How to add -I m4 to autoreconf / aclocal? Date: Wed, 05 Jun 2019 09:53:00 -0000 Message-ID: <0F7D3B1B3C4B894D824F5B822E3E5A178FD76C0D@IRSMSX102.ger.corp.intel.com> MIME-Version: 1.0 Return-Path: michael.soegtrop@intel.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2019-06/txt/msg00049.txt.bz2 Dear Cygwin Team, recompiling the package "mingw64-x86_64-gtksourceview3.0-3.24.6" from sourc= es with cygport (In order to generate the debug info) I found that the comp= ile step fails. Aclocal fails in a few macro availability checks. The reaso= n is that aclocal is missing a "-I m4" option to include the local m4 subfo= lder. I wonder what I need to do in the cygport file to add this. Or should= this be added in gnome2_autogen.sh. Autoreconf is called there like this: autoreconf --verbose --force --install -Wno-portability which leads to this aclocal call: autoreconf-2.69: running: aclocal-1.15 --force --warnings=3Dno-portability which leads to this failure: configure.ac:161: error: macro GTK_CHECK_BACKEND is not defined; is a m4 fi= le missing? /usr/share/aclocal/ax_require_defined.m4:35: AX_REQUIRE_DEFINED is expanded= from... configure.ac:161: the top level autom4te-2.69: /usr/bin/m4 failed with exit status: 1 : *** ERROR: gnome2: autoreconf failed It might also be that some global configuration has changed. The strange th= ing is that the files in the ./m4 folder make it into the aclocal.m4 file, = but aclocal also runs m4 including all available files and in this run the = files in ./m4 are not included, which leads to the above failure. I also wonder if the -install option to autoreconf shouldn't be forwarded t= o aclocal. Btw.: mingw64-x86_64-gtksourceview3.0-3.24.6 has a rather bad bug (it frees= all data structures on any thread exit rather than process exit) which is = fixed upstream since a while. Maybe the autoconf issue is the reason why th= e package has not been updated by the maintainer. Best regards, Michael Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple