Build farm for OpenJFX (on ARM)

Mani Sarkar sadhak001 at gmail.com
Sat Feb 7 01:01:40 UTC 2015


Hi all,

We are still working on the ARM build of OpenJFX, whilst building it on a
Fedora virtual machine, we got the following errors:

>
> *Successfully started process 'command
> '/scratch/jenkins/workspace/crosslibs/gcc-linaro-arm-linux-gnueabihf-raspb
> ian-2012.09-20120921_linux/bin/arm-linux-gnueabihf-g++''*
> /scratch/jenkins/workspace/crosslibs/gcc-linaro-arm-linux-gnueabihf-raspb
> ian-2012.09-20120921_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../..
> /../../arm-linux-gnueabihf/bin/ld:
> cannot find -lgtk-x11-2.0
> /scratch/jenkins/workspace/crosslibs/gcc-linaro-arm-linux-gnueabihf-raspb
> ian-2012.09-20120921_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../..
> /../../arm-linux-gnueabihf/bin/ld:
> cannot find -lgdk-x11-2.0
> /scratch/jenkins/workspace/crosslibs/gcc-linaro-arm-linux-gnueabihf-raspb
> ian-2012.09-20120921_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../..
> /../../arm-linux-gnueabihf/bin/ld:
> cannot find -lgio-2.0
> /scratch/jenkins/workspace/crosslibs/gcc-linaro-arm-linux-gnueabihf-raspb
> ian-2012.09-20120921_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../..
> /../../arm-linux-gnueabihf/bin/ld:
> cannot find -lgobject-2.0
> /scratch/jenkins/workspace/crosslibs/gcc-linaro-arm-linux-gnueabihf-raspb
> ian-2012.09-20120921_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../..
> /../../arm-linux-gnueabihf/bin/ld:
> cannot find -lgthread-2.0
> /scratch/jenkins/workspace/crosslibs/gcc-linaro-arm-linux-gnueabihf-raspb
> ian-2012.09-20120921_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../..
> /../../arm-linux-gnueabihf/bin/ld:
> cannot find -lglib-2.0 collect2: error: ld returned 1 exit status
> Process 'command
> '/scratch/jenkins/workspace/crosslibs/gcc-linaro-arm-linux-gnueabihf-raspb
> ian-2012.09-20120921_linux/bin/arm-linux-gnueabihf-g++'' finished with
> exit value 1 (state: FAILED) :graphics:linkArmv6hfFontFreetype FAILED
> :graphics:linkArmv6hfFontFreetype (Thread[main,5,main]) completed.
> Took 0.057 secs.
>

The above errors are a result of this command:
/scratch/jenkins/workspace/crosslibs/gcc-linaro-arm-linux-gnueabihf-raspb
ian-2012.09-20120921_linux/bin/arm-linux-gnueabihf-g++

Its one of the lines in buildSrc/crosslibs/crosslibs-armv6hf.sh

Has anyone come across this issues? Also solutions like these won't work:

sudo apt-get install

or

yum install...

I would like to get access to tars or zips that I can explode into a folder
and serve it to the build script.

Any help will be highly appreciated.

Cheers,
Mani

On Thu, Feb 5, 2015 at 10:26 PM, Richard Bair <richard.bair at oracle.com>
wrote:

