From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79908 invoked by alias); 20 Jan 2016 03:22:11 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 79751 invoked by uid 89); 20 Jan 2016 03:21:56 -0000 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 Received: from mail-io0-f175.google.com (HELO mail-io0-f175.google.com) (209.85.223.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 20 Jan 2016 03:21:55 +0000 Received: by mail-io0-f175.google.com with SMTP id 77so6777049ioc.2 for ; Tue, 19 Jan 2016 19:21:55 -0800 (PST) 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) Received: by 10.107.10.34 with HTTP; Tue, 19 Jan 2016 19:21:53 -0800 (PST) Date: Wed, 20 Jan 2016 08:02:00 -0000 Message-ID: Subject: Base-files-mketc.sh error for non-existing C:\Windows\SysWOW64\drivers\etc From: David Lee To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00233.txt.bz2 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