Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217361 - dev-lang/gdl-0.9_pre6 fails to emerge with plplot-5.9.0
Summary: dev-lang/gdl-0.9_pre6 fails to emerge with plplot-5.9.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Dittrich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-12 07:39 UTC by Juergen Rose
Modified: 2008-04-13 19:00 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2008-04-12 07:39:06 UTC
"emerge dev-lang/gdl" 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 'gdlgstream.cpp' || echo './'`gdlgstream.cpp
gdlgstream.cpp: In static member function 'static void GDLGStream::SetErrorHandlers()':
gdlgstream.cpp:41: error: invalid conversion from 'int (*)(char*)' to 'int (*)(const char*)'
gdlgstream.cpp:41: error:   initializing argument 1 of 'void plsexit(int (*)(const char*))'
gdlgstream.cpp:42: error: invalid conversion from 'void (*)(char*)' to 'void (*)(const char*)'
gdlgstream.cpp:42: error:   initializing argument 1 of 'void plsabort(void (*)(const char*))'
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
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2008-04-13 13:17:34 UTC
Thanks for the note, Juergen!
I'll look into it.

best,
Markus
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2008-04-13 19:00:54 UTC
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