Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=478372
--- Comment #17 from D Haley mycae@yahoo.com 2009-07-26 00:43:45 EDT ---
SPEC URL: http://dhd.selfip.com/427e/mathgl-1.9-2.spec SRPM URL: http://dhd.selfip.com/427e/mathgl-1.9-2.fc10.src.rpm
Koji Builds: F10: F11:http://koji.fedoraproject.org/koji/taskinfo?taskID=1518017
(actually these builds are slightly out of date. I added a zero length file removal.)
RPMLint: === $ rpmlint `cat files | sed 's/Wrote: //' | tr '\n' '\ '` mathgl.i386: W: shared-lib-calls-exit /usr/lib/libmgl-glut.so.5.0.0 exit@GLIBC_2.0 mathgl-devel.i386: W: no-documentation 4 packages and 0 specfiles checked; 0 errors, 2 warnings.
$ sudo rpm -e mathgl && sudo rpm -i ../RPMS/i386/mathgl-1.9-2.fc10.i386.rpm && rpmlint mathgl [sudo] password for makerpm: mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl-qt.so.5.0.0 /lib/libpthread.so.0 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl.so.5.0.0 /usr/lib/libgomp.so.1 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl.so.5.0.0 /usr/lib/libgslcblas.so.0 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl-wx.so.5.0.0 /usr/lib/libwx_gtk2u_richtext-2.8.so.0 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl-wx.so.5.0.0 /usr/lib/libwx_gtk2u_aui-2.8.so.0 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl-wx.so.5.0.0 /usr/lib/libwx_gtk2u_xrc-2.8.so.0 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl-wx.so.5.0.0 /usr/lib/libwx_gtk2u_qa-2.8.so.0 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl-wx.so.5.0.0 /usr/lib/libwx_gtk2u_html-2.8.so.0 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl-wx.so.5.0.0 /usr/lib/libwx_gtk2u_adv-2.8.so.0 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl-wx.so.5.0.0 /usr/lib/libwx_baseu_xml-2.8.so.0 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl-wx.so.5.0.0 /usr/lib/libwx_baseu_net-2.8.so.0 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl-wx.so.5.0.0 /usr/lib/libmgl.so.5 mathgl.i386: W: unused-direct-shlib-dependency /usr/lib/libmgl-wx.so.5.0.0 /lib/libm.so.6 mathgl.i386: W: shared-lib-calls-exit /usr/lib/libmgl-glut.so.5.0.0 exit@GLIBC_2.0 1 packages and 0 specfiles checked; 0 errors, 14 warnings.
===
*the shlib warnings are caused by pkg-config usage. I'm not particularly concerned with them. linking with --as-needed doesn't work, and causes build errors, so I suggest that this be ignored.
*With the octave plugin, I didn't see any precedent here for plugin installation, except for a few mailing list entries. I installed the plugin in a subdir of %{prefix}/libexec/octave and then provided a symlink in a default search path in octave, so that octave can find it by default.
*I have excluded arch on x86_64 and ppc64 for f10. This is due to the swig build issue that is in the dep. bug. I suspect (but have not tried) that a swig update will solve this issue, although I concede that swig could be pulling bad code in from elsewhere on the system, and therefore a swig update could potentially not fix the problem. Either way, f11 works fine for all arches, so something is different :-).
If a swig update does not work it is possible to patch the makefile to postprocess the swig generated code before compilation, although this is a little messy.