<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>125184</bug_id>
          
          <creation_ts>2006-03-06 00:17 0000</creation_ts>
          <short_desc>sci-mathematics/ginac-1.2.3 fails (gcc4)</short_desc>
          <delta_ts>2006-03-15 07:21:33 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GCC Porting</component>
          <version>2005.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>117482</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>hetfield666@gmail.com</reporter>
          <assigned_to>sci@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>hetfield666@gmail.com</who>
            <bug_when>2006-03-06 00:17:52 0000</bug_when>
            <thetext>make[2]: Entering directory `/var/tmp/portage/ginac-1.2.3/work/GiNaC-1.2.3/ginac&apos;
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..     -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -MT add.lo -MD -MP -MF &quot;.deps/add.Tpo&quot; -c -o add.lo add.cpp; \
then mv -f &quot;.deps/add.Tpo&quot; &quot;.deps/add.Plo&quot;; else rm -f &quot;.deps/add.Tpo&quot;; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -MT add.lo -MD -MP -MF .deps/add.Tpo -c add.cpp  -fPIC -DPIC -o .libs/add.o
add.cpp:35: error: no matching function for call to &apos;GiNaC::registered_class_options::print_func(void (GiNaC::add::*)(const GiNaC::print_context&amp;, unsigned int)const)&apos;
registrar.h:73: note: candidates are: GiNaC::registered_class_options&amp; GiNaC::registered_class_options::print_func(const GiNaC::print_functor&amp;) [with Ctx = GiNaC::print_context]
add.cpp:35: error: request for member &apos;print_func&apos; in &apos;&amp;GiNaC::add::do_print_latex&apos;, which is of non-class type &apos;void (GiNaC::add::*)(const GiNaC::print_latex&amp;, unsigned int)const&apos;
add.cpp:35: error: request for member &apos;print_func&apos; in &apos;&amp;GiNaC::add::do_print_csrc&apos;, which is of non-class type &apos;void (GiNaC::add::*)(const GiNaC::print_csrc&amp;, unsigned int)const&apos;
add.cpp:35: error: request for member &apos;print_func&apos; in &apos;&amp;GiNaC::expairseq::do_print_tree&apos;, which is of non-class type &apos;void (GiNaC::expairseq::*)(const GiNaC::print_tree&amp;, unsigned int)const&apos;
add.cpp:35: error: expected primary-expression before &apos;(&apos; token
add.cpp:35: error: no matching function for call to &apos;GiNaC::registered_class_options::print_func(void (GiNaC::add::*)(const GiNaC::print_context&amp;, unsigned int)const)&apos;
registrar.h:73: note: candidates are: GiNaC::registered_class_options&amp; GiNaC::registered_class_options::print_func(const GiNaC::print_functor&amp;) [with Ctx = GiNaC::print_context]
add.cpp:35: error: expected primary-expression before &apos;&gt;&apos; token
add.cpp:35: error: request for member &apos;print_func&apos; in &apos;&amp;GiNaC::add::do_print_latex&apos;, which is of non-class type &apos;void (GiNaC::add::*)(const GiNaC::print_latex&amp;, unsigned int)const&apos;
add.cpp:35: error: expected primary-expression before &apos;&gt;&apos; token
add.cpp:35: error: request for member &apos;print_func&apos; in &apos;&amp;GiNaC::add::do_print_csrc&apos;, which is of non-class type &apos;void (GiNaC::add::*)(const GiNaC::print_csrc&amp;, unsigned int)const&apos;
add.cpp:35: error: expected primary-expression before &apos;&gt;&apos; token
add.cpp:35: error: request for member &apos;print_func&apos; in &apos;&amp;GiNaC::expairseq::do_print_tree&apos;, which is of non-class type &apos;void (GiNaC::expairseq::*)(const GiNaC::print_tree&amp;, unsigned int)const&apos;
add.cpp:35: error: expected primary-expression before &apos;&gt;&apos; token
make[2]: *** [add.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/ginac-1.2.3/work/GiNaC-1.2.3/ginac&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ginac-1.2.3/work/GiNaC-1.2.3&apos;
make: *** [all] Error 2

!!! ERROR: sci-mathematics/ginac-1.2.3 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2006-03-15 07:21:33 0000</bug_when>
            <thetext>Hi Patrizio,

Thanks for your report. Unfortunately, ginac-1.2.3 is horribly
broken on gcc-4.1. Hence, I bumped it to the most stable
version (1.3.3) and together with a small patch it compiles fine
for me using gcc-4.1.

Thanks,
Markus</thetext>
          </long_desc>
      
    </bug>

</bugzilla>