X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=tFw3EyQpfKKRgnva VaSILbbKZYfuplrM90Jp24X8zLneRrNlFhbdKLBlnqioVuhddzY2PEjanrLDdAoJ Vc0EOg5TT255cHBEuGIqikBwnKe/dXT8nBlypUYhDynIRubMwFFKK+NTNkTTUlvw zfMAe8dAdUCOO15+xq0m8rUlVKw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=esp+bg1ICx6cDD2AUyEY3c 9tx58=; b=y7DL393CzPk+UgIEWRpBf48V+uuq7m0ybE5wWNYicFs/0zNvNg47FB 6Bv2DjYUIMnFQ/GKTV38VXsmwQYE4XgkTaM0HYdRuoxKJXjksqsUCp4hNfl4w/Jf MRr5FAopbfGd4dSTpDj0y9RBlrLhyVJBVWBIYO0I7pU/4bs4nS9M0= 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 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 spammy=online, Looking, H*UA:6.1, H*u:6.1 X-HELO: m0.truegem.net Subject: Re: Annoying error messages from setup To: cygwin AT cygwin DOT com References: <2e2397a79c774d805d7a52dd2c5c3fb5 AT perezterron DOT net> <07ab08b1-b0cf-0df0-8dbc-0f1ad9f500ef AT maxrnd DOT com> From: Mark Geisert Message-ID: <0ea45ff9-956a-157d-1e5a-73e408dbc211@maxrnd.com> Date: Wed, 6 Mar 2019 22:03:38 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 In-Reply-To: <07ab08b1-b0cf-0df0-8dbc-0f1ad9f500ef@maxrnd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Enrique, I don't immediately see what the problem may be. I installed the cygwin-doc package with the 64-bit Cygwin setup.exe on Windows 7 and it all went well. More below... Mark Geisert wrote earlier: > Enrique Perez-Terron wrote: >> For some time (several months), the setup program always finishes with the >> following message: >> >>> Package: _/cygwin-doc >>> cygwin-doc.sh exit code 3 >>> Package: z/Perpetual >>> zp_texlive_finish.dash exit code 20 >> >> Looking into setup.log.full, I find: >> >>> 2019/03/06 22:39:56 running: C:\cygwin\bin\bash.exe --norc --noprofile >>> "/etc/postinstall/cygwin-doc.sh" >>> mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start >>> Menu/Programs/C:/cygwin/User Guide (PDF).lnk" failed; does the target >>> directory exist? >>> mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start >>> Menu/Programs/C:/cygwin/User Guide (HTML).lnk" failed; does the target >>> directory exist? >>> mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start >>> Menu/Programs/C:/cygwin/API (PDF).lnk" failed; does the target directory exist? >>> mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start >>> Menu/Programs/C:/cygwin/API (HTML).lnk" failed; does the target directory exist? >>> mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start >>> Menu/Programs/C:/cygwin/Home Page.lnk" failed; does the target directory exist? >>> mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start >>> Menu/Programs/C:/cygwin/FAQ.lnk" failed; does the target directory exist? >>> 2019/03/06 22:39:57 abnormal exit: exit code=3 >> >> Where do the "/C:" parts in the middle of the link names come from? >> Investigating, I find that mkshortcut is being called like this: >> >>> /usr/bin/mkshortcut -A -P -n "Cygwin/User Guide (PDF)" -d "Cygwin User Guide >>> PDF" -- /usr/share/doc/cygwin-doc/cygwin-ug-net.pdf >>> /usr/bin/mkshortcut -A -P -n "Cygwin/User Guide (HTML)" -d "Cygwin User Guide >>> HTML" -- /usr/share/doc/cygwin-doc/html/cygwin-ug-net/index.html >>> /usr/bin/mkshortcut -A -P -n "Cygwin/API (PDF)" -d "Cygwin API Reference PDF" >>> -- /usr/share/doc/cygwin-doc/cygwin-api.pdf >>> /usr/bin/mkshortcut -A -P -n "Cygwin/API (HTML)" -d "Cygwin API Reference >>> HTML" -- /usr/share/doc/cygwin-doc/html/cygwin-api/index.html >>> /usr/bin/mkshortcut -A -P -n "Cygwin/Home Page" -d "Cygwin Home Page Link" -a >>> https://cygwin.com/index.html -- /usr/bin/cygstart >>> /usr/bin/mkshortcut -A -P -n "Cygwin/FAQ" -d "Cygwin Frequently Asked >>> Questions Link" -a https://cygwin.com/faq.html -- /usr/bin/cygstart >> >> There appears to be a bug in mkshortcut. >> Could this be somehow related to my enabling native symbolic links? >> (Not sure if this error began before I did that.) >> I don't know where to find the source for mkshortcut, and not sure if somebody >> else >> knows this program and can look into it. Should I report this somewhere? > > Consider it reported :-O. 'cygcheck -p mkshortcut' shows mkshortcut is part of > the cygutils package. I'm the maintainer. You aren't using zsh as your shell, > are you? I ask because zsh apparently has its own mkshortcut. Let me > experiment a little bit and try to reproduce your first issue. To see the mkshortcut source, you can use setup.exe to install the latest cygutils package and click the box saying you want source too. It will go into /usr/src. cd into the newly-created cygutils* directory there and do 'cygport prep' to prepare the source tree for all of cygutils (it's not much). Then navigate down to the mkshortcut directory and see mkshortcut.c. Or use gitweb to inspect the source online. The cygutils source tree is at git://cygwin.com/cygwin-apps/cygutils.git . You can reach it from the cygwin.com home page -- click on "Source in Git" on the left side of the page. How do you enable native symbolic links? And also, could you please provide the output of 'cygcheck -svr' as an email attachment on your next reply? Please make sure to attach, and not just append it to the email, as the latter tends to poison searches of the archives. Thanks, ..mark -- 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