delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/23/18:43:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4CC36525.9020006@dronecode.org.uk>
Date: Sat, 23 Oct 2010 23:43:49 +0100
From: Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: problem with PATH set by libtool for uninstalled pixman library
References: <4C5075E3 DOT 9020903 AT dronecode DOT org DOT uk> <4C5139CD DOT 3010702 AT cwilson DOT fastmail DOT fm> <4C81C5B4 DOT 6000405 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <4C81C5B4.6000405@cwilson.fastmail.fm>
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

On 04/09/2010 05:06, Charles Wilson wrote:
> On 7/29/2010 4:20 AM, Charles Wilson wrote:
>> On 7/28/2010 2:24 PM, Jon TURNEY wrote:
>>> I have a tinderbox which does daily builds of the X.Org stack for
>>> cygwin, and I've come across a something I don't understand with the way
>>> libtool is working when building the pixman library, and I hope someone
>>> can shed a bit of light.
>>
>>
>> I think a patch to simply swap the order of these two assignments would
>> be fine (e.g. do $dllsearchpath first, then make sure it gets pre-empted
>> by $rpath). On *nix it wouldn't matter, since the two variables are
>> DISTINCT vars.
>
> Can you give the most recent (libtool-2.2.11a-1) release a try, and let
> me know if it fixes your problem?

Yes, this seems to be working correctly now. Thanks.

Sorry for the slow response, but I wanted to wait until the test result 
actually changed to check that the correct DLL really was being picked up.

jon AT allegra /opt/jhbuild/build/pixman/test
$ ./blitters-test.exe --lt-debug
blitters-test:./.libs/lt-blitters-test.c:227: libtool wrapper (GNU libtool 
1.3260 2010-09-02) 2.2.11a
blitters-test:./.libs/lt-blitters-test.c:228: (main) argv[0]: ./blitters-test
blitters-test:./.libs/lt-blitters-test.c:229: (main) program_name: blitters-test
blitters-test:./.libs/lt-blitters-test.c:390: (find_executable): ./blitters-test
blitters-test:./.libs/lt-blitters-test.c:345: (check_executable): 
/opt/jhbuild/build/pixman/test/./blitters-test
blitters-test:./.libs/lt-blitters-test.c:234: (main) found exe (before symlink 
chase) at: /opt/jhbuild/build/pixman/test/./blitters-test
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild/build/pixman/test/./blitters-test
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild/build/pixman/test/.
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild/build/pixman/test
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild/build/pixman
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild/build
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt
blitters-test:./.libs/lt-blitters-test.c:239: (main) found exe (after symlink 
chase) at: /opt/jhbuild/build/pixman/test/./blitters-test
blitters-test:./.libs/lt-blitters-test.c:262: (main) libtool target name: 
blitters-test.exe
blitters-test:./.libs/lt-blitters-test.c:613: (lt_setenv) setting 'BIN_SH' to 
'xpg4'
blitters-test:./.libs/lt-blitters-test.c:613: (lt_setenv) setting 'DUALCASE' 
to '1'
blitters-test:./.libs/lt-blitters-test.c:663: (lt_update_exe_path) modifying 
'PATH' by prepending 
'/opt/jhbuild/install/lib:/opt/jhbuild/install/bin:/opt/jhbuild/build/pixman/pixman/.libs:'
blitters-test:./.libs/lt-blitters-test.c:613: (lt_setenv) setting 'PATH' to 
'/opt/jhbuild/install/lib:/opt/jhbuild/install/bin:/opt/jhbuild/build/pixman/pixman/.libs:/home/jon/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/:/bin'
blitters-test:./.libs/lt-blitters-test.c:684: (lt_update_lib_path) modifying 
'PATH' by prepending '/opt/jhbuild/build/pixman/pixman/.libs:'
blitters-test:./.libs/lt-blitters-test.c:613: (lt_setenv) setting 'PATH' to 
'/opt/jhbuild/build/pixman/pixman/.libs:/opt/jhbuild/install/lib:/opt/jhbuild/install/bin:/opt/jhbuild/build/pixman/pixman/.libs:/home/jon/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/:/bin'
blitters-test:./.libs/lt-blitters-test.c:294: (main) lt_argv_zero: 
/opt/jhbuild/build/pixman/test/./.libs/blitters-test.exe
blitters-test:./.libs/lt-blitters-test.c:298: (main) newargz[0]: 
/opt/jhbuild/build/pixman/test/./.libs/blitters-test.exe

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