Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382813 - dev-java/netbeans-platform-7.0.1 failed on compile with jdk7
Summary: dev-java/netbeans-platform-7.0.1 failed on compile with jdk7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: jdk7-tracker
  Show dependency tree
 
Reported: 2011-09-13 11:10 UTC by tman
Modified: 2011-09-16 19:59 UTC (History)
1 user (show)

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 tman 2011-09-13 11:10:36 UTC
<<<          dir /usr/share/doc/jgoodies-looks-2.3.1/html
    [javac]                                                 ^
    [javac]   missing type arguments for generic class Set<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Set
    [javac] /var/tmp/portage/dev-java/netbeans-platform-7.0.1/work/nbbuild/antsrc/org/netbeans/nbbuild/SortSuiteModules.java:562: warning: [rawtypes] found raw type: Collection
    [javac]             Collection c = (Collection) edges.get(vertex);
    [javac]             ^
    [javac]   missing type arguments for generic class Collection<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Collection
    [javac] /var/tmp/portage/dev-java/netbeans-platform-7.0.1/work/nbbuild/antsrc/org/netbeans/nbbuild/SortSuiteModules.java:565: warning: [rawtypes] found raw type: Iterator
    [javac]                 Iterator it = c.iterator();
    [javac]                 ^
    [javac]   missing type arguments for generic class Iterator<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Iterator
    [javac] /var/tmp/portage/dev-java/netbeans-platform-7.0.1/work/nbbuild/antsrc/org/netbeans/nbbuild/SortSuiteModules.java:595: warning: [rawtypes] found raw type: Iterator
    [javac]             Iterator it = vertex.edges();
    [javac]             ^
    [javac]   missing type arguments for generic class Iterator<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Iterator
    [javac] /var/tmp/portage/dev-java/netbeans-platform-7.0.1/work/nbbuild/antsrc/org/netbeans/nbbuild/SortSuiteModules.java:635: warning: [rawtypes] found raw type: Iterator
    [javac]             public Iterator edges() {
    [javac]                    ^
    [javac]   missing type arguments for generic class Iterator<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Iterator
    [javac] /var/tmp/portage/dev-java/netbeans-platform-7.0.1/work/nbbuild/antsrc/org/netbeans/nbbuild/testdist/TestDistFilter.java:126: warning: [rawtypes] found raw type: Iterator
    [javac]         for (Iterator it = possibleTests.iterator() ; it.hasNext() ; ) {
    [javac]              ^
    [javac]   missing type arguments for generic class Iterator<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Iterator
    [javac] /var/tmp/portage/dev-java/netbeans-platform-7.0.1/work/nbbuild/antsrc/org/netbeans/nbbuild/testdist/TestDistFilter.java:224: warning: [rawtypes] found raw type: Set
    [javac]                       Set reqModules = getRequiredModulesSet();
    [javac]                       ^
    [javac]   missing type arguments for generic class Set<E>
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in interface Set
    [javac] 76 warnings
     [hgid] No dirstate found starting from /var/tmp/portage/dev-java/netbeans-platform-7.0.1/work/nbbuild
     [echo] Building nb.cluster.platform modules
     [echo] api.annotations.common,api.progress,api.visual,applemenu,autoupdate.services,autoupdate.ui,core.execution,core.io.ui,core.kit,core.multiview,core.nativeaccess,core.netigso,core.osgi,core.output2,core.startup,core.ui,core.windows,editor.mimelookup,editor.mimelookup.impl,favorites,javahelp,keyring,keyring.impl,libs.felix,libs.jna,libs.jsr223,libs.osgi,masterfs,o.jdesktop.layout,o.n.bootstrap,o.n.core,o.n.swing.outline,o.n.swing.plaf,o.n.swing.tabcontrol,openide.actions,openide.awt,openide.compat,openide.dialogs,openide.execution,openide.explorer,openide.filesystems,openide.io,openide.loaders,openide.modules,openide.nodes,openide.options,openide.text,openide.util,openide.util.enumerations,openide.util.lookup,openide.windows,options.api,options.keymap,print,progress.ui,queries,sendopts,settings,spi.actions,spi.quicksearch
     [echo] Dependencies:
     [echo] Bootstrapping NetBeans-specific Ant extensions...
     [echo] Building api.annotations.common...
Trying to override old definition of task downloadbinaries
  [nbmerge] Failed to build target: all-api.annotations.common

BUILD FAILED
/var/tmp/portage/dev-java/netbeans-platform-7.0.1/work/nbbuild/build.xml:1135: The following error occurred while executing this line:
/var/tmp/portage/dev-java/netbeans-platform-7.0.1/work/nbbuild/build.xml:430: The following error occurred while executing this line:
/var/tmp/portage/dev-java/netbeans-platform-7.0.1/work/nbbuild/templates/projectized.xml:78: You are attempting to build NetBeans using JDK 7 (or higher).
This is forbidden as it may lead to accidental usage of JDK 7+ APIs.


Reproducible: Always




Portage 2.2.0_alpha55_p39 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 13 Sep 2011 08:00:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1::poly-c
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo amielke-overlay gnome lorelei-overlay lxde mgorny nikai qting-edge roslin scarabeus science bleeding-edge wirelay kde poly-c webapp-experimental mpd luman emacs java-overlay Techwolf lokal
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/boot/grub/40_custom /etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/fstab /etc/grub.d/05_theme /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /usr/share/xsessions/openbox.desktop /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/amielke-overlay /usr/portage/local/layman/gnome /usr/portage/local/layman/lorelei /usr/portage/local/layman/lxde /usr/portage/local/layman/mgorny /usr/portage/local/layman/nikai /usr/portage/local/layman/qting-edge /usr/portage/local/layman/roslin /usr/portage/local/layman/scarabeus /usr/portage/local/layman/science /usr/portage/local/layman/bleeding-edge /usr/portage/local/layman/wirelay /usr/portage/local/layman/kde /usr/portage/local/layman/poly-c /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/mpd /usr/portage/local/layman/luman /usr/portage/local/layman/emacs /usr/portage/local/layman/java-overlay /usr/portage/local/layman/techwolf /usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
Comment 1 Miroslav Šulc gentoo-dev 2011-09-16 19:59:37 UTC
fixed. thanks for reporting.