#11447: python spkg build fails on Ubuntu 11.04 derivative Mint 11
---------------------------------------------------------+------------------
   Reporter:  pipedream                                  |          Owner:  
pipedream    
       Type:  defect                                     |         Status:  
needs_review 
   Priority:  major                                      |      Milestone:  
sage-4.7.1   
  Component:  build                                      |       Keywords:  
crypt library
Work_issues:                                             |       Upstream:  N/A 
         
   Reviewer:  David Kirkby, Bill Odefey, Jan Groenewald  |         Author:  Jan 
Medlock  
     Merged:                                             |   Dependencies:      
         
---------------------------------------------------------+------------------

Comment(by medlock):

 Replying to [comment:22 leif]:
 > Replying to [comment:17 medlock]:
 > > The patch to python-2.6.4.p10/src/setup.py is applied on all hosts,
 not just Debian and derivatives, but the new code will end up doing
 nothing on non-Debian-derived hosts.  This is how the build is set up in
 Python 2.7.
 >
 > Just to make it a bit clearer: The code also doesn't change the search
 paths on ''older Debian / Ubuntu systems'', regardless if `dpkg-
 architecture` is installed or not, so won't break anything there.
 >
 > (Tested with Ubuntu 9.04 and 10.04; `dpkg-architecture` there doesn't
 know `DEB_HOST_MULTIARCH` and therefore exits with a non-zero status such
 that nothing gets added to the paths.)
 >
 > [[BR]]
 >
 > > Note that on Debian and derivatives, if the command `dpkg-
 architecture`, from the package dpkg-dev, is not available, the build will
 fail as before.
 >
 > Again, of course the build will only fail on ''newer'' Debian
 derivatives which require a change (more precisely: additions) to the
 search paths.
 >
 > ----
 >
 > Could someone please update the p11 / provide a new p11 spkg (by
 applying only [attachment:11447-Python-Debian-multiarch.patch] to p10 I
 guess)?
 >
 > '''http://users.aims.ac.za/~jan/python-2.6.4.p11.spkg (and also the
 ticket description) is not current.'''

 Thanks for the clarification.  I can confirm for the record that this is
 the intended behavior.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11447#comment:25>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to