Bug#815824: gerris: build_function uses wrong compiler
Stephane Popinet
popinet at users.sf.net
Wed Feb 24 19:00:53 UTC 2016
Package: gerris
Version: 20131206+dfsg-5
Severity: grave
Tags: patch
Justification: renders package unusable
Dear Maintainer,
Gerris uses compilation in the background to evaluate user-defined functions in
parameter files. This is done through the /usr/share/gerris/build_function
script. Currently, the "serial" gerris package includes a build_function script
which uses 'mpicc' to compile, but mpicc is not a dependency of the package
(because the gerris executable itself is serial, not parallel). This causes all
user-defined functions to fail and thus very seriously limits the usability of
the package.
To reproduce the bug you can do
% wget
http://gerris.dalembert.upmc.fr/gerris/examples/examples/boussinesq/boussinesq.gfs
% gerris2D boussinesq.gfs
which will give
gerris: file `boussinesq.gfs' is not a valid simulation file
boussinesq.gfs:61:74: error compiling expression
/usr/share/gerris/build_function: 28: /usr/share/gerris/build_function: mpicc:
not found
The fix is simple, just replace 'mpicc' with 'gcc' on lines 7 and 8 of
/usr/share/gerris/build_function.
thanks for packaging Gerris!
Stephane
-- System Information:
Debian Release: 8.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gerris depends on:
ii libav-tools 6:11.4-1~deb8u1
ii libc6 2.19-18+deb8u3
ii libgcc1 1:4.9.2-10
ii libgfortran3 4.9.2-10
ii libgfs-1.3-2 20131206+dfsg-5
ii libgfs-dev 20131206+dfsg-5
ii libglib2.0-0 2.42.1-1
ii libgts-0.7-5 0.7.6+darcs121130-1.2
ii libgts-dev 0.7.6+darcs121130-1.2
ii libquadmath0 4.9.2-10
Versions of packages gerris recommends:
ii gfsview 20121130+dfsg-1
Versions of packages gerris suggests:
ii python 2.7.9-1
-- no debconf information
More information about the debian-science-maintainers
mailing list