#14201: During upgrade to sage 5.7 ppl is using gmpxx headers from the system
--------------------------------+-------------------------------------------
       Reporter:  fbissey       |         Owner:  tbd         
           Type:  defect        |        Status:  needs_review
       Priority:  major         |     Milestone:  sage-5.8    
      Component:  packages      |    Resolution:              
       Keywords:                |   Work issues:              
Report Upstream:  N/A           |     Reviewers:              
        Authors:  Volker Braun  |     Merged in:              
   Dependencies:                |      Stopgaps:              
--------------------------------+-------------------------------------------
Changes (by vbraun):

 * cc: dimpase (added)


Old description:

> This is a problem reported by user Pong on sage-devel
> [https://groups.google.com/forum/?hl=en&fromgroups=#!topic/sage-
> devel/iVudo_7dSFU]
> From hi failure log it appears that ppl tries to use the system gmpxx
> headers. which in this case is from gmp 5.1.0 which is imcompatible with
> this version ppl see [https://bugs.gentoo.org/show_bug.cgi?id=447928] for
> example:
> {{{
> make[5]: Entering directory `/home/pong/sage-
> current/spkg/build/ppl-0.11.2.p1/src/src'
> /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I..  -I.. -I../src    -g -O2 -frounding-math  -I/home/pong/sage-
> current/local/include -W -Wall -MT Box.lo -MD -MP -MF .deps/Box.Tpo -c -o
> Box.lo Box.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2
> -frounding-math -I/home/pong/sage-current/local/include -W -Wall -MT
> Box.lo -MD -MP -MF .deps/Box.Tpo -c Box.cc  -fPIC -DPIC -o .libs/Box.o
> In file included from checked.defs.hh:29:0,
>                  from Checked_Number.defs.hh:28,
>                  from Coefficient.types.hh:16,
>                  from Coefficient.defs.hh:27,
>                  from Box.defs.hh:29,
>                  from Box.cc:25:
> mp_std_bits.defs.hh:48:7: error: redefinition of 'class
> std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'
> /usr/include/gmpxx.h:3269:21: error: previous definition of 'class
> std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'
> mp_std_bits.defs.hh:109:7: error: redefinition of 'class
> std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'
> /usr/include/gmpxx.h:3306:21: error: previous definition of 'class
> std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'
> }}}
>
> New spkg: http://www.stp.dias.ie/~vbraun/Sage/spkg/ppl-1.0.spkg

New description:

 This is a problem reported by user Pong on sage-devel
 [https://groups.google.com/forum/?hl=en&fromgroups=#!topic/sage-
 devel/iVudo_7dSFU]
 From hi failure log it appears that ppl tries to use the system gmpxx
 headers. which in this case is from gmp 5.1.0 which is imcompatible with
 this version ppl see [https://bugs.gentoo.org/show_bug.cgi?id=447928] for
 example:
 {{{
 make[5]: Entering directory `/home/pong/sage-
 current/spkg/build/ppl-0.11.2.p1/src/src'
 /bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
 -I..  -I.. -I../src    -g -O2 -frounding-math  -I/home/pong/sage-
 current/local/include -W -Wall -MT Box.lo -MD -MP -MF .deps/Box.Tpo -c -o
 Box.lo Box.cc
 libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -g -O2
 -frounding-math -I/home/pong/sage-current/local/include -W -Wall -MT
 Box.lo -MD -MP -MF .deps/Box.Tpo -c Box.cc  -fPIC -DPIC -o .libs/Box.o
 In file included from checked.defs.hh:29:0,
                  from Checked_Number.defs.hh:28,
                  from Coefficient.types.hh:16,
                  from Coefficient.defs.hh:27,
                  from Box.defs.hh:29,
                  from Box.cc:25:
 mp_std_bits.defs.hh:48:7: error: redefinition of 'class
 std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'
 /usr/include/gmpxx.h:3269:21: error: previous definition of 'class
 std::numeric_limits<__gmp_expr<__mpz_struct [1], __mpz_struct [1]> >'
 mp_std_bits.defs.hh:109:7: error: redefinition of 'class
 std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'
 /usr/include/gmpxx.h:3306:21: error: previous definition of 'class
 std::numeric_limits<__gmp_expr<__mpq_struct [1], __mpq_struct [1]> >'
 }}}

 New spkg: http://www.stp.dias.ie/~vbraun/Sage/spkg/ppl-1.0.spkg

 Apply trac_14201_ppl_doctest_fixes.patch

--

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