You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Gilberto <gi...@gmail.com> on 2017/11/14 16:39:45 UTC

Build failed - linux

Hi,

I've just forked the netbeans repository on github and tried to build it
but without success:

-define-custom-javac-task:
>
> projectized.build-init:
>
> -check-openjfx:
>
> -build-openjfx:
>     [unzip] Expanding:
> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip
> into
> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build/openjfx-src
>     [javac] Compiling 2184 source files to
> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build/openjfx-classes
>    [repeat]
> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/src/main/java/javafx/embed/swing/JFXPanel.java:663:
> error: cannot find symbol
>    [repeat]                 newScaleFactor =
> ((SunGraphics2D)g).surfaceData.getDefaultScale();
>    [repeat]
> ^
>    [repeat]   symbol:   method getDefaultScale()
>    [repeat]   location: variable surfaceData of type SurfaceData
>    [repeat] Note: Some input files use or override a deprecated API.
>    [repeat] Note: Recompile with -Xlint:deprecation for details.
>    [repeat] Note: Some input files use unchecked or unsafe operations.
>    [repeat] Note: Recompile with -Xlint:unchecked for details.
>    [repeat] 1 error
>   [nbmerge] Failed to build target: all-libs.javafx
>
> BUILD FAILED
> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436: The
> following error occurred while executing this line:
> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431: The
> following error occurred while executing this line:
> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466: The
> following error occurred while executing this line:
> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449: The
> following error occurred while executing this line:
> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431: The
> following error occurred while executing this line:
> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478: The
> following error occurred while executing this line:
> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build.xml:35:
> Compile failed; see the compiler error output for details.
>
> Total time: 59 seconds
> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
> javac -version
> javac 1.8.0_151
> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $ cat
> /etc/os-release
> NAME="openSUSE Leap"
> VERSION="42.3"
> ID=opensuse
> ID_LIKE="suse"
> VERSION_ID="42.3"
> PRETTY_NAME="openSUSE Leap 42.3"
> ANSI_COLOR="0;32"
> CPE_NAME="cpe:/o:opensuse:leap:42.3"
> BUG_REPORT_URL="https://bugs.opensuse.org"
> HOME_URL="https://www.opensuse.org/"
> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
>

I've tried ant and ant -Dcluster.config=platform .

Regards,

Gilberto

Re: Build failed - linux

Posted by Chuck Davis <cj...@gmail.com>.
Thanks for the explanation.

May try it again soon though there's not a lot of motivation since I
haven't experienced a hickup yet.  Looking forward to FCS.

And, by the way, thanks to you and all the others who have been working so
hard to get the move to Apache accomplished.  I don't often feel I have
anything valuable to contribute to the list but I read it religiously and
have been following the progress....so thanks to you Geertjan and all
others working so diligently.  I'm using the 12/26 build and it's a GREAT
start.

On Tue, Jan 2, 2018 at 11:51 AM, Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> Well, it depends which ZIP file you mean, but probably you downloaded
> the ZIP that simply contains the binary -- i.e., after unzipping, you
> have the installation directory and you just startup the NetBeans
> binary in the bin folder, as always.
>
> Gj
>
> On Tue, Jan 2, 2018 at 8:50 PM, Chuck Davis <cj...@gmail.com> wrote:
> > Oh, that might explain why it didn't build!!  😊  I thought it was the
> > source tarball.  Didin't see anything that indicated differently.  At
> least
> > I have it working and it's working well so far.
> >
> > On Tue, Jan 2, 2018 at 11:47 AM, Geertjan Wielenga <
> > geertjan.wielenga@googlemail.com> wrote:
> >
> >> The ZIP file will not build, it is not supposed to build, it is
> >> already built -- all you need to do is start it up/
> >>
> >> Gj
> >>
> >> On Tue, Jan 2, 2018 at 8:43 PM, Chuck Davis <cj...@gmail.com> wrote:
> >> > Gilberto:
> >> >
> >> > Last week I got my courage up to try to build NB9.  I first downloaded
> >> the
> >> > zip file from github.  It would not build -- failed miserably.
> >> >
> >> > Then I tried the instructions for cloning/building with NB8.2 and it
> >> worked
> >> > flawlessly.  I've been using it since working on a JavaFX project with
> >> jdk
> >> > 9 and it's working flawlessly so far.  I suggest you follow the NB8.2
> >> build
> >> > instructions and get on the road to success with NB9.  I also use a
> brand
> >> > of Linux as my development environment so I can assure you it works
> fine
> >> on
> >> > Linux.
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > On Tue, Jan 2, 2018 at 11:24 AM, Gilberto <gi...@gmail.com>
> wrote:
> >> >
> >> >> Hello everyone, happy new year!!
> >> >>
> >> >> I would like to resuscitate this post/discussion. Setting a new
> machine
> >> and
> >> >> this problem came up again. It only occurs while using the openjdk
> 1.8
> >> >> version.
> >> >> I know the build activate the BUILD-OPENJFX because openjdk doesn't
> >> bring
> >> >> the javafx with it, but I don't understand why it download a very old
> >> >> version of it (rt-f89b7dc932af)[1]
> >> >> And as you can see it can't build by the newer java 8 versions.
> >> >>
> >> >> Regards,
> >> >>
> >> >> Gilberto
> >> >>
> >> >> [1] http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=
> f89b7dc932af
> >> >>
> >> >> 2017-11-14 13:39 GMT-03:00 Gilberto <gi...@gmail.com>:
> >> >>
> >> >> > Hi,
> >> >> >
> >> >> > I've just forked the netbeans repository on github and tried to
> build
> >> it
> >> >> > but without success:
> >> >> >
> >> >> > -define-custom-javac-task:
> >> >> >>
> >> >> >> projectized.build-init:
> >> >> >>
> >> >> >> -check-openjfx:
> >> >> >>
> >> >> >> -build-openjfx:
> >> >> >>     [unzip] Expanding: /home/gilberto.andrade/tmp/
> >> >> >> incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip
> into
> >> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> >> >> >> javafx/build/openjfx-src
> >> >> >>     [javac] Compiling 2184 source files to
> >> /home/gilberto.andrade/tmp/
> >> >> >> incubator-netbeans/libs.javafx/build/openjfx-classes
> >> >> >>    [repeat] /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> >> >> >> javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
> >> >> >> src/main/java/javafx/embed/swing/JFXPanel.java:663: error: cannot
> >> find
> >> >> >> symbol
> >> >> >>    [repeat]                 newScaleFactor = ((SunGraphics2D)g).
> >> >> >> surfaceData.getDefaultScale();
> >> >> >>    [repeat]
> >> >> >> ^
> >> >> >>    [repeat]   symbol:   method getDefaultScale()
> >> >> >>    [repeat]   location: variable surfaceData of type SurfaceData
> >> >> >>    [repeat] Note: Some input files use or override a deprecated
> API.
> >> >> >>    [repeat] Note: Recompile with -Xlint:deprecation for details.
> >> >> >>    [repeat] Note: Some input files use unchecked or unsafe
> >> operations.
> >> >> >>    [repeat] Note: Recompile with -Xlint:unchecked for details.
> >> >> >>    [repeat] 1 error
> >> >> >>   [nbmerge] Failed to build target: all-libs.javafx
> >> >> >>
> >> >> >> BUILD FAILED
> >> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:436:
> >> >> The
> >> >> >> following error occurred while executing this line:
> >> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:431:
> >> >> The
> >> >> >> following error occurred while executing this line:
> >> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:466:
> >> >> The
> >> >> >> following error occurred while executing this line:
> >> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:449:
> >> >> The
> >> >> >> following error occurred while executing this line:
> >> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:431:
> >> >> The
> >> >> >> following error occurred while executing this line:
> >> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:478:
> >> >> The
> >> >> >> following error occurred while executing this line:
> >> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> >> javafx/build.xml:35:
> >> >> >> Compile failed; see the compiler error output for details.
> >> >> >>
> >> >> >> Total time: 59 seconds
> >> >> >> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master
> u=) $
> >> >> >> javac -version
> >> >> >> javac 1.8.0_151
> >> >> >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master
> u=) $
> >> >> cat
> >> >> >> /etc/os-release
> >> >> >> NAME="openSUSE Leap"
> >> >> >> VERSION="42.3"
> >> >> >> ID=opensuse
> >> >> >> ID_LIKE="suse"
> >> >> >> VERSION_ID="42.3"
> >> >> >> PRETTY_NAME="openSUSE Leap 42.3"
> >> >> >> ANSI_COLOR="0;32"
> >> >> >> CPE_NAME="cpe:/o:opensuse:leap:42.3"
> >> >> >> BUG_REPORT_URL="https://bugs.opensuse.org"
> >> >> >> HOME_URL="https://www.opensuse.org/"
> >> >> >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master
> u=)
> >> >> >>
> >> >> >
> >> >> > I've tried ant and ant -Dcluster.config=platform .
> >> >> >
> >> >> > Regards,
> >> >> >
> >> >> > Gilberto
> >> >> >
> >> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> >> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> >>
> >> For further information about the NetBeans mailing lists, visit:
> >> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >>
> >>
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Build failed - linux

Posted by Geertjan Wielenga <ge...@googlemail.com>.
Well, it depends which ZIP file you mean, but probably you downloaded
the ZIP that simply contains the binary -- i.e., after unzipping, you
have the installation directory and you just startup the NetBeans
binary in the bin folder, as always.

Gj

