X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Cesar Strauss Subject: Re: "update-desktop-database" seems to not work anymore. Date: Tue, 29 Dec 2009 15:06:48 -0200 Lines: 35 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Claude Sylvain wrote: > - Just to report that "update-desktop-database" seems to not work > correctly on Cygwin 1.7.1. update-desktop-database.exe seems to be affected by a bug in Cygwin's libtool. See: Libtool: Generated manifests need execute permission http://article.gmane.org/gmane.os.cygwin/110870 When compiling update-desktop-database.exe, libtool first creates a wrapper executable with the same name, for internal purposes. To defeat UAC, it also creates a manifest file. Unfortunately, it fails to set the execute bit, so the wrapper is non-functional. As a result, the libtool wrapper ends up being installed and packaged, instead of the real program. For a detailed description and test case, see the post referenced above. > - This problem make installation to fail when doing "make install" > on some projects; like "geda-gaf" project. Coincidentally, it was the very project that lead me to investigate the issue. > - The workaround I used to get rid of that problem is to replace the > call to "update-desktop-database" by something like "ls" in the > "Makefile" created by the autotools. Just use ./configure --disable-update-xdg-database Cesar -- 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