[MacPorts] #33606: python27: build fails

MacPorts noreply at macports.org
Wed Mar 14 03:28:10 PDT 2012


#33606: python27: build fails
------------------------------------------+---------------------------------
 Reporter:  nathanielbreedlove@…          |       Owner:  jwa@…           
     Type:  defect                        |      Status:  new             
 Priority:  Normal                        |   Milestone:                  
Component:  ports                         |     Version:  2.0.4           
 Keywords:                                |        Port:  python27        
------------------------------------------+---------------------------------

Comment(by erikmouw@…):

 Replying to [comment:10 ryandesign@…]:
 > This means you have python27 already installed but for a different
 architecture. "sudo port -f uninstall python27", then "sudo port clean
 python27" and try again.

 Almost there. I was wondering how that different architecture got there,
 but I found out it's the universal variant that fails. What happens is
 that python27 is installed, a package that is being updated requires
 python27+universal, which forces an upgrade of python27 to
 python27+universal:

 {{{
 $ sudo port -f uninstall python27
 Password:
 --->  Unable to uninstall python27 @2.7.2_4, the following ports depend on
 it:
 --->    asciidoc @8.6.6_0+python27
 --->    cfv @1.18.3_2+python27
 --->    duplicity @0.6.17_1
 --->    gnome-doc-utils @0.20.6_0+python27
 --->    gtk-doc @1.18_0+python27
 --->    libproxy @0.4.7_0+python27
 --->    librsvg @2.34.2_0
 --->    py27-boto @2.1.1_1
 --->    py27-cairo @1.8.10_1
 --->    py27-distribute @0.6.24_0
 --->    py27-distribute @0.6.25_0
 --->    py27-gnupg @0.3.2_0
 --->    py27-gobject @2.26.0_1
 --->    py27-gtk @2.22.0_1
 --->    py27-libxml2 @2.7.8_0
 --->    py27-lxml @2.3_0
 --->    py27-numpy @1.6.1_1+atlas+gcc44
 --->    py27-py @1.1.1_0
 --->    py27-pyqt4 @4.9_0
 --->    py27-sip @4.13.2_0
 --->    py27-xml @0.8.4_0
 --->    scons @2.0.1_1
 --->    timedrive @0.4.0_0
 Warning: Uninstall forced.  Proceeding despite dependencies.
 --->  Deactivating python27 @2.7.2_4
 --->  Unable to deactivate python27 @2.7.2_4, the following ports depend
 on it:
 --->    asciidoc @8.6.6_0+python27
 --->    cfv @1.18.3_2+python27
 --->    duplicity @0.6.17_1
 --->    gnome-doc-utils @0.20.6_0+python27
 --->    gtk-doc @1.18_0+python27
 --->    libproxy @0.4.7_0+python27
 --->    librsvg @2.34.2_0
 --->    py27-boto @2.1.1_1
 --->    py27-cairo @1.8.10_1
 --->    py27-distribute @0.6.25_0
 --->    py27-gnupg @0.3.2_0
 --->    py27-gobject @2.26.0_1
 --->    py27-gtk @2.22.0_1
 --->    py27-libxml2 @2.7.8_0
 --->    py27-lxml @2.3_0
 --->    py27-numpy @1.6.1_1+atlas+gcc44
 --->    py27-py @1.1.1_0
 --->    py27-pyqt4 @4.9_0
 --->    py27-sip @4.13.2_0
 --->    py27-xml @0.8.4_0
 --->    scons @2.0.1_1
 --->    timedrive @0.4.0_0
 Warning: Deactivate forced.  Proceeding despite dependencies.
 --->  Cleaning python27
 --->  Uninstalling python27 @2.7.2_4
 --->  Cleaning python27
 $ sudo port clean python27
 --->  Cleaning python27
 $ sudo port install python27
 --->  Computing dependencies for python27
 --->  Fetching archive for python27
 --->  Attempting to fetch python27-2.7.2_4.darwin_10.x86_64.tgz from
 http://packages.macports.org/python27
 --->  Fetching python27
 --->  Verifying checksum(s) for python27
 --->  Extracting python27
 --->  Applying patches to python27
 --->  Configuring python27
 --->  Building python27
 --->  Staging python27 into destroot
 --->  Installing python27 @2.7.2_4
 --->  Activating python27 @2.7.2_4

 To make python 2.7 the default (i.e. the version you get when you run
 'python'), please run:
         sudo port select --set python python27

 --->  Cleaning python27
 $ sudo port upgrade outdated
 --->  Computing dependencies for xorg-libxcb
 --->  Dependencies to be installed: python27
 --->  Fetching archive for python27
 --->  Attempting to fetch
 python27-2.7.2_4+universal.darwin_10.i386-x86_64.tgz from
 http://packages.macports.org/python27
 --->  Fetching python27
 --->  Verifying checksum(s) for python27
 --->  Extracting python27
 --->  Applying patches to python27
 --->  Configuring python27
 --->  Building python27
 --->  Staging python27 into destroot
 Error: Target org.macports.destroot returned: shell command failed (see
 log for details)
 Error: Failed to install python27
 Log for python27 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log
 Error: The following dependencies were not installed: python27
 Error: Unable to upgrade port: 1
 To report a bug, see <http://guide.macports.org/#project.tickets>
 $
 }}}

 With again the same error in the main.log as you spotted earlier. After
 that I tried "sudo port -f uninstall python27 ; sudo port clean python27 ;
 sudo port install python27 +universal", but that again fails with the same
 error.

 In other words: I have narrowed it down to the universal variant. I will
 try to get rid of all universal variants so I can get away using plain
 python27, but that's a workaround and not a fix, of course.


 Regards,

 Erik

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


More information about the macports-tickets mailing list