delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/10/00:05:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A2F30D5.5080504@cwilson.fastmail.fm>
Date: Wed, 10 Jun 2009 00:04:37 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: setup-1.7 (2.627) and/or cygwin-1.7.0-49
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Using the recently announced setup-1.7 update, and a local mirror in
which I added a "fake" package with requires: specifying all my favorite
packages, I again attempted a clean install.  I did this to verify that
recent problems (e.g. with %HOME% set and pre-existing .dotfiles) no
longer cause issues.

They don't, so that's good. [[[ KEY POINT: the new setup-1.7 does, in
fact, suppress reading the user's ~/.dotfiles and avoids the errors that
those ~/.dotfiles can cause in new installations.  Thanks, Corinna! ]]]

However, the installation was still a bit bolluxed -- mostly the
postinstall scripts still don't run correctly.

Windows XP Pro, domain member, %HOME% = H:\ which is an SMB share
mounted to that drive letter.

Here's a relevant snippet from setup.log.full.  It

2009/06/09 14:36:48 Starting cygwin install, version 2.627
2009/06/09 14:36:48 Current Directory: C:\TEMP\cygwin-mirror
2009/06/09 14:36:48 User has backup/restore rights
2009/06/09 14:36:48 Changing gid to Administrators
...
2009/06/09 14:50:21 Extracting from
file://C:\TEMP\cygwin-mirror/release-2/zlib/zlib0/zlib0-1.2.3-10.tar.bz2
Installing file cygfile:///usr/bin/cygz.dll
2009/06/09 14:50:21 Changing gid back to original
Visited: 447 nodes out of 1422 while creating dependency order.
Dependency order of packages: aalib aalib aalib-devel alternatives
base-passwd base-cygwin cygwin libX11_6 libICE6 libSM6 [... snipped ...]
xsri xterm zip zlib-devel fake
2009/06/09 14:50:22 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/aalib.sh
2009/06/09 14:50:33 can't run /etc/postinstall/aalib.sh: No such file

[[[ uh, what? if the file doesn't exist, how did setup know to run it? ]]]

2009/06/09 14:50:33 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/passwd-grp.sh
/bin/chgrp: invalid group: `root'
/bin/chgrp: invalid group: `root'
2009/06/09 14:50:34 abnormal exit: exit code=1

[[[ so, I had no /etc/passwd or /etc/group, because THIS is the script
that's supposed to create them. Why is IT complaining about missing the
root group?  Either go ahead and add that group to /etc/group, or don't
try to use it in a chgrp command... ]]]

2009/06/09 14:50:34 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/000-cygwin-post-install.sh
2009/06/09 14:50:35 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/00ash.sh
     10 [main] bash 6256 read_flags: invalid fstab option - '0'
   1540 [main] bash 6256 read_flags: invalid fstab option - '0'

[[[ Well now, that's just wierd. I had no pre-existing /etc/fstab or
/etc/fstab.d/$USER.  So, if there are complaints about the contents of
the default-generated ones, then maybe /etc/postinstall/passwd-grp.sh is
not doing it correctly? ]]]

2009/06/09 14:50:36 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/autoconf.sh
      9 [main] bash 7984 read_flags: invalid fstab option - '0'
   1400 [main] bash 7984 read_flags: invalid fstab option - '0'
2009/06/09 14:50:36 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/m4.sh
      9 [main] bash 11008 read_flags: invalid fstab option - '0'
   1248 [main] bash 11008 read_flags: invalid fstab option - '0'
[... snipped ...]

2009/06/09 14:51:27 running: C:\cygwin-1.7\bin\bash.exe --norc
--noprofile -c /etc/postinstall/fake-bash.sh
      9 [main] bash 3972 read_flags: invalid fstab option - '0'
   1518 [main] bash 3972 read_flags: invalid fstab option - '0'
inner: hB /etc/postinstall/fake-bash.sh
shopt -u cdable_vars
shopt -u cdspell
...
shopt -u restricted_shell
shopt -u shift_verbose
shopt -s sourcepath
shopt -u xpg_echo
1
1
1
1
SHELLOPTS=braceexpand:hashall:interactive-comments
BASH_ENV=
ENV=
end inner
2009/06/09 14:51:27 Changing gid to Administrators
2009/06/09 14:51:29 note: Installation Complete
2009/06/09 14:51:29 Ending cygwin install


Versions involved:

base-passwd-3.0-1.tar.bz2
base-cygwin-1.4-1.tar.bz2
base-files-3.7-1.tar.bz2
cygwin-1.7.0-49.tar.bz2
ash-20040127-3.tar.bz2
bash-3.2.48-21.tar.bz2
coreutils-6.12-2.tar.bz2

Hmmm...waitaminute.  That version number looks odd...yep, coreutils
ought to be 7.0-2.  Maybe the others are scrogged too...

base-passwd    should be 3.1-1
base-cygwin    should be 2.0-1
base-files     should be 3.8-3

Ok, never mind.  Somehow I got a bunch of bad versions. No idea how --
but obviously these versions are NOT going to work with cygwin-1.7.0-XX
going forward.  Maybe they should be removed from the release-2/ area?

Anyway, I'll "clean up" my mirror (e.g. keep only current versions) and
try again tomorrow.

--
Chuck

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019