delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/15/10:19:35

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D5A9978.3020903@redhat.com>
Date: Tue, 15 Feb 2011 08:19:20 -0700
From: Eric Blake <eblake AT redhat DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Coreutils' Build Fails After Linking rm.exe
References: <4D5A321C DOT 4020608 AT member DOT fsf DOT org>
In-Reply-To: <4D5A321C.4020608@member.fsf.org>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
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

--------------enig572997DEA60390F7752AD4A3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 02/15/2011 12:58 AM, L Anderson wrote:
> 3rd--I ran 'cygport coreutils-8.10-1 compile', which appeared to work
> ok until it exited with a "make error" as shown by the following last
> few lines of the output:

All those steps match what I do when building coreutils.

>   CCLD   pwd.exe
>   CCLD   readlink.exe
>   CCLD   rm.exe
>   CCLD   rmdir.exe <<<---up to and including rmdir.exe have been linked
> ./rm: ./rm: cannot execute binary file

Hmm.  Does your $PATH include '.' somewhere near the beginning?  That
may be the culprit; I _never_ run with '.' at the beginning (too much
risk of a trojan horse executable taking over); running with '.' at the
end or not in PATH at all would be safer.

--=20
Eric Blake   eblake AT redhat DOT com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig572997DEA60390F7752AD4A3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJNWpl4AAoJEKeha0olJ0NqOuIH/jISaTfuqqrhiw5WwoebXXtc
OCswz8RlEyVDdmDLmGtcLAlE8VSj/wQazG9SsU5Qw6+6nCjViqtwJleJTu9qU0CA
QDyqAYFSay9IcPSPptIdI/9olrpQqUVNOYFQxyA9zFVo4gBQmHmdnhrvgC/DJj+L
EyVbHlT0ZyAaEBNNQMCXAPCtRIuyGXTuf3Zq/l2LRViX+44TOpw6sa6yRYzHrk72
ohQGMdVFyZOSIOm20nF89u7e73pPs2dZOp2kGcbMlZlwKpxSLQFEUjcU5IejZ2Po
C4+1fnWX8LqEhVe85JQhvNUWC4Rw2QTDbP27knVX5Zb97y8Yjq6MA7I6nAbNQKE=
=1Ele
-----END PGP SIGNATURE-----

--------------enig572997DEA60390F7752AD4A3--

- Raw text -


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