X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <1319495144.34788.YahooMailClassic@web120717.mail.ne1.yahoo.com> Date: Mon, 24 Oct 2011 15:25:44 -0700 (PDT) From: Regid Ichira Subject: RE: Re: How to investigate a bug in /bin/mkshortcut.exe ? To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 p9OMQ6jC005807 On 24 October 2011 08:38:07 +0100, Andy Koppe wrote: > 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 > cygwin1.dll, cyggcc_s-1.dll and cygopt-0.dll are installed and up to date. Would there be an explicit no permission message if the windows/system32/*.dll user and group are not accessible by the uid owner of the process? -- 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