Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96646 - netbeans-4.0-r1 fails to compile with access violation
Summary: netbeans-4.0-r1 fails to compile with access violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Other
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-06-20 15:44 UTC by Guy
Modified: 2005-07-20 02:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guy 2005-06-20 15:44:52 UTC
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 = "/tmp/sandbox-dev-util_-_netbeans-4.0-r1-12012.log"

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="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="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"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="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"
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)
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-06-21 07:20:00 UTC
I was hoping that this wouldn't come up with 4.0. The deps can't be installed
before last Christmas. It is fixed in 4.1. You need to remerge junit and
everything should work.
Comment 2 Guy 2005-06-23 09:00:04 UTC
(In reply to comment #1)
> I was hoping that this wouldn't come up with 4.0. The deps can't be installed
> before last Christmas. It is fixed in 4.1. You need to remerge junit and
> everything should work.

I'll give this a try later tonight. Thanx for the tip.

Comment 3 Guy 2005-06-23 20:58:46 UTC
Well, I emerged 'junit' and netbeans was able to compile to completion. Thank you!

However ,,,

The orginal problem wasn't that I had emerged junit prior to christmas. The
problem was that I didn'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!
>>> emerge (1 of 1) dev-java/junit-3.8.1-r1 to /
>>> Downloading http://mirror.datapipe.net/gentoo/distfiles/junit3.8.1.zip
--22:55:25--  http://mirror.datapipe.net/gentoo/distfiles/junit3.8.1.zip
           => `/usr/portage/distfiles/junit3.8.1.zip'
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]
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-06-24 01:06:28 UTC
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't happen any more. Now
we just need axxo to commit my stuff. 
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2005-07-20 02:48:14 UTC
4.0-r2 should solve this problem. Thanks for reporting. Please, reopen if you
see this again.