Package: scilab
Version: 5.5.0~beta-1~git~20140324-1354-1
Severity: important
Tags: patch

Hi,

here are a few patches for the scilab build system, where from my point of view, upstream doesn't understand autotools.

 - the scilab-bin and scilab-cli-bin binaries reference symbols
   in the .o files, which are not explicitly linked. Recent binutils
   default to --no-copy-dt-needed-entries, so I'm not sure why the
   build doesn't fail. fix-binary-linking.diff tries to fix that,
   suggestions which library to fix in which case by Sylvestre Ledru.

 - fix-lib-linking.diff fixes the understanding of LDFLAGS and
   LIBADD.  I think these are all cases, but maybe I do miss some.

 - add-lib-dependencies.diff fixes some underlinking. this is seen
   in load errors when trying to build the docs.
   There is a patch commented out for modules/graphic_export
   which seems to be needed, but apparently the build system
   has some dependency cycles, so this won't work.

 - disable-no-as-needed.diff makes no difference for Debian builds.
   However, with or without it, it still fails on Ubuntu 14.04.

I think I did fix the worst misconceptions, but the upstream build system still looks like some kind of mess. I won't have time to further dive into that.

The patches still allow the build on Debian unstable, but still ftbfs on Ubuntu trusty. The only difference for Ubuntu should be the --as-needed default and the hardening defaults, but despite adding the extra flags to disable these defaults, the build still fails.

The Debian portion of the patch calls autoreconf.

Looks like you should disable the modelica bits on architectures which have ocaml but don't have ocamlopt.

patches at:
http://launchpadlibrarian.net/170791978/scilab_5.5.0%7Ebeta-1%2Bgit%7E20140324-1354-1ubuntu1_5.5.0%7Ebeta-1%2Bgit%7E20140324-1354-1ubuntu2.diff.gz

--
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to