[MacPorts] #20870: Missing module causes python 2.6 to fail to compile on 10.6

MacPorts noreply at macports.org
Fri Aug 28 17:14:39 PDT 2009


#20870: Missing module causes python 2.6 to fail to compile on 10.6
---------------------------------------+------------------------------------
  Reporter:  treaves@…                 |       Owner:  macports-tickets@…                   
      Type:  defect                    |      Status:  closed                               
  Priority:  Normal                    |   Milestone:                                       
 Component:  ports                     |     Version:  1.8.0                                
Resolution:  duplicate                 |    Keywords:                                       
      Port:  python26                  |  
---------------------------------------+------------------------------------
Changes (by blb@…):

  * status:  new => closed
  * resolution:  => duplicate
  * port:  => python26


Old description:

> 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: /usr/bin/install -c -m 644
> ./Resources/app/Resources/English.lproj/Documentation/ide/hello_world.gif
> /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
> /usr/bin/install -c -m 644
> ./Resources/app/Resources/English.lproj/Documentation/ide/index.html
> /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
> /usr/bin/install -c -m 644
> ./Resources/app/Resources/English.lproj/Documentation/ide/loading_ide.gif
> /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
> /usr/bin/install -c -m 644
> ./Resources/app/Resources/English.lproj/Documentation/ide/making_new_window.gif
> /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
> /usr/bin/install -c -m 644
> ./Resources/app/Resources/English.lproj/Documentation/ide/new_ide_window.gif
> /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
> /usr/bin/install -c -m 644
> ./Resources/app/Resources/English.lproj/Documentation/ide/new_window_made.gif
> /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
> /usr/bin/install -c -m 644
> ./Resources/app/Resources/English.lproj/Documentation/ide/output_window.gif
> /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
> /usr/bin/install -c -m 644
> ./Resources/app/Resources/English.lproj/Documentation/ide/saving_edited_file.gif
> /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
> /usr/bin/install -c -m 644
> ./Resources/app/Resources/English.lproj/Documentation/ide/simple_commands.gif
> /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
> /usr/bin/install -c -m 644
> ./Resources/app/Resources/English.lproj/Documentation/ide/syntax_error.gif
> /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
> /usr/bin/install -c -s ../python.exe
> "/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/Resources/Python.app/Contents/MacOS/Python"
> sed -e "s!%bundleid%!org.python.python!g" \
>                 -e
> "s!%version%!`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 \
>                 -c 'import platform;
> print(platform.python_version())'`!g" \
>                 <
> "/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/Resources/Python.app/Contents/Info.plist.in"
> \
>                 >
> "/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/Resources/Python.app/Contents/Info.plist"
> rm
> "/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/Resources/Python.app/Contents/Info.plist.in"
> PYTHONHOME=/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
> 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:
> arch -i386 ../python.exe ./scripts/BuildApplet.py \
>                 --destroot
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot"
> \
> --python=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python`test
> -f
> "/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/Resources/Python.app/Contents/MacOS/Python-32"
> && echo "-32"`  \
>                 --output
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/Applications/MacPorts/Python
> 2.6/Build Applet.app" \
>                 ./scripts/BuildApplet.py
> Traceback (most recent call last):
>   File "./scripts/BuildApplet.py", line 15, in <module>
>     import EasyDialogs
>   File
> "/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/EasyDialogs.py", line 34, in <module>
>     import Nav
> ImportError: No module named Nav
> make[1]: *** [install_BuildApplet] Error 1
> make: *** [frameworkinstallapps] Error 2
> Error: Status 1 encountered during processing.
> Executing: /opt/local/bin/port install python26 +universal

New description:

 {{{
 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: /usr/bin/install -c -m 644
 ./Resources/app/Resources/English.lproj/Documentation/ide/hello_world.gif
 /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
 /usr/bin/install -c -m 644
 ./Resources/app/Resources/English.lproj/Documentation/ide/index.html
 /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
 /usr/bin/install -c -m 644
 ./Resources/app/Resources/English.lproj/Documentation/ide/loading_ide.gif
 /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
 /usr/bin/install -c -m 644
 ./Resources/app/Resources/English.lproj/Documentation/ide/making_new_window.gif
 /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
 /usr/bin/install -c -m 644
 ./Resources/app/Resources/English.lproj/Documentation/ide/new_ide_window.gif
 /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
 /usr/bin/install -c -m 644
 ./Resources/app/Resources/English.lproj/Documentation/ide/new_window_made.gif
 /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
 /usr/bin/install -c -m 644
 ./Resources/app/Resources/English.lproj/Documentation/ide/output_window.gif
 /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
 /usr/bin/install -c -m 644
 ./Resources/app/Resources/English.lproj/Documentation/ide/saving_edited_file.gif
 /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
 /usr/bin/install -c -m 644
 ./Resources/app/Resources/English.lproj/Documentation/ide/simple_commands.gif
 /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
 /usr/bin/install -c -m 644
 ./Resources/app/Resources/English.lproj/Documentation/ide/syntax_error.gif
 /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/Resources/Python.app/Contents/Resources/English.lproj/Documentation/ide
 /usr/bin/install -c -s ../python.exe
 "/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/Resources/Python.app/Contents/MacOS/Python"
 sed -e "s!%bundleid%!org.python.python!g" \
                 -e
 "s!%version%!`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 \
                 -c 'import platform; print(platform.python_version())'`!g"
 \
                 <
 "/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/Resources/Python.app/Contents/Info.plist.in"
 \
                 >
 "/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/Resources/Python.app/Contents/Info.plist"
 rm
 "/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/Resources/Python.app/Contents/Info.plist.in"
 PYTHONHOME=/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
 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:
 arch -i386 ../python.exe ./scripts/BuildApplet.py \
                 --destroot
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot"
 \
 --python=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python`test
 -f
 "/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/Resources/Python.app/Contents/MacOS/Python-32"
 && echo "-32"`  \
                 --output
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/Applications/MacPorts/Python
 2.6/Build Applet.app" \
                 ./scripts/BuildApplet.py
 Traceback (most recent call last):
   File "./scripts/BuildApplet.py", line 15, in <module>
     import EasyDialogs
   File
 "/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/EasyDialogs.py", line 34, in <module>
     import Nav
 ImportError: No module named Nav
 make[1]: *** [install_BuildApplet] Error 1
 make: *** [frameworkinstallapps] Error 2
 Error: Status 1 encountered during processing.
 Executing: /opt/local/bin/port install python26 +universal
 }}}

--

Comment:

 Dup of #20284.

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


More information about the macports-tickets mailing list