[Pkg-octave-devel] Bug#682207: octave: using dpkg-architecture at run time is a bad idea

Andreas Beckmann debian at abeckmann.de
Fri Jul 20 10:04:34 UTC 2012


Package: octave
Version: 3.6.2-2
Severity: important

Hi,

octave depends on dpkg-dev in order to use dpkg-architecture at runtime.
This is a bad idea. The path that is being computed in this way needs to
be built into the binary.

The current approach will fail in a multiarch installation of octave:
dpkg-architecture will report information about the primary
architecture, but octave may be installed from another architecture and
will be using a wrong path ...

And the dpkg-dev dependency needs to be dropped.

Also dpkg-architecture prints a warning if gcc is not installed ...


Andreas



More information about the Pkg-octave-devel mailing list