From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from cora.hrz.tu-chemnitz.de ([134.109.228.40]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TiRJo-0007rX-Sk for ptxdist@pengutronix.de; Tue, 11 Dec 2012 16:00:26 +0100 Received: from postman.hrz.tu-chemnitz.de ([134.109.133.5] helo=mailbox.hrz.tu-chemnitz.de) by cora.hrz.tu-chemnitz.de with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1TiRJj-0005ic-0R for ptxdist@pengutronix.de; Tue, 11 Dec 2012 16:00:19 +0100 Received: from macup.etit.tu-chemnitz.de ([134.109.241.6]) by mailbox.hrz.tu-chemnitz.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1TiRJi-0002Zp-TY for ptxdist@pengutronix.de; Tue, 11 Dec 2012 16:00:18 +0100 From: Daniel Kriesten Mime-Version: 1.0 (Apple Message framework v1283) Date: Tue, 11 Dec 2012 16:00:18 +0100 In-Reply-To: <20121210084618.GH26985@pengutronix.de> References: <20120417114504.GA11343@regiomontanus.bwalle.de> <20120418082935.GJ28513@pengutronix.de> <4295DCC4-649F-4EE5-928A-41DDF15A5490@etit.tu-chemnitz.de> <20120418141642.GE17656@pengutronix.de> <0CD03835-B077-48D9-98B3-D6BD380253BA@etit.tu-chemnitz.de> <742DF9D3-D7F9-4E91-B5DB-D5B33C424B8F@etit.tu-chemnitz.de> <4F8FF706.1040103@corscience.de> <7781E107-7A27-441D-AD08-EB8A981AE12D@etit.tu-chemnitz.de> <4F90042A.6060804@corscience.de> <1AD430B7-0904-4E5D-BEA8-D359221672AA@etit.tu-chemnitz.de> <20121210084618.GH26985@pengutronix.de> Message-Id: Subject: Re: [ptxdist] Using PTXdist on Mac OS Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0256799809==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============0256799809== Content-Type: multipart/signed; boundary="Apple-Mail=_492648A2-78F2-4C8D-A1A1-7404670CE8D3"; protocol="application/pkcs7-signature"; micalg=sha1 --Apple-Mail=_492648A2-78F2-4C8D-A1A1-7404670CE8D3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Am 10.12.2012 um 09:46 schrieb Michael Olbrich: > On Sat, Dec 08, 2012 at 04:31:34PM +0100, Daniel Kriesten wrote: >>=20 >>=20 >> this is quite a late reply to this mail. But today I struggled about = this once again. So here its the patch. >=20 > ${PTXDIST_TOPDIR}/bin/xargs should be a gnu xargs. Is that not used? It is used, if it already exists. But on a system, where gnu xargs is = not the default (like Mac), something like ./configure make clean or ./configure make make clean; make clean fails, due to missing xargs with GNUoption -r Regards Daniel > Michael >=20 >> ---8<--- >>=20 >> =46rom dd717be19e704b71a030b091d2604d7a05ccebb2 Mon Sep 17 00:00:00 = 2001 >> From: Daniel Kriesten >> Date: Sat, 8 Dec 2012 16:27:35 +0100 >> Subject: [PATCH] Remove -r from call to xargs >>=20 >> The '-r' flag is a GNU extension. To enhance compatibility remove = '-r' >> and suppress error mesages using 'rm -f'. >> --- >> Makefile.in | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >>=20 >> diff --git a/Makefile.in b/Makefile.in >> index e171045..72509a2 100644 >> --- a/Makefile.in >> +++ b/Makefile.in >> @@ -71,7 +71,7 @@ environment: >>=20 >> clean: >> @rm -f .done >> - @find "$(abs_srcdir)/bin" -type l -print0 | xargs -r -0 rm >> + @find "$(abs_srcdir)/bin" -type l -print0 | xargs -0 rm -f >> @$(MAKE) -C "$(abs_srcdir)/scripts/kconfig" clean >>=20 >> dirty-check: >> --=20 >> 1.8.0 >>=20 >> --->8--- >>=20 >> Am 19.04.2012 um 14:25 schrieb Andreas Bie=DFmann: >>> Hi, >>>=20 >>> On 19.04.2012 14:04, Daniel Kriesten wrote: >>>> Hi all, >>>>=20 >>>> Am 19.04.2012 um 13:29 schrieb Andreas Bie=DFmann: >>>>=20 >>>>> Hi all, >>>>>=20 >>>>> On 19.04.2012 12:41, Daniel Kriesten wrote: >>>>>> Hi Michael, >>>>>> at leas on a Mac (OS X 10.6.8) the BSD find supports -print0 >>>>>=20 >>>>> yes, OS X delivered BSD find supports -print0, but it does _not_ = support >>>>> omitting the path! >>>>> [...] >>>>> OR leaving the xargs -r param >>>>>=20 >>>>> ---8<--- >>>>> --- a/Makefile.in >>>>> +++ b/Makefile.in >>>>> @@ -63,7 +63,7 @@ environment: >>>>>=20 >>>>> clean: >>>>> @rm -f .done >>>>> - @find "$(abs_srcdir)/bin" -type l -print0 | xargs -r -0 rm >>>>> + @find "$(abs_srcdir)/bin" -type l -print0 | xargs -0 rm >>>>> @$(MAKE) -C "$(abs_srcdir)/scripts/kconfig" clean >>>>> --->8--- >>>>=20 >>>> This one is my promoted solution in yesterdays patch, except I = would recommend 'rm -f' to avoid errors if find returns an empty list. >>>=20 >>> well ok, +1 for your solution. I maybe missed that in my mail = history >>> (can you please send patches inline next time?). >>>=20 >>> best regards >>>=20 >>> Andreas Bie=DFmann >>>=20 >>> --=20 >>> ptxdist mailing list >>> ptxdist@pengutronix.de >>>=20 >>=20 >>=20 >> --=20 >> Daniel Kriesten >> Professur Schaltkreis- und Systementwurf >> Technische Universit=E4t Chemnitz, Reichenhainer Str. 31-33, 09126 = Chemnitz >> Tel: +49 371 531 33058 Fax: +49 371 531 833058 >> http://www.tu-chemnitz.de/etit/sse >>=20 >=20 >=20 >=20 >> --=20 >> ptxdist mailing list >> ptxdist@pengutronix.de >=20 >=20 > --=20 > Pengutronix e.K. | = | > Industrial Linux Solutions | = http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 = | > Amtsgericht Hildesheim, HRA 2686 | Fax: = +49-5121-206917-5555 | >=20 > --=20 > ptxdist mailing list > ptxdist@pengutronix.de >=20 --=20 Daniel Kriesten Professur Schaltkreis- und Systementwurf Technische Universit=E4t Chemnitz, Reichenhainer Str. 31-33, 09126 = Chemnitz Tel: +49 371 531 33058 Fax: +49 371 531 833058 http://www.tu-chemnitz.de/etit/sse --Apple-Mail=_492648A2-78F2-4C8D-A1A1-7404670CE8D3 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIPITCCBCEw ggMJoAMCAQICAgDHMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNEZXV0 c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVyMSMwIQYDVQQD ExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw0wNjEyMTkxMDI5MDBaFw0xOTA2MzAyMzU5 MDBaMFoxCzAJBgNVBAYTAkRFMRMwEQYDVQQKEwpERk4tVmVyZWluMRAwDgYDVQQLEwdERk4tUEtJ MSQwIgYDVQQDExtERk4tVmVyZWluIFBDQSBHbG9iYWwgLSBHMDEwggEiMA0GCSqGSIb3DQEBAQUA A4IBDwAwggEKAoIBAQDpm8NnhfkNrvWNVMOWUDU9YuluTO2U1wBblSJ01CDrNI/W7MAxBAuZgeKm FNJSoCgjhIt0iQReW+DieMF4yxbLKDU5ey2QRdDtoAB6fL9KDhsAw4bpXCsxEXsM84IkQ4wcOItq aACa7txPeKvSxhObdq3u3ibo7wGvdA/BCaL2a869080UME/15eOkyGKbghoDJzANAmVgTe3RCSMq ljVYJ9N2xnG2kB3E7f81hn1vM7PbD8URwoqDoZRdQWvY0hD1TP3KUazZve+Sg7va64sWVlZDz+HV Ez2mHycwzUlU28kTNJpxdcVs6qcLmPkhnSevPqM5OUhqjK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MTwwOgYDVQQDEzNUVSBDaGVtbml0eiBDZXJ0aWZpY2F0aW9u IEF1dGhvcml0eSAtIFRVQy9VUlogQ0EgRzMxIDAeBgkqhkiG9w0BCQEWEWNhQHR1LWNoZW1uaXR6 LmRlAgQSPM5WMA0GCSqGSIb3DQEBAQUABIIBAFipjkhLVJc6wjyzAmoMJpfEVSUf0JNZhlsub7Ev H7Apk0T2ElkNbNXVOf8EsErSEY17HDkYiDbQl+e7d9agDq/tAXXmkF+6CvhksGN8fZS1U+FRiwZv XURW+q3HPQJDQhDHhV5stnrzLKPWGBqasaXkbvuajbENyTEqW0K73RLo0xKRcYwNFaTEbTE9D5EQ oEDbobJX4OKsLX089b14dc04eyDYC5JHjl2qpZBgpOjk93Kbdrih7ocjGRdcibQuZJ6/Wt9L+Zja +7xjJbkNlq4syIb6akUfiDJyvdag3iaQIFy4h4rNAd9nMQXtrdeSOehcOpRtlWRdyyVR+H7B6tUA AAAAAAA= --Apple-Mail=_492648A2-78F2-4C8D-A1A1-7404670CE8D3-- --===============0256799809== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0256799809==--