paths to ard-* utilities are broken

Bug #1275610 reported by scruss
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
arduino-mk (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

With about the simplest possible Makefile:

    BOARD_TAG = uno
    include /usr/share/arduino/Arduino.mk

`make` or `make show_boards` produces the error:

    …
    - [DEFAULT] BOARD_TAG = uno
    make: /usr/share/arduino/bin/ard-parse-boards: Command not found

Similarly, for `make upload`:

    …
    /usr/share/arduino/bin/ard-verify-size build-uno/Blink.hex 32256
    make: /usr/share/arduino/bin/ard-verify-size: Command not found

I am using the author's recommended environment variables for Debian/Ubuntu:

    ARDMK_DIR=/usr/share/arduino
    AVR_TOOLS_DIR=/usr

(ARDUINO_DIR is set for a home install of Arduino 1.0.5)

Curiously, Bug #1007699 has introduced this problem. I have modified my /usr/share/arduino/Arduino.mk to remove all references to $(ARDUINO_DIR) in the ard-* commands, and it builds and runs correctly.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: arduino-mk 0.12.0-1 [modified: usr/share/arduino/Arduino.mk]
ProcVersionSignature: Ubuntu 3.11.0-15.25-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Sun Feb 2 22:59:18 2014
InstallationDate: Installed on 2013-04-13 (295 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: arduino-mk
UpgradeStatus: Upgraded to saucy on 2013-10-20 (105 days ago)

Revision history for this message
scruss (scruss) wrote :
Revision history for this message
scruss (scruss) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "a diff (if not strictly a patch) which solves the issue" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Scott Howard (showard314) wrote :

Thanks for the report, could you try the newest release 0.13.1 in trusty? Upstream has taken over package management and tried to fix this problem.

Revision history for this message
scruss (scruss) wrote :

Can confirm fixed in 0.13.1 — thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in arduino-mk (Ubuntu):
status: New → Confirmed
Revision history for this message
Simon John (sej7278) wrote :

can we close this now as its fixed in 1.3.3-1 ?

Revision history for this message
Simon John (sej7278) wrote :

1.3.4-1 has been released, can we close this now please, it was fixed in the previous release

Revision history for this message
scruss (scruss) wrote :

Yep. Thought I did that back in May

Changed in arduino-mk (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.