<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>96646</bug_id>
          
          <creation_ts>2005-06-20 15:44 0000</creation_ts>
          <short_desc>netbeans-4.0-r1 fails to compile with access violation</short_desc>
          <delta_ts>2005-07-20 02:48:14 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>2004.3</version>
          <rep_platform>All</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InSVN</keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>notellin@speakeasy.net</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>notellin@speakeasy.net</who>
            <bug_when>2005-06-20 15:44:52 0000</bug_when>
            <thetext>netbeans 4.0 r1 fails to compile. This is not the same problem at bug # 93617.

.oOo.

[unscramble] This Agreement is governed by the laws of the State of New York and the
[unscramble] intellectual property laws of the United States of America. No party to this
[unscramble] Agreement will bring a legal action under this Agreement more than one year
[unscramble] after the cause of action arose. Each party waives its rights to a jury trial in
[unscramble] any resulting litigation.
[unscramble] --------------------------------------
   [repeat] Have you read and do you accept and agree to the preceding license terms?(yes,no)
[unscramble] Accepted license: /var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/junit/external/ibm-public-license.txt
[unscramble] Unscrambling /var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/junit/external/junit-3.8.1.jar.scrambled into /var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/junit/external/junit-3.8.1.jar
ACCESS DENIED   open_wr:   /var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/junit/external/junit-3.8.1.jar

BUILD FAILED
/var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/nbbuild/build.xml:2563: The following error occurred while executing this line:
/var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/nbbuild/build.xml:2558: The following error occurred while executing this line:
/var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/nbbuild/build.xml:875: The following error occurred while executing this line:
/var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/junit/build.xml:31: The following error occurred while executing this line:
/var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/junit/external/build.xml:18: Could not unscramble /var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/junit/external/junit-3.8.1.jar.scrambled into /var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/junit/external/junit-3.8.1.jar

Total time: 3 minutes 26 seconds

!!! ERROR: dev-util/netbeans-4.0-r1 failed.
!!! Function src_compile, Line 219, Exitcode 1
!!! Compiling failed!
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = &quot;/tmp/sandbox-dev-util_-_netbeans-4.0-r1-12012.log&quot;

open_wr:   /var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/junit/external/junit-3.8.1.jar (symlink to /usr/share/junit/lib/junit.jar)
--------------------------------------------------------------------------------

.oOo.

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11 i686)
=================================================================
System uname: 2.6.11 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CXXFLAGS=&quot;-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://206.75.217.181/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.ccccom.com&quot;
MAKEOPTS=&quot;-j4&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 3dnow X Xaw3d aalib accessibility alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo cdr crypt cups curl dga directfb divx4linux doc dvd dvdr eds emboss encode esd ethereal fam fbcon flac font-server foomaticdb fortran freetds gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagic imagemagick imlib innodb ipv6 jabber java jikes jpeg junit kde lcms ldap lesstiff libg++ libwww mad maildir mikmod mmx motif mozilla mp3 mpeg mysql nas ncurses nls odbc offensive ogg oggvorbis opengl oss pam pda pdflib perl png postgres ppds python qt quicktime readline ruby samba scanner sdl slang speex spell ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis winf wxwindows xeo xine xinerama xml xml2 xmms xv yahoo zlib userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

.oOo.

open_wr:   /var/tmp/portage/netbeans-4.0-r1/work/netbeans-src/junit/external/junit-3.8.1.jar (symlink to /usr/s
hare/junit/lib/junit.jar)
sandbox-dev-util_-_netbeans-4.0-r1-12012.log (END)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2005-06-21 07:20:00 0000</bug_when>
            <thetext>I was hoping that this wouldn&apos;t come up with 4.0. The deps can&apos;t be installed
before last Christmas. It is fixed in 4.1. You need to remerge junit and
everything should work.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>notellin@speakeasy.net</who>
            <bug_when>2005-06-23 09:00:04 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; I was hoping that this wouldn&apos;t come up with 4.0. The deps can&apos;t be installed
&gt; before last Christmas. It is fixed in 4.1. You need to remerge junit and
&gt; everything should work.

I&apos;ll give this a try later tonight. Thanx for the tip.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>notellin@speakeasy.net</who>
            <bug_when>2005-06-23 20:58:46 0000</bug_when>
            <thetext>Well, I emerged &apos;junit&apos; and netbeans was able to compile to completion. Thank you!

However ,,,

The orginal problem wasn&apos;t that I had emerged junit prior to christmas. The
problem was that I didn&apos;t have junit at all. For whatever reason, perhaps junit
needs to be listed as a dependency for netbeans. See below:

.oOo.

# emerge junit
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) dev-java/junit-3.8.1-r1 to /
&gt;&gt;&gt; Downloading http://mirror.datapipe.net/gentoo/distfiles/junit3.8.1.zip
--22:55:25--  http://mirror.datapipe.net/gentoo/distfiles/junit3.8.1.zip
           =&gt; `/usr/portage/distfiles/junit3.8.1.zip&apos;
Resolving mirror.datapipe.net... 64.27.65.115
Connecting to mirror.datapipe.net[64.27.65.115]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 441,665 [application/zip]
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2005-06-24 01:06:28 0000</bug_when>
            <thetext>It is there. I just did emerge -C junit and after that emerge -pv netbeans wants
to install junit. Also:

betelgeuse@pena /usr/portage/dev-util/netbeans $ grep junit *
netbeans-4.0-r1.ebuild:           =dev-java/junit-3.8*

But I have back ported my changes to 4.0 so this shouldn&apos;t happen any more. Now
we just need axxo to commit my stuff. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2005-07-20 02:48:14 0000</bug_when>
            <thetext>4.0-r2 should solve this problem. Thanks for reporting. Please, reopen if you
see this again.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>