Opened 10 years ago

Closed 10 years ago

#44333 closed defect (duplicate)

python27 @2.7.8_1 destroot failure with trace mode

Reported by: nerdling (Jeremy Lavergne) Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: python27

Description

Python2.7 fails to destroot when MacPorts is using trace mode. Disabling trace mode allows the destroot to complete. 10.9.4.

running install_egg_info
Writing /opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot/opt/pspp/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/Python-2.7.8-py2.7.egg-info
rm /opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot/opt/pspp/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_sysconfigdata.py*
ln -fs "../../../Python" "/opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot/opt/pspp/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.a"
ln -fs "../../../Python" "/opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot/opt/pspp/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib"
ln -fs "../Python" "/opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot/opt/pspp/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib"
cd Mac && /usr/bin/make CC=/usr/bin/clang installmacsubtree DESTDIR="/opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot"
make[1]: Entering directory `/opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.8/Mac'
Creating directory /opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot/opt/pspp/Library/Frameworks/Python.framework/Versions/2.7/Mac/Tools
DYLD_FRAMEWORK_PATH=/opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.8  ../python.exe ./scripts/cachersrc.py -v /opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot/opt/pspp/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac /opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot/opt/pspp/Library/Frameworks/Python.framework/Versions/2.7/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 "/opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.8/Mac/../Lib/posixpath.py", line 238, 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/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.8/Lib/plat-mac/macresource.py", line 84, in open_pathname
    refno = Res.FSOpenResourceFile(pathname, u'', 1)
MacOS.Error: (-43, 'Mac OS error code -43')
make[1]: *** [installmacsubtree] Error 1
make[1]: Leaving directory `/opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.8/Mac'
make: *** [frameworkinstallmaclib] Error 2
make: Leaving directory `/opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.8'
Command failed:  cd "/opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.8" && /usr/bin/make -w frameworkinstall maninstall MAKE="/usr/bin/make CC=/usr/bin/clang" DESTDIR=/opt/pspp/var/macports/build/_opt_pspp_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/destroot 
Exit code: 2

Change History (1)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: duplicate
Status: newclosed

That's #44240, a bug in trace mode.

Note: See TracTickets for help on using tickets.