Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390309 - games-simulation/crrcsim-0.9.11: does not compile with sci-mathematics/cgal[gmp]
Summary: games-simulation/crrcsim-0.9.11: does not compile with sci-mathematics/cgal[gmp]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-12 22:01 UTC by rinus
Modified: 2011-11-13 22:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info =games-simulation/crrcsim-0.9.11 (emerge_info_games-simulation_crrcsim-0.9.11.txt,8.36 KB, text/plain)
2011-11-12 22:03 UTC, rinus
Details
games-simulation:crrcsim-0.9.11:20111112-210344.log (games-simulation:crrcsim-0.9.11:20111112-210344.log,196.62 KB, text/x-log)
2011-11-12 22:08 UTC, rinus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rinus 2011-11-12 22:01:06 UTC
On two ~amd64 systems i get a compile error.

Reproducible: Always

Steps to Reproduce:
1. emerge -avt games-simulation/crrcsim
2. See the error
Actual Results:  
emerging stopped

Expected Results:  
Nicely installed simulator ;-)

A small portion of the error:

crrcsim-winddata3D.o: In function `_ZNK4CGAL19Cartesian_converterINS_21Type_equality_wrapperINS_27Cartesian_base_no_ref_countIdNS_15Filtered_kernelINS_16Simple_cartesianIdEELb1EEEEES6_EENS4_INS_4GmpqEEENS_12NT_converterIdS9_EEEclERKNS_7Point_3IS6_EE.clone.453':
winddata3D.cpp:(.text+0x245): undefined reference to `__gmpq_init'
winddata3D.cpp:(.text+0x29b): undefined reference to `__gmpq_set_d'
winddata3D.cpp:(.text+0x2c2): undefined reference to `__gmpq_init'
winddata3D.cpp:(.text+0x317): undefined reference to `__gmpq_set_d'
winddata3D.cpp:(.text+0x33e): undefined reference to `__gmpq_init'
winddata3D.cpp:(.text+0x393): undefined reference to `__gmpq_set_d'
crrcsim-winddata3D.o: In function `CGAL::Handle_for<CGAL::Gmpq_rep, std::allocator<CGAL::Gmpq_rep> >::~Handle_for()':
winddata3D.cpp:(.text._ZN4CGAL10Handle_forINS_8Gmpq_repESaIS1_EED2Ev[_ZN4CGAL10Handle_forINS_8Gmpq_repESaIS1_EED5Ev]+0x18): undefined reference to `__gmpq_clear'
crrcsim-winddata3D.o: In function `boost::operator*(CGAL::Gmpq const&, CGAL::Gmpq const&)':
winddata3D.cpp:(.text._ZN5boostmlERKN4CGAL4GmpqES3_[boost::operator*(CGAL::Gmpq const&, CGAL::Gmpq const&)]+0x2d): undefined reference to `__gmpq_init'
winddata3D.cpp:(.text._ZN5boostmlERKN4CGAL4GmpqES3_[boost::operator*(CGAL::Gmpq const&, CGAL::Gmpq const&)]+0x44): undefined reference to `__gmpq_mul'
crrcsim-winddata3D.o: In function `boost::operator-(CGAL::Gmpq const&, CGAL::Gmpq const&)':
winddata3D.cpp:(.text._ZN5boostmiERKN4CGAL4GmpqES3_[boost::operator-(CGAL::Gmpq const&, CGAL::Gmpq const&)]+0x2d): undefined reference to `__gmpq_init'
winddata3D.cpp:(.text._ZN5boostmiERKN4CGAL4GmpqES3_[boost::operator-(CGAL::Gmpq const&, CGAL::Gmpq const&)]+0x44): undefined reference to `__gmpq_sub'

#emerge -pqv games-simulation/crrcsim-0.9.11
[ebuild  N    ] games-simulation/crrcsim-0.9.11  USE="-portaudio"

Files will be attached later.
Comment 1 rinus 2011-11-12 22:03:00 UTC
Created attachment 292327 [details]
emerge --info =games-simulation/crrcsim-0.9.11
Comment 2 rinus 2011-11-12 22:08:31 UTC
Created attachment 292329 [details]
games-simulation:crrcsim-0.9.11:20111112-210344.log
Comment 3 Michael Weber (RETIRED) gentoo-dev 2011-11-13 08:14:38 UTC
I can confirm this problem,

One quick fix is
USE="-gmp" emerge -av1 sci-mathematics/cgal ; emerge -av crrcsim
if you don't need sci-mathematics/cgal[gmp]

I try to fix this.
Comment 4 Michael Weber (RETIRED) gentoo-dev 2011-11-13 22:15:08 UTC
+  13 Nov 2011; Michael Weber <xmw@gentoo.org> crrcsim-0.9.11.ebuild,
+  +files/crrcsim-cgal_gmp.patch, files/crrcsim-buildsystem.patch:
+  fix sci-mathematics/cgal[gmp] problem (thanks rinus, bug 390309)
+