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 168434 - BUILD FAILED
Summary: BUILD FAILED
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker with 1 vote (vote)
Assignee: Erno Mononen
URL:
Keywords:
: 168433 168435 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-11 16:23 UTC by Alexander Simon
Modified: 2009-07-15 09:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Build Log as requested. (299.05 KB, application/x-compressed)
2009-07-14 08:07 UTC, smithd1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2009-07-11 16:23:28 UTC
Tail of build log:

dist-bin:
    [mkdir] Created dir: D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist
     [copy] Copying 1276 files to D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist
    [mkdir] Created dir: D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist\lib\native
    [unzip] Expanding: D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build_lib\jna.jar into
D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist\lib\native
    [unzip] Expanding: D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build_lib\jffi-Darwin.jar into
D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist\lib\native
    [unzip] Expanding: D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build_lib\jffi-amd64-Linux.jar into
D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist\lib\native
    [unzip] Expanding: D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build_lib\jffi-amd64-SunOS.jar into
D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist\lib\native
    [unzip] Expanding: D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build_lib\jffi-i386-Linux.jar into
D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist\lib\native
    [unzip] Expanding: D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build_lib\jffi-ppc-AIX.jar into
D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist\lib\native
    [unzip] Expanding: D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build_lib\jffi-sparc-SunOS.jar into
D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist\lib\native
    [unzip] Expanding: D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build_lib\jffi-sparcv9-SunOS.jar into
D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist\lib\native
    [unzip] Expanding: D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build_lib\jffi-x86-SunOS.jar into
D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\dist\lib\native

install-gems:
     [java] JRuby limited openssl loaded. gem install jruby-openssl for full support.
     [java] http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
     [java] **************************************************
     [java]
     [java]   Thank you for installing rspec-1.2.7
     [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.7
     [java] Successfully installed rake-0.8.7
     [java] Successfully installed activesupport-2.3.2
     [java] Successfully installed actionpack-2.3.2
     [java] ERROR:  While executing gem ... (Errno::ENOENT)
     [java]     No such file or directory - No such file or directory -
D:/tec/cnd-main/o.jruby.distro/unpatched_source/jruby-1.3.1/tec/cnd-main/o.jruby.distro/unpatched_source/jruby-1.3.1/activerecord-jdbc-adapter-0.9.1.gem
  [nbmerge] Failed to build target: all-o.jruby.distro

BUILD FAILED
D:\tec\cnd-main\nbbuild\build.xml:659: The following error occurred while executing this line:
D:\tec\cnd-main\nbbuild\build.xml:654: The following error occurred while executing this line:
D:\tec\cnd-main\nbbuild\build.xml:701: The following error occurred while executing this line:
D:\tec\cnd-main\o.jruby.distro\build.xml:78: The following error occurred while executing this line:
D:\tec\cnd-main\o.jruby.distro\build.xml:69: The following error occurred while executing this line:
D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build.xml:1198: The following error occurred while executing
this line:
D:\tec\cnd-main\o.jruby.distro\unpatched_source\jruby-1.3.1\build.xml:428: Java returned: 1

Total time: 14 minutes 10 seconds
Comment 1 Erno Mononen 2009-07-13 07:51:00 UTC
*** Issue 168435 has been marked as a duplicate of this issue. ***
Comment 2 Erno Mononen 2009-07-13 07:59:17 UTC
I'll take a look. Possibly Win specific, the ruby build job is passing.
Comment 3 smithd1 2009-07-13 08:32:16 UTC
If it's any help, this started to happen with main-golden between 10th July and 11th July. I run a scheduled build on
Windows  @ 05:00 GMT everyday and Thursday's went through fine but Friday's failed.
Comment 4 Erno Mononen 2009-07-13 11:19:56 UTC
*** Issue 168433 has been marked as a duplicate of this issue. ***
Comment 5 Erno Mononen 2009-07-13 11:51:45 UTC
I'm trying debug this on a Win machine, but it is taking some time to set up everything. In the meantime, can someone 
running into this please run the following in the terminal (in the nb sources root folder):

>ant -f o.jruby.distro/build.xml clean
>ant -v -f o.jruby.distro/build.xml > build.log

and attach the build.log file here to this issue. 

I know this is issue is somehow caused by http://hg.netbeans.org/main-silver?cmd=changeset;node=4081bb2a8a5d, but don't 
know yet how exactly. As a workaround for building you may want to exclude the ruby cluster from the build until this 
gets fixed (hopefully soon - if it seems fixing this will take longer I will rollback the changeset).
Comment 6 smithd1 2009-07-14 08:07:01 UTC
Created attachment 84685 [details]
Build Log as requested.
Comment 7 smithd1 2009-07-14 08:08:57 UTC
As requested I have executed the commands and attached the (zipped) log file. There were also some exceptions in the
command prompt window that I haven't seen before so I added that output to the *bottom* of the log file.
Comment 8 Erno Mononen 2009-07-14 10:11:04 UTC
Thanks for the log. Should be finally fixed now in 275c4bc15236. I'm not sure what was the exact cause, but the gem 
installation commands (as invoked from JRuby build.xml) seem to behave differently on Win and Linux.
Comment 9 Quality Engineering 2009-07-15 07:25:54 UTC
Integrated into 'main-golden', will be available in build *200907150249* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/275c4bc15236
User: Erno Mononen <emononen@netbeans.org>
Log: #168434: BUILD FAILED
Comment 10 smithd1 2009-07-15 09:47:52 UTC
main-golden build on Windows went through cleanly for me this morning.
Thanks for the fix.