Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99545 - Problem building netbeans-4.0-r1 with sun-j2ee-deployment-bin-1.1
Summary: Problem building netbeans-4.0-r1 with sun-j2ee-deployment-bin-1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 09:32 UTC by Ivan Yosifov
Modified: 2005-07-20 02:49 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 Ivan Yosifov 2005-07-19 09:32:43 UTC
First of all, I have modified some java ebuilds to get netbeans to compile with
the jmx-bin ebuild I am working on, so if you think this is a problem I have
introduced, feel free to close the bug.

When I do 'emerge netbeans' I get:
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-util/netbeans-4.0-r1 to /
>>> md5 files   ;-) netbeans-3.4.1.ebuild
>>> md5 files   ;-) netbeans-4.0-r1.ebuild
>>> md5 files   ;-) netbeans-3.5.1.ebuild
>>> md5 files   ;-) netbeans-3.6-r1.ebuild
>>> md5 files   ;-) files/antbuild.xml.patch
>>> md5 files   ;-) files/netbeans-KDE.desktop
>>> md5 files   ;-) files/startscript.sh
>>> md5 files   ;-) files/netbeans.png
>>> md5 files   ;-) files/digest-netbeans-3.6-r1
>>> md5 files   ;-) files/digest-netbeans-4.0-r1
>>> md5 files   ;-) files/nbbuild.patch
>>> md5 files   ;-) files/netbeans
>>> md5 files   ;-) files/netbeans.desktop
>>> md5 files   ;-) files/digest-netbeans-3.4.1
>>> md5 files   ;-) files/digest-netbeans-3.5.1
>>> md5 src_uri ;-) netbeans-4_0-src-ide_sources.tar.bz2
>>> md5 src_uri ;-) netbeans-4_0-docs-javadoc.tar.bz2
>>> Unpacking source...
>>> Unpacking netbeans-4_0-src-ide_sources.tar.bz2 to
/var/tmp/portage/netbeans-4.0-r1/work
>>> Unpacking netbeans-4_0-docs-javadoc.tar.bz2 to
/var/tmp/portage/netbeans-4.0-r1/work/javadoc
 * Applying antbuild.xml.patch ...                                             
    [ ok ]Could not find package sun-j2ee-deployment-bin
>>> Source unpacked.

The netbeans-4.0-r1 ebuild contains:

<snip>
JSR="sun-j2ee-deployment-bin sun-j2ee-deployment-bin.jar jsr88javax.jar"
<snip>
src_unpack () {
<snip>
java-pkg_jar-from ${JSR}
<snip>
}

and the java-pkg_jar-from is causing the warning message.
I have sun-j2ee-deployment-bin installed in
/usr/share/sun-j2ee-deployment-bin-1.1 , and the netbeans ebuild expects it to
be in /usr/share/sun-j2ee-deployment-bin ( no -1.1 at the end ).

In the sun-j2ee-deployment-bin-1.1 ebuild there is:

<snip>
SLOT="1.1"
<snip>

This slot is IMO un-needed as the 1.1 ebuild is the only one currently in
portage and the presence of this slot is causing it to be installed in
/usr/share/doc/sun-j2ee-deployment-bin-1.1
and not
/usr/share/doc/sun-j2ee-deployment-bin

Changing the slot line to SLOT="0" fixes the warning. Changing the netbeans
ebuild to
JSR="sun-j2ee-deployment-bin-1.1 sun-j2ee-deployment-bin.jar jsr88javax.jar"
should have the same effect.


Reproducible: Always
Steps to Reproduce:
1.emerge netbeans



Actual Results:  
Get "Could not find package sun-j2ee-deployment-bin" message

Expected Results:  
No package-not-found messages.

Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer
-momit-leaf-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer
-momit-leaf-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j2"
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 X a52 aac acl acpi alsa apache2 avi bash-completion berkdb bitmap-fonts
bonobo cdr crypt cups curl directfb doc dvd dvdr eds emboss encode flac
foomaticdb gd gdbm gif gnome gpm gstreamer gtk gtk2 guile hal howl imagemagick
imlib ipv6 ithreads java jpeg junit kde kdeenablefinal ldap libg++ libwww mad
mikmod mmap mmx motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia ogg
oggvorbis opengl pam pdflib perl pic plotutils png postgres pthreads python qt
quicktime readline sdl session sharedmem spell sse sse2 ssl svga symlink tcltk
tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb
vorbis win32codecs xine xml xml2 xmms xv zlib linguas_en userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-07-19 10:32:27 UTC
Yeah it seems that sun-j2ee-deployment-bin was slotted at some point and I
wasn't notified. It is fixed in experimental:
https://gentooexperimental.org/svn/java/gentoo-java-experimental/dev-util/netbeans

axxo should be moving changes from experimental to the official tree soon
Comment 2 Ivan Yosifov 2005-07-19 11:01:49 UTC
Ok, great !
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-07-20 02:49:42 UTC
4.0-r2 is now in the official tree. Please reopen if the problem still exists.
Thanks for reporting.