[MacPorts] #37143: boost: Source file ... not appear to exist (cannot lstat it). Unable to activate port boost.

MacPorts noreply at macports.org
Tue Nov 27 09:06:57 PST 2012


#37143: boost: Source file ... not appear to exist (cannot lstat it).  Unable to
activate port boost.
--------------------------+---------------------------
  Reporter:  z.almeraj@…  |      Owner:  adfernandes@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.0.3
Resolution:               |   Keywords:
      Port:  boost        |
--------------------------+---------------------------

Comment (by z.almeraj@…):

 I did remove the other two boost libraries and now the last version won't
 remove because of the dependency.

 What could I do here?

 {{{
 $ sudo port uninstall boost @1.52.0_1+no_single+no_static+python27
 --->  Unable to uninstall boost @1.52.0_1+no_single+no_static+python27,
 the following ports depend on it:
 --->    cgal @3.6.1_1
 --->    cgal @4.0.2_0
 --->    lib2geom @0.2.0_1
 Error: org.macports.uninstall for port boost returned: Please uninstall
 the ports that depend on boost first.
 Please see the log file for port boost for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_boost_1.52.0_1+no_single+no_static+python27/boost/main.log
 Warning: Failed to execute portfile from registry for boost
 @1.52.0_1+no_single+no_static+python27
 --->  Unable to uninstall boost @1.52.0_1+no_single+no_static+python27,
 the following ports depend on it:
 --->    cgal @3.6.1_1
 --->    cgal @4.0.2_0
 --->    lib2geom @0.2.0_1
 Error: port uninstall failed: Please uninstall the ports that depend on
 boost first.
 }}}



 Replying to [comment:3 z.almeraj@…]:
 > Yes I do have macports 2.1.2 installed. My mistake.
 >
 > Won't unistalling all of them mess up dependencies in other libraries? I
 use CGAL.
 >
 > What command would uninstall them all?
 >
 > Thank you,
 > Zainab
 >
 > Replying to [comment:2 ryandesign@…]:
 > > Are you really running MacPorts 2.0.3? If so, please use "sudo port
 selfupdate" to update to MacPorts 2.1.2.
 > >
 > > When you have multiple versions of a port installed, you must specify
 which one you want to uninstall. Try uninstalling all three versions of
 boost that you have installed, then trying again to install it.
 > >
 > > {{{
 > > sudo port selfupdate
 > > sudo port clean boost
 > > sudo port uninstall boost @1.44.0_0
 > > sudo port uninstall boost @1.50.0_0+no_single+no_static
 > > sudo port uninstall boost @1.52.0_1+no_single+no_static+python27
 > > sudo port install boost
 > > }}}

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


More information about the macports-tickets mailing list