> Cool!
>
> > On Feb 5, 2015, at 2:19 PM, Mani Sarkar <sadhak001 at gmail.com> wrote:
> >
> > Hi All,
> >
> > As per Chris's message and the tweet I got last night / this morning I'm
> > updating you (which I was intending to do when the time was right), that
> we
> > now have a successful OpenJFX build on Cloudbees, see
> > https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK/job/OpenJFX/.
> >
> > Our build farm is able to build an updated artefact each day. Currently
> its
> > a Linux build, the ARM build is on its way, an issue with a dependency
> has
> > hindered us, but once that is also successful you will be able to
> download
> > both these binaries from the above Cloudbees location.
> >
> > I'll add to what Chris has mentioned, I was not aware of another
> initiative
> > to build OpenJFX binaries and ours is to not duplicate the effort but
> make
> > such opensource binaries related to OpenJDK available to everyone in the
> > community.
> >
> > We need all the help you can give us. As you can see from the list on the
> > cloud farm, something or the other always needs to be attended to.
> >
> > Thanks.
> >
> > Cheers,
> > Mani
> >
> > On Thu, Feb 5, 2015 at 8:35 AM, Chris Newland <cnewland at chrisnewland.com
> >
> > wrote:
> >
> >> Hi Johan, all,
> >>
> >> Following the announcement that JDK builds for ARM will no longer
> include
> >> JavaFX I started talking with the OpenJDK Adoption group
> >> (https://wiki.openjdk.java.net/display/Adoption/Main) about the
> >> possibility of using their CloudBees CI system to produce OpenJFX
> binaries
> >> (for all operating systems including ARM) as a way to help keep JavaFX
> >> alive on IoT devices.
> >>
> >> For those who don't know the Adoption group, its mission is to help
> >> developers get started with building OpenJDK, testing new features,
> >> submitting bug reports, and cleaning up code.
> >>
> >> Adoption has a CloudBees CI set up and I've been talking with Mani
> Sarkar
> >> (@theneomatrix369) about setting up an OpenJFX CI project with
> >> cross-compile support that builds OpenJFX for all archs.
> >>
> >> The cross-compile instructions here
> >>
> >>
> https://wiki.openjdk.java.net/display/OpenJFX/Cross+Building+for+ARM+Hard+Float
> >> are working great for me locally so now we're trying to work out how to
> >> move that to the cloud.
> >>
> >> I don't want to tread on anyone's toes here and we're not trying to
> become
> >> any kind of official source for JavaFX, just trying to make sure there's
> >> an easy way (e.g. binaries) for end users to add JavaFX to their ARM
> JDKs
> >> and to help people dip their toes into OpenJFX development as per the
> >> Adoption group's mission.
> >>
> >> Happy to coordinate on how we can make this useful and avoid any
> >> duplication of effort :)
> >>
> >> Personally, I'm a big fan of JavaFX and use it as the UI layer in
> JITWatch
> >> (https://github.com/AdoptOpenJDK/jitwatch/). I'm also into IoT and
> >> wearables and think JavaFX would be great on the new Raspberry Pi 2.
> >>
> >> Cheers,
> >>
> >> Chris
> >> @chriswhocodes
> >>
> >>
> >>
> >
> >
> > --
> > @theNeomatrix369 <http://twitter.com/theNeomatrix369>*  |  **Blog
> > <http://neomatrix369.wordpress.com>**  |  *LJC Associate & LJC Advocate
> > (@adoptopenjdk & @adoptajsr programs)
> > *Meet-a-Project - *MutabilityDetector
> > <https://github.com/MutabilityDetector>*  |  **Bitbucket
> > <https://bitbucket.org/neomatrix369>* * |  **Github
> > <https://github.com/neomatrix369>* * |  **LinkedIn
> > <http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b>*
> > *Come to Devoxx UK 2015:* http://www.devoxx.co.uk/
> >
> > *Don't chase success, rather aim for "Excellence", and success will come
> > chasing after you!*
>
>


-- 
@theNeomatrix369 <http://twitter.com/theNeomatrix369>*  |  **Blog
<http://neomatrix369.wordpress.com>**  |  *LJC Associate & LJC Advocate
(@adoptopenjdk & @adoptajsr programs)
*Meet-a-Project - *MutabilityDetector
<https://github.com/MutabilityDetector>*  |  **Bitbucket
<https://bitbucket.org/neomatrix369>* * |  **Github
<https://github.com/neomatrix369>* * |  **LinkedIn
<http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b>*
*Come to Devoxx UK 2015:* http://www.devoxx.co.uk/

*Don't chase success, rather aim for "Excellence", and success will come
chasing after you!*


More information about the openjfx-dev mailing list