delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/06/05/05:54:38

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=Xdh
o9SvlUUB03Yhaj5aO1Ejh9okHJfOBeq/SdvEOA+/lbwapG55M3W+nqMDj3t8CGgr
D2VY61I0OwMrvcdlU29sPceSJWrFNs95SX5lVdCvrlsfIteN55YUA2+2YSL2F9lo
Id/kyQdeQL5jXPX3oZNfbLUGjYOAzswqzZDOiWG4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=pbcUIptxs
Rm8fT70Kr8rp1i1mW4=; b=AQ8FQ3QFo3P6ZXs4sUNsW7ilah94/LQv7p2s/7bcC
O1zks6WY4dcmdCRZ6by2mCyUrscoXOuJrfnWWmVS3iqMgtGz2OEI+7sl0XXBofWL
76Uh67wunMX/eW7REVnSHC3pcTNqJPxJf39x4FcT2iR1+StnDIiIcwaPxlxBHDDp
6I=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
From: "Soegtrop, Michael" <michael DOT soegtrop AT intel DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Cygport: How to add -I m4 to autoreconf / aclocal?
Date: Wed, 5 Jun 2019 09:53:40 +0000
Message-ID: <0F7D3B1B3C4B894D824F5B822E3E5A178FD76C0D@IRSMSX102.ger.corp.intel.com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x559sJIi022414

Dear Cygwin Team,

recompiling the package "mingw64-x86_64-gtksourceview3.0-3.24.6" from sources with cygport (In order to generate the debug info) I found that the compile step fails. Aclocal fails in a few macro availability checks. The reason is that aclocal is missing a "-I m4" option to include the local m4 subfolder. 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=no-portability

which leads to this failure:

configure.ac:161: error: macro GTK_CHECK_BACKEND is not defined; is a m4 file 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 thing 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 to 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 the 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019