This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 174125

Summary: Build fails on Win XP
Product: ruby Reporter: Erno Mononen <emononen>
Component: CodeAssignee: Erno Mononen <emononen>
Status: RESOLVED FIXED    
Severity: blocker CC: nityad, pjiricka, vkraemer
Priority: P1    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Erno Mononen 2009-10-08 16:32:12 UTC
(This was reported by Nitya in an email) 

After updating the rails gems building jruby fails on Win XP:

> install-gems:
>      [java] JRuby limited openssl loaded. gem install jruby-openssl for full sup
> port.
>      [java] http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
>      [java] **************************************************
>      [java]
>      [java]   Thank you for installing rspec-1.2.8
>      [java]
>      [java]   Please be sure to read History.rdoc and Upgrade.rdoc
>      [java]   for useful information about this release.
>      [java]
>      [java] **************************************************
>      [java] Successfully installed rspec-1.2.8
>      [java] Successfully installed rake-0.8.7
>      [java] Successfully installed activesupport-2.3.4
>      [java] ERROR:  While executing gem ... (Errno::ENOENT)
>      [java]     No such file or directory - No such file or directory - C:/webma
> in/web-main/o.jruby.distro/unpatched_source/jruby-1.3.1/webmain/web-main/o.jruby
> .distro/unpatched_source/jruby-1.3.1/rack-1.0.0.gem
>   [nbmerge] Failed to build target: all-o.jruby.distro
>
> BUILD FAILED
> C:\webmain\web-main\nbbuild\build.xml:385: The following error occurred while ex
> ecuting this line:
> C:\webmain\web-main\nbbuild\build.xml:380: The following error occurred while ex
> ecuting this line:
> C:\webmain\web-main\nbbuild\build.xml:427: The following error occurred while ex
> ecuting this line:
> C:\webmain\web-main\o.jruby.distro\build.xml:78: The following error occurred wh
> ile executing this line:
> C:\webmain\web-main\o.jruby.distro\build.xml:69: The following error occurred wh
> ile executing this line:
> C:\webmain\web-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build.xml:1192:
> The following error occurred while executing this line:
> C:\webmain\web-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build.xml:428: J
> ava returned: 1
>
Comment 1 Vince Kraemer 2009-10-08 17:48:50 UTC
and win vista...
Comment 2 Erno Mononen 2009-10-08 19:38:23 UTC
Until fixed you can disable the ruby cluster from the build config as a workaround.
Comment 3 Erno Mononen 2009-10-08 20:02:52 UTC
*** Issue 174156 has been marked as a duplicate of this issue. ***
Comment 4 Erno Mononen 2009-10-08 21:32:08 UTC
On Windows the install_gem target of the jruby build script is very peculiar about in which order the gems are 
specified, and whether or not they contain version numbers. As in #168434, I haven't found what's the logic behind it 
(if any), but through trial and error I seem to have found an order that works at least on Win XP and Linux - changeset 
#798ad384b17d in ruby-main.
Comment 5 Quality Engineering 2009-10-12 11:43:44 UTC
Integrated into 'main-golden', will be available in build *200910100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/798ad384b17d
User: Erno Mononen <emononen@netbeans.org>
Log: #174125: Build fails on Win XP