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


I sent a message on October 1 about the Virginia Tech site and the corrupt perl man pages, but no one repsonded.

Charlie Millar

On 10/6/2012 10:16 AM, marco atzeri wrote:
On 10/5/2012 10:13 PM, Brian S. Wilson wrote:
I am going to make the assumption that someone is working the bug with
/usr/bin/gtk-update-icon-cache not creating the icon-theme.cache file and
reporting the 127 (file not found error). Since I've heard nothing else
about this, I'm also assuming that no one needs any further information to
debug this issue.

wrong assumption.



I've done a little more testing and the 127 return code is coming from the "/usr/bin/gtk-update-icon-cache --force /usr/share/icons/..." command line in the scripts. I get the 127 error message even if I run this command from the command line. This call is supposed to update the icon cache file with the latest entries. The icon-theme.cache file does exist for both the hicolor and gnome directories. It appears that gtk-update-icon-cache does not return a zero exit code; but I don't see any reason for the 127 (file not found) error.

The line should read "The icon-theme.cache file does not exist for both the hicolor and gnome directories." This command is supposed to create the cache file and it does not appear to be working.


I've just done an update from the Georgia Tech mirror and am now seeing a
message saying the perl manpages have a corrupt
local copy and should be deleted. I deleted my local copy, but can't
download a new copy. I switched to the Virginia
Tech mirror and was able to download the man pages, but also got a new file
not found error as shown in the following
paragraph. Apparently there is a new package set needed for some of the
packages I've already installed.


Package: gnubg
    gnubg.sh exit code 127
Package: Unknown package
    gnome-icon-theme.sh exit code 127
    hicolor-icon-theme.sh exit code 127

I did the same investigation and found the gnubg.sh script has the line
"/usr/bin/gtk-update-icon-cache --force
/usr/share/icons/hicolor" which returns the 127 error and does not create
the icon-theme.cache file. The gtk-update-
icon-cache executable does not appear to work as documented. Please treat
this as a bug report.


I would be happy to assist with further debugging, but will need guidance as
to what would be most useful.

could you please try :


/usr/bin/gtk-update-icon-cache --force /usr/share/icons/gnome
and
/usr/bin/gtk-update-icon-cache --force /usr/share/icons/hicolor

so we cant try to understand what is not working on your system ?

Regards
Marco




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



-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2677 / Virus Database: 2591/5812 - Release Date: 10/05/12




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