MacPorts and Lion

Ryan Schmidt ryandesign at macports.org
Sun Jul 24 14:31:41 PDT 2011


On Jul 24, 2011, at 10:14, Mark Hart wrote:

> I wanted to inquire about MacPorts and Lion (10.7 Release).  I am having difficulties with a number of ports since I upgrade to the release version of 10.7 via Apple's App Store.
> 
> It looks like cairo is plum unhappy under Lion but I wanted to make sure that I was not doing something dumb and just missing it.  With OS X being updated, I figured that it would case some transitional issues with MacPorts.

Yup. You should expect tons of ports to not work on Lion at this time.


> If I do a port outdated I receive this:
> 
> ncc1701x:~ hartm$ sudo port outdated
> The following installed ports are outdated:
> cairo                          1.10.2_3 < 1.10.2_3  (platform darwin 10 != darwin 11)  
> dbus-glib                      0.94_0 < 0.94_0  (platform darwin 10 != darwin 11)  
> gtk2                           2.24.4_0 < 2.24.4_0  (platform darwin 10 != darwin 11)  
> libnotify                      0.5.2_1 < 0.5.2_1  (platform darwin 10 != darwin 11)  
> pango                          1.28.4_0 < 1.28.4_0  (platform darwin 10 != darwin 11)  
> winetricks                     20110629_0 < 20110629_0  (platform darwin 10 != darwin 11)  
> zenity                         2.32.1_0 < 2.32.1_0  (platform darwin 10 != darwin 11)  
> 
> When I try to upgrade them:
> 
> --->  Computing dependencies for cairo
> --->  Staging cairo into destroot
> Error: Target org.macports.destroot returned: error copying "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/destroot" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/destroot-x86_64/destroot": file already exists

That is because you tried building cairo, it failed for some reason, then you tried again without cleaning first. Clean, then try again, to see what the real error message is. I'll bet it's this issue:

https://trac.macports.org/ticket/30135


> ncc1701x:~ hartm$ sudo port upgrade dbus-glib
> --->  Computing dependencies for dbus
> --->  Building dbus
> Error: Target org.macports.build returned: shell command failed (see log for details)
> Log for dbus is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/dbus/main.log
> Error: Unable to upgrade port: 1
> To report a bug, see <http://guide.macports.org/#project.tickets>

Can't tell you what happened here unless you show us the main.log file, though I can already see that this is also a tried-failed-tried-again-without-cleaning situation, so clean first, try again, then show us (or better yet the issue tracker) the main.log file.







More information about the macports-users mailing list