First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 92708
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Uri Sivan <tartif@spymac.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 92708 depends on: Show dependency tree
Show dependency graph
Bug 92708 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-05-15 07:51 0000
emerge fails due to compilation errors.
Two fixes are needed in the source code:
src/cube.cpp should #include <math.h>
src/matrix3d.cpp, line 150 should have fabs instead of abs.
Then it works.


Reproducible: Always
Steps to Reproduce:
1.emerge -va =games-kids/cubetest-0.9.0

Actual Results:  
Compilation failed with these errors:

Good - your configure finished. Start make now

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0'
Making all in share
make[2]: Entering directory
`/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0/share'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0/share'
Making all in src
make[2]: Entering directory
`/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0/src'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/qt/3/include
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2
-march=athlon64 -O2 -pipe -fomit-frame-pointer -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-fexceptions  -c -o cubedialog.o `test -f 'cubedialog.cpp' || echo
'./'`cubedialog.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/qt/3/include
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2
-march=athlon64 -O2 -pipe -fomit-frame-pointer -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-fexceptions  -c -o cubetest.o `test -f 'cubetest.cpp' || echo './'`cubetest.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/qt/3/include
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2
-march=athlon64 -O2 -pipe -fomit-frame-pointer -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-fexceptions  -c -o matrix3d.o `test -f 'matrix3d.cpp' || echo './'`matrix3d.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/qt/3/include
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2
-march=athlon64 -O2 -pipe -fomit-frame-pointer -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-fexceptions  -c -o cube.o `test -f 'cube.cpp' || echo './'`cube.cpp
matrix3d.cpp: In member function `bool Matrix3D::stepBack()':
matrix3d.cpp:150: error: call of overloaded `abs(double&)' is ambiguous
/usr/include/gentoo-multilib/amd64/stdlib.h:778: note: candidates are: int abs(int)
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/include/g++-v3/cstdlib:153:
note:                 long long int __gnu_cxx::abs(long long int)
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/include/g++-v3/cstdlib:123:
note:                 long int std::abs(long int)
make[2]: *** [matrix3d.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cube.cpp:26: error: `M_PI' was not declared in this scope
cube.cpp:26: error: `sqrt' was not declared in this scope
cube.cpp:26: error: `acos' was not declared in this scope
make[2]: *** [cube.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cubetest-0.9.0/work/cubetest-0.9.0'
make: *** [all] Error 2

!!! ERROR: games-kids/cubetest-0.9.0 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make

------- Comment #1 From SpanKY 2005-05-15 11:24:57 0000 -------
cubetest 0.9.3 now in portage

------- Comment #2 From Pablo Trabajos 2005-05-16 09:15:43 0000 -------
This works on amd54, not like prior version.

First Last Prev Next    No search results available      Search page      Enter new bug