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

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



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



Reply to: