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]

Re: gnome and hicolor exit code 127 for /usr/bin .vs. /bin


> On 10/5/2012 10:13 PM, Brian S. Wilson wrote:
> > I'm also assuming that no one needs any further information to debug this 
issue.
> 
> wrong assumption.

Good to know, but hard to tell with no responses.  Thank you for helping out.

> > Package: gnubg
> > 	gnubg.sh exit code 127
> > Package: Unknown package
> > 	gnome-icon-theme.sh exit code 127
> > 	hicolor-icon-theme.sh exit code 127
> > --snip-- < <
> could you please try :
> 
> /usr/bin/gtk-update-icon-cache --force /usr/share/icons/gnome
> and ls -l
> /usr/bin/gtk-update-icon-cache --force /usr/share/icons/hicolor
> 
> so we can try to understand what is not working on your system?

Brian S. Wilson@ncc-1701 ~
$ /usr/bin/gtk-update-icon-cache --force /usr/share/icons/gnome

Brian S. Wilson@ncc-1701 ~
$ echo $?
127

Brian S. Wilson@ncc-1701 ~
$ /usr/bin/gtk-update-icon-cache --force /usr/share/icons/hicolor

Brian S. Wilson@ncc-1701 ~
$ echo $?
127

Brian S. Wilson@ncc-1701 ~
$ ls -l /usr/share/icons/hicolor /usr/share/icons/gnome
/usr/share/icons/gnome:
total 12
drwxr-xr-x+ 1 Brian S. Wilson None     0 Sep 20 07:50 16x16
drwxr-xr-x+ 1 Brian S. Wilson None     0 Sep 20 07:50 22x22
drwxr-xr-x+ 1 Brian S. Wilson None     0 Sep 20 07:51 24x24
drwxr-xr-x+ 1 Brian S. Wilson None     0 Sep 20 07:51 256x256
drwxr-xr-x+ 1 Brian S. Wilson None     0 Sep 20 07:51 32x32
drwxr-xr-x+ 1 Brian S. Wilson None     0 Sep 20 07:51 48x48
drwxr-xr-x+ 1 Brian S. Wilson None     0 Sep 20 07:51 8x8
-rw-r--r--  1 Brian S. Wilson None 11589 May  2 00:35 index.theme

/usr/share/icons/hicolor:
total 28
drwxr-xr-x+ 1 Brian S. Wilson root     0 Sep  2 22:12 16x16
drwxr-xr-x+ 1 Brian S. Wilson root     0 Sep  2 22:12 22x22
drwxr-xr-x+ 1 Brian S. Wilson root     0 Sep  2 22:12 24x24
drwxr-xr-x+ 1 Brian S. Wilson root     0 Sep  2 22:12 256x256
drwxr-xr-x+ 1 Brian S. Wilson root     0 Sep  2 22:12 32x32
drwxr-xr-x+ 1 Brian S. Wilson root     0 Sep  2 22:12 48x48
-rw-r--r--  1 Brian S. Wilson root 24675 May 21  2010 index.theme

As you can see, I get a return code of 127 (file not found) and the icon-
theme.cache is not created; yet there is no message from gtk-update-icon-cache 
indicating a problem.  I am running the command line as the "Brian S. Wilson" 
administrative account.  I've also attached the the cygcheck.out file again.

I've run the command "/usr/bin/gtk-update-icon-cache -v 
/usr/share/icons/hicolor" and again received a 127 error code, but nothing on 
the screen to indicate a problem.  I've verified that I can change directory 
to the /usr/share/icons/(hicolor|gnome)directories and created and deleted a 
"junk" file so it doesn't seem to be a directory permissions issue with 
creating files.  I have also traversed the subdirectories and verified each 
subdirectory and file is at least readable by everyone.  It just looks like 
the gtk-update-icon-cache command isn't working and isn't printing an error 
message for what is wrong.  I did notice that there are symbolic links for 
some of the file entries and was wondering if this would cause issues (perhaps 
gtk-update-icon-cache doesn't like symbolic links)?

Please let me know if there is something else I can do to help debug this 
issue.

I didn't know if the corrupt Perl manpage issue was related in my previous 
post.  I was wondering if the local copy of gtk-update-icon-cache could be 
corrupted as well, but I thought it odd that even when I had deleted the Perl 
manpages, I still couldn't download from the GT website and had to go to the 
VT website to get a good package.

Attachment: cygcheck.out
Description: Binary data

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

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