Package Dart language with BBB Debian Image (Feature #113)


Added by Brian DeLacey about 3 years ago. Updated about 3 years ago.


Status:New Start date:09/03/2014
Priority:Normal Due date:
Assignee:Robert Nelson % Done:

0%

Category:-
Target version:-

Description

It would be great to have Dart included with the standard BBB Debian distribution. Some related work was mentioned in a Dart thread:

'Martin Kustermann' via Dart Misc <> Jun 3

We've started to build debian packages on our buildbots. You can find them here:

stable channel: http://gsdview.appspot.com/dart-archive/channels/stable/release/latest/linux_packages/debian_wheezy/
dev channel: http://gsdview.appspot.com/dart-archive/channels/dev/release/latest/linux_packages/debian_wheezy/

My current knowledge is that we build these inside a debian wheezy chroot to make sure that the dart executable runs with an old version of glibc.


History

Updated by Robert Nelson about 3 years ago

Hi Brian,

Do you know dartlang's plan? Are they planning to personally "eventually" push their package to inclusion debian/ubuntu?

Do you have everything setup to test a native *.deb package? (i can queue a test build)

Regards,

  • Assignee set to Robert Nelson

Updated by Brian DeLacey about 3 years ago

Hi Robert,

I just sent contact info to Jason for several Googlers who might answer questions about their plans on this.

If you queue a build I should be able to test it.

Thanks for looking into this!

Updated by Robert Nelson about 3 years ago

Hi Brian,

close...

http://rcn-ee.homeip.net:81/farm/builds/dart/dart_1.7.0-dev.0.1-1_armhf-20140904-2017.build

Where do you guys host your git tree, i can that too..

Regards,

Updated by Brian DeLacey about 3 years ago

RYI: Some (later) steps of the build may fail. What matters is that you build the dart executable:

LINK(target) out/DebugARM/dart

That produces the binary you can try on the board:

dart hello.dart

Where hello.dart looks like this:

main () {
print("Hello world!\n");
}

NOTE: In the past, the glibc on Wheezy was too old. Not sure about Jessie. May be able to try a manual upgrade as suggested here:

http://stackoverflow.com/questions/10863613/how-to-upgrade-glibc-from-version-2-13-to-2-15-on-debian

Updated by Robert Nelson about 3 years ago

Yeah, i need to fire up a few more chroot's... ;)

I was cloning in on my main armhf system, when i realized openjdk-6 isn't available to build this.. As it is jessie...

Regards,

Updated by Brian DeLacey about 3 years ago

The openjdk is only required for the Dart Editor, which is not likely something to have as a build goal to run on the BBB.

I'm guessing the Dart debian package as it exists includes the editor? Hmmm, it would be best to have just the core VM / dart executable.

I think the typical usage mode would be to write little Dart programs in a text editor on the BBB (or tweak big programs written elsewhere) and then run them on the BBB.

Any big elaborate Dart applications requiring lots of files and debugging could be developed elsewhere but then run on the BBB.

Also available in: Atom PDF