#13689: Fix upgrading from relocated Sage with GCC
----------------------------------+-----------------------------------------
       Reporter:  jdemeyer        |         Owner:  GeorgSWeber 
           Type:  defect          |        Status:  needs_review
       Priority:  blocker         |     Milestone:  sage-5.4.1  
      Component:  build           |    Resolution:              
       Keywords:                  |   Work issues:              
Report Upstream:  N/A             |     Reviewers:              
        Authors:  Jeroen Demeyer  |     Merged in:              
   Dependencies:                  |      Stopgaps:              
----------------------------------+-----------------------------------------
Description changed by jdemeyer:

Old description:

> Older versions of `sage-location` (before #13397) do not properly fix
> GCC, leading to problems with upgrading in the following scenario:
>  1. install sage <= 5.3 from source, including Sage's GCC
>  2. relocate Sage (using the old `sage-location`)
>  3. rebuild PPL
>  4. rebuild !LinBox
>
> Blocker because it potentially breaks upgrading from sage-5.3.

New description:

 Older versions of `sage-location` (before #13397) do not properly fix GCC,
 leading to problems with upgrading from sage-5.3, during the build of
 !LinBox from #12883:
 {{{
 make[6]: Entering directory
 
`/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/spkg/build/linbox-1.3.2/src/linbox/util'
 /bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
 -I../..  -I../.. -I../../linbox
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 -DDISABLE_COMMENTATOR -O2    -g -DNDEBUG -U_LB_DEBUG
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 -g -fPIC -c -o error.lo error.C
 /bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
 -I../..  -I../.. -I../../linbox
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 -DDISABLE_COMMENTATOR -O2    -g -DNDEBUG -U_LB_DEBUG
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 -g -fPIC -c -o debug.lo debug.C
 libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../linbox
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 -DDISABLE_COMMENTATOR -O2 -g -DNDEBUG -U_LB_DEBUG
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 -g -fPIC -c debug.C  -fPIC -DPIC -o .libs/debug.o
 libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../linbox
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 -DDISABLE_COMMENTATOR -O2 -g -DNDEBUG -U_LB_DEBUG
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 -g -fPIC -c error.C  -fPIC -DPIC -o .libs/error.o
 /bin/bash ../../libtool --tag=CXX   --mode=link g++ -O2    -g -DNDEBUG
 -U_LB_DEBUG
 
-I/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/include
 -g -fPIC
 -L/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/lib
 -lgivaro
 -L/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/lib
 -lcblas -latlas
 -L/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/lib
 -lcblas -latlas -o libutil.la  error.lo debug.lo
 -L/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/local/lib
 -lgivaro
 /bin/grep: /home/buildbot/sage-5.3/local/lib/../lib64/libstdc++.la: No
 such file or directory
 /bin/sed: can't read
 /home/buildbot/sage-5.3/local/lib/../lib64/libstdc++.la: No such file or
 directory
 libtool: link: `/home/buildbot/sage-5.3/local/lib/../lib64/libstdc++.la'
 is not a valid libtool archive
 make[6]: *** [libutil.la] Error 1
 make[6]: Leaving directory
 
`/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/spkg/build/linbox-1.3.2/src/linbox/util'
 make[5]: *** [all-recursive] Error 1
 make[5]: Leaving directory
 
`/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/spkg/build/linbox-1.3.2/src/linbox/util'
 make[4]: *** [all-recursive] Error 1
 make[4]: Leaving directory
 
`/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/spkg/build/linbox-1.3.2/src/linbox'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory
 
`/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/spkg/build/linbox-1.3.2/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 
`/release/buildbot/sage/sage-1/sage_upgrade_5.3/build/sage-5.4.1.rc0/spkg/build/linbox-1.3.2/src'
 }}}

 Blocker because it breaks upgrading from sage-5.3.

--

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