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:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=c3hzmJ/yQQo2B3KPLJ4ebtK05j67N Ytq/Y66/wMsKoUwzWiEAzhYwrs1dLECpcwxKUfg1BeKpS84LLSicAJ+Ls9O53eqz K/t35A9y0Glw52d9oKhUPpHhWNXge7JwSRMujuXy9Lpq9jxhOzVWwcVSmaOLzde7 pgCmvoNksqseqs= 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:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=btGVGv0pnsxz/nyyD8W71D2Jhew=; b=Ndk oXE6s0OabJhOYruQ9rlGXZD54anbgS+mwY225W+rpy3U5tKErfptHH/qVgAVG4lM AvUxnTevu8A2lEX1ReT2JavSysaLukDVeeJXtsGJy1UJTnLGLjYeJFM/jh4mbn/5 X73UUVdIqsOkaec0ZEQfT9IeqIhyTIEqwNbgtGlo= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=networks, setuplogfull, UD:full, UD:log.full X-HELO: mail-io0-f175.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=47/Y/kAefAsdeludNAC3RS1/DEOxA4oIZX9iStgEck8=; b=W8vD7icriL6cltBxCKeFs8zc50KZTDxGwi5EMxphcoqbAkWyUqSeGIArk1nAXCzr75 rDbx3rDxVTmsQF+gPZo7z+LEVD4tcpKN12IwATw7CjK/mvmsDOc2zHyTs4isnzjljYA2 qjMZRKeAJqWvhvgxBKhhXRdkVt5QLQ25KHLT4xx+9c2pVkj+c016eY/Ub0jRTznrkrLt fSRMdY5D9J1M/iEeeQ5t/Z0QiGBadNQUgBB4gvN81gWBYCZyplUBp44cfQyTqCx2ledv lSvAfQuo470E/Tx2B7pIu0duHkXDIbusJxdm73Li47OBCYin0h9dEs2eTKPXZDvFY8lz CRSA== X-Gm-Message-State: ALoCoQlcaEBLCqt2SKx+tZN36ngiX97pVW29VpDdgnU89f4WGbBCx8OO5eMjEG4zTS9o7irdCi3E05kbOIOV9FT15x01s68CvQ== MIME-Version: 1.0 X-Received: by 10.107.47.20 with SMTP id j20mr28241364ioo.168.1453260113300; Tue, 19 Jan 2016 19:21:53 -0800 (PST) Date: Wed, 20 Jan 2016 11:21:53 +0800 Message-ID: Subject: Base-files-mketc.sh error for non-existing C:\Windows\SysWOW64\drivers\etc From: David Lee To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes While doing a FRESH install of 32-bit cygwin on (64-bit) Windows Server 2012, setup returns error 1 from base-files-mketc.sh (from base-files package). /var/log/setup.log reveals : >> 2016/01/19 20:21:46 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/automake1.13.sh" >> 2016/01/19 20:21:46 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/automake.sh" >> 2016/01/19 20:21:47 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-mketc.sh" >> 2016/01/19 20:21:47 abnormal exit: exit code=1 >> 2016/01/19 20:21:47 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-profile.sh" >> 2016/01/19 20:21:48 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/ca-certificates.sh" >> 2016/01/19 20:21:50 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/libxml2.sh" >> 2016/01/19 20:21:51 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/libsasl2_3.sh" : and /var/log/setup.log.full reveals : >> 2016/01/19 20:21:46 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/automake1.13.sh" >> 2016/01/19 20:21:46 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/automake.sh" >> 2016/01/19 20:21:47 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-mketc.sh" >> Directory /cygdrive/c/Windows/SysWOW64/drivers/etc does not exist; exiting >> If directory name is garbage you need to update your cygwin package >> 2016/01/19 20:21:47 abnormal exit: exit code=1 >> 2016/01/19 20:21:47 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-profile.sh" >> Using the default version of /etc/profile.d/lang.sh (/etc/defaults/etc/profile.d/lang.sh) >> Using the default version of /etc/profile.d/lang.csh (/etc/defaults/etc/profile.d/lang.csh) >> Using the default version of /etc/profile.d/tzset.sh (/etc/defaults/etc/profile.d/tzset.sh) : the relevant lines from base-files-mketc.sh are as follow: : >> FILES="hosts protocols services networks" >> OSNAME="$(/usr/bin/uname -s)" >> WINETC="$(/usr/bin/cygpath -S -u)/drivers/etc" >> if [ ! -d "${WINETC}" ]; then >> echo "Directory ${WINETC} does not exist; exiting" >&2 >> echo "If directory name is garbage you need to update your cygwin package" >&2 >> exit 1 >> fi >> >> for mketc in ${FILES} : For 32-bit cygwin and 64-bit Windows, the code assigns /cygdrive/C/Windows/SysWOW64/drivers/etc to WINETC but it doesn't exist on my machine. I could have recreated it (and the files underneath) and then rerun the script - but I doubt if the OS uses this path. What is recognized and used is C:\Windows\System32\Drivers\etc. Any help is appreciated. David Lee -- 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