On Tue, Jan 2, 2018 at 8:50 PM, Chuck Davis <cj...@gmail.com> wrote:
> Oh, that might explain why it didn't build!!  😊  I thought it was the
> source tarball.  Didin't see anything that indicated differently.  At least
> I have it working and it's working well so far.
>
> On Tue, Jan 2, 2018 at 11:47 AM, Geertjan Wielenga <
> geertjan.wielenga@googlemail.com> wrote:
>
>> The ZIP file will not build, it is not supposed to build, it is
>> already built -- all you need to do is start it up/
>>
>> Gj
>>
>> On Tue, Jan 2, 2018 at 8:43 PM, Chuck Davis <cj...@gmail.com> wrote:
>> > Gilberto:
>> >
>> > Last week I got my courage up to try to build NB9.  I first downloaded
>> the
>> > zip file from github.  It would not build -- failed miserably.
>> >
>> > Then I tried the instructions for cloning/building with NB8.2 and it
>> worked
>> > flawlessly.  I've been using it since working on a JavaFX project with
>> jdk
>> > 9 and it's working flawlessly so far.  I suggest you follow the NB8.2
>> build
>> > instructions and get on the road to success with NB9.  I also use a brand
>> > of Linux as my development environment so I can assure you it works fine
>> on
>> > Linux.
>> >
>> >
>> >
>> >
>> >
>> > On Tue, Jan 2, 2018 at 11:24 AM, Gilberto <gi...@gmail.com> wrote:
>> >
>> >> Hello everyone, happy new year!!
>> >>
>> >> I would like to resuscitate this post/discussion. Setting a new machine
>> and
>> >> this problem came up again. It only occurs while using the openjdk 1.8
>> >> version.
>> >> I know the build activate the BUILD-OPENJFX because openjdk doesn't
>> bring
>> >> the javafx with it, but I don't understand why it download a very old
>> >> version of it (rt-f89b7dc932af)[1]
>> >> And as you can see it can't build by the newer java 8 versions.
>> >>
>> >> Regards,
>> >>
>> >> Gilberto
>> >>
>> >> [1] http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=f89b7dc932af
>> >>
>> >> 2017-11-14 13:39 GMT-03:00 Gilberto <gi...@gmail.com>:
>> >>
>> >> > Hi,
>> >> >
>> >> > I've just forked the netbeans repository on github and tried to build
>> it
>> >> > but without success:
>> >> >
>> >> > -define-custom-javac-task:
>> >> >>
>> >> >> projectized.build-init:
>> >> >>
>> >> >> -check-openjfx:
>> >> >>
>> >> >> -build-openjfx:
>> >> >>     [unzip] Expanding: /home/gilberto.andrade/tmp/
>> >> >> incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip into
>> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> >> >> javafx/build/openjfx-src
>> >> >>     [javac] Compiling 2184 source files to
>> /home/gilberto.andrade/tmp/
>> >> >> incubator-netbeans/libs.javafx/build/openjfx-classes
>> >> >>    [repeat] /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> >> >> javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
>> >> >> src/main/java/javafx/embed/swing/JFXPanel.java:663: error: cannot
>> find
>> >> >> symbol
>> >> >>    [repeat]                 newScaleFactor = ((SunGraphics2D)g).
>> >> >> surfaceData.getDefaultScale();
>> >> >>    [repeat]
>> >> >> ^
>> >> >>    [repeat]   symbol:   method getDefaultScale()
>> >> >>    [repeat]   location: variable surfaceData of type SurfaceData
>> >> >>    [repeat] Note: Some input files use or override a deprecated API.
>> >> >>    [repeat] Note: Recompile with -Xlint:deprecation for details.
>> >> >>    [repeat] Note: Some input files use unchecked or unsafe
>> operations.
>> >> >>    [repeat] Note: Recompile with -Xlint:unchecked for details.
>> >> >>    [repeat] 1 error
>> >> >>   [nbmerge] Failed to build target: all-libs.javafx
>> >> >>
>> >> >> BUILD FAILED
>> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436:
>> >> The
>> >> >> following error occurred while executing this line:
>> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>> >> The
>> >> >> following error occurred while executing this line:
>> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466:
>> >> The
>> >> >> following error occurred while executing this line:
>> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449:
>> >> The
>> >> >> following error occurred while executing this line:
>> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>> >> The
>> >> >> following error occurred while executing this line:
>> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478:
>> >> The
>> >> >> following error occurred while executing this line:
>> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> javafx/build.xml:35:
>> >> >> Compile failed; see the compiler error output for details.
>> >> >>
>> >> >> Total time: 59 seconds
>> >> >> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>> >> >> javac -version
>> >> >> javac 1.8.0_151
>> >> >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>> >> cat
>> >> >> /etc/os-release
>> >> >> NAME="openSUSE Leap"
>> >> >> VERSION="42.3"
>> >> >> ID=opensuse
>> >> >> ID_LIKE="suse"
>> >> >> VERSION_ID="42.3"
>> >> >> PRETTY_NAME="openSUSE Leap 42.3"
>> >> >> ANSI_COLOR="0;32"
>> >> >> CPE_NAME="cpe:/o:opensuse:leap:42.3"
>> >> >> BUG_REPORT_URL="https://bugs.opensuse.org"
>> >> >> HOME_URL="https://www.opensuse.org/"
>> >> >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
>> >> >>
>> >> >
>> >> > I've tried ant and ant -Dcluster.config=platform .
>> >> >
>> >> > Regards,
>> >> >
>> >> > Gilberto
>> >> >
>> >>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Build failed - linux

Posted by Chuck Davis <cj...@gmail.com>.
Oh, that might explain why it didn't build!!  😊  I thought it was the
source tarball.  Didin't see anything that indicated differently.  At least
I have it working and it's working well so far.

On Tue, Jan 2, 2018 at 11:47 AM, Geertjan Wielenga <
geertjan.wielenga@googlemail.com> wrote:

> The ZIP file will not build, it is not supposed to build, it is
> already built -- all you need to do is start it up/
>
> Gj
>
> On Tue, Jan 2, 2018 at 8:43 PM, Chuck Davis <cj...@gmail.com> wrote:
> > Gilberto:
> >
> > Last week I got my courage up to try to build NB9.  I first downloaded
> the
> > zip file from github.  It would not build -- failed miserably.
> >
> > Then I tried the instructions for cloning/building with NB8.2 and it
> worked
> > flawlessly.  I've been using it since working on a JavaFX project with
> jdk
> > 9 and it's working flawlessly so far.  I suggest you follow the NB8.2
> build
> > instructions and get on the road to success with NB9.  I also use a brand
> > of Linux as my development environment so I can assure you it works fine
> on
> > Linux.
> >
> >
> >
> >
> >
> > On Tue, Jan 2, 2018 at 11:24 AM, Gilberto <gi...@gmail.com> wrote:
> >
> >> Hello everyone, happy new year!!
> >>
> >> I would like to resuscitate this post/discussion. Setting a new machine
> and
> >> this problem came up again. It only occurs while using the openjdk 1.8
> >> version.
> >> I know the build activate the BUILD-OPENJFX because openjdk doesn't
> bring
> >> the javafx with it, but I don't understand why it download a very old
> >> version of it (rt-f89b7dc932af)[1]
> >> And as you can see it can't build by the newer java 8 versions.
> >>
> >> Regards,
> >>
> >> Gilberto
> >>
> >> [1] http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=f89b7dc932af
> >>
> >> 2017-11-14 13:39 GMT-03:00 Gilberto <gi...@gmail.com>:
> >>
> >> > Hi,
> >> >
> >> > I've just forked the netbeans repository on github and tried to build
> it
> >> > but without success:
> >> >
> >> > -define-custom-javac-task:
> >> >>
> >> >> projectized.build-init:
> >> >>
> >> >> -check-openjfx:
> >> >>
> >> >> -build-openjfx:
> >> >>     [unzip] Expanding: /home/gilberto.andrade/tmp/
> >> >> incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip into
> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> >> >> javafx/build/openjfx-src
> >> >>     [javac] Compiling 2184 source files to
> /home/gilberto.andrade/tmp/
> >> >> incubator-netbeans/libs.javafx/build/openjfx-classes
> >> >>    [repeat] /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> >> >> javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
> >> >> src/main/java/javafx/embed/swing/JFXPanel.java:663: error: cannot
> find
> >> >> symbol
> >> >>    [repeat]                 newScaleFactor = ((SunGraphics2D)g).
> >> >> surfaceData.getDefaultScale();
> >> >>    [repeat]
> >> >> ^
> >> >>    [repeat]   symbol:   method getDefaultScale()
> >> >>    [repeat]   location: variable surfaceData of type SurfaceData
> >> >>    [repeat] Note: Some input files use or override a deprecated API.
> >> >>    [repeat] Note: Recompile with -Xlint:deprecation for details.
> >> >>    [repeat] Note: Some input files use unchecked or unsafe
> operations.
> >> >>    [repeat] Note: Recompile with -Xlint:unchecked for details.
> >> >>    [repeat] 1 error
> >> >>   [nbmerge] Failed to build target: all-libs.javafx
> >> >>
> >> >> BUILD FAILED
> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436:
> >> The
> >> >> following error occurred while executing this line:
> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
> >> The
> >> >> following error occurred while executing this line:
> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466:
> >> The
> >> >> following error occurred while executing this line:
> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449:
> >> The
> >> >> following error occurred while executing this line:
> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
> >> The
> >> >> following error occurred while executing this line:
> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478:
> >> The
> >> >> following error occurred while executing this line:
> >> >> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> javafx/build.xml:35:
> >> >> Compile failed; see the compiler error output for details.
> >> >>
> >> >> Total time: 59 seconds
> >> >> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
> >> >> javac -version
> >> >> javac 1.8.0_151
> >> >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
> >> cat
> >> >> /etc/os-release
> >> >> NAME="openSUSE Leap"
> >> >> VERSION="42.3"
> >> >> ID=opensuse
> >> >> ID_LIKE="suse"
> >> >> VERSION_ID="42.3"
> >> >> PRETTY_NAME="openSUSE Leap 42.3"
> >> >> ANSI_COLOR="0;32"
> >> >> CPE_NAME="cpe:/o:opensuse:leap:42.3"
> >> >> BUG_REPORT_URL="https://bugs.opensuse.org"
> >> >> HOME_URL="https://www.opensuse.org/"
> >> >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
> >> >>
> >> >
> >> > I've tried ant and ant -Dcluster.config=platform .
> >> >
> >> > Regards,
> >> >
> >> > Gilberto
> >> >
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Build failed - linux

Posted by Geertjan Wielenga <ge...@googlemail.com>.
The ZIP file will not build, it is not supposed to build, it is
already built -- all you need to do is start it up/

Gj

On Tue, Jan 2, 2018 at 8:43 PM, Chuck Davis <cj...@gmail.com> wrote:
> Gilberto:
>
> Last week I got my courage up to try to build NB9.  I first downloaded the
> zip file from github.  It would not build -- failed miserably.
>
> Then I tried the instructions for cloning/building with NB8.2 and it worked
> flawlessly.  I've been using it since working on a JavaFX project with jdk
> 9 and it's working flawlessly so far.  I suggest you follow the NB8.2 build
> instructions and get on the road to success with NB9.  I also use a brand
> of Linux as my development environment so I can assure you it works fine on
> Linux.
>
>
>
>
>
> On Tue, Jan 2, 2018 at 11:24 AM, Gilberto <gi...@gmail.com> wrote:
>
>> Hello everyone, happy new year!!
>>
>> I would like to resuscitate this post/discussion. Setting a new machine and
>> this problem came up again. It only occurs while using the openjdk 1.8
>> version.
>> I know the build activate the BUILD-OPENJFX because openjdk doesn't bring
>> the javafx with it, but I don't understand why it download a very old
>> version of it (rt-f89b7dc932af)[1]
>> And as you can see it can't build by the newer java 8 versions.
>>
>> Regards,
>>
>> Gilberto
>>
>> [1] http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=f89b7dc932af
>>
>> 2017-11-14 13:39 GMT-03:00 Gilberto <gi...@gmail.com>:
>>
>> > Hi,
>> >
>> > I've just forked the netbeans repository on github and tried to build it
>> > but without success:
>> >
>> > -define-custom-javac-task:
>> >>
>> >> projectized.build-init:
>> >>
>> >> -check-openjfx:
>> >>
>> >> -build-openjfx:
>> >>     [unzip] Expanding: /home/gilberto.andrade/tmp/
>> >> incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip into
>> >> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> >> javafx/build/openjfx-src
>> >>     [javac] Compiling 2184 source files to /home/gilberto.andrade/tmp/
>> >> incubator-netbeans/libs.javafx/build/openjfx-classes
>> >>    [repeat] /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> >> javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
>> >> src/main/java/javafx/embed/swing/JFXPanel.java:663: error: cannot find
>> >> symbol
>> >>    [repeat]                 newScaleFactor = ((SunGraphics2D)g).
>> >> surfaceData.getDefaultScale();
>> >>    [repeat]
>> >> ^
>> >>    [repeat]   symbol:   method getDefaultScale()
>> >>    [repeat]   location: variable surfaceData of type SurfaceData
>> >>    [repeat] Note: Some input files use or override a deprecated API.
>> >>    [repeat] Note: Recompile with -Xlint:deprecation for details.
>> >>    [repeat] Note: Some input files use unchecked or unsafe operations.
>> >>    [repeat] Note: Recompile with -Xlint:unchecked for details.
>> >>    [repeat] 1 error
>> >>   [nbmerge] Failed to build target: all-libs.javafx
>> >>
>> >> BUILD FAILED
>> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436:
>> The
>> >> following error occurred while executing this line:
>> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>> The
>> >> following error occurred while executing this line:
>> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466:
>> The
>> >> following error occurred while executing this line:
>> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449:
>> The
>> >> following error occurred while executing this line:
>> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>> The
>> >> following error occurred while executing this line:
>> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478:
>> The
>> >> following error occurred while executing this line:
>> >> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build.xml:35:
>> >> Compile failed; see the compiler error output for details.
>> >>
>> >> Total time: 59 seconds
>> >> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>> >> javac -version
>> >> javac 1.8.0_151
>> >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>> cat
>> >> /etc/os-release
>> >> NAME="openSUSE Leap"
>> >> VERSION="42.3"
>> >> ID=opensuse
>> >> ID_LIKE="suse"
>> >> VERSION_ID="42.3"
>> >> PRETTY_NAME="openSUSE Leap 42.3"
>> >> ANSI_COLOR="0;32"
>> >> CPE_NAME="cpe:/o:opensuse:leap:42.3"
>> >> BUG_REPORT_URL="https://bugs.opensuse.org"
>> >> HOME_URL="https://www.opensuse.org/"
>> >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
>> >>
>> >
>> > I've tried ant and ant -Dcluster.config=platform .
>> >
>> > Regards,
>> >
>> > Gilberto
>> >
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Build failed - linux

