[MacPorts] #25475: cmake missing dependency

MacPorts noreply at macports.org
Fri Jul 2 14:33:31 PDT 2010


#25475: cmake missing dependency
------------------------------+---------------------------------------------
 Reporter:  snc@…             |       Owner:  css@…           
     Type:  defect            |      Status:  assigned        
 Priority:  Normal            |   Milestone:                  
Component:  ports             |     Version:  1.9.99          
 Keywords:                    |        Port:  cmake           
------------------------------+---------------------------------------------

Comment(by michaelld@…):

 Not sure if I understand what you want me to try.  I changed the cmake
 Portfile to include "depends_lib port:libidn", bumped the revision, and
 did 'portindex' at the top level to get the change registered.  Here's my
 shell log, following what I think you said to do.  I get this same logfile
 no matter which Portfile I use (original or with the depends_lib added)
 ... maybe I don't understand the issue?
 {{{
 % port installed cmake libidn
 The following ports are currently installed:
   cmake @2.8.1_4 (active)
   libidn @1.19_0 (active)

 % port deps cmake
 Full Name: cmake @2.8.1_4
 Build Dependencies:   libidn, openssl
 Library Dependencies: libidn

 % which cmake
 /opt/local/bin/cmake

 % cmake --version
 cmake version 2.8.1

 % sudo port deactivate cmake
 --->  Deactivating cmake

 % sudo port uninstall libidn
 --->  Unable to uninstall libidn 1.19_0, the following ports depend on it:
 --->      wget
 --->      curl
 --->      kdelibs4
 --->      cmake
 Error: port uninstall failed: Please uninstall the ports that depend on
 libidn first.

 % sudo port -f uninstall libidn
 --->  Unable to uninstall libidn 1.19_0, the following ports depend on it:
 --->      wget
 --->      curl
 --->      kdelibs4
 --->      cmake
 Warning: Uninstall forced.  Proceeding despite dependencies.
 --->  Deactivating libidn @1.19_0
 --->  Uninstalling libidn @1.19_0

 % sudo port activate cmake
 --->  Activating cmake

 % which cmake
 /opt/local/bin/cmake

 % cmake --version
 dyld: Library not loaded: /opt/local/lib/libidn.11.dylib
   Referenced from: /opt/local/bin/cmake
   Reason: image not found
 Trace/BPT trap

 % sudo port install libidn
 --->  Computing dependencies for libidn
 --->  Fetching libidn
 --->  Verifying checksum(s) for libidn
 --->  Extracting libidn
 --->  Configuring libidn
 --->  Building libidn
 --->  Staging libidn into destroot
 --->  Installing libidn @1.19_0
 --->  Activating libidn @1.19_0
 --->  Cleaning libidn

 % which cmake
 /opt/local/bin/cmake

 % cmake --version
 cmake version 2.8.1
 }}}

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


More information about the macports-tickets mailing list