Arduino IDE v. 1.6 released, can we get in repository?

Bug #1425677 reported by Arthur Torrey
100
This bug affects 19 people
Affects Status Importance Assigned to Milestone
trusty-backports
Won't Fix
Undecided
Unassigned
arduino (Debian)
Fix Released
Unknown
arduino (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Per http://blog.arduino.cc/2015/02/09/arduino-ide-1-6-is-released-download-it-now/ the newest version of the Arduino IDE is 1.6. The version in the repository is 1.05

This release adds a long list of new features and is also supposed to fix many minor bugs in the existing version.

Can we get a backport so that it is possible to install the current version without risking breaking things by doing so outside the standard Muon package management toolset.

Revision history for this message
Arthur Torrey (arthur-torrey) wrote :

Note that this request should probably be applied to all currently supported releases (not sure how to do this)

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

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

Changed in ubuntu:
status: New → Confirmed
affects: ubuntu → arduino (Ubuntu)
tags: added: upgrade-software-version
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting.

I found a corresponding Debian bug report and have attached a bug watch. The maintainer there has been working on a new version, but is unfortunately waiting on license information from upstream.

Regarding backports; normal procedure is that new package versions land in the development release. Once this has happened, it might be possible to request a backport of it for older releases (along with potentially any required dependencies). https://wiki.ubuntu.com/UbuntuBackports has more information on backports, in case you haven't seen it already.

Revision history for this message
dcuartielles (dcuartielles) wrote : Re: [Bug 1425677] Re: Arduino IDE v. 1.6 released, can we get in repository?

Can you explain the license issue? I might be able of helping out.

/d

Arduino Co-founder

On 23 July 2015 at 20:37, Hans Joachim Desserud <email address hidden>
wrote:

> Thanks for reporting.
>
> I found a corresponding Debian bug report and have attached a bug watch.
> The maintainer there has been working on a new version, but is
> unfortunately waiting on license information from upstream.
>
> Regarding backports; normal procedure is that new package versions land
> in the development release. Once this has happened, it might be possible
> to request a backport of it for older releases (along with potentially
> any required dependencies). https://wiki.ubuntu.com/UbuntuBackports has
> more information on backports, in case you haven't seen it already.
>
> --
> You received this bug notification because you are a member of Arduino
> on Ubuntu Packagers, which is subscribed to arduino in Ubuntu.
> https://bugs.launchpad.net/bugs/1425677
>
> Title:
> Arduino IDE v. 1.6 released, can we get in repository?
>
> Status in trusty-backports:
> New
> Status in arduino package in Ubuntu:
> Confirmed
> Status in arduino package in Debian:
> Unknown
>
> Bug description:
> Per http://blog.arduino.cc/2015/02/09/arduino-ide-1-6-is-released-
> download-it-now/ the newest version of the Arduino IDE is 1.6. The
> version in the repository is 1.05
>
> This release adds a long list of new features and is also supposed to
> fix many minor bugs in the existing version.
>
> Can we get a backport so that it is possible to install the current
> version without risking breaking things by doing so outside the
> standard Muon package management toolset.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/trusty-backports/+bug/1425677/+subscriptions
>

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

>Can you explain the license issue? I might be able of helping out.

The Debian bug report [1] touches a bit on it, but it also points to a pull request [2] which explains it in more detail.
Thanks for stopping by, I hope this should be easy to resolve. :)

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780706
[2] https://github.com/arduino/Arduino/pull/2703

Changed in arduino (Debian):
status: Unknown → Confirmed
Revision history for this message
Scott Howard (showard314) wrote :

Hello all,
arduino 1.6 is packaged here:
http://anonscm.debian.org/cgit/collab-maint/arduino.git

It's ready to go once licensing is cleaned up. The package also outlines the plan for the future of having the hardware support in separate packages so non-free code required for some hardware can end up in multiverse, nonfree

David, thank you very much for looking in to this!

~Scott

Revision history for this message
Symax (ayourk) wrote :

There are a few problems with getting this packaged as v1.6.6 requires Java 8. I almost got a complete build of the package with arduino-1.6.5-r3 from arduino.cc and Scott Howard's debian/ folder from his repository. Anything later than that version requires Java 8. I'm still using Trusty and won't be upgrading from that until the next LTS is released.

Revision history for this message
Mace (xmacex) wrote :

