This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

setup v2.573.2.3: Postinstall: "abnormal exit: exit code=126"


Hello cygwin,

  Recently, i searches minimum cygwin install to maintain GCC build.
  After i resort list of required components, i downloaded it by
  setup.exe. Problem appeared when i need to install them by "Install
  from Local Directory" setup option without ini file. I found that
  setup unable to correctly run postinstall scripts. Here the log:

...
2008/08/09 06:53:36 Dependency ordered install:
2008/08/09 06:53:36 base-files
2008/08/09 06:53:36 base-passwd
2008/08/09 06:53:36 bash
2008/08/09 06:53:36 binutils
2008/08/09 06:53:36 bison
2008/08/09 06:53:36 bzip2
2008/08/09 06:53:36 coreutils
2008/08/09 06:53:36 crypt
2008/08/09 06:53:36 cygutils
2008/08/09 06:53:36 cygwin
2008/08/09 06:53:36 diffutils
2008/08/09 06:53:36 findutils
2008/08/09 06:53:36 flex
2008/08/09 06:53:36 gawk
2008/08/09 06:53:36 gcc-core
2008/08/09 06:53:36 gcc-g++
2008/08/09 06:53:36 gcc-mingw-core
2008/08/09 06:53:36 gcc-mingw-g++
2008/08/09 06:53:36 gcc-mingw-objc
2008/08/09 06:53:36 gcc-objc
2008/08/09 06:53:36 gmp
2008/08/09 06:53:36 grep
2008/08/09 06:53:36 groff
2008/08/09 06:53:36 gzip
2008/08/09 06:53:36 less
2008/08/09 06:53:36 libbz2_1
2008/08/09 06:53:36 libcharset1
2008/08/09 06:53:36 libgmp-devel
2008/08/09 06:53:36 libgmp3
2008/08/09 06:53:36 libiconv
2008/08/09 06:53:36 libiconv2
2008/08/09 06:53:36 libintl2
2008/08/09 06:53:36 libintl3
2008/08/09 06:53:36 libintl8
2008/08/09 06:53:36 libmpfr-devel
2008/08/09 06:53:36 libmpfr1
2008/08/09 06:53:36 libncurses8
2008/08/09 06:53:36 libpcre0
2008/08/09 06:53:36 libpopt0
2008/08/09 06:53:36 libreadline6
2008/08/09 06:53:36 m4
2008/08/09 06:53:36 make
2008/08/09 06:53:36 man
2008/08/09 06:53:36 mingw-runtime
2008/08/09 06:53:36 mpfr
2008/08/09 06:53:36 pkg-config
2008/08/09 06:53:36 sed
2008/08/09 06:53:36 termcap
2008/08/09 06:53:36 terminfo
2008/08/09 06:53:36 texinfo
2008/08/09 06:53:36 tzcode
2008/08/09 06:53:36 w32api
2008/08/09 06:53:36 which
2008/08/09 06:53:36 _update-info-dir
2008/08/09 06:53:36 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/base-files-mketc.sh
2008/08/09 06:53:38 abnormal exit: exit code=126
2008/08/09 06:53:38 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/base-files-profile.sh
2008/08/09 06:53:38 abnormal exit: exit code=126
2008/08/09 06:53:38 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/passwd-grp.sh
2008/08/09 06:53:38 abnormal exit: exit code=126
2008/08/09 06:53:38 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/00bash.sh
2008/08/09 06:53:40 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/bzip2.sh
2008/08/09 06:53:40 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/coreutils.sh
2008/08/09 06:53:41 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/findutils.sh
2008/08/09 06:53:41 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/gcc-mingw-core.sh
2008/08/09 06:53:42 abnormal exit: exit code=127
2008/08/09 06:53:42 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/gcc-mingw-g++.sh
2008/08/09 06:53:42 abnormal exit: exit code=127
2008/08/09 06:53:42 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/gcc-mingw-objc.sh
2008/08/09 06:53:42 abnormal exit: exit code=127
2008/08/09 06:53:42 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/gmp.sh
2008/08/09 06:53:43 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/m4.sh
2008/08/09 06:53:44 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/man.sh
2008/08/09 06:53:44 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/mpfr.sh
2008/08/09 06:53:44 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/terminfo.sh
2008/08/09 06:53:45 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/which.sh
2008/08/09 06:53:45 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/update-info-dir.sh
2008/08/09 06:53:51 note: Installation Complete
2008/08/09 06:53:51 Ending cygwin install

  Bash can't login properly, because "passwd-grp.sh" and
  "base-files-profile.sh" didn't do that they should do.
  
  After i attached ini file, log become slightly different, but errors
  still appear:
...
2008/08/09 06:57:52 Dependency ordered install:
2008/08/09 06:57:52 terminfo
2008/08/09 06:57:52 libreadline6
2008/08/09 06:57:52 libintl8
2008/08/09 06:57:52 libncurses8
2008/08/09 06:57:52 libintl3
2008/08/09 06:57:52 libiconv2
2008/08/09 06:57:52 texinfo
2008/08/09 06:57:52 _update-info-dir
2008/08/09 06:57:52 base-passwd
2008/08/09 06:57:52 cygwin
2008/08/09 06:57:52 bash
2008/08/09 06:57:52 crypt
2008/08/09 06:57:52 gawk
2008/08/09 06:57:52 tzcode
2008/08/09 06:57:52 coreutils
2008/08/09 06:57:52 findutils
2008/08/09 06:57:52 sed
2008/08/09 06:57:52 base-files
2008/08/09 06:57:52 libbz2_1
2008/08/09 06:57:52 bzip2
2008/08/09 06:57:52 libpcre0
2008/08/09 06:57:52 grep
2008/08/09 06:57:52 groff
2008/08/09 06:57:52 gzip
2008/08/09 06:57:52 termcap
2008/08/09 06:57:52 less
2008/08/09 06:57:52 man
2008/08/09 06:57:52 which
2008/08/09 06:57:52 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/terminfo.sh
2008/08/09 06:57:54 abnormal exit: exit code=126
2008/08/09 06:57:54 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/update-info-dir.sh
2008/08/09 06:57:54 abnormal exit: exit code=126
2008/08/09 06:57:54 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/passwd-grp.sh
2008/08/09 06:57:54 abnormal exit: exit code=126
2008/08/09 06:57:54 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/00bash.sh
2008/08/09 06:57:59 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/coreutils.sh
2008/08/09 06:58:00 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/findutils.sh
2008/08/09 06:58:01 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/base-files-mketc.sh
2008/08/09 06:58:02 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/base-files-profile.sh
2008/08/09 06:58:03 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/bzip2.sh
2008/08/09 06:58:04 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/man.sh
2008/08/09 06:58:04 running: C:\cygwin\bin\bash.exe -c /etc/postinstall/which.sh
2008/08/09 06:58:15 note: Installation Complete
2008/08/09 06:58:15 Ending cygwin install

As you see "passwd-grp.sh" still failes and "/etc/passwd" didn't
created, so bash still can't login.

-- 
Best regards,
 Andry                          mailto:andry@inbox.ru


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]