Alexander Hansen wrote:
> Peter Stirling wrote:
>> Hi,
>>
>> This package has been broken for my machine for a week or so.
>>
>> bash-3.2# fink --version
>> Package manager version: 0.29.2
>> Distribution version: selfupdate-rsync Thu Apr 16 22:25:48 2009, 10.5,  
>> powerpc
>>
>> Copyright (c) 2001 Christoph Pfisterer
>> Copyright (c) 2001-2009 The Fink Package Manager Team
>> This program is distributed in the hope that it will be useful,
>> but WITHOUT ANY WARRANTY; without even the implied warranty of
>> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> GNU General Public License for more details.
>>
>> OS X 10.5.6
>>
>> gtk-doc: Linking scanner
>> libtool: link: gcc -o .libs/gtkglext-scan .libs/gtkglext- 
>> scan.o  ../../../gdk/.libs/libgdkglext-x11-1.0.dylib -L/sw/lib/ 
>> fontconfig2/lib -L/sw/lib -L/usr/X11R6/lib -L/sw/lib/freetype219/lib - 
>> L/usr/X11/lib ../../../gtk/.libs/libgtkglext-x11-1.0.dylib /sw/src/ 
>> fink.build/gtkglext1-1.0.6-1011/gtkglext-1.0.6/gdk/.libs/libgdkglext- 
>> x11-1.0.dylib /sw/lib/pango-ft219/lib/libpangox-1.0.dylib /sw/lib/ 
>> libgtk-x11-2.0.dylib /sw/lib/libgdk-x11-2.0.dylib /sw/lib/ 
>> libatk-1.0.dylib /sw/lib/libgdk_pixbuf-2.0.dylib /sw/lib/ 
>> libgio-2.0.dylib /sw/lib/pango-ft219/lib/libpangocairo-1.0.dylib /sw/ 
>> lib/pango-ft219/lib/libpangoft2-1.0.dylib /sw/lib/libcairo.dylib /sw/ 
>> lib/libpixman-1.dylib /sw/lib/libglitz.dylib /sw/lib/libpng12.dylib / 
>> usr/X11/lib/libXrender.1.3.0.dylib /sw/lib/pango-ft219/lib/ 
>> libpango-1.0.dylib /sw/lib/fontconfig2/lib/libfontconfig.dylib /sw/lib/ 
>> freetype219/lib/libfreetype.dylib -lz /sw/lib/libexpat.dylib /sw/lib/ 
>> libgobject-2.0.dylib /sw/lib/libgmodule-2.0.dylib /sw/lib/ 
>> libglib-2.0.dylib /sw/lib/libintl.dylib /sw/lib/libiconv.dylib -lc - 
>> lGLU -lGL /usr/X11/lib/libXmu.6.2.0.dylib /usr/X11/lib/libXext. 
>> 6.4.0.dylib /usr/X11/lib/libXt.6.0.0.dylib /usr/X11/lib/ 
>> libX11.6.2.0.dylib /usr/X11/lib/libXau.6.0.0.dylib /usr/X11/lib/ 
>> libXdmcp.6.0.0.dylib /usr/X11/lib/libSM.6.0.0.dylib /usr/X11/lib/ 
>> libICE.6.3.0.dylib -lm
>> ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib
>> collect2: ld returned 1 exit status
[]
>>   
> What version of Xcode do you have?  This issue was fixed in 3.1 (I
> think, unless it was 3.1.1).

OTOH, the package has had the usual fix for this problem ("SetLDFLAGS: 
-Wl,-dylib_file, etc.") for ages, so it should work on xcode-3.0, too.

This looks to me like a deliberate bug in the upstream sources, in 
docs/reference/gtkglext/Makefile, where they reset LDFLAGS on the linker 
line, overriding the user-defined LDFLAGS instead of adding to it.

The bug only shows up now, because that part of the package used to be 
disabled in previous revisions.

-- 
Martin

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to