#8783: frobby optional spkg doesn't build with newer GCC's
---------------------------------+------------------------------------------
Reporter: was | Owner: tbd
Type: defect | Status: positive_review
Priority: major | Milestone: sage-4.7.2
Component: optional packages | Keywords:
Work_issues: | Upstream: Fixed upstream, in a later
stable release.
Reviewer: Benjamin Jones | Author: Bjarke Hammersholt Roune
Merged: | Dependencies:
---------------------------------+------------------------------------------
Changes (by newvalueoldvalue):
* author: => Bjarke Hammersholt Roune
Old description:
> {{{
> frobby-0.7.6/src/test/transform/t3.gen.m2
> frobby-0.7.6/src/test/transform/t3.gen.nm
> Finished extraction
> ****************************************************
> Host system
> uname -a:
> Linux eno 2.6.32.10-90.fc12.x86_64 #1 SMP Tue Mar 23 09:47:08 UTC 2010
> x86_64 x86_64 x86_64 GNU/Linux
> ****************************************************
> ****************************************************
> CC Version
> gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/usr/local/gcc-4.5.0/x86_64-Linux-
> core2-fc/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
> Target: x86_64-unknown-linux-gnu
> Configured with: /usr/local/gcc-4.5.0/src/gcc-4.5.0/configure --enable-
> languages=c,c++,fortran --with-gnu-as --with-gnu-
> as=/usr/local/binutils-2.20.1/x86_64-Linux-core2-fc-gcc-4.4.3-rh/bin/as
> --with-gnu-ld --with-ld=/usr/local/binutils-2.20.1/x86_64-Linux-core2-fc-
> gcc-4.4.3-rh/bin/ld --with-gmp=/usr/local/mpir-1.2.2/x86_64-Linux-core2
> -fc-gcc-4.4.2 --with-mpfr=/usr/local/mpfr-2.4.2/x86_64-Linux-core2-fc-
> mpir-1.2.2-gcc-4.4.2 --with-mpc=/usr/local/mpc-0.8.1/x86_64-Linux-core2
> -fc-mpfr-2.4.2-mpir-1.2.2-gcc-4.4.3-rh
> --prefix=/usr/local/gcc-4.5.0/x86_64-Linux-core2-fc
> Thread model: posix
> gcc version 4.5.0 (GCC)
> ****************************************************
> mkdir -p bin/release/
> g++ -Wall -ansi -pedantic -Wextra -Wno-uninitialized -Wno-unused-
> parameter -Werror -isystem /home/wstein/screen/eno/sage-4.3/local/include
> -O3 -c src/main.cpp -o bin/release/main.o
> src/main.cpp: In function ‘int main(int, const char**)’:
> src/main.cpp:30:16: error: ‘srand’ was not declared in this scope
> make: *** [bin/release/main.o] Error 1
> Error building Frobby.
>
> real 0m0.614s
> user 0m0.283s
> sys 0m0.052s
> sage: An error occurred while installing frobby-0.7.6
> Please email sage-devel http://groups.google.com/group/sag
> }}}
New description:
{{{
frobby-0.7.6/src/test/transform/t3.gen.m2
frobby-0.7.6/src/test/transform/t3.gen.nm
Finished extraction
****************************************************
Host system
uname -a:
Linux eno 2.6.32.10-90.fc12.x86_64 #1 SMP Tue Mar 23 09:47:08 UTC 2010
x86_64 x86_64 x86_64 GNU/Linux
****************************************************
****************************************************
CC Version
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-4.5.0/x86_64-Linux-
core2-fc/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /usr/local/gcc-4.5.0/src/gcc-4.5.0/configure --enable-
languages=c,c++,fortran --with-gnu-as --with-gnu-
as=/usr/local/binutils-2.20.1/x86_64-Linux-core2-fc-gcc-4.4.3-rh/bin/as
--with-gnu-ld --with-ld=/usr/local/binutils-2.20.1/x86_64-Linux-core2-fc-
gcc-4.4.3-rh/bin/ld --with-gmp=/usr/local/mpir-1.2.2/x86_64-Linux-core2
-fc-gcc-4.4.2 --with-mpfr=/usr/local/mpfr-2.4.2/x86_64-Linux-core2-fc-
mpir-1.2.2-gcc-4.4.2 --with-mpc=/usr/local/mpc-0.8.1/x86_64-Linux-core2
-fc-mpfr-2.4.2-mpir-1.2.2-gcc-4.4.3-rh
--prefix=/usr/local/gcc-4.5.0/x86_64-Linux-core2-fc
Thread model: posix
gcc version 4.5.0 (GCC)
****************************************************
mkdir -p bin/release/
g++ -Wall -ansi -pedantic -Wextra -Wno-uninitialized -Wno-unused-
parameter -Werror -isystem /home/wstein/screen/eno/sage-4.3/local/include
-O3 -c src/main.cpp -o bin/release/main.o
src/main.cpp: In function ‘int main(int, const char**)’:
src/main.cpp:30:16: error: ‘srand’ was not declared in this scope
make: *** [bin/release/main.o] Error 1
Error building Frobby.
real 0m0.614s
user 0m0.283s
sys 0m0.052s
sage: An error occurred while installing frobby-0.7.6
Please email sage-devel http://groups.google.com/group/sag
}}}
Apply [http://sage.math.washington.edu/home/bjarke/frobby-0.7.6.p1.spkg]
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8783#comment:17>
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.