X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <1319408055.79475.YahooMailClassic@web120719.mail.ne1.yahoo.com> References: <1319408055 DOT 79475 DOT YahooMailClassic AT web120719 DOT mail DOT ne1 DOT yahoo DOT com> Date: Mon, 24 Oct 2011 08:38:07 +0100 Message-ID: Subject: Re: How to investigate a bug in /bin/mkshortcut.exe ? From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p9O7cUEN031293 On 23 October 2011 23:14, Regid Ichira wrote: >  /etc/postinstall/mintty.sh's exit code is 127. > >    $ cat /etc/postinstall/mintty.sh >    PROGS=$(/bin/cygpath -P $CYGWINFORALL) >    /bin/mkdir -p "$PROGS/Cygwin" && >    cd "$PROGS/Cygwin" && >    /bin/mkshortcut -n mintty /bin/mintty -a - -d "Cygwin Terminal" > > By running those commands manually, I think the problem is the last, > /bin/mkshortcut, line.  How can I investigate it more? > >    $ cygcheck -f /bin/mkshortcut.exe >    cygutils-1.4.6-1 > >    $ file /bin/mkshortcut.exe >    /bin/mkshortcut.exe: PE32 executable (console) Intel 80386 (stripped to external PDB), for MS Windows Try cygcheck without the -f to check that the DLLs that mkshortcut depends on are present. cygcheck /bin/mkshortcut.exe Andy -- 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