Re: XFree86-bin-icons
Mark, Please don't send personal e-mail on Cygwin issues unless specifically requested. Also, please make sure your mailer honors the Reply-To: header. I'm forwarding this reply to the appropriate list. More inline below. On Mon, 29 Sep 2003, Mark Anderson wrote: Igor; I am writing to you in reference to this posting. The XFree86-bin-icons package is buggy. It's basically a postinstall script that tries to create icons for the X programs that are installed on your machine. The problem is that it tries to create them in the Start Menu for All Users without checking whether the current user can write to it. I'm not quite sure why it hangs for you, but you can try runnning that script manually via bash -x and seeing where it hangs. If you do investigate, please post your findings to the cygwin-xfree list. If you don't want to bother, simply do not install the XFree86-bin-icons package (all it does is provide the Start Menu icons -- not essential). Igor P.S. Note to setup developers (myself included -- just want to get this into the archives for now): even though postinstall scripts are not interactive, their output *is* logged, so they should print something that tracks their progress (maybe even be run with the -x flag, but that's probably overkill). We should put some words to that effect on the setup.html page. Thanks but I have a few issues also. 1 I do not know how to manually run this with the -x flag what are the steps, and where do I get the package? This wasn't a note for you, it was for setup developers. FWIW, you can run the script using sh -x /etc/postinstall/XFree86-bin-icons.sh. 2 setup.exe will not let me UN-CHOOSE this option I have run this in skip uninstall I have selected the package and removed the checkbox and SETUP.EXE still hangs on XFree86-bin-icons. Since setup has uninstalled everything and I can not get past XFree86-bin-icons, cygwin wont run. IF I try to mess around I may be able to get the basic cygwin to run. HELP Thank Mark Anderson I don't understand what you're trying to say here. You should be able to simply unselect the package from the list of currently installed ones using setup. If you still have trouble, simply erase /etc/postinstall/XFree86-bin-icons.sh (you can even do it using Windows Explorer), and don't reinstall the XFree86-bin-icons package. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton
Re: XFree86-bin-icons
Igor, You wrote the original message in this thread, correct? Was it sent to cygwin-xfree, cygwin, or cygwin-apps? I am asking only because I can't find a log of it anywhere... was it eaten by the mail server? Actually, there is another bug in XFree86-bin-icons, that is, it doesn't usually create icons for any package except emacs unless it is run manually from the command-line. I haven't looked into this enough to see if it only happens on fresh installs (implying that the problem is probably that XFree86-bin hasn't been installed yet) or if it happens all the time. That bug needs to be fixed before any sort of permissions bug. As is, it is pretty worthless. Harold Igor Pechtchanski wrote: Mark, Please don't send personal e-mail on Cygwin issues unless specifically requested. Also, please make sure your mailer honors the Reply-To: header. I'm forwarding this reply to the appropriate list. More inline below. On Mon, 29 Sep 2003, Mark Anderson wrote: Igor; I am writing to you in reference to this posting. The XFree86-bin-icons package is buggy. It's basically a postinstall script that tries to create icons for the X programs that are installed on your machine. The problem is that it tries to create them in the Start Menu for All Users without checking whether the current user can write to it. I'm not quite sure why it hangs for you, but you can try runnning that script manually via bash -x and seeing where it hangs. If you do investigate, please post your findings to the cygwin-xfree list. If you don't want to bother, simply do not install the XFree86-bin-icons package (all it does is provide the Start Menu icons -- not essential). Igor P.S. Note to setup developers (myself included -- just want to get this into the archives for now): even though postinstall scripts are not interactive, their output *is* logged, so they should print something that tracks their progress (maybe even be run with the -x flag, but that's probably overkill). We should put some words to that effect on the setup.html page. Thanks but I have a few issues also. 1 I do not know how to manually run this with the -x flag what are the steps, and where do I get the package? This wasn't a note for you, it was for setup developers. FWIW, you can run the script using sh -x /etc/postinstall/XFree86-bin-icons.sh. 2 setup.exe will not let me UN-CHOOSE this option I have run this in skip uninstall I have selected the package and removed the checkbox and SETUP.EXE still hangs on XFree86-bin-icons. Since setup has uninstalled everything and I can not get past XFree86-bin-icons, cygwin wont run. IF I try to mess around I may be able to get the basic cygwin to run. HELP Thank Mark Anderson I don't understand what you're trying to say here. You should be able to simply unselect the package from the list of currently installed ones using setup. If you still have trouble, simply erase /etc/postinstall/XFree86-bin-icons.sh (you can even do it using Windows Explorer), and don't reinstall the XFree86-bin-icons package. Igor
Re: XFree86-bin-icons
Harold, Well, the original (that Mark quoted) was on the cygwin@ list, namely http://cygwin.com/ml/cygwin/2003-09/msg00582.html. FWIW, you can force the order of execution of the XFree86-bin-icons.sh postinstall script by making the package dependent on XFree86-bin and others, but that would most likely defeat the purpose of the package. Igor On Mon, 29 Sep 2003, Harold L Hunt II wrote: Igor, You wrote the original message in this thread, correct? Was it sent to cygwin-xfree, cygwin, or cygwin-apps? I am asking only because I can't find a log of it anywhere... was it eaten by the mail server? Actually, there is another bug in XFree86-bin-icons, that is, it doesn't usually create icons for any package except emacs unless it is run manually from the command-line. I haven't looked into this enough to see if it only happens on fresh installs (implying that the problem is probably that XFree86-bin hasn't been installed yet) or if it happens all the time. That bug needs to be fixed before any sort of permissions bug. As is, it is pretty worthless. Harold Igor Pechtchanski wrote: Mark, Please don't send personal e-mail on Cygwin issues unless specifically requested. Also, please make sure your mailer honors the Reply-To: header. I'm forwarding this reply to the appropriate list. More inline below. On Mon, 29 Sep 2003, Mark Anderson wrote: Igor; I am writing to you in reference to this posting. The XFree86-bin-icons package is buggy. It's basically a postinstall script that tries to create icons for the X programs that are installed on your machine. The problem is that it tries to create them in the Start Menu for All Users without checking whether the current user can write to it. I'm not quite sure why it hangs for you, but you can try runnning that script manually via bash -x and seeing where it hangs. If you do investigate, please post your findings to the cygwin-xfree list. If you don't want to bother, simply do not install the XFree86-bin-icons package (all it does is provide the Start Menu icons -- not essential). Igor P.S. Note to setup developers (myself included -- just want to get this into the archives for now): even though postinstall scripts are not interactive, their output *is* logged, so they should print something that tracks their progress (maybe even be run with the -x flag, but that's probably overkill). We should put some words to that effect on the setup.html page. Thanks but I have a few issues also. 1 I do not know how to manually run this with the -x flag what are the steps, and where do I get the package? This wasn't a note for you, it was for setup developers. FWIW, you can run the script using sh -x /etc/postinstall/XFree86-bin-icons.sh. 2 setup.exe will not let me UN-CHOOSE this option I have run this in skip uninstall I have selected the package and removed the checkbox and SETUP.EXE still hangs on XFree86-bin-icons. Since setup has uninstalled everything and I can not get past XFree86-bin-icons, cygwin wont run. IF I try to mess around I may be able to get the basic cygwin to run. HELP Thank Mark Anderson I don't understand what you're trying to say here. You should be able to simply unselect the package from the list of currently installed ones using setup. If you still have trouble, simply erase /etc/postinstall/XFree86-bin-icons.sh (you can even do it using Windows Explorer), and don't reinstall the XFree86-bin-icons package. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton
Re: XFree86-bin-icons
Harold, I have suggested to the original poster to follow up on cygwin-xfree; apparently he never did. You can ignore the No package message -- when I inserted the postinstall progress page into setup, setup tried to keep track of the postinstall scripts in the newly installed packages, and run them first, and then run all the scripts that were left in /etc/postinstall (with the No package designation, indicating that they didn't belong to any package). Apparently, something went wrong with the tracking code, and all the scripts were discovered only when browsing the /etc/postinstall directory (alternatively, my code could be looking in the wrong place for the associated package name). Either way, I haven't had the time to investigate it, and it seems harmless enough for now to not be at the top of my TODO list. Hope this explains it adequately. If you want to track what's going on in the hanging script in more detail, change the #! line at the top of the script to bash -x (or sh -x). Then look at /var/log/setup.log.full for the script output. Similarly for the preremove script. Igor On Mon, 29 Sep 2003, Harold L Hunt II wrote: [Discussion on this issue is now taking place where it should have in the first place: cygwin-xfree. Please follow the cygwin-xfree mailing list for further posts.] Igor, Okay, that explains why I couldn't find the message in cygwin-xfree. I really wish someone would have redirected the question over here... I never saw it. FWIW, you can force the order of execution of the XFree86-bin-icons.sh postinstall script by making the package dependent on XFree86-bin and others, but that would most likely defeat the purpose of the package. Thanks. I actually did that just now, right before you suggested it. However, I didn't know that it would force the order of post-install script execution; that is a nice side-effect. The bin-icons package should logically depend on the bin package. People can manually unselect it if they want to. The XFree86-bin-icons package is buggy. It's basically a postinstall script that tries to create icons for the X programs that are installed on your machine. The problem is that it tries to create them in the Start Menu for All Users without checking whether the current user can write to it. That's not entirely true. For example, my account has Administrator priveleges on my machine, the script runs fine when I launch it from a bash prompt; so file permissions are not an issue. I'm not quite sure why it hangs for you, but you can try runnning that script manually via bash -x and seeing where it hangs. It doesn't hang when you do this. Something strange is going on here... setup.exe says Running: No Package /etc/postinstal/XFree86-bin-icons. What is up with the No Package? Is that indicating the real problem? Another thing is that an Uninstall of XFree86-bin-icons also hangs when it tries to run the preremove script. Yet, running the preremove script by hand never causes any problems (e.g. bash -x /etc/preremove/XFree86-bin-icons.sh). What gives? Harold -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton
Re: XFree86-bin-icons
[Discussion on this issue is now taking place where it should have in the first place: cygwin-xfree. Please follow the cygwin-xfree mailing list for further posts.] Igor, Okay, that explains why I couldn't find the message in cygwin-xfree. I really wish someone would have redirected the question over here... I never saw it. FWIW, you can force the order of execution of the XFree86-bin-icons.sh postinstall script by making the package dependent on XFree86-bin and others, but that would most likely defeat the purpose of the package. Thanks. I actually did that just now, right before you suggested it. However, I didn't know that it would force the order of post-install script execution; that is a nice side-effect. The bin-icons package should logically depend on the bin package. People can manually unselect it if they want to. The XFree86-bin-icons package is buggy. It's basically a postinstall script that tries to create icons for the X programs that are installed on your machine. The problem is that it tries to create them in the Start Menu for All Users without checking whether the current user can write to it. That's not entirely true. For example, my account has Administrator priveleges on my machine, the script runs fine when I launch it from a bash prompt; so file permissions are not an issue. I'm not quite sure why it hangs for you, but you can try runnning that script manually via bash -x and seeing where it hangs. It doesn't hang when you do this. Something strange is going on here... setup.exe says Running: No Package /etc/postinstal/XFree86-bin-icons. What is up with the No Package? Is that indicating the real problem? Another thing is that an Uninstall of XFree86-bin-icons also hangs when it tries to run the preremove script. Yet, running the preremove script by hand never causes any problems (e.g. bash -x /etc/preremove/XFree86-bin-icons.sh). What gives? Harold