FYI I have openjdk-8-jre (in addition to openjdk-7-jre), and the Arduino IDE 1.6.7 seems to run after replacing the official Arduino supplied "java" subfolder with a symlink to /usr/lib/jvm/java-1.8.0-openjdk-i386. I haven't done any systemaric tests though, and will be running the version of the IDE I downloaded from arduino.cc until the Ubuntu package hopefully eventually catches up.

Revision history for this message
Symax (ayourk) wrote :

The problem with openjdk-8-jre involves building the package (aka compiling), not the actually running of the IDE. Unless I'm misunderstanding something you are saying. The openjdk-8-jre has been updated in launchpad since I made my last comment. Maybe it will work now with the updates. I haven't tried.

Revision history for this message
Symax (ayourk) wrote :

Building the Arduino 1.6.7+ IDE requires X windows and cannot be built via java.awt.headless=true in Makefile-test
See: https://github.com/arduino/Arduino/pull/3062/files for details.
Other limitations: Sketchbook folder MUST be a subdir under $(BUILDDIR) (I used $(BUILDDIR)/sketchbook) and can't be $(CURDIR) in Makefile-test

I downloaded the Arduino 1.6.7 IDE source from their GitHub at http://github.com/arduino/Arduino/archive/1.6.7.zip and then extracted debian-1.6.7.zip under the extracted github source and renamed it to debian/
Please note that the contents of debian-1.6.7.zip are my crude modifications to Scott Howard's work.

Installed the following PPAs to build Arduino 1.6.7 IDE:
 ppa:openjdk-r/ppa
 ppa:maarten-fonville/ppa

The following alternatives must point to their JDK 1.8 counterparts (via update-alternatives --config):
appletviewer ControlPanel extcheck idlj jar jarsigner java javac javadoc javah javap javaws jcmd jconsole jcontrol jdb jdeps jexec jexec-binfmt jhat jinfo jjs jmap jps jrunscript jsadebugd jstack jstat jstatd keytool mozilla-javaplugin.so native2ascii orbd pack200 policytool rmic rmid rmiregistry schemagen serialver servertool tnameserv unpack200 wsgen wsimport xjc

The location /usr/lib/jvm/default-java must point to /usr/lib/jvm/java-1.8.0-openjdk-<arch> where <arch> is the architecture you are compiling against. I used amd64.

I have not yet gotten it to build the package. The following error is as far as I get:

Error while verifying: An error occurred while verifying the sketch
java.lang.NullPointerException
        at cc.arduino.ProgressAwareMessageConsumer.message(ProgressAwareMessageConsumer.java:54)
        at cc.arduino.MessageConsumerOutputStream.flush(MessageConsumerOutputStream.java:71)
        at org.apache.commons.exec.PumpStreamHandler.stop(PumpStreamHandler.java:207)
        at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:363)
        at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
        at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147)
        at cc.arduino.Compiler.callArduinoBuilder(Compiler.java:256)
        at cc.arduino.Compiler.build(Compiler.java:143)
        at processing.app.BaseNoGui.init(BaseNoGui.java:531)
        at processing.app.BaseNoGui.main(BaseNoGui.java:774)

Revision history for this message
Brandon Curtis (brandoncurtis) wrote :

Symax, any progress on building Arduino 1.6.X for Debian/Ubuntu? I am just starting with Debian packaging and Apache Ant, but putting together a PPA for a modern version of the Arduino IDE has been on my list for quite a while.

Pander (pander)
tags: added: eoan
Revision history for this message
Pander (pander) wrote :
Changed in arduino (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Good news and bad news:

* The Debian issue is resolved and a newer version has been packaged. (Not sure why the status wasn't updated automatically, but you can check the linked bug number at the top.
* This was synced and is in Ubuntu Hirsute, the current development release https://bugs.launchpad.net/ubuntu/+source/arduino/2:1.8.13+dfsg1-1

The bad news is that it fails to start. :( See bug 1916278 for more details.

Revision history for this message
Oliver Grawert (ogra) wrote :

the 1.8.13 snap runs without issues here

https://snapcraft.io/arduino

Changed in arduino (Debian):
status: Confirmed → Fix Released
Dan Streetman (ddstreet)
Changed in trusty-backports:
status: New → Won't Fix
Tobias Heider (tobhe)
Changed in arduino (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.