Posted by Chuck Davis <cj...@gmail.com>.
Gilberto:

Last week I got my courage up to try to build NB9.  I first downloaded the
zip file from github.  It would not build -- failed miserably.

Then I tried the instructions for cloning/building with NB8.2 and it worked
flawlessly.  I've been using it since working on a JavaFX project with jdk
9 and it's working flawlessly so far.  I suggest you follow the NB8.2 build
instructions and get on the road to success with NB9.  I also use a brand
of Linux as my development environment so I can assure you it works fine on
Linux.





On Tue, Jan 2, 2018 at 11:24 AM, Gilberto <gi...@gmail.com> wrote:

> Hello everyone, happy new year!!
>
> I would like to resuscitate this post/discussion. Setting a new machine and
> this problem came up again. It only occurs while using the openjdk 1.8
> version.
> I know the build activate the BUILD-OPENJFX because openjdk doesn't bring
> the javafx with it, but I don't understand why it download a very old
> version of it (rt-f89b7dc932af)[1]
> And as you can see it can't build by the newer java 8 versions.
>
> Regards,
>
> Gilberto
>
> [1] http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=f89b7dc932af
>
> 2017-11-14 13:39 GMT-03:00 Gilberto <gi...@gmail.com>:
>
> > Hi,
> >
> > I've just forked the netbeans repository on github and tried to build it
> > but without success:
> >
> > -define-custom-javac-task:
> >>
> >> projectized.build-init:
> >>
> >> -check-openjfx:
> >>
> >> -build-openjfx:
> >>     [unzip] Expanding: /home/gilberto.andrade/tmp/
> >> incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip into
> >> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> >> javafx/build/openjfx-src
> >>     [javac] Compiling 2184 source files to /home/gilberto.andrade/tmp/
> >> incubator-netbeans/libs.javafx/build/openjfx-classes
> >>    [repeat] /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> >> javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
> >> src/main/java/javafx/embed/swing/JFXPanel.java:663: error: cannot find
> >> symbol
> >>    [repeat]                 newScaleFactor = ((SunGraphics2D)g).
> >> surfaceData.getDefaultScale();
> >>    [repeat]
> >> ^
> >>    [repeat]   symbol:   method getDefaultScale()
> >>    [repeat]   location: variable surfaceData of type SurfaceData
> >>    [repeat] Note: Some input files use or override a deprecated API.
> >>    [repeat] Note: Recompile with -Xlint:deprecation for details.
> >>    [repeat] Note: Some input files use unchecked or unsafe operations.
> >>    [repeat] Note: Recompile with -Xlint:unchecked for details.
> >>    [repeat] 1 error
> >>   [nbmerge] Failed to build target: all-libs.javafx
> >>
> >> BUILD FAILED
> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436:
> The
> >> following error occurred while executing this line:
> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
> The
> >> following error occurred while executing this line:
> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466:
> The
> >> following error occurred while executing this line:
> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449:
> The
> >> following error occurred while executing this line:
> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
> The
> >> following error occurred while executing this line:
> >> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478:
> The
> >> following error occurred while executing this line:
> >> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build.xml:35:
> >> Compile failed; see the compiler error output for details.
> >>
> >> Total time: 59 seconds
> >> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
> >> javac -version
> >> javac 1.8.0_151
> >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
> cat
> >> /etc/os-release
> >> NAME="openSUSE Leap"
> >> VERSION="42.3"
> >> ID=opensuse
> >> ID_LIKE="suse"
> >> VERSION_ID="42.3"
> >> PRETTY_NAME="openSUSE Leap 42.3"
> >> ANSI_COLOR="0;32"
> >> CPE_NAME="cpe:/o:opensuse:leap:42.3"
> >> BUG_REPORT_URL="https://bugs.opensuse.org"
> >> HOME_URL="https://www.opensuse.org/"
> >> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
> >>
> >
> > I've tried ant and ant -Dcluster.config=platform .
> >
> > Regards,
> >
> > Gilberto
> >
>

Re: Build failed - linux

Posted by Gilberto <gi...@gmail.com>.
Friends (Chuck and Geertjan),

I have no problem to build netbeans with Oracle jdk8[1]. I'm facing this
bug[2] (although reported for 9) while using openjdk 8. Since Openjdk is
widely used by linux I'm trying to track this issue.

[1]
https://www.dropbox.com/s/5yjg867m1trnsuf/Screenshot_20180102_175302.png?dl=0
[2] https://bugs.openjdk.java.net/browse/JDK-8149967

2018-01-02 16:24 GMT-03:00 Gilberto <gi...@gmail.com>:

> Hello everyone, happy new year!!
>
> I would like to resuscitate this post/discussion. Setting a new machine
> and this problem came up again. It only occurs while using the openjdk 1.8
> version.
> I know the build activate the BUILD-OPENJFX because openjdk doesn't bring
> the javafx with it, but I don't understand why it download a very old
> version of it (rt-f89b7dc932af)[1]
> And as you can see it can't build by the newer java 8 versions.
>
> Regards,
>
> Gilberto
>
> [1] http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=f89b7dc932af
>
>
> 2017-11-14 13:39 GMT-03:00 Gilberto <gi...@gmail.com>:
>
>> Hi,
>>
>> I've just forked the netbeans repository on github and tried to build it
>> but without success:
>>
>> -define-custom-javac-task:
>>>
>>> projectized.build-init:
>>>
>>> -check-openjfx:
>>>
>>> -build-openjfx:
>>>     [unzip] Expanding: /home/gilberto.andrade/tmp/inc
>>> ubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip into
>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/
>>> build/openjfx-src
>>>     [javac] Compiling 2184 source files to /home/gilberto.andrade/tmp/inc
>>> ubator-netbeans/libs.javafx/build/openjfx-classes
>>>    [repeat] /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/
>>> build/openjfx-src/rt-f89b7dc932af/modules/swing/src/main/
>>> java/javafx/embed/swing/JFXPanel.java:663: error: cannot find symbol
>>>    [repeat]                 newScaleFactor =
>>> ((SunGraphics2D)g).surfaceData.getDefaultScale();
>>>    [repeat]
>>> ^
>>>    [repeat]   symbol:   method getDefaultScale()
>>>    [repeat]   location: variable surfaceData of type SurfaceData
>>>    [repeat] Note: Some input files use or override a deprecated API.
>>>    [repeat] Note: Recompile with -Xlint:deprecation for details.
>>>    [repeat] Note: Some input files use unchecked or unsafe operations.
>>>    [repeat] Note: Recompile with -Xlint:unchecked for details.
>>>    [repeat] 1 error
>>>   [nbmerge] Failed to build target: all-libs.javafx
>>>
>>> BUILD FAILED
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478:
>>> The following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build.xml:35:
>>> Compile failed; see the compiler error output for details.
>>>
>>> Total time: 59 seconds
>>> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>>> javac -version
>>> javac 1.8.0_151
>>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>>> cat /etc/os-release
>>> NAME="openSUSE Leap"
>>> VERSION="42.3"
>>> ID=opensuse
>>> ID_LIKE="suse"
>>> VERSION_ID="42.3"
>>> PRETTY_NAME="openSUSE Leap 42.3"
>>> ANSI_COLOR="0;32"
>>> CPE_NAME="cpe:/o:opensuse:leap:42.3"
>>> BUG_REPORT_URL="https://bugs.opensuse.org"
>>> HOME_URL="https://www.opensuse.org/"
>>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
>>>
>>
>> I've tried ant and ant -Dcluster.config=platform .
>>
>> Regards,
>>
>> Gilberto
>>
>
>

Re: Build failed - linux

Posted by Geertjan Wielenga <ge...@googlemail.com>.
Happy new year too. I'd recommend just following the instructions on the README:

https://github.com/apache/incubator-netbeans/blob/master/README.md

Take note of the JDK version and Ant version stated there.

Gj

