Hello all On 07/14/2017 02:18 PM, Alan W. Irwin wrote: > To Ole and Orion: > > @Ole: > > To introduce Orion, he maintains the packaging of PLplot for Fedora, > and he has been a big help to us when dealing with "library > version" issues. > > @Orion: > > To introduce Ole, he is the new maintainer of PLplot packaging for > Debian, and it appears he has been running into some "library > version" issues (at least in the Octave-4.2 case) that you have also > run into in the past. > > On 2017-07-14 09:40+0200 Ole Streicher wrote: > >> On 13.07.2017 21:49, Alan W. Irwin wrote: >> [Octave bindings] >>> So I suggest you try enabling it, and then follow up with a build of >>> the test_diff_psc target. If that test works, i.e., it produces the >>> good octave results above, then I think you can be pretty confident >>> all is well with an octave4 binding of PLplot. >> >> I tried, but then I got many error about op_lshift: >> >> [ 10%] Building CXX object >> bindings/octave/CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o >> cd /build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/bindings/octave && >> /usr/bin/c++ -DPLPLOT_HAVE_CONFIG_H -Dplplot_octave_EXPORTS >> -I/build/plplot-5.12.0+dfsg/include -I/build/plplot-5.12.0+dfsg/lib/qsastime >> -I/build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu >> -I/build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/include >> -I/build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/bindings/octave >> -I/usr/include/hdf5/serial -I/usr/include/octave-4.2.1 >> -I/usr/include/octave-4.2.1/octave >> -I/build/plplot-5.12.0+dfsg/bindings/swig-support -g -O2 >> -fdebug-prefix-map=/build/plplot-5.12.0+dfsg=. -fstack-protector-strong >> -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 >> -I/usr/include/octave-4.2.1/octave/.. -I/usr/include/octave-4.2.1/octave >> -I/usr/include/hdf5/serial -Wdate-time -D_FORTIFY_SOURCE=2 >> -I/usr/include/octave-4.2.1/octave/.. -I/usr/include/octave-4.2.1/octave >> -I/usr/include/hdf5/serial -fPIC -o >> CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o -c >> /build/plplot-5.1! > 2.0+dfsg/obj-x86_64-linux-gnu/bindings/octave/plplot_octaveOCTAVE_wrap.cxx >> In file included from >> /build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:181:0: >> >> /usr/include/octave-4.2.1/octave/toplev.h:28:2: warning: #warning "toplev.h >> has been deprecated; use interpreter.h instead" [-Wcpp] >> #warning "toplev.h has been deprecated; use interpreter.h instead" >> ^~~~~~~ >> /build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: >> In function 'void SWIG_InstallBinaryOps(int, int)': >> /build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2099:46: >> error: 'op_lshift' is not a member of 'octave_value' >> if >> (!octave_value_typeinfo::lookup_binary_op(octave_value::op_##name,tid1,tid2)) >> \ >> ^ >> /build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2147:5: >> note: in expansion of macro 'swigreg_binary_op' >> swigreg_binary_op(lshift); >> ^~~~~~~~~~~~~~~~~ >> >> and a number of warnings about octave_value::octave_value: >> >> /build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: >> In function 'octave_value_list _wrap_plGetCursor(const octave_value_list&, >> int)': >> /build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:10770:60: >> warning: 'octave_value::octave_value(const charMatrix&, bool, char)' is >> deprecated: note: IS_STRING argument is ignored [-Wdeprecated-declarations] >> retval4( 0 ) = octave_value( charMatrix( 80, 1 ), true ); >> ^ >> In file included from /usr/include/octave-4.2.1/octave/ovl.h:36:0, >> from /usr/include/octave-4.2.1/octave/ov-fcn.h:33, >> from /usr/include/octave-4.2.1/octave/ov-builtin.h:30, >> from /usr/include/octave-4.2.1/octave/defun-int.h:30, >> from /usr/include/octave-4.2.1/octave/defun-dld.h:32, >> from /usr/include/octave-4.2.1/octave/oct.h:32, >> from >> /build/plplot-5.12.0+dfsg/obj-x86_64-linux-gnu/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:173: >> >> /usr/include/octave-4.2.1/octave/ov.h:244:3: note: declared here >> octave_value (const charMatrix& chm, bool is_string, char type = '\''); >> ^~~~~~~~~~~~ >> >> So it does not build in the moment. > > It appears Orion has been here before you. A google search for the > above error message found <https://github.com/swig/swig/issues/847> > where it appears this Octave-4.2 issue was fixed in swig-3.0.12. In > Fedora's case at that time, it appears they did not have access to > swig-3.0.12 so they backported the fix to the version of swig they had > at that time. So if you can confirm (by building swig-3.0.12 for > yourself) that swig-3.0.12 does fix the above issue, then you should > talk to the Debian packagers for swig to see how they want to address > this swig issue. > > @Orion: > > Can you confirm that PLplot now works well with Octave-4.2 on Fedora > or is there additional issues to deal with?
Well, it compiles. There are longstanding test failures though: 5: 5: *** PLPLOT ERROR, ABORTING OPERATION *** 5: UTF-8 string is malformed: �M��, aborting operation Check out a build log from: https://apps.fedoraproject.org/koschei/package/plplot?collection=f27 Octave tests are run at the end an errors ignored. -- Orion Poplawski Technical Manager 720-772-5637 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane or...@nwra.com Boulder, CO 80301 http://www.nwra.com ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel