[MacPorts] #24749: attica fails to build
#24749: attica fails to build ----------------------------------+----------------------------------------- Reporter: roberto@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: ----------------------------------+----------------------------------------- When updating today, attica failed to build. I have attached the complete log. -- Ticket URL: <http://trac.macports.org/ticket/24749> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24749: attica fails to build on Tiger ----------------------------------+----------------------------------------- Reporter: roberto@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: attica ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => snc@… * cc: sharky@…, ryandesign@… (added) * port: => attica Comment: The relevant lines in the log are: {{{ ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libz.1.dylib referenced from: /opt/local/libexec/qt4-mac/lib/QtCore.framework/QtCore (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libssl.0.9.8.dylib referenced from: /opt/local/libexec/qt4-mac/lib/QtNetwork.framework/QtNetwork (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: warning can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libcrypto.0.9.8.dylib referenced from: /opt/local/libexec/qt4-mac/lib/QtNetwork.framework/QtNetwork (checking for undefined symbols may be affected) (No such file or directory, errno = 2) }}} It means the link flags -lz -lssl -lcrypto are missing. This problem is unique to using a Mac OS X SDK on Tiger; with Leopard and later Xcode figures this out for you. In this case there's not even really a reason to be using an SDK since we're building on i386 for i386. But cmake seems to decide that it should always use the SDK when on Tiger, thus causing this problem. We could work around it by either telling cmake to not use the SDK, or by adding the required -l flags. -- Ticket URL: <http://trac.macports.org/ticket/24749#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24749: attica fails to build on Tiger ----------------------------------+----------------------------------------- Reporter: roberto@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: attica ----------------------------------+----------------------------------------- Comment(by snc@…): So this wasn't a result of qt4-mac referencing non-existant paths? It sounds like we're overriding qt4-mac... -- Ticket URL: <http://trac.macports.org/ticket/24749#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24749: attica fails to build on Tiger ----------------------------------+----------------------------------------- Reporter: roberto@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: attica ----------------------------------+----------------------------------------- Changes (by snc@…): * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/24749#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24749: attica fails to build on Tiger -----------------------------------+---------------------------------------- Reporter: roberto@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: attica | -----------------------------------+---------------------------------------- Changes (by snc@…): * status: assigned => closed * resolution: => fixed Comment: Untested patch using additional LD flags when compiled on Tiger, r68174. -- Ticket URL: <http://trac.macports.org/ticket/24749#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24749: attica fails to build on Tiger -----------------------------------+---------------------------------------- Reporter: roberto@… | Owner: snc@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: attica | -----------------------------------+---------------------------------------- Changes (by cenci@…): * status: closed => reopened * resolution: fixed => Comment: Replying to [comment:4 snc@…]:
Untested patch using additional LD flags when compiled on Tiger, r68174. [[BR]] Patch has a typo: crytpo -> crypto [[BR]] Tested on Macports 1.9.0 Tiger 10.4.11 XCode 2.5[[BR]] I reopen the ticket, I don't know if I did the right thing, first time aroun
-- Ticket URL: <http://trac.macports.org/ticket/24749#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24749: attica fails to build on Tiger -----------------------------------+---------------------------------------- Reporter: roberto@… | Owner: snc@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: Port: attica | -----------------------------------+---------------------------------------- Comment(by snc@…): Typo fixed in r69085. Let me know if it works aside from the typo … ;-) -- Ticket URL: <http://trac.macports.org/ticket/24749#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24749: attica fails to build on Tiger -----------------------------------+---------------------------------------- Reporter: roberto@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: attica | -----------------------------------+---------------------------------------- Changes (by snc@…): * status: reopened => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/24749#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts