Opened 15 years ago

Closed 15 years ago

#21313 closed defect (fixed)

python25: upgrade to python25 @2.5.4_7 fails staging to destroot

Reported by: dbevans (David B. Evans) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc: jmroot (Joshua Root)
Port: python25

Description

Platform: 10.4.11 ppc Xcode 2.5

After r57388, build completes successfully but staging to destroot fails as follows:

...

changing mode of //opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/ to 755
running install_scripts
copying build/scripts-2.5/idle -> //opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin
copying build/scripts-2.5/pydoc -> //opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin
copying build/scripts-2.5/smtpd.py -> //opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin
changing mode of //opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin/idle to 755
changing mode of //opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin/pydoc to 755
changing mode of //opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/bin/smtpd.py to 755
running install_egg_info
Writing //opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/Python-2.5.4-py2.5.egg-info
ln -fs "../../../Python" "/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/libpython2.5.a"
cd Mac && /usr/bin/make installmacsubtree DESTDIR="/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot"
Creating directory /opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/Mac/Tools
DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/Python-2.5.4: ../python.exe ./scripts/cachersrc.py -v /opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac /opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.5/Mac/Tools
Traceback (most recent call last):
  File "./scripts/cachersrc.py", line 7, in <module>
    import macresource
  File "/Volumes/wdc-320/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/Python-2.5.4/Lib/plat-mac/macresource.py", line 7, in <module>
    import macostools
  File "/Volumes/wdc-320/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/Python-2.5.4/Lib/plat-mac/macostools.py", line 8, in <module>
    from Carbon import File, Files
  File "/Volumes/wdc-320/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/Python-2.5.4/Lib/plat-mac/Carbon/File.py", line 1, in <module>
    from _File import *
ImportError: No module named _File
make[1]: *** [installmacsubtree] Error 1
make: *** [frameworkinstallmaclib] Error 2

I'm aware of #20546 but this seems to be a different failure mode.

Full destroot debug log attached.

Attachments (2)

build.log (308.9 KB) - added by dbevans (David B. Evans) 15 years ago.
log file for sudo port -d build python25
install.log (826.7 KB) - added by dbevans (David B. Evans) 15 years ago.
debug log file for sudo port -d install python25 (after successful build)

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by dbevans (David B. Evans)

Attachment: build.log added

log file for sudo port -d build python25

Changed 15 years ago by dbevans (David B. Evans)

Attachment: install.log added

debug log file for sudo port -d install python25 (after successful build)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Cc: jmr@… added
/Volumes/wdc-320/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/Python-2.5.4/Mac/Modules/file/_Filemodule.c: In function 'FSRef_FSOpenFork':
/Volumes/wdc-320/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/Python-2.5.4/Mac/Modules/file/_Filemodule.c:1862: error: 'FSIORefNum' undeclared (first use in this function)
/Volumes/wdc-320/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/Python-2.5.4/Mac/Modules/file/_Filemodule.c:1862: error: (Each undeclared identifier is reported only once
/Volumes/wdc-320/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/Python-2.5.4/Mac/Modules/file/_Filemodule.c:1862: error: for each function it appears in.)
/Volumes/wdc-320/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/Python-2.5.4/Mac/Modules/file/_Filemodule.c:1862: error: parse error before 'forkRefNum'
/Volumes/wdc-320/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_lang_python25/work/Python-2.5.4/Mac/Modules/file/_Filemodule.c:1871: error: 'forkRefNum' undeclared (first use in this function)

Looks like I broke something, sorry...

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.