[Bug 1425677] Re: Arduino IDE v. 1.6 released, can we get in repository?

AYourk 1425677 at bugs.launchpad.net
Sun Jan 3 08:47:07 UTC 2016


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)


** Attachment added: "Debian/Ubuntu build instructions vor v1.6.7"
   https://bugs.launchpad.net/trusty-backports/+bug/1425677/+attachment/4543377/+files/debian-1.6.7.zip

-- 
You received this bug notification because you are a member of Ubuntu
Backporters, which is subscribed to trusty-backports.
Matching subscriptions: ubuntu-backporters
https://bugs.launchpad.net/bugs/1425677

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/trusty-backports/+bug/1425677/+subscriptions



More information about the ubuntu-backports mailing list