[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#995621: openni-sensor-pointclouds does not trap errors during build



Source: openni-sensor-pointclouds
Version: 5.1.0.41.9-3
Severity: serious
Justification: policy 4.6

When a compilation step in openni-sensor-pointclouds fails, the
RedistMaker script that wraps the build, does not propagate the failure.
You can find a relevant invocation at:
https://sources.debian.org/src/openni-sensor-pointclouds/5.1.0.41.9-3/Platform/Linux/CreateRedist/RedistMaker/#L78

A very simple fix would be adding "set -e" to the top of the script.
Not propagating failure poses the risk of producing broken packages and
violates Debian policy section 4.6. This kind of bug therefore is
release-critical.

Helmut


Reply to: