Bug#906140: arduino-mk: not compatible with ccache

BenoƮt bdejean at gmail.com
Tue Aug 14 20:19:30 BST 2018


Package: arduino-mk
Version: 1.5.2-1
Severity: wishlist

Dear Maintainer,

/usr/share/arduino/Arduino.mk is not compatible with ccache.
When compiling, we can see that the compiler is called with a complete path:

/usr/share/arduino/hardware/tools/avr/bin/avr-g++

It would be nice if it could use the short name instead (if it's the same compiler)
so that ccache could kick in.

$ /usr/lib/ccache/avr-g++ --version
avr-g++ (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


$ /usr/share/arduino/hardware/tools/avr/bin/avr-g++ --version
avr-g++ (GCC) 5.4.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

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

Kernel: Linux 4.16.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages arduino-mk depends on:
ii  arduino-core   2:1.0.5+dfsg2-4.1
ii  make           4.2.1-1.2
ii  python         2.7.15-3
ii  python-serial  3.4-4

Versions of packages arduino-mk recommends:
ii  screen  4.6.2-3

arduino-mk suggests no packages.

-- debconf-show failed



More information about the debian-science-maintainers mailing list