[MacPorts] #31925: py-matplotlib-basemap destroot fails

MacPorts noreply at macports.org
Sat Nov 5 15:10:17 PDT 2011


#31925: py-matplotlib-basemap destroot fails
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  ram@…                
     Type:  defect                   |      Status:  new                  
 Priority:  Normal                   |   Milestone:                       
Component:  ports                    |     Version:  2.0.3                
 Keywords:                           |        Port:  py-matplotlib-basemap
-------------------------------------+--------------------------------------
 Destroot of py-matplotlib-basemap fails with:

 {{{
 DEBUG: Executing org.macports.destroot (py-matplotlib-basemap)
 DEBUG: Executing proc-post-org.macports.destroot-destroot-0
 DEBUG: Executing proc-post-org.macports.destroot-destroot-1
 DEBUG: delete: /opt/local/var/macports/build
 /_Volumes_work_mports_dports_python_py-matplotlib-basemap/py-matplotlib-
 basemap/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/-.m/lib/python-.m
 /site-packages/mpl_toolkits/__init__.py
 Error: Target org.macports.destroot returned:
 /opt/local/var/macports/build/_Volumes_work_mports_dports_python_py-
 matplotlib-basemap/py-matplotlib-
 basemap/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/-.m/lib/python-.m
 /site-packages/mpl_toolkits/__init__.py: no such file or directory
 DEBUG: Backtrace: /opt/local/var/macports/build
 /_Volumes_work_mports_dports_python_py-matplotlib-basemap/py-matplotlib-
 basemap/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/-.m/lib/python-.m
 /site-packages/mpl_toolkits/__init__.py: no such file or directory
     while executing
 "$post $targetname"
 Warning: the following items did not execute (for py-matplotlib-basemap):
 org.macports.activate org.macports.destroot org.macports.install
 }}}

 See http://build.macports.org/builders/buildports-snowleopard-
 x86_64/builds/2752/steps/compile/logs/stdio

 There don't appear to be any ports with a dependency on py-matplotlib-
 basemap, so the problem is just if a user tries to install py-matplotlib-
 basemap directly. This should be fixed by restricting the port's `post-
 destroot` block to when `${name} != ${subport}`.

 Also, the livecheck should be restricted to when `${name} == ${subport}`.

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


More information about the macports-tickets mailing list