#11359: ECL does not fully recover from relocation
--------------------------------------+-------------------------------------
       Reporter:  nbruin              |         Owner:  GeorgSWeber 
           Type:  defect              |        Status:  needs_review
       Priority:  blocker             |     Milestone:  sage-5.10   
      Component:  packages: standard  |    Resolution:              
       Keywords:  ecl relocation      |   Work issues:              
Report Upstream:  N/A                 |     Reviewers:              
        Authors:  Jeroen Demeyer      |     Merged in:              
   Dependencies:                      |      Stopgaps:              
--------------------------------------+-------------------------------------

Comment (by nbruin):

 Replying to [comment:21 jdemeyer]:
 > Nils or Leif: can you give an example of an ''actual compilation'' which
 fails because of this? The wrong paths might not matter that much if the
 proper include and library files are found anyway through other means
 (e.g. environment variables such as `CPATH` and `LIBRARY_PATH` set in
 `sage-env`).
 It's pretty clear how you can make it fail:
 - build sage and ecl in location `<ORIGINAL>`
 - move sage to another location
 - put a bogus file `<ORIGINAL>/local/include/ecl/config.h` (or whatever
 headers are required) in the old location
 now trying to compile a file with ecl will use an invalid header. It's the
 usual risk of keeping references to uncontrolled locations in lookup
 tables. You may be exposed to arbitrary crap.

 (I admit I haven't actually tried. It may be that with the symlink
 proposed on #14662 in place, the lookup happens at the right place prior
 to the place searched due to the `-I` directive. But that would really
 just be a fluke).

 I'm a little surprised this suddenly gets marked as blocker when the issue
 was known for 2 years.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11359#comment:22>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to