Bug#679589: code-aster-gui: fails to install

Bernhard R. Link brlink at debian.org
Mon Jul 2 09:12:26 UTC 2012


* trophime <christophe.trophime at lncmi.cnrs.fr> [120702 07:30]:
> code-aster fails to install because dpkg-architecture could not find
> gcc. To fix the issue I think I have only to add gcc to Depends... but
> should it already be installed as it is required to get
> dpkg-architecture working?

dpkg-architecture seems to be working fine (just outputting a warning
that the build host type is assumed to be the host type as no gcc is
installed).

The actual bug is later:

  + dc_platform= LINUX
  /var/lib/dpkg/info/code-aster-gui.config: 14:
/var/lib/dpkg/info/code-aster-gui.config: LINUX: not found

That's related to that part of code-aster-gui.config:

if [ "${dc_platform}" = "" ] ; then
        dc_platform= "${DEB_HOST_ARCH_OS}" && \
        db_set astk/platform "${dc_platform}"
        if [ "${DEB_HOST_ARCH_BITS}" = "64" ] ; then
            dc_platform= "${DEB_HOST_ARCH_OS}${DEB_HOST_ARCH_BITS}" && \
            db_set astk/platform "${dc_platform}"
        fi
fi

Note the space after the = in both assignments. That says
execute "${DEB_HOST_ARCH_OS}" with dc_platform set to an empty string.
And as DEB_HOST_ARCH_OS is LINUX and there is command named this way it
fails.

        Bernhard R. Link





More information about the debian-science-maintainers mailing list