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

Bug#780583: bashisms in rules template

Package: cross-gcc-dev
Version: 13
Severity: normal
File: /usr/share/cross-gcc/template/rules.generic

The rules.generic files uses "$(shell source ....)". That is a bashism
and fails when /bin/sh is dash. Setting "SHELL := bash" at the start
fixes that.

There is a second minor bug there when creating debian/control:

awk: fatal: cannot open file `debian/control' for reading (No such file or directory)

The rules files tries to parse debian/control to set PACKAGES before
it is created.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages cross-gcc-dev depends on:
ii  make  4.0-8

cross-gcc-dev recommends no packages.

cross-gcc-dev suggests no packages.

-- no debconf information

Reply to: