#12661: Fix optional gmp package on openSuse
---------------------------------+------------------------------------------
   Reporter:  SimonKing          |          Owner:  tbd     
       Type:  defect             |         Status:  new     
   Priority:  major              |      Milestone:  sage-5.0
  Component:  optional packages  |       Keywords:          
Work_issues:                     |       Upstream:  N/A     
   Reviewer:                     |         Author:          
     Merged:                     |   Dependencies:          
---------------------------------+------------------------------------------

Comment(by SimonKing):

 Hooray, the modified package builds on my openSuse laptop. However, spkg-
 check fails, ending with
 {{{
 Making check in cxx
 make[3]: Entering directory
 
`/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/tests/cxx'
 make  t-assign t-binary t-cast t-constr t-headers t-istream t-locale
 t-misc t-ops t-ostream t-prec t-rand t-ternary t-unary
 make[4]: Entering directory
 
`/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/tests/cxx'
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -O2 -m64
 -mtune=k8 -c -o t-assign.o t-assign.cc
 /bin/sh ../../libtool --mode=link g++  -O2 -m64 -mtune=k8   -o t-assign
 t-assign.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la
 ../../libgmp.la
 mkdir .libs
 g++ -O2 -m64 -mtune=k8 -o .libs/t-assign t-assign.o
 -L/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs
 ../../tests/.libs/libtests.a ../../.libs/libgmpxx.so
 
/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs/libgmp.so
 ../../.libs/libgmp.so -Wl,--rpath
 -Wl,/home/simon/SAGE/sage-5.0.beta7/local/lib
 creating t-assign
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -O2 -m64
 -mtune=k8 -c -o t-binary.o t-binary.cc
 /bin/sh ../../libtool --mode=link g++  -O2 -m64 -mtune=k8   -o t-binary
 t-binary.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la
 ../../libgmp.la
 g++ -O2 -m64 -mtune=k8 -o .libs/t-binary t-binary.o
 -L/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs
 ../../tests/.libs/libtests.a ../../.libs/libgmpxx.so
 
/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs/libgmp.so
 ../../.libs/libgmp.so -Wl,--rpath
 -Wl,/home/simon/SAGE/sage-5.0.beta7/local/lib
 creating t-binary
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -O2 -m64
 -mtune=k8 -c -o t-cast.o t-cast.cc
 /bin/sh ../../libtool --mode=link g++  -O2 -m64 -mtune=k8   -o t-cast
 t-cast.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la
 ../../libgmp.la
 g++ -O2 -m64 -mtune=k8 -o .libs/t-cast t-cast.o
 -L/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs
 ../../tests/.libs/libtests.a ../../.libs/libgmpxx.so
 
/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs/libgmp.so
 ../../.libs/libgmp.so -Wl,--rpath
 -Wl,/home/simon/SAGE/sage-5.0.beta7/local/lib
 creating t-cast
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -O2 -m64
 -mtune=k8 -c -o t-constr.o t-constr.cc
 /bin/sh ../../libtool --mode=link g++  -O2 -m64 -mtune=k8   -o t-constr
 t-constr.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la
 ../../libgmp.la
 g++ -O2 -m64 -mtune=k8 -o .libs/t-constr t-constr.o
 -L/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs
 ../../tests/.libs/libtests.a ../../.libs/libgmpxx.so
 
/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs/libgmp.so
 ../../.libs/libgmp.so -Wl,--rpath
 -Wl,/home/simon/SAGE/sage-5.0.beta7/local/lib
 creating t-constr
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -O2 -m64
 -mtune=k8 -c -o t-headers.o t-headers.cc
 /bin/sh ../../libtool --mode=link g++  -O2 -m64 -mtune=k8   -o t-headers
 t-headers.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la
 ../../libgmp.la
 g++ -O2 -m64 -mtune=k8 -o .libs/t-headers t-headers.o
 -L/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs
 ../../tests/.libs/libtests.a ../../.libs/libgmpxx.so
 
/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs/libgmp.so
 ../../.libs/libgmp.so -Wl,--rpath
 -Wl,/home/simon/SAGE/sage-5.0.beta7/local/lib
 creating t-headers
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -O2 -m64
 -mtune=k8 -c -o t-istream.o t-istream.cc
 /bin/sh ../../libtool --mode=link g++  -O2 -m64 -mtune=k8   -o t-istream
 t-istream.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la
 ../../libgmp.la
 g++ -O2 -m64 -mtune=k8 -o .libs/t-istream t-istream.o
 -L/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs
 ../../tests/.libs/libtests.a ../../.libs/libgmpxx.so
 
/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/.libs/libgmp.so
 ../../.libs/libgmp.so -Wl,--rpath
 -Wl,/home/simon/SAGE/sage-5.0.beta7/local/lib
 creating t-istream
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -O2 -m64
 -mtune=k8 -c -o t-locale.o t-locale.cc
 t-locale.cc: In function ‘void check_input()’:
 t-locale.cc:108:26: error: ‘abort’ was not declared in this scope
 t-locale.cc:123:26: error: ‘abort’ was not declared in this scope
 t-locale.cc: In function ‘void check_output()’:
 t-locale.cc:158:18: error: ‘abort’ was not declared in this scope
 make[4]: *** [t-locale.o] Fehler 1
 make[4]: Leaving directory
 
`/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/tests/cxx'
 make[3]: *** [check-am] Fehler 2
 make[3]: Leaving directory
 
`/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/tests/cxx'
 make[2]: *** [check-recursive] Fehler 1
 make[2]: Leaving directory
 `/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src/tests'
 make[1]: *** [check-recursive] Fehler 1
 make[1]: Leaving directory
 `/home/simon/SAGE/sage-5.0.beta7/spkg/optional/gmp-4.2.1.p11.copy/src'
 make: *** [check] Fehler 2
 }}}

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