Bug#985498: missing dependency on cpp
Package: gridengine-common
Version: 8.1.9+dfsg-4+deb9u2
Severity: serious
Tags: patch
Dear gridengine maintaners,
thanks for your work on this package, it is really appreciated.
I detected the script /usr/share/gridengine/util/arch calls /usr/bin/cpp on line 203:
=== 8< ===
x86_64)
if /usr/bin/cpp -dM </dev/null | grep -q __ILP32__; then
lxmachine=x32
else
lxmachine=amd64
fi
;;
=== 8< ===
There are other lines and other script calling cpp as well. This leads to the
following visible errors:
/usr/share/gridengine/util/arch: 203: /usr/share/gridengine/util/arch: /usr/bin/cpp: not found
/var/lib/gridengine/util/arch: 203: /var/lib/gridengine/util/arch: /usr/bin/cpp: not found
The fix is rather simple: add cpp as Depends for gridengine-common.
I'll send a patch/pull request to the salsa repository soon.
regards.
Reply to: