From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10331 invoked by alias); 16 Jul 2012 10:29:44 -0000 Received: (qmail 10323 invoked by uid 22791); 16 Jul 2012 10:29:43 -0000 X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG X-Spam-Check-By: sourceware.org Received: from mail-gh0-f171.google.com (HELO mail-gh0-f171.google.com) (209.85.160.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Jul 2012 10:29:31 +0000 Received: by ghy10 with SMTP id 10so5194123ghy.2 for ; Mon, 16 Jul 2012 03:29:30 -0700 (PDT) Received: by 10.50.104.168 with SMTP id gf8mr4686102igb.62.1342434570237; Mon, 16 Jul 2012 03:29:30 -0700 (PDT) Received: from [192.168.0.100] (S0106000cf16f58b1.wp.shawcable.net. [24.79.200.150]) by mx.google.com with ESMTPS id bp8sm18130696igb.12.2012.07.16.03.29.29 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 Jul 2012 03:29:29 -0700 (PDT) Message-ID: <5003ED0D.7040209@gmail.com> Date: Mon, 16 Jul 2012 10:29:00 -0000 From: Yaakov Selkowitz User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: compiling coreutils with cygport References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2012-07/txt/msg00309.txt.bz2 On 2012-07-13 16:25, Jeff Janes wrote: > If I use setup.exe to download the src for coreutils (just by checking > the "Src?" checkbox in the gui) , and then use cygport to build it, it > fails. The reason it fails seems to be that ginstall.exe does not > have the proper manifest file so windows refuses to execute it. This > is the same error you get if you try to build coreutils downloaded > from upstream gnu sources. Right, cygport really isn't the problem here. > cygport coreutils-8.15-1.cygport prep compile > .... > make[2]: Entering directory `/usr/src/coreutils-8.15-1/build/man' > GEN install.1 > help2man: can't get `--help' info from install.td/install > Makefile:1833: recipe for target `install.1' failed > make[2]: *** [install.1] Error 126 This occurs because help2man runs ginstall to get its --help and --version output, but UAC doesn't allow it because of its name (but let's not go *there* again). This also would occur during make install, where the in-tree ginstall is used as $(INSTALL). cygport has for some time created .manifest files during postinstall, which has taken care of UAC issues for end users. However, there is no way for cygport to know what executables are being created during the *build*, and then that they actually need to be run in the build tree (most do not). That being said, adding this as a manual command for cases like this is pretty easy. Please try cygport git master together with adding the following line to coreutils-*.cygport immediately *before* the cygmake command: manifestize src/ginstall.exe That WFM on W7. (Eric: BTW, while I'm at it, there's an easier way to handle DIR_COLORS: insinto /etc doins $B/src/DIR_COLORS make_etc_defaults /etc/DIR_COLORS No custom postinstall/preremove necessary. :-) Yaakov -- 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