On Tue, Jan 2, 2018 at 8:24 PM, Gilberto <gi...@gmail.com> wrote:
> Hello everyone, happy new year!!
>
> I would like to resuscitate this post/discussion. Setting a new machine and
> this problem came up again. It only occurs while using the openjdk 1.8
> version.
> I know the build activate the BUILD-OPENJFX because openjdk doesn't bring
> the javafx with it, but I don't understand why it download a very old
> version of it (rt-f89b7dc932af)[1]
> And as you can see it can't build by the newer java 8 versions.
>
> Regards,
>
> Gilberto
>
> [1] http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=f89b7dc932af
>
> 2017-11-14 13:39 GMT-03:00 Gilberto <gi...@gmail.com>:
>
>> Hi,
>>
>> I've just forked the netbeans repository on github and tried to build it
>> but without success:
>>
>> -define-custom-javac-task:
>>>
>>> projectized.build-init:
>>>
>>> -check-openjfx:
>>>
>>> -build-openjfx:
>>>     [unzip] Expanding: /home/gilberto.andrade/tmp/
>>> incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip into
>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>>> javafx/build/openjfx-src
>>>     [javac] Compiling 2184 source files to /home/gilberto.andrade/tmp/
>>> incubator-netbeans/libs.javafx/build/openjfx-classes
>>>    [repeat] /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>>> javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
>>> src/main/java/javafx/embed/swing/JFXPanel.java:663: error: cannot find
>>> symbol
>>>    [repeat]                 newScaleFactor = ((SunGraphics2D)g).
>>> surfaceData.getDefaultScale();
>>>    [repeat]
>>> ^
>>>    [repeat]   symbol:   method getDefaultScale()
>>>    [repeat]   location: variable surfaceData of type SurfaceData
>>>    [repeat] Note: Some input files use or override a deprecated API.
>>>    [repeat] Note: Recompile with -Xlint:deprecation for details.
>>>    [repeat] Note: Some input files use unchecked or unsafe operations.
>>>    [repeat] Note: Recompile with -Xlint:unchecked for details.
>>>    [repeat] 1 error
>>>   [nbmerge] Failed to build target: all-libs.javafx
>>>
>>> BUILD FAILED
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436: The
>>> following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431: The
>>> following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466: The
>>> following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449: The
>>> following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431: The
>>> following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478: The
>>> following error occurred while executing this line:
>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build.xml:35:
>>> Compile failed; see the compiler error output for details.
>>>
>>> Total time: 59 seconds
>>> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>>> javac -version
>>> javac 1.8.0_151
>>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $ cat
>>> /etc/os-release
>>> NAME="openSUSE Leap"
>>> VERSION="42.3"
>>> ID=opensuse
>>> ID_LIKE="suse"
>>> VERSION_ID="42.3"
>>> PRETTY_NAME="openSUSE Leap 42.3"
>>> ANSI_COLOR="0;32"
>>> CPE_NAME="cpe:/o:opensuse:leap:42.3"
>>> BUG_REPORT_URL="https://bugs.opensuse.org"
>>> HOME_URL="https://www.opensuse.org/"
>>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
>>>
>>
>> I've tried ant and ant -Dcluster.config=platform .
>>
>> Regards,
>>
>> Gilberto
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Build failed - linux

Posted by Gilberto <gi...@gmail.com>.
Hello everyone, happy new year!!

I would like to resuscitate this post/discussion. Setting a new machine and
this problem came up again. It only occurs while using the openjdk 1.8
version.
I know the build activate the BUILD-OPENJFX because openjdk doesn't bring
the javafx with it, but I don't understand why it download a very old
version of it (rt-f89b7dc932af)[1]
And as you can see it can't build by the newer java 8 versions.

Regards,

Gilberto

[1] http://hg.openjdk.java.net/openjfx/8/master/rt/log?rev=f89b7dc932af

2017-11-14 13:39 GMT-03:00 Gilberto <gi...@gmail.com>:

> Hi,
>
> I've just forked the netbeans repository on github and tried to build it
> but without success:
>
> -define-custom-javac-task:
>>
>> projectized.build-init:
>>
>> -check-openjfx:
>>
>> -build-openjfx:
>>     [unzip] Expanding: /home/gilberto.andrade/tmp/
>> incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip into
>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> javafx/build/openjfx-src
>>     [javac] Compiling 2184 source files to /home/gilberto.andrade/tmp/
>> incubator-netbeans/libs.javafx/build/openjfx-classes
>>    [repeat] /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
>> src/main/java/javafx/embed/swing/JFXPanel.java:663: error: cannot find
>> symbol
>>    [repeat]                 newScaleFactor = ((SunGraphics2D)g).
>> surfaceData.getDefaultScale();
>>    [repeat]
>> ^
>>    [repeat]   symbol:   method getDefaultScale()
>>    [repeat]   location: variable surfaceData of type SurfaceData
>>    [repeat] Note: Some input files use or override a deprecated API.
>>    [repeat] Note: Recompile with -Xlint:deprecation for details.
>>    [repeat] Note: Some input files use unchecked or unsafe operations.
>>    [repeat] Note: Recompile with -Xlint:unchecked for details.
>>    [repeat] 1 error
>>   [nbmerge] Failed to build target: all-libs.javafx
>>
>> BUILD FAILED
>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436: The
>> following error occurred while executing this line:
>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431: The
>> following error occurred while executing this line:
>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466: The
>> following error occurred while executing this line:
>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449: The
>> following error occurred while executing this line:
>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431: The
>> following error occurred while executing this line:
>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478: The
>> following error occurred while executing this line:
>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build.xml:35:
>> Compile failed; see the compiler error output for details.
>>
>> Total time: 59 seconds
>> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>> javac -version
>> javac 1.8.0_151
>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $ cat
>> /etc/os-release
>> NAME="openSUSE Leap"
>> VERSION="42.3"
>> ID=opensuse
>> ID_LIKE="suse"
>> VERSION_ID="42.3"
>> PRETTY_NAME="openSUSE Leap 42.3"
>> ANSI_COLOR="0;32"
>> CPE_NAME="cpe:/o:opensuse:leap:42.3"
>> BUG_REPORT_URL="https://bugs.opensuse.org"
>> HOME_URL="https://www.opensuse.org/"
>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
>>
>
> I've tried ant and ant -Dcluster.config=platform .
>
> Regards,
>
> Gilberto
>

Re: Build failed - linux

Posted by Gilberto <gi...@gmail.com>.
The details were in the post. But I will repeat it again:

22:35] gilbertoca@linux-s6k1:~ $ javac -version
javac 1.8.0_151

[22:35] gilbertoca@linux-s6k1:~ $ ant -version
Apache Ant(TM) version 1.10.1 compiled on February 2 2017

[22:35] gilbertoca@linux-s6k1:~ $ cat /etc/os-release
NAME="openSUSE Leap"
VERSION="42.3"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="42.3"
PRETTY_NAME="openSUSE Leap 42.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:42.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
[22:36] gilbertoca@linux-s6k1:~ $


Hope this can help,

Gilberto

2017-11-14 20:40 GMT-03:00 Geertjan Wielenga <
geertjan.wielenga@googlemail.com>:

> More details needed -- what's your version of Ant, JDK, and which operating
> system?
>
> Gj
>
> On Tue, Nov 14, 2017 at 10:16 PM, Gilberto <gi...@gmail.com> wrote:
>
> > Broken as well:
> >
> > [19:09] gilbertoca@linux-s6k1:git_working_copy $ git clone
> > https://github.com/apache/incubator-netbeans.git
> > Cloning into 'incubator-netbeans'...
> > remote: Counting objects: 113488, done.
> > remote: Compressing objects: 100% (4/4), done.
> > remote: Total 113488 (delta 21), reused 19 (delta 19), pack-reused 113465
> > Receiving objects: 100% (113488/113488), 116.69 MiB | 610.00 KiB/s, done.
> > Resolving deltas: 100% (49759/49759), done.
> > Checking out files: 100% (44347/44347),
> > done.
> > [19:13] gilbertoca@linux-s6k1:git_working_copy $
> > [19:15] gilbertoca@linux-s6k1:git_working_copy $ javac -version
> > javac 1.8.0_151
> > [19:15] gilbertoca@linux-s6k1:git_working_copy $ ant -version
> > Apache Ant(TM) version 1.10.1 compiled on February 2 2017
> > [19:15] gilbertoca@linux-s6k1:git_working_copy $ cd incubator-netbeans/
> > [19:15] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $ ant
> > Buildfile:
> > /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/build.xml
> >
> > -jdk-pre-preinit:
> >
> > .
> > .
> > .
> > projectized-common.files-init:
> >
> > files-init:
> >
> > jdk-8-check:
> >
> > -do-set-buildnumber:
> >
> > set-buildnumber:
> >
> > -define-custom-javac-task:
> >
> > projectized.build-init:
> >
> > -check-openjfx:
> >
> > -build-openjfx:
> >     [mkdir] Created dir:
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/libs.javafx/build/openjfx-src
> >     [unzip] Expanding:
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/libs.javafx/external/openjfx-master-rt-8.zip
> > into
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/libs.javafx/build/openjfx-src
> >     [mkdir] Created dir:
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/libs.javafx/build/openjfx-classes
> >     [javac] Compiling 2184 source files to
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/libs.javafx/build/openjfx-classes
> >    [repeat]
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/libs.javafx/build/openjfx-src/rt-f89b7dc932af/
> > modules/swing/src/main/java/javafx/embed/swing/JFXPanel.java:663:
> > error: cannot find symbol
> >    [repeat]                 newScaleFactor =
> > ((SunGraphics2D)g).surfaceData.getDefaultScale();
> >    [repeat]
> > ^
> >    [repeat]   symbol:   method getDefaultScale()
> >    [repeat]   location: variable surfaceData of type SurfaceData
> >    [repeat] Note: Some input files use or override a deprecated API.
> >    [repeat] Note: Recompile with -Xlint:deprecation for details.
> >    [repeat] Note: Some input files use unchecked or unsafe operations.
> >    [repeat] Note: Recompile with -Xlint:unchecked for details.
> >    [repeat] 1 error
> >   [nbmerge] Failed to build target: all-libs.javafx
> >
> > BUILD FAILED
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/nbbuild/build.xml:436:
> > The following error occurred while executing this line:
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/nbbuild/build.xml:431:
> > The following error occurred while executing this line:
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/nbbuild/build.xml:466:
> > The following error occurred while executing this line:
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/nbbuild/build.xml:449:
> > The following error occurred while executing this line:
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/nbbuild/build.xml:431:
> > The following error occurred while executing this line:
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/nbbuild/build.xml:478:
> > The following error occurred while executing this line:
> > /home/gilbertoca/tmp/git_working_copy/incubator-
> > netbeans/libs.javafx/build.xml:35:
> > Compile failed; see the compiler error output for details.
> >
> > Total time: 1 minute 29 seconds
> > [19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $
> >
> >
> > 19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $ git log |
> > more
> > commit 5d0b08cbbdc463da4eb0fa5613b8a3746729ed22
> > Merge: 6ee482775 389bf2b3c
> > Author: Geertjan Wielenga <ge...@oracle.com>
> > Date:   Tue Nov 14 15:39:25 2017 +0100
> >
> >     Merge pull request #274 from dbalek/dbalek/after_donation
> >
> >     Backport of dbalek's fixes made after Apr 22, 2017
> >
> > commit 6ee4827754d427b12c6748146f894576d9df6442
> > Merge: 364308bad 3b5aa08f6
> > Author: Geertjan Wielenga <ge...@oracle.com>
> > Date:   Tue Nov 14 15:23:53 2017 +0100
> >
> >     Merge pull request #273 from thurka/thurka/after_donation
> >
> >     Backport of thurka's fixes made after Apr 22, 2017
> >
> > commit 389bf2b3cd5cedf6790e7e5690ee96f4ee51936b
> > Author: Dusan Balek <du...@oracle.com>
> > Date:   Mon Nov 13 15:48:00 2017 +0100
> >
> >     Changing licence.
> >
> > commit 0173d769d52775b3073abb3cb66f33f8e8aa82d5
> > Merge: e0ca21221 0b3b46260
> > Author: Dusan Balek <du...@oracle.com>
> > Date:   Mon Nov 13 15:32:33 2017 +0100
> >
> >     Merge branch 'apache/master' into dbalek/after_donation
> >
> > commit e0ca2122108aa20a647eac64a10ddaa95cbd1a10
> > Author: Dusan Balek <db...@netbeans.org>
> > Date:   Fri Sep 22 13:22:13 2017 +0200
> >
> >     Issues #256966, #270308, and #271310 fixed.
> >
> > commit e9c0687a4164bc9a64b276c3586be0a1b2c5d7c1
> > Author: Dusan Balek <db...@netbeans.org>
> > Date:   Fri Sep 15 16:26:21 2017 +0200
> > [19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $
> >
> >
> > 2017-11-14 16:47 GMT-03:00 Geertjan Wielenga <
> > geertjan.wielenga@googlemail.com>:
> >
> > > Something seems wrong with the javafx part of your clone.
> > >
> > > Can you delete everything you cloned and clone from scratch?
> > >
> > > Very interested in this, please keep us updated here.
> > >
> > > Gj
> > >
> > > On Tue, 14 Nov 2017 at 16:39, Gilberto <gi...@gmail.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > I've just forked the netbeans repository on github and tried to build
> > it
> > > > but without success:
> > > >
> > > > -define-custom-javac-task:
> > > > >
> > > > > projectized.build-init:
> > > > >
> > > > > -check-openjfx:
> > > > >
> > > > > -build-openjfx:
> > > > >     [unzip] Expanding:
> > > > >
> > > > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> > > javafx/external/openjfx-master-rt-8.zip
> > > > > into
> > > > >
> > > > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> > > javafx/build/openjfx-src
> > > > >     [javac] Compiling 2184 source files to
> > > > >
> > > > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> > > javafx/build/openjfx-classes
> > > > >    [repeat]
> > > > >
> > > > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> > > javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
> > > src/main/java/javafx/embed/swing/JFXPanel.java:663:
> > > > > error: cannot find symbol
> > > > >    [repeat]                 newScaleFactor =
> > > > > ((SunGraphics2D)g).surfaceData.getDefaultScale();
> > > > >    [repeat]
> > > > > ^
> > > > >    [repeat]   symbol:   method getDefaultScale()
> > > > >    [repeat]   location: variable surfaceData of type SurfaceData
> > > > >    [repeat] Note: Some input files use or override a deprecated
> API.
> > > > >    [repeat] Note: Recompile with -Xlint:deprecation for details.
> > > > >    [repeat] Note: Some input files use unchecked or unsafe
> > operations.
> > > > >    [repeat] Note: Recompile with -Xlint:unchecked for details.
> > > > >    [repeat] 1 error
> > > > >   [nbmerge] Failed to build target: all-libs.javafx
> > > > >
> > > > > BUILD FAILED
> > > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:436:
> > > The
> > > > > following error occurred while executing this line:
> > > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:431:
> > > The
> > > > > following error occurred while executing this line:
> > > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:466:
> > > The
> > > > > following error occurred while executing this line:
> > > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:449:
> > > The
> > > > > following error occurred while executing this line:
> > > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:431:
> > > The
> > > > > following error occurred while executing this line:
> > > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/
> build.xml:478:
> > > The
> > > > > following error occurred while executing this line:
> > > > > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> > > javafx/build.xml:35:
> > > > > Compile failed; see the compiler error output for details.
> > > > >
> > > > > Total time: 59 seconds
> > > > > [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master
> u=) $
> > > > > javac -version
> > > > > javac 1.8.0_151
> > > > > [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master
> u=) $
> > > cat
> > > > > /etc/os-release
> > > > > NAME="openSUSE Leap"
> > > > > VERSION="42.3"
> > > > > ID=opensuse
> > > > > ID_LIKE="suse"
> > > > > VERSION_ID="42.3"
> > > > > PRETTY_NAME="openSUSE Leap 42.3"
> > > > > ANSI_COLOR="0;32"
> > > > > CPE_NAME="cpe:/o:opensuse:leap:42.3"
> > > > > BUG_REPORT_URL="https://bugs.opensuse.org"
> > > > > HOME_URL="https://www.opensuse.org/"
> > > > > [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
> > > > >
> > > >
> > > > I've tried ant and ant -Dcluster.config=platform .
> > > >
> > > > Regards,
> > > >
> > > > Gilberto
> > > >
> > >
> >
>

Re: Build failed - linux

Posted by Geertjan Wielenga <ge...@googlemail.com>.
More details needed -- what's your version of Ant, JDK, and which operating
system?

Gj

On Tue, Nov 14, 2017 at 10:16 PM, Gilberto <gi...@gmail.com> wrote:

> Broken as well:
>
> [19:09] gilbertoca@linux-s6k1:git_working_copy $ git clone
> https://github.com/apache/incubator-netbeans.git
> Cloning into 'incubator-netbeans'...
> remote: Counting objects: 113488, done.
> remote: Compressing objects: 100% (4/4), done.
> remote: Total 113488 (delta 21), reused 19 (delta 19), pack-reused 113465
> Receiving objects: 100% (113488/113488), 116.69 MiB | 610.00 KiB/s, done.
> Resolving deltas: 100% (49759/49759), done.
> Checking out files: 100% (44347/44347),
> done.
> [19:13] gilbertoca@linux-s6k1:git_working_copy $
> [19:15] gilbertoca@linux-s6k1:git_working_copy $ javac -version
> javac 1.8.0_151
> [19:15] gilbertoca@linux-s6k1:git_working_copy $ ant -version
> Apache Ant(TM) version 1.10.1 compiled on February 2 2017
> [19:15] gilbertoca@linux-s6k1:git_working_copy $ cd incubator-netbeans/
> [19:15] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $ ant
> Buildfile:
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/build.xml
>
> -jdk-pre-preinit:
>
> .
> .
> .
> projectized-common.files-init:
>
> files-init:
>
> jdk-8-check:
>
> -do-set-buildnumber:
>
> set-buildnumber:
>
> -define-custom-javac-task:
>
> projectized.build-init:
>
> -check-openjfx:
>
> -build-openjfx:
>     [mkdir] Created dir:
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/libs.javafx/build/openjfx-src
>     [unzip] Expanding:
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/libs.javafx/external/openjfx-master-rt-8.zip
> into
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/libs.javafx/build/openjfx-src
>     [mkdir] Created dir:
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/libs.javafx/build/openjfx-classes
>     [javac] Compiling 2184 source files to
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/libs.javafx/build/openjfx-classes
>    [repeat]
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/libs.javafx/build/openjfx-src/rt-f89b7dc932af/
> modules/swing/src/main/java/javafx/embed/swing/JFXPanel.java:663:
> error: cannot find symbol
>    [repeat]                 newScaleFactor =
> ((SunGraphics2D)g).surfaceData.getDefaultScale();
>    [repeat]
> ^
>    [repeat]   symbol:   method getDefaultScale()
>    [repeat]   location: variable surfaceData of type SurfaceData
>    [repeat] Note: Some input files use or override a deprecated API.
>    [repeat] Note: Recompile with -Xlint:deprecation for details.
>    [repeat] Note: Some input files use unchecked or unsafe operations.
>    [repeat] Note: Recompile with -Xlint:unchecked for details.
>    [repeat] 1 error
>   [nbmerge] Failed to build target: all-libs.javafx
>
> BUILD FAILED
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/nbbuild/build.xml:436:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/nbbuild/build.xml:431:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/nbbuild/build.xml:466:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/nbbuild/build.xml:449:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/nbbuild/build.xml:431:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/nbbuild/build.xml:478:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-
> netbeans/libs.javafx/build.xml:35:
> Compile failed; see the compiler error output for details.
>
> Total time: 1 minute 29 seconds
> [19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $
>
>
> 19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $ git log |
> more
> commit 5d0b08cbbdc463da4eb0fa5613b8a3746729ed22
> Merge: 6ee482775 389bf2b3c
> Author: Geertjan Wielenga <ge...@oracle.com>
> Date:   Tue Nov 14 15:39:25 2017 +0100
>
>     Merge pull request #274 from dbalek/dbalek/after_donation
>
>     Backport of dbalek's fixes made after Apr 22, 2017
>
> commit 6ee4827754d427b12c6748146f894576d9df6442
> Merge: 364308bad 3b5aa08f6
> Author: Geertjan Wielenga <ge...@oracle.com>
> Date:   Tue Nov 14 15:23:53 2017 +0100
>
>     Merge pull request #273 from thurka/thurka/after_donation
>
>     Backport of thurka's fixes made after Apr 22, 2017
>
> commit 389bf2b3cd5cedf6790e7e5690ee96f4ee51936b
> Author: Dusan Balek <du...@oracle.com>
> Date:   Mon Nov 13 15:48:00 2017 +0100
>
>     Changing licence.
>
> commit 0173d769d52775b3073abb3cb66f33f8e8aa82d5
> Merge: e0ca21221 0b3b46260
> Author: Dusan Balek <du...@oracle.com>
> Date:   Mon Nov 13 15:32:33 2017 +0100
>
>     Merge branch 'apache/master' into dbalek/after_donation
>
> commit e0ca2122108aa20a647eac64a10ddaa95cbd1a10
> Author: Dusan Balek <db...@netbeans.org>
> Date:   Fri Sep 22 13:22:13 2017 +0200
>
>     Issues #256966, #270308, and #271310 fixed.
>
> commit e9c0687a4164bc9a64b276c3586be0a1b2c5d7c1
> Author: Dusan Balek <db...@netbeans.org>
> Date:   Fri Sep 15 16:26:21 2017 +0200
> [19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $
>
>
> 2017-11-14 16:47 GMT-03:00 Geertjan Wielenga <
> geertjan.wielenga@googlemail.com>:
>
> > Something seems wrong with the javafx part of your clone.
> >
> > Can you delete everything you cloned and clone from scratch?
> >
> > Very interested in this, please keep us updated here.
> >
> > Gj
> >
> > On Tue, 14 Nov 2017 at 16:39, Gilberto <gi...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I've just forked the netbeans repository on github and tried to build
> it
> > > but without success:
> > >
> > > -define-custom-javac-task:
> > > >
> > > > projectized.build-init:
> > > >
> > > > -check-openjfx:
> > > >
> > > > -build-openjfx:
> > > >     [unzip] Expanding:
> > > >
> > > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> > javafx/external/openjfx-master-rt-8.zip
> > > > into
> > > >
> > > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> > javafx/build/openjfx-src
> > > >     [javac] Compiling 2184 source files to
> > > >
> > > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> > javafx/build/openjfx-classes
> > > >    [repeat]
> > > >
> > > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> > javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
> > src/main/java/javafx/embed/swing/JFXPanel.java:663:
> > > > error: cannot find symbol
> > > >    [repeat]                 newScaleFactor =
> > > > ((SunGraphics2D)g).surfaceData.getDefaultScale();
> > > >    [repeat]
> > > > ^
> > > >    [repeat]   symbol:   method getDefaultScale()
> > > >    [repeat]   location: variable surfaceData of type SurfaceData
> > > >    [repeat] Note: Some input files use or override a deprecated API.
> > > >    [repeat] Note: Recompile with -Xlint:deprecation for details.
> > > >    [repeat] Note: Some input files use unchecked or unsafe
> operations.
> > > >    [repeat] Note: Recompile with -Xlint:unchecked for details.
> > > >    [repeat] 1 error
> > > >   [nbmerge] Failed to build target: all-libs.javafx
> > > >
> > > > BUILD FAILED
> > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436:
> > The
> > > > following error occurred while executing this line:
> > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
> > The
> > > > following error occurred while executing this line:
> > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466:
> > The
> > > > following error occurred while executing this line:
> > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449:
> > The
> > > > following error occurred while executing this line:
> > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
> > The
> > > > following error occurred while executing this line:
> > > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478:
> > The
> > > > following error occurred while executing this line:
> > > > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> > javafx/build.xml:35:
> > > > Compile failed; see the compiler error output for details.
> > > >
> > > > Total time: 59 seconds
> > > > [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
> > > > javac -version
> > > > javac 1.8.0_151
> > > > [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
> > cat
> > > > /etc/os-release
> > > > NAME="openSUSE Leap"
> > > > VERSION="42.3"
> > > > ID=opensuse
> > > > ID_LIKE="suse"
> > > > VERSION_ID="42.3"
> > > > PRETTY_NAME="openSUSE Leap 42.3"
> > > > ANSI_COLOR="0;32"
> > > > CPE_NAME="cpe:/o:opensuse:leap:42.3"
> > > > BUG_REPORT_URL="https://bugs.opensuse.org"
> > > > HOME_URL="https://www.opensuse.org/"
> > > > [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
> > > >
> > >
> > > I've tried ant and ant -Dcluster.config=platform .
> > >
> > > Regards,
> > >
> > > Gilberto
> > >
> >
>

Re: Build failed - linux

Posted by Gilberto <gi...@gmail.com>.
Finally I could build it! I had to uninstall Openjdk 8 and 9. It builds
with Oracle jdk 8 version.

Thanks,

Gilberto

BUILD SUCCESSFUL
Total time: 14 minutes 4 seconds

[14:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $ ant
tryme
Buildfile: /home/gilberto.andrade/tmp/incubator-netbeans/build.xml

-load-build-properties:

tryme-setup-debug-args:

-jdk-pre-preinit:

-jdk-preinit:

-jdk-warn:

-jdk-presetdef-basic:

-jdk-default:

-jdk-init:

tryme:
     [exec]
-------------------------------------------------------------------------------
     [exec] >Log Session: Friday, November 17, 2017 2:39:10 PM BRT
     [exec] >System Info:
     [exec]   Product Version         = NetBeans IDE Dev (Build
20171117-unknown-revn)
     [exec]   Operating System        = Linux version 4.4.92-31-default
running on amd64
     [exec]   Java; VM; Vendor        = 1.8.0_152; Java HotSpot(TM) 64-Bit
Server VM 25.152-b16; Oracle Corporation
     [exec]   Runtime                 = Java(TM) SE Runtime Environment
1.8.0_152-b16
     [exec]   Java Home               = /usr/java/jdk1.8.0_152/jre
     [exec]   System Locale; Encoding = pt_BR (nb); UTF-8
     [exec]   Home Directory          = /home/gilberto.andrade
     [exec]   Current Directory       = /tmp
     [exec]   User Directory          =
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/testuserdir
     [exec]   Cache Directory         =
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/testuserdir/var/cache
     [exec]   Installation            =
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/netbeans/nb
     [exec]
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/netbeans/ide
     [exec]
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/netbeans/extide
     [exec]
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/netbeans/java
     [exec]
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/netbeans/apisupport
     [exec]
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/netbeans/websvccommon
     [exec]
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/netbeans/profiler
     [exec]
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/netbeans/harness
     [exec]
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/netbeans/javafx
     [exec]
/home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/netbeans/platform
     [exec]   Boot & Ext. Classpath   =
/usr/java/jdk1.8.0_152/jre/lib/resources.jar:/usr/java/jdk1.8.0_152/jre/lib/rt.

2017-11-15 3:20 GMT-03:00 Antonio <an...@vieiro.net>:

> Hi Gilberto,
>
> I can build correctly in Linux, so I think this must be something related
> to your environment.
>
> Have you installed any openjfx/libopenjfx packages? If so, which versions?
> Maybe these are taking precedence at compile time and that's why you're
> getting that error?
>
> Cheers,
> Antonio
>
> P.S.: These are my settings:
>
> No "openjfx" packages installed.
>
> incubator-netbeans$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Debian
> Description:    Debian GNU/Linux 9.1 (stretch)
> Release:        9.1
> Codename:       stretch
>
> incubator-netbeans$ uname -a
> Linux x 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux
>
> incubator-netbeans$ java -fullversion
> openjdk full version "1.8.0_151-8u151-b12-1~deb9u1-b12"
>
> incubator-netbeans$ ant -version
> Apache Ant(TM) version 1.10.1 compiled on February 2 2017
>
>
> El 14/11/17 a las 23:16, Gilberto escribió:
>
>> Broken as well:
>>
>> [19:09] gilbertoca@linux-s6k1:git_working_copy $ git clone
>> https://github.com/apache/incubator-netbeans.git
>> Cloning into 'incubator-netbeans'...
>> remote: Counting objects: 113488, done.
>> remote: Compressing objects: 100% (4/4), done.
>> remote: Total 113488 (delta 21), reused 19 (delta 19), pack-reused 113465
>> Receiving objects: 100% (113488/113488), 116.69 MiB | 610.00 KiB/s, done.
>> Resolving deltas: 100% (49759/49759), done.
>> Checking out files: 100% (44347/44347),
>> done.
>> [19:13] gilbertoca@linux-s6k1:git_working_copy $
>> [19:15] gilbertoca@linux-s6k1:git_working_copy $ javac -version
>> javac 1.8.0_151
>> [19:15] gilbertoca@linux-s6k1:git_working_copy $ ant -version
>> Apache Ant(TM) version 1.10.1 compiled on February 2 2017
>> [19:15] gilbertoca@linux-s6k1:git_working_copy $ cd incubator-netbeans/
>> [19:15] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $ ant
>> Buildfile:
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/build.xml
>>
>> -jdk-pre-preinit:
>>
>> .
>> .
>> .
>> projectized-common.files-init:
>>
>> files-init:
>>
>> jdk-8-check:
>>
>> -do-set-buildnumber:
>>
>> set-buildnumber:
>>
>> -define-custom-javac-task:
>>
>> projectized.build-init:
>>
>> -check-openjfx:
>>
>> -build-openjfx:
>>      [mkdir] Created dir:
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> libs.javafx/build/openjfx-src
>>      [unzip] Expanding:
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> libs.javafx/external/openjfx-master-rt-8.zip
>> into
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> libs.javafx/build/openjfx-src
>>      [mkdir] Created dir:
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> libs.javafx/build/openjfx-classes
>>      [javac] Compiling 2184 source files to
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> libs.javafx/build/openjfx-classes
>>     [repeat]
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> libs.javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
>> src/main/java/javafx/embed/swing/JFXPanel.java:663:
>> error: cannot find symbol
>>     [repeat]                 newScaleFactor =
>> ((SunGraphics2D)g).surfaceData.getDefaultScale();
>>     [repeat]
>>   ^
>>     [repeat]   symbol:   method getDefaultScale()
>>     [repeat]   location: variable surfaceData of type SurfaceData
>>     [repeat] Note: Some input files use or override a deprecated API.
>>     [repeat] Note: Recompile with -Xlint:deprecation for details.
>>     [repeat] Note: Some input files use unchecked or unsafe operations.
>>     [repeat] Note: Recompile with -Xlint:unchecked for details.
>>     [repeat] 1 error
>>    [nbmerge] Failed to build target: all-libs.javafx
>>
>> BUILD FAILED
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> nbbuild/build.xml:436:
>> The following error occurred while executing this line:
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> nbbuild/build.xml:431:
>> The following error occurred while executing this line:
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> nbbuild/build.xml:466:
>> The following error occurred while executing this line:
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> nbbuild/build.xml:449:
>> The following error occurred while executing this line:
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> nbbuild/build.xml:431:
>> The following error occurred while executing this line:
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> nbbuild/build.xml:478:
>> The following error occurred while executing this line:
>> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/
>> libs.javafx/build.xml:35:
>> Compile failed; see the compiler error output for details.
>>
>> Total time: 1 minute 29 seconds
>> [19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $
>>
>>
>> 19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $ git log |
>> more
>> commit 5d0b08cbbdc463da4eb0fa5613b8a3746729ed22
>> Merge: 6ee482775 389bf2b3c
>> Author: Geertjan Wielenga <ge...@oracle.com>
>> Date:   Tue Nov 14 15:39:25 2017 +0100
>>
>>      Merge pull request #274 from dbalek/dbalek/after_donation
>>
>>      Backport of dbalek's fixes made after Apr 22, 2017
>>
>> commit 6ee4827754d427b12c6748146f894576d9df6442
>> Merge: 364308bad 3b5aa08f6
>> Author: Geertjan Wielenga <ge...@oracle.com>
>> Date:   Tue Nov 14 15:23:53 2017 +0100
>>
>>      Merge pull request #273 from thurka/thurka/after_donation
>>
>>      Backport of thurka's fixes made after Apr 22, 2017
>>
>> commit 389bf2b3cd5cedf6790e7e5690ee96f4ee51936b
>> Author: Dusan Balek <du...@oracle.com>
>> Date:   Mon Nov 13 15:48:00 2017 +0100
>>
>>      Changing licence.
>>
>> commit 0173d769d52775b3073abb3cb66f33f8e8aa82d5
>> Merge: e0ca21221 0b3b46260
>> Author: Dusan Balek <du...@oracle.com>
>> Date:   Mon Nov 13 15:32:33 2017 +0100
>>
>>      Merge branch 'apache/master' into dbalek/after_donation
>>
>> commit e0ca2122108aa20a647eac64a10ddaa95cbd1a10
>> Author: Dusan Balek <db...@netbeans.org>
>> Date:   Fri Sep 22 13:22:13 2017 +0200
>>
>>      Issues #256966, #270308, and #271310 fixed.
>>
>> commit e9c0687a4164bc9a64b276c3586be0a1b2c5d7c1
>> Author: Dusan Balek <db...@netbeans.org>
>> Date:   Fri Sep 15 16:26:21 2017 +0200
>> [19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $
>>
>>
>> 2017-11-14 16:47 GMT-03:00 Geertjan Wielenga <
>> geertjan.wielenga@googlemail.com>:
>>
>> Something seems wrong with the javafx part of your clone.
>>>
>>> Can you delete everything you cloned and clone from scratch?
>>>
>>> Very interested in this, please keep us updated here.
>>>
>>> Gj
>>>
>>> On Tue, 14 Nov 2017 at 16:39, Gilberto <gi...@gmail.com> wrote:
>>>
>>> Hi,
>>>>
>>>> I've just forked the netbeans repository on github and tried to build it
>>>> but without success:
>>>>
>>>> -define-custom-javac-task:
>>>>
>>>>>
>>>>> projectized.build-init:
>>>>>
>>>>> -check-openjfx:
>>>>>
>>>>> -build-openjfx:
>>>>>      [unzip] Expanding:
>>>>>
>>>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>>>>
>>> javafx/external/openjfx-master-rt-8.zip
>>>
>>>> into
>>>>>
>>>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>>>>
>>> javafx/build/openjfx-src
>>>
>>>>      [javac] Compiling 2184 source files to
>>>>>
>>>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>>>>
>>> javafx/build/openjfx-classes
>>>
>>>>     [repeat]
>>>>>
>>>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>>>>
>>> javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
>>>
>>> src/main/java/javafx/embed/swing/JFXPanel.java:663:
>>>
>>>> error: cannot find symbol
>>>>>     [repeat]                 newScaleFactor =
>>>>> ((SunGraphics2D)g).surfaceData.getDefaultScale();
>>>>>     [repeat]
>>>>> ^
>>>>>     [repeat]   symbol:   method getDefaultScale()
>>>>>     [repeat]   location: variable surfaceData of type SurfaceData
>>>>>     [repeat] Note: Some input files use or override a deprecated API.
>>>>>     [repeat] Note: Recompile with -Xlint:deprecation for details.
>>>>>     [repeat] Note: Some input files use unchecked or unsafe operations.
>>>>>     [repeat] Note: Recompile with -Xlint:unchecked for details.
>>>>>     [repeat] 1 error
>>>>>    [nbmerge] Failed to build target: all-libs.javafx
>>>>>
>>>>> BUILD FAILED
>>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436:
>>>>>
>>>> The
>>>
>>>> following error occurred while executing this line:
>>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>>>>>
>>>> The
>>>
>>>> following error occurred while executing this line:
>>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466:
>>>>>
>>>> The
>>>
>>>> following error occurred while executing this line:
>>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449:
>>>>>
>>>> The
>>>
>>>> following error occurred while executing this line:
>>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>>>>>
>>>> The
>>>
>>>> following error occurred while executing this line:
>>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478:
>>>>>
>>>> The
>>>
>>>> following error occurred while executing this line:
>>>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>>>>>
>>>> javafx/build.xml:35:
>>>
>>>> Compile failed; see the compiler error output for details.
>>>>>
>>>>> Total time: 59 seconds
>>>>> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>>>>> javac -version
>>>>> javac 1.8.0_151
>>>>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>>>>>
>>>> cat
>>>
>>>> /etc/os-release
>>>>> NAME="openSUSE Leap"
>>>>> VERSION="42.3"
>>>>> ID=opensuse
>>>>> ID_LIKE="suse"
>>>>> VERSION_ID="42.3"
>>>>> PRETTY_NAME="openSUSE Leap 42.3"
>>>>> ANSI_COLOR="0;32"
>>>>> CPE_NAME="cpe:/o:opensuse:leap:42.3"
>>>>> BUG_REPORT_URL="https://bugs.opensuse.org"
>>>>> HOME_URL="https://www.opensuse.org/"
>>>>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
>>>>>
>>>>>
>>>> I've tried ant and ant -Dcluster.config=platform .
>>>>
>>>> Regards,
>>>>
>>>> Gilberto
>>>>
>>>>
>>>
>>

Re: Build failed - linux

Posted by Antonio <an...@vieiro.net>.
Hi Gilberto,

I can build correctly in Linux, so I think this must be something 
related to your environment.

Have you installed any openjfx/libopenjfx packages? If so, which 
versions? Maybe these are taking precedence at compile time and that's 
why you're getting that error?

Cheers,
Antonio

P.S.: These are my settings:

No "openjfx" packages installed.

incubator-netbeans$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 9.1 (stretch)
Release:	9.1
Codename:	stretch

incubator-netbeans$ uname -a
Linux x 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64 GNU/Linux

incubator-netbeans$ java -fullversion
openjdk full version "1.8.0_151-8u151-b12-1~deb9u1-b12"

incubator-netbeans$ ant -version
Apache Ant(TM) version 1.10.1 compiled on February 2 2017


El 14/11/17 a las 23:16, Gilberto escribió:
> Broken as well:
> 
> [19:09] gilbertoca@linux-s6k1:git_working_copy $ git clone
> https://github.com/apache/incubator-netbeans.git
> Cloning into 'incubator-netbeans'...
> remote: Counting objects: 113488, done.
> remote: Compressing objects: 100% (4/4), done.
> remote: Total 113488 (delta 21), reused 19 (delta 19), pack-reused 113465
> Receiving objects: 100% (113488/113488), 116.69 MiB | 610.00 KiB/s, done.
> Resolving deltas: 100% (49759/49759), done.
> Checking out files: 100% (44347/44347),
> done.
> [19:13] gilbertoca@linux-s6k1:git_working_copy $
> [19:15] gilbertoca@linux-s6k1:git_working_copy $ javac -version
> javac 1.8.0_151
> [19:15] gilbertoca@linux-s6k1:git_working_copy $ ant -version
> Apache Ant(TM) version 1.10.1 compiled on February 2 2017
> [19:15] gilbertoca@linux-s6k1:git_working_copy $ cd incubator-netbeans/
> [19:15] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $ ant
> Buildfile:
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/build.xml
> 
> -jdk-pre-preinit:
> 
> .
> .
> .
> projectized-common.files-init:
> 
> files-init:
> 
> jdk-8-check:
> 
> -do-set-buildnumber:
> 
> set-buildnumber:
> 
> -define-custom-javac-task:
> 
> projectized.build-init:
> 
> -check-openjfx:
> 
> -build-openjfx:
>      [mkdir] Created dir:
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build/openjfx-src
>      [unzip] Expanding:
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip
> into
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build/openjfx-src
>      [mkdir] Created dir:
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build/openjfx-classes
>      [javac] Compiling 2184 source files to
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build/openjfx-classes
>     [repeat]
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/src/main/java/javafx/embed/swing/JFXPanel.java:663:
> error: cannot find symbol
>     [repeat]                 newScaleFactor =
> ((SunGraphics2D)g).surfaceData.getDefaultScale();
>     [repeat]                                                                ^
>     [repeat]   symbol:   method getDefaultScale()
>     [repeat]   location: variable surfaceData of type SurfaceData
>     [repeat] Note: Some input files use or override a deprecated API.
>     [repeat] Note: Recompile with -Xlint:deprecation for details.
>     [repeat] Note: Some input files use unchecked or unsafe operations.
>     [repeat] Note: Recompile with -Xlint:unchecked for details.
>     [repeat] 1 error
>    [nbmerge] Failed to build target: all-libs.javafx
> 
> BUILD FAILED
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:436:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:431:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:466:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:449:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:431:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:478:
> The following error occurred while executing this line:
> /home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build.xml:35:
> Compile failed; see the compiler error output for details.
> 
> Total time: 1 minute 29 seconds
> [19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $
> 
> 
> 19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $ git log | more
> commit 5d0b08cbbdc463da4eb0fa5613b8a3746729ed22
> Merge: 6ee482775 389bf2b3c
> Author: Geertjan Wielenga <ge...@oracle.com>
> Date:   Tue Nov 14 15:39:25 2017 +0100
> 
>      Merge pull request #274 from dbalek/dbalek/after_donation
> 
>      Backport of dbalek's fixes made after Apr 22, 2017
> 
> commit 6ee4827754d427b12c6748146f894576d9df6442
> Merge: 364308bad 3b5aa08f6
> Author: Geertjan Wielenga <ge...@oracle.com>
> Date:   Tue Nov 14 15:23:53 2017 +0100
> 
>      Merge pull request #273 from thurka/thurka/after_donation
> 
>      Backport of thurka's fixes made after Apr 22, 2017
> 
> commit 389bf2b3cd5cedf6790e7e5690ee96f4ee51936b
> Author: Dusan Balek <du...@oracle.com>
> Date:   Mon Nov 13 15:48:00 2017 +0100
> 
>      Changing licence.
> 
> commit 0173d769d52775b3073abb3cb66f33f8e8aa82d5
> Merge: e0ca21221 0b3b46260
> Author: Dusan Balek <du...@oracle.com>
> Date:   Mon Nov 13 15:32:33 2017 +0100
> 
>      Merge branch 'apache/master' into dbalek/after_donation
> 
> commit e0ca2122108aa20a647eac64a10ddaa95cbd1a10
> Author: Dusan Balek <db...@netbeans.org>
> Date:   Fri Sep 22 13:22:13 2017 +0200
> 
>      Issues #256966, #270308, and #271310 fixed.
> 
> commit e9c0687a4164bc9a64b276c3586be0a1b2c5d7c1
> Author: Dusan Balek <db...@netbeans.org>
> Date:   Fri Sep 15 16:26:21 2017 +0200
> [19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $
> 
> 
> 2017-11-14 16:47 GMT-03:00 Geertjan Wielenga <
> geertjan.wielenga@googlemail.com>:
> 
>> Something seems wrong with the javafx part of your clone.
>>
>> Can you delete everything you cloned and clone from scratch?
>>
>> Very interested in this, please keep us updated here.
>>
>> Gj
>>
>> On Tue, 14 Nov 2017 at 16:39, Gilberto <gi...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I've just forked the netbeans repository on github and tried to build it
>>> but without success:
>>>
>>> -define-custom-javac-task:
>>>>
>>>> projectized.build-init:
>>>>
>>>> -check-openjfx:
>>>>
>>>> -build-openjfx:
>>>>      [unzip] Expanding:
>>>>
>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> javafx/external/openjfx-master-rt-8.zip
>>>> into
>>>>
>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> javafx/build/openjfx-src
>>>>      [javac] Compiling 2184 source files to
>>>>
>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> javafx/build/openjfx-classes
>>>>     [repeat]
>>>>
>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
>> src/main/java/javafx/embed/swing/JFXPanel.java:663:
>>>> error: cannot find symbol
>>>>     [repeat]                 newScaleFactor =
>>>> ((SunGraphics2D)g).surfaceData.getDefaultScale();
>>>>     [repeat]
>>>> ^
>>>>     [repeat]   symbol:   method getDefaultScale()
>>>>     [repeat]   location: variable surfaceData of type SurfaceData
>>>>     [repeat] Note: Some input files use or override a deprecated API.
>>>>     [repeat] Note: Recompile with -Xlint:deprecation for details.
>>>>     [repeat] Note: Some input files use unchecked or unsafe operations.
>>>>     [repeat] Note: Recompile with -Xlint:unchecked for details.
>>>>     [repeat] 1 error
>>>>    [nbmerge] Failed to build target: all-libs.javafx
>>>>
>>>> BUILD FAILED
>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436:
>> The
>>>> following error occurred while executing this line:
>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>> The
>>>> following error occurred while executing this line:
>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466:
>> The
>>>> following error occurred while executing this line:
>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449:
>> The
>>>> following error occurred while executing this line:
>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
>> The
>>>> following error occurred while executing this line:
>>>> /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478:
>> The
>>>> following error occurred while executing this line:
>>>> /home/gilberto.andrade/tmp/incubator-netbeans/libs.
>> javafx/build.xml:35:
>>>> Compile failed; see the compiler error output for details.
>>>>
>>>> Total time: 59 seconds
>>>> [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>>>> javac -version
>>>> javac 1.8.0_151
>>>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
>> cat
>>>> /etc/os-release
>>>> NAME="openSUSE Leap"
>>>> VERSION="42.3"
>>>> ID=opensuse
>>>> ID_LIKE="suse"
>>>> VERSION_ID="42.3"
>>>> PRETTY_NAME="openSUSE Leap 42.3"
>>>> ANSI_COLOR="0;32"
>>>> CPE_NAME="cpe:/o:opensuse:leap:42.3"
>>>> BUG_REPORT_URL="https://bugs.opensuse.org"
>>>> HOME_URL="https://www.opensuse.org/"
>>>> [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
>>>>
>>>
>>> I've tried ant and ant -Dcluster.config=platform .
>>>
>>> Regards,
>>>
>>> Gilberto
>>>
>>
> 

Re: Build failed - linux

Posted by Gilberto <gi...@gmail.com>.
Broken as well:

[19:09] gilbertoca@linux-s6k1:git_working_copy $ git clone
https://github.com/apache/incubator-netbeans.git
Cloning into 'incubator-netbeans'...
remote: Counting objects: 113488, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 113488 (delta 21), reused 19 (delta 19), pack-reused 113465
Receiving objects: 100% (113488/113488), 116.69 MiB | 610.00 KiB/s, done.
Resolving deltas: 100% (49759/49759), done.
Checking out files: 100% (44347/44347),
done.
[19:13] gilbertoca@linux-s6k1:git_working_copy $
[19:15] gilbertoca@linux-s6k1:git_working_copy $ javac -version
javac 1.8.0_151
[19:15] gilbertoca@linux-s6k1:git_working_copy $ ant -version
Apache Ant(TM) version 1.10.1 compiled on February 2 2017
[19:15] gilbertoca@linux-s6k1:git_working_copy $ cd incubator-netbeans/
[19:15] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $ ant
Buildfile:
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/build.xml

-jdk-pre-preinit:

.
.
.
projectized-common.files-init:

files-init:

jdk-8-check:

-do-set-buildnumber:

set-buildnumber:

-define-custom-javac-task:

projectized.build-init:

-check-openjfx:

-build-openjfx:
    [mkdir] Created dir:
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build/openjfx-src
    [unzip] Expanding:
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip
into
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build/openjfx-src
    [mkdir] Created dir:
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build/openjfx-classes
    [javac] Compiling 2184 source files to
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build/openjfx-classes
   [repeat]
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/src/main/java/javafx/embed/swing/JFXPanel.java:663:
error: cannot find symbol
   [repeat]                 newScaleFactor =
((SunGraphics2D)g).surfaceData.getDefaultScale();
   [repeat]                                                                ^
   [repeat]   symbol:   method getDefaultScale()
   [repeat]   location: variable surfaceData of type SurfaceData
   [repeat] Note: Some input files use or override a deprecated API.
   [repeat] Note: Recompile with -Xlint:deprecation for details.
   [repeat] Note: Some input files use unchecked or unsafe operations.
   [repeat] Note: Recompile with -Xlint:unchecked for details.
   [repeat] 1 error
  [nbmerge] Failed to build target: all-libs.javafx

BUILD FAILED
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:436:
The following error occurred while executing this line:
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:431:
The following error occurred while executing this line:
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:466:
The following error occurred while executing this line:
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:449:
The following error occurred while executing this line:
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:431:
The following error occurred while executing this line:
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/nbbuild/build.xml:478:
The following error occurred while executing this line:
/home/gilbertoca/tmp/git_working_copy/incubator-netbeans/libs.javafx/build.xml:35:
Compile failed; see the compiler error output for details.

Total time: 1 minute 29 seconds
[19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $


19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $ git log | more
commit 5d0b08cbbdc463da4eb0fa5613b8a3746729ed22
Merge: 6ee482775 389bf2b3c
Author: Geertjan Wielenga <ge...@oracle.com>
Date:   Tue Nov 14 15:39:25 2017 +0100

    Merge pull request #274 from dbalek/dbalek/after_donation

    Backport of dbalek's fixes made after Apr 22, 2017

commit 6ee4827754d427b12c6748146f894576d9df6442
Merge: 364308bad 3b5aa08f6
Author: Geertjan Wielenga <ge...@oracle.com>
Date:   Tue Nov 14 15:23:53 2017 +0100

    Merge pull request #273 from thurka/thurka/after_donation

    Backport of thurka's fixes made after Apr 22, 2017

commit 389bf2b3cd5cedf6790e7e5690ee96f4ee51936b
Author: Dusan Balek <du...@oracle.com>
Date:   Mon Nov 13 15:48:00 2017 +0100

    Changing licence.

commit 0173d769d52775b3073abb3cb66f33f8e8aa82d5
Merge: e0ca21221 0b3b46260
Author: Dusan Balek <du...@oracle.com>
Date:   Mon Nov 13 15:32:33 2017 +0100

    Merge branch 'apache/master' into dbalek/after_donation

commit e0ca2122108aa20a647eac64a10ddaa95cbd1a10
Author: Dusan Balek <db...@netbeans.org>
Date:   Fri Sep 22 13:22:13 2017 +0200

    Issues #256966, #270308, and #271310 fixed.

commit e9c0687a4164bc9a64b276c3586be0a1b2c5d7c1
Author: Dusan Balek <db...@netbeans.org>
Date:   Fri Sep 15 16:26:21 2017 +0200
[19:17] gilbertoca@linux-s6k1:incubator-netbeans (master u=) $


2017-11-14 16:47 GMT-03:00 Geertjan Wielenga <
geertjan.wielenga@googlemail.com>:

> Something seems wrong with the javafx part of your clone.
>
> Can you delete everything you cloned and clone from scratch?
>
> Very interested in this, please keep us updated here.
>
> Gj
>
> On Tue, 14 Nov 2017 at 16:39, Gilberto <gi...@gmail.com> wrote:
>
> > Hi,
> >
> > I've just forked the netbeans repository on github and tried to build it
> > but without success:
> >
> > -define-custom-javac-task:
> > >
> > > projectized.build-init:
> > >
> > > -check-openjfx:
> > >
> > > -build-openjfx:
> > >     [unzip] Expanding:
> > >
> > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> javafx/external/openjfx-master-rt-8.zip
> > > into
> > >
> > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> javafx/build/openjfx-src
> > >     [javac] Compiling 2184 source files to
> > >
> > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> javafx/build/openjfx-classes
> > >    [repeat]
> > >
> > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/
> src/main/java/javafx/embed/swing/JFXPanel.java:663:
> > > error: cannot find symbol
> > >    [repeat]                 newScaleFactor =
> > > ((SunGraphics2D)g).surfaceData.getDefaultScale();
> > >    [repeat]
> > > ^
> > >    [repeat]   symbol:   method getDefaultScale()
> > >    [repeat]   location: variable surfaceData of type SurfaceData
> > >    [repeat] Note: Some input files use or override a deprecated API.
> > >    [repeat] Note: Recompile with -Xlint:deprecation for details.
> > >    [repeat] Note: Some input files use unchecked or unsafe operations.
> > >    [repeat] Note: Recompile with -Xlint:unchecked for details.
> > >    [repeat] 1 error
> > >   [nbmerge] Failed to build target: all-libs.javafx
> > >
> > > BUILD FAILED
> > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436:
> The
> > > following error occurred while executing this line:
> > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
> The
> > > following error occurred while executing this line:
> > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466:
> The
> > > following error occurred while executing this line:
> > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449:
> The
> > > following error occurred while executing this line:
> > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431:
> The
> > > following error occurred while executing this line:
> > > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478:
> The
> > > following error occurred while executing this line:
> > > /home/gilberto.andrade/tmp/incubator-netbeans/libs.
> javafx/build.xml:35:
> > > Compile failed; see the compiler error output for details.
> > >
> > > Total time: 59 seconds
> > > [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
> > > javac -version
> > > javac 1.8.0_151
> > > [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
> cat
> > > /etc/os-release
> > > NAME="openSUSE Leap"
> > > VERSION="42.3"
> > > ID=opensuse
> > > ID_LIKE="suse"
> > > VERSION_ID="42.3"
> > > PRETTY_NAME="openSUSE Leap 42.3"
> > > ANSI_COLOR="0;32"
> > > CPE_NAME="cpe:/o:opensuse:leap:42.3"
> > > BUG_REPORT_URL="https://bugs.opensuse.org"
> > > HOME_URL="https://www.opensuse.org/"
> > > [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
> > >
> >
> > I've tried ant and ant -Dcluster.config=platform .
> >
> > Regards,
> >
> > Gilberto
> >
>

Re: Build failed - linux

Posted by Geertjan Wielenga <ge...@googlemail.com>.
Something seems wrong with the javafx part of your clone.

Can you delete everything you cloned and clone from scratch?

Very interested in this, please keep us updated here.

Gj

On Tue, 14 Nov 2017 at 16:39, Gilberto <gi...@gmail.com> wrote:

> Hi,
>
> I've just forked the netbeans repository on github and tried to build it
> but without success:
>
> -define-custom-javac-task:
> >
> > projectized.build-init:
> >
> > -check-openjfx:
> >
> > -build-openjfx:
> >     [unzip] Expanding:
> >
> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/external/openjfx-master-rt-8.zip
> > into
> >
> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build/openjfx-src
> >     [javac] Compiling 2184 source files to
> >
> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build/openjfx-classes
> >    [repeat]
> >
> /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build/openjfx-src/rt-f89b7dc932af/modules/swing/src/main/java/javafx/embed/swing/JFXPanel.java:663:
> > error: cannot find symbol
> >    [repeat]                 newScaleFactor =
> > ((SunGraphics2D)g).surfaceData.getDefaultScale();
> >    [repeat]
> > ^
> >    [repeat]   symbol:   method getDefaultScale()
> >    [repeat]   location: variable surfaceData of type SurfaceData
> >    [repeat] Note: Some input files use or override a deprecated API.
> >    [repeat] Note: Recompile with -Xlint:deprecation for details.
> >    [repeat] Note: Some input files use unchecked or unsafe operations.
> >    [repeat] Note: Recompile with -Xlint:unchecked for details.
> >    [repeat] 1 error
> >   [nbmerge] Failed to build target: all-libs.javafx
> >
> > BUILD FAILED
> > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:436: The
> > following error occurred while executing this line:
> > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431: The
> > following error occurred while executing this line:
> > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:466: The
> > following error occurred while executing this line:
> > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:449: The
> > following error occurred while executing this line:
> > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:431: The
> > following error occurred while executing this line:
> > /home/gilberto.andrade/tmp/incubator-netbeans/nbbuild/build.xml:478: The
> > following error occurred while executing this line:
> > /home/gilberto.andrade/tmp/incubator-netbeans/libs.javafx/build.xml:35:
> > Compile failed; see the compiler error output for details.
> >
> > Total time: 59 seconds
> > [13:31] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $
> > javac -version
> > javac 1.8.0_151
> > [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=) $ cat
> > /etc/os-release
> > NAME="openSUSE Leap"
> > VERSION="42.3"
> > ID=opensuse
> > ID_LIKE="suse"
> > VERSION_ID="42.3"
> > PRETTY_NAME="openSUSE Leap 42.3"
> > ANSI_COLOR="0;32"
> > CPE_NAME="cpe:/o:opensuse:leap:42.3"
> > BUG_REPORT_URL="https://bugs.opensuse.org"
> > HOME_URL="https://www.opensuse.org/"
> > [13:32] gilberto.andrade@BEM-INF007:incubator-netbeans (master u=)
> >
>
> I've tried ant and ant -Dcluster.config=platform .
>
> Regards,
>
> Gilberto
>