[MacPorts] #21409: Cant install port python26 on snow leopard

MacPorts noreply at macports.org
Tue Sep 15 15:28:50 PDT 2009


#21409: Cant install port python26 on snow leopard
------------------------------+---------------------------------------------
 Reporter:  ernest@…          |       Owner:  blb@…           
     Type:  defect            |      Status:  new             
 Priority:  Normal            |   Milestone:                  
Component:  ports             |     Version:  1.8.0           
 Keywords:                    |        Port:  python26        
------------------------------+---------------------------------------------
Changes (by ram@…):

 * cc: mcalhoun@… (added)
  * owner:  macports-tickets@… => blb@…
  * priority:  High => Normal
  * port:  => python26


Old description:

> Hello,
> This is my output:
>
> MacBook-Pro-Ernest-Bursa:trunk ernest$ sudo port install python26
> Password:
> --->  Computing dependencies for python26
> --->  Staging python26 into destroot
> Error: Target org.macports.destroot returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2"
> && /usr/bin/make frameworkinstall maninstall MAKE="/usr/bin/make
> CC=/usr/bin/gcc-4.2"
> DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot
> " returned error 2
> Command output: changing mode of
> //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /lib-dynload/termios.so to 755
> changing mode of
> //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /lib-dynload/time.so to 755
> changing mode of
> //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /lib-dynload/unicodedata.so to 755
> changing mode of
> //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /lib-dynload/zlib.so to 755
> changing mode of
> //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /lib-dynload/ to 755
> running install_scripts
> changing mode of
> //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/2to3
> to 755
> changing mode of
> //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/idle
> to 755
> changing mode of
> //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/pydoc
> to 755
> changing mode of
> //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/smtpd.py
> to 755
> running install_egg_info
> Removing
> //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /lib-dynload/Python-2.6.2-py2.6.egg-info
> Writing
> //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /lib-dynload/Python-2.6.2-py2.6.egg-info
> ln -fs "../../../Python"
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/libpython2.6.a"
> cd Mac && /usr/bin/make CC=/usr/bin/gcc-4.2 installmacsubtree
> DESTDIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot"
> DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2:
> ../python.exe ./scripts/cachersrc.py -v
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /plat-mac
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Mac/Tools
> Traceback (most recent call last):
>   File "./scripts/cachersrc.py", line 44, in <module>
>     main()
>   File "./scripts/cachersrc.py", line 41, in main
>     os.path.walk(dir, handler, (verbose, force))
>   File "../Lib/posixpath.py", line 224, in walk
>     func(arg, top, names)
>   File "./scripts/cachersrc.py", line 23, in handler
>     macresource.open_pathname(os.path.join(dirname, fn), verbose=verbose)
>   File
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2/Lib
> /plat-mac/macresource.py", line 81, in open_pathname
>     refno = Res.FSpOpenResFile(pathname, 1)
> AttributeError: 'module' object has no attribute 'FSpOpenResFile'
> make[1]: *** [installmacsubtree] Error 1
> make: *** [frameworkinstallmaclib] Error 2
>

> Thanks for future help ;).

New description:

 Hello,
 This is my output:

 {{{
 MacBook-Pro-Ernest-Bursa:trunk ernest$ sudo port install python26
 Password:
 --->  Computing dependencies for python26
 --->  Staging python26 into destroot
 Error: Target org.macports.destroot returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2"
 && /usr/bin/make frameworkinstall maninstall MAKE="/usr/bin/make
 CC=/usr/bin/gcc-4.2"
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot
 " returned error 2
 Command output: changing mode of
 //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/termios.so to 755
 changing mode of
 //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/time.so to 755
 changing mode of
 //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/unicodedata.so to 755
 changing mode of
 //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/zlib.so to 755
 changing mode of
 //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/ to 755
 running install_scripts
 changing mode of
 //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/2to3
 to 755
 changing mode of
 //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/idle
 to 755
 changing mode of
 //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/pydoc
 to 755
 changing mode of
 //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/smtpd.py
 to 755
 running install_egg_info
 Removing
 //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/Python-2.6.2-py2.6.egg-info
 Writing
 //opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /lib-dynload/Python-2.6.2-py2.6.egg-info
 ln -fs "../../../Python"
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/libpython2.6.a"
 cd Mac && /usr/bin/make CC=/usr/bin/gcc-4.2 installmacsubtree
 DESTDIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot"
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2:
 ../python.exe ./scripts/cachersrc.py -v
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /plat-mac
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Mac/Tools
 Traceback (most recent call last):
   File "./scripts/cachersrc.py", line 44, in <module>
     main()
   File "./scripts/cachersrc.py", line 41, in main
     os.path.walk(dir, handler, (verbose, force))
   File "../Lib/posixpath.py", line 224, in walk
     func(arg, top, names)
   File "./scripts/cachersrc.py", line 23, in handler
     macresource.open_pathname(os.path.join(dirname, fn), verbose=verbose)
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2/Lib
 /plat-mac/macresource.py", line 81, in open_pathname
     refno = Res.FSpOpenResFile(pathname, 1)
 AttributeError: 'module' object has no attribute 'FSpOpenResFile'
 make[1]: *** [installmacsubtree] Error 1
 make: *** [frameworkinstallmaclib] Error 2
 }}}

 Thanks for future help ;).

--

Comment:

 Assign to maintainer, please remember wiki formatting

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


More information about the macports-tickets mailing list