#9761: Adjust spkg/standard/deps to build Python before zn_poly, and make two
other dependencies explicit
------------------------------+---------------------------------------------
   Reporter:  mpatel          |       Owner:  GeorgSWeber    
       Type:  defect          |      Status:  positive_review
   Priority:  blocker         |   Milestone:  sage-4.5.3     
  Component:  build           |    Keywords:                 
     Author:  David Kirkby    |    Upstream:  N/A            
   Reviewer:  Leif Leonhardy  |      Merged:                 
Work_issues:                  |  
------------------------------+---------------------------------------------
Description changed by leif:

Old description:

> Zn_poly's `spkg-install` is not a Python script (cf. #9507), but its
> build system calls a Python script `zn_poly-*/src/makemakefile.py`.
> Updating `spkg/standard/deps` to ensure that Python is built first should
> prevent build errors in which `spkg/logs/zn_poly-*.log` ends with
> {{{
> gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
> ****************************************************
> python: error while loading shared libraries: libpython2.6.so.1.0: cannot
> open shared object file: No such file or directory
> make[2]: Entering directory
> `/mnt/usb1/scratch/mpatel/tmp/sage-4.5.3.alpha1-ldd/spkg/build/zn_poly-0.9.p5/src'
> make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent
> make rule.
> make[2]: Nothing to be done for `tune'.
> make[2]: Leaving directory
> `/mnt/usb1/scratch/mpatel/tmp/sage-4.5.3.alpha1-ldd/spkg/build/zn_poly-0.9.p5/src'
> ./spkg-install: line 59: tune/tune: No such file or directory
> Error running tune program.
>
> real    0m0.014s
> user    0m0.010s
> sys     0m0.000s
> sage: An error occurred while installing zn_poly-0.9.p5
> [...]
> }}}
>
> Related: [comment:ticket:9368:14 Comment 14ff] at #9368.

New description:

 Zn_poly's `spkg-install` is not a Python script (cf. #9507), but its build
 system calls a Python script `zn_poly-*/src/makemakefile.py`.  Updating
 `spkg/standard/deps` to ensure that Python is built first should prevent
 build errors in which `spkg/logs/zn_poly-*.log` ends with
 {{{
 gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
 ****************************************************
 python: error while loading shared libraries: libpython2.6.so.1.0: cannot
 open shared object file: No such file or directory
 make[2]: Entering directory
 
`/mnt/usb1/scratch/mpatel/tmp/sage-4.5.3.alpha1-ldd/spkg/build/zn_poly-0.9.p5/src'
 make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent
 make rule.
 make[2]: Nothing to be done for `tune'.
 make[2]: Leaving directory
 
`/mnt/usb1/scratch/mpatel/tmp/sage-4.5.3.alpha1-ldd/spkg/build/zn_poly-0.9.p5/src'
 ./spkg-install: line 59: tune/tune: No such file or directory
 Error running tune program.

 real    0m0.014s
 user    0m0.010s
 sys     0m0.000s
 sage: An error occurred while installing zn_poly-0.9.p5
 [...]
 }}}

 Related: [comment:ticket:9368:14 Comment 14ff] at #9368.

 ----

 The new {{{deps}}} file also adds two dependencies that were implicit
 before, and therefore also solves #9464 and #9637.

 (The former adds Fortran to R's, the latter adds {{{$BASE}}} to SageTeX's
 dependencies.)

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9761#comment:20>
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