delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/29/12:58:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <BLU0-SMTP28F29159E41C2185EFC1A7DD7A0@phx.gbl>
Date: Tue, 29 Dec 2009 12:58:45 -0500
From: Claude Sylvain <csylvain AT electro-technica DOT com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Cygwin mailing list <cygwin AT cygwin DOT com>
Subject: Re: "update-desktop-database" seems to not work anymore.
References: <BLU0-SMTP551FF59630416E3F1344DDDD7A0 AT phx DOT gbl> <hhdcvc$fei$1 AT ger DOT gmane DOT org>
In-Reply-To: <hhdcvc$fei$1@ger.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Cesar Strauss wrote:

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


Thank you for your advice.  Your workaround is far much better than mine.

Claude.


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019