delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.3.2 sourceware.org 97B6B3857C64 |
Authentication-Results: | sourceware.org; dmarc=none (p=none dis=none) |
header.from=SystematicSw.ab.ca | |
Authentication-Results: | sourceware.org; |
spf=none smtp.mailfrom=brian DOT inglis AT systematicsw DOT ab DOT ca | |
X-Authority-Analysis: | v=2.4 cv=LvQsdlRc c=1 sm=1 tr=0 ts=5fd91683 |
a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 | |
a=IkcTkHD0fZMA:10 a=uYT-Tk0qkVT609LjNaIA:9 a=QEXdDO2ut3YA:10 | |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Subject: | Re: cygwin-doc post install script failures |
To: | cygwin AT cygwin DOT com |
References: | <1def9bc2-8e19-575d-547c-fa44a5c61f26 AT gmail DOT com> |
Organization: | Systematic Software |
Message-ID: | <95dbf69b-97ff-f465-477b-856bae857179@SystematicSw.ab.ca> |
Date: | Tue, 15 Dec 2020 13:03:14 -0700 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 |
Thunderbird/78.5.1 | |
MIME-Version: | 1.0 |
In-Reply-To: | <1def9bc2-8e19-575d-547c-fa44a5c61f26@gmail.com> |
X-CMAE-Envelope: | MS4xfF58EuxPDZn7zSDyWqbPIGmwl0s/rbVAML98EjiL11eXiMS+WIvlIgmt5Py9EEsGyF3aJMew4tTeOeVCenYCCi4ffc1TKHRQtU2lJA9/o7e9HhqF4Mf8 |
R7YRl7huDsTG8U3F6jXAAz57Ua3mudpECWF1aPGnhdQjF/bLEIG/g4Ydcp91Fg5RGh06uhfNm3AisW7ZVpCiweMUjPiK7nOe9tA= | |
X-Spam-Status: | No, score=-6.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, |
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, | |
RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, | |
TXREP autolearn=no autolearn_force=no version=3.4.2 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.2 (2018-09-13) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Reply-To: | cygwin AT cygwin DOT com |
Errors-To: | cygwin-bounces AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces AT cygwin DOT com> |
On 2020-12-15 01:43, Marco Atzeri via Cygwin wrote: > Not a recent bug but annoying anyway > > It seems the post-install script is not considering that the > installation can be in a disk different from C: , properly > in this case D: The post-install script does not care as mkshortcut uses POSIX paths. Could you please check your paths with: $ which -a mkshortcut /usr/bin/mkshortcut $ cygcheck mkshortcut Found: C:\...\cygwin64\bin\mkshortcut.exe C:\...\cygwin64\bin\mkshortcut.exe C:\...\cygwin64\bin\cygwin1.dll C:\Windows\system32\KERNEL32.dll C:\Windows\system32\ntdll.dll C:\Windows\system32\KERNELBASE.dll C:\...\cygwin64\bin\cygpopt-0.dll C:\...\cygwin64\bin\cygiconv-2.dll C:\...\cygwin64\bin\cygintl-8.dll C:\Windows\system32\ole32.dll C:\Windows\system32\RPCRT4.dll C:\Windows\system32\GDI32.dll C:\Windows\system32\win32u.dll C:\Windows\system32\USER32.dll C:\Windows\system32\combase.dll C:\Windows\system32\bcryptPrimitives.dll C:\Windows\system32\SHELL32.dll $ cygcheck -f /usr/bin/mkshortcut cygutils-1.4.16-2 $ cygcheck -c cygutils Cygwin Package Information Package Version Status cygutils 1.4.16-2 OK > 2020/12/15 08:40:13 running: d:\cygwin32\bin\bash.exe --norc --noprofile > "/etc/postinstall/cygwin-doc.sh" > mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start > Menu/Programs/D:/cygwin32/Cygwin (32-bit)/User Guide (PDF).lnk" failed; does the > target directory exist? > mkshortcut: Saving "/cygdrive/c/ProgramData/Microsoft/Windows/Start > Menu/Programs/D:/cygwin32/Cygwin (32-bit)/User Guide (HTML).lnk" failed; does > the target directory exist? Please try: $ sh --version GNU bash, version 4.4.12(3)-release (x86_64-unknown-cygwin) ... Could you please try rerunning the p-i script under sh -vx and post the output, as I can not see any way to rearrange the inputs and outputs to get that result, unless read or mkshortcut are damaged! > $ ls "/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs/" | grep Cygwin > Cygwin > Cygwin (32-bit) $ ll "$(cygpath -A -P -U)"/Cygwin* -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |