[MacPorts] #30342: Update ARB for Lion (OS X 10.7) and Xcode 4

MacPorts noreply at macports.org
Tue Jul 26 19:06:41 PDT 2011


#30342: Update ARB for Lion (OS X 10.7) and Xcode 4
--------------------------------------+-------------------------------------
 Reporter:  matt.cottrell@…           |       Owner:  macports-tickets@…                   
     Type:  update                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.0.0                                
 Keywords:  lion haspatch maintainer  |        Port:  arb                                  
--------------------------------------+-------------------------------------

Comment(by matt.cottrell@…):

 Replying to [comment:12 ryandesign@…]:
 > Replying to [comment:11 matt.cottrell@…]:
 > > It's such a strange error that I suspect a corrupted source file.  I'm
 reaching here because I cannot reproduce your failure.  Can you download a
 fresh copy of the source and try again?
 >
 > You mean the ARB distfile? We already know it is not corrupted because
 if it had been MacPorts would have ended with a checksum error.
 >
 > The port fails to build with the same error even without the patches
 from this ticket. Of course it built ok when I committed the update to the
 current version in r76582. So that probably means one of arb's
 dependencies was updated, and this is causing the problem. I suspect mesa,
 since that's what provides libGL.dylib in MacPorts, while the error
 message shows the use of Apple's copy of libGL.dylib in
 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib.
 arb should either use Apple's copy and not declare a dependency on mesa,
 or (probably) should use the MacPorts copy in mesa, and not use Apple's.
 >
 > If you're not seeing this error, are your ports up to date? `sudo port
 selfupdate && sudo port upgrade outdated`.

 It will take some time for my Snow Leopard to run "upgrade outdated."  You
 could be right about mesa.  That was one of the most difficult parts of
 generating the original port from Linux to Mac OS X.  I wouldn't be
 surprised if it was the weak link.

 The makefile specifies where to find libGl.dylib like this:

 {{{
 XLIBS += -lGLU -lGL
 -Wl,-dylib_file,$(OSX_FW_OPENGL)/libGL.dylib:$(OSX_FW_OPENGL)/libGL.dylib
 }}}

 The fix may be as simple as removing that instruction.  I assume that if
 MacPorts installs mesa then nothing special must be done to help the arb
 build find the libGl.dylib that MacPorts mesa provides.

-- 
Ticket URL: <https://trac.macports.org/ticket/30342#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list