delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/28/23:59:57

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=IxPpwBAoJlRK2h8PuLGd7IvwTQ34yHmubuTWykNH51Co35TJJQBaA
GnqKVJjZaidzLdkstvu/e9lknbKi6X3VVElCQ7987VerL5MgPM8pk4/OJdOa/gEb
i06MXDYw1oQ//PUPSliNE7Zk1/puYa5szMYsnDvV9gjGxtkzjYdm6E=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=oQHcFdxSvxuVAo89F5LPur/nnIk=; b=Q6x+tTj7ez+11ZqO3pXIjZrFxz3S
UrIwrNf/VlSsbYCtUmPUONSanrcXKxt6UlXv5lHl9tsLGcp0AXWp9g/A+fe220tg
B9YUQ/IvRM0z+0X27BHi/gfYOXI3uI4Rp3MDSGLsFhl/FZxBb+sb2pe0+kRfRQIw
7Foz+XJOmrWennQ=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=terminators, vzell, unmatched, quotes
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Subject: Re: cygport-0.22.0-1: xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
Date: Wed, 29 Jun 2016 03:59:06 +0000 (UTC)
Lines: 39
Message-ID: <loom.20160629T051548-721@post.gmane.org>
References: <vriv7fd9i0co DOT fsf AT leila DOT volkerzell DOT de>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

U-leila\vzell <vzell <at> volkerzell.de> writes:
> When using
>  cygport pstoedit.cygport compile
> I get the following error
>  xargs: unmatched single quote; by default quotes are special to xargs
unless you use the -0 option
> cygport file and patch attached. Could you take a look ?

To see what xargs is objecting to rerun cygport with --debug option showing:

+ grep '^[^\#]*AC_CONFIG_MACRO_DIR' ./configure.ac
+ sed -e 's!.*AC_CONFIG_MACRO_DIR(\[*\(.*\))!./\1!g' -e 's!\]*!!g'
+ xargs -r mkdir -p
xargs: unmatched single quote; by default quotes are special to xargs unless
you use the -0 option
+ _status=1
+ ((  _status != 0  ))
+ break
+ exit 1

coming from /usr/share/cygport/cygclass/autotools.cygclass line 311:

311:                    grep '^[^\#]*AC_CONFIG_MACRO_DIR'
${sub_configure_ac} | sed -e "s!.*AC_CONFIG_MACRO_DIR(\[*\(.*\))!${d}/\1!g"
-e 's!\]*!!g' | xargs -r mkdir -p

caused by pstoedit/pstoedit-3.70-2.x86_64/src/pstoedit-3.70/configure.ac
line 21 m4 comment:

21:dnl libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
configure.ac and
22-dnl libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
23-dnl libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

as autotools.cygclass is ignoring only comments starting "#" and not m4
lines with "dnl", which are normally used to discard line terminators after
defines, but are sometimes followed by "comments". 



--
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