On Mar 18, 2015, at 11:18 PM, Orion Poplawski <or...@cora.nwra.com> wrote:

> The check in the plplot package for the octave bindings is failing in
> Fedora rawhide.  I point my finger at gcc 5.0.0 :), but I have no idea 
> what is going on so just putting this out there.
> 
> plplot uses a swig generated interface for the octave wrapper.  By the 
> time the swig wrapper is calling the plplot C function I'm seeing UTF8 
> string pointers pointing to garbage (or perhaps just off by a byte, who 
> knows).
> 
> I've rebuilt swig, then octave, but no avail.  So, I have no idea what 
> is going on.
> 
> test ouput is like:
> 
> 5: x33c
> 5:
> 5: *** PLPLOT WARNING ***
> 5: Driver does not support native gradients, switching to software 
> fallback gradient.
> 5:
> 5:
> 5: *** PLPLOT ERROR, ABORTING OPERATION ***
> 5: UTF-8 string is malformed: �*���*, aborting operation
> 5:
> 5: *** PLPLOT ERROR, ABORTING OPERATION ***
> 5: UTF-8 string is malformed: ��c��*, aborting operation
> 5: Output file name is 
> /builddir/build/BUILD/plplot-5.10.0-git/fedora/ctest_examples_output_dir/x31o.p
> 5:
> 5: *** PLPLOT ERROR, ABORTING OPERATION ***
> 5: UTF-8 string is malformed: И|��*, aborting operation
> ….

I was not able to replicate this error.  I tried "make test",  "make 
test_octave_psc", and "make test_octave_xwin" and did not get the above error.  
What character encoding is your version octave setup for?  What is the value of 
HAVE_LIBUNICODE?  Based on the error, I'm guessing HAVE_LIBUNICODE is not 
defined and perhaps a non utf-8 encoded string is passed.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to