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 <anto...@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 <geertjan.wiele...@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 <geertjan.wiele...@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 <dusan.ba...@oracle.com>
>> Date:   Mon Nov 13 15:48:00 2017 +0100
>>
>>      Changing licence.
>>
>> commit 0173d769d52775b3073abb3cb66f33f8e8aa82d5
>> Merge: e0ca21221 0b3b46260
>> Author: Dusan Balek <dusan.ba...@oracle.com>
>> Date:   Mon Nov 13 15:32:33 2017 +0100
>>
>>      Merge branch 'apache/master' into dbalek/after_donation
>>
>> commit e0ca2122108aa20a647eac64a10ddaa95cbd1a10
>> Author: Dusan Balek <dba...@netbeans.org>
>> Date:   Fri Sep 22 13:22:13 2017 +0200
>>
>>      Issues #256966, #270308, and #271310 fixed.
>>
>> commit e9c0687a4164bc9a64b276c3586be0a1b2c5d7c1
>> Author: Dusan Balek <dba...@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.wiele...@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 <gilbert...@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
>>>>
>>>>
>>>
>>

Reply via email to