<?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>217361</bug_id>
          
          <creation_ts>2008-04-12 07:39 0000</creation_ts>
          <short_desc>dev-lang/gdl-0.9_pre6 fails to emerge with plplot-5.9.0</short_desc>
          <delta_ts>2008-04-13 19:00:54 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>Applications</component>
          <version>2007.0</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>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>rose@rz.uni-potsdam.de</reporter>
          <assigned_to>markusle@gentoo.org</assigned_to>
          <cc>sci@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>rose@rz.uni-potsdam.de</who>
            <bug_when>2008-04-12 07:39:06 0000</bug_when>
            <thetext>&quot;emerge dev-lang/gdl&quot; fails with:

        i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/ImageMagick -I/usr/include/netcdf-3 -I/usr/include/hdf -I/usr/include/hdf -I/usr/include/hdf5 -I/usr/include -I/usr/include -I/usr/include -I/usr/include/python2.5   -DPJ_LIB__  -O2 -march=athlon-xp -fomit-frame-pointer -c -o gdl-gdlgstream.o `test -f &apos;gdlgstream.cpp&apos; || echo &apos;./&apos;`gdlgstream.cpp
gdlgstream.cpp: In static member function &apos;static void GDLGStream::SetErrorHandlers()&apos;:
gdlgstream.cpp:41: error: invalid conversion from &apos;int (*)(char*)&apos; to &apos;int (*)(const char*)&apos;
gdlgstream.cpp:41: error:   initializing argument 1 of &apos;void plsexit(int (*)(const char*))&apos;
gdlgstream.cpp:42: error: invalid conversion from &apos;void (*)(char*)&apos; to &apos;void (*)(const char*)&apos;
gdlgstream.cpp:42: error:   initializing argument 1 of &apos;void plsabort(void (*)(const char*))&apos;
make[3]: *** [gdl-gdlgstream.o] Error 1


In /usr/include/plplot/plplot.h belonging to plplot-5.9.0 plsexit is declared as:
plsexit(int (*handler) (const char *));


in gdlgstream.cpp the argument PLPlotExitHandler of plsexit is defined as:

int PLPlotExitHandler(char *c)




Reproducible: Always</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2008-04-13 13:17:34 0000</bug_when>
            <thetext>Thanks for the note, Juergen!
I&apos;ll look into it.

best,
Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>markusle@gentoo.org</who>
            <bug_when>2008-04-13 19:00:54 0000</bug_when>
            <thetext>Hi Juergen,

I believe this should be fixed now in portage cvs.
Please give it an hour to propagate to the mirrors
and let us know if you still have problems.

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

</bugzilla>