Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325217 - dev-util/netbeans-6.9 fails to compile: No source files and no packages have been specified
Summary: dev-util/netbeans-6.9 fails to compile: No source files and no packages have ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Miroslav Šulc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-23 13:26 UTC by Mark Nowiasz
Modified: 2010-07-08 20:46 UTC (History)
2 users (show)

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


Attachments
Build log (compressed) (build.log.bz2,209.60 KB, application/octet-stream)
2010-06-27 19:22 UTC, Mark Nowiasz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Nowiasz 2010-06-23 13:26:12 UTC
When trying to upgrade/install Netbeans 6.9 NB fails to compile "No source files and no packages have been specified"

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-util/netbeans-6.9
2.
3.

Actual Results:  
javadoc-exec-packages:

BUILD FAILED
/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/build.xml:240: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/build.xml:73: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/templates/projectized.xml:229: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/template.xml:303: No source files and no packages have been specified.

Total time: 15 minutes 10 seconds
 * ERROR: dev-util/netbeans-6.9 failed:
 *   eant failed
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 4999:  Called eant '-Dstop.when.broken.modules=true' '-Dbuild.compiler.debug=false' '-Dbuild.compiler.deprecation=false' '-Dnb.clusters.list=nb.cluster.platform,nb.cluster.apisupport,nb.cluster.cnd,nb.cluster.dlight,nb.cluster.enterprise,nb.cluster.ergonomics,nb.cluster.groovy,nb.cluster.harness,nb.cluster.ide,nb.cluster.identity,nb.cluster.java,nb.cluster.mobility,nb.cluster.nb,nb.cluster.php,nb.cluster.profiler,nb.cluster.ruby,nb.cluster.websvccommon' '-f' 'nbbuild/build.xml' '-Dergonomic.clusters.extra=../../ergonomics_build_fix' 'build-nozip' 'build-javadoc'
 *   environment, line 1231:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 * 
 * If you need support, post the output of 'emerge --info =dev-util/netbeans-6.9',
 * the complete build log and the output of 'emerge -pqv =dev-util/netbeans-6.9'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.20"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac"



spectre ~ # emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Wed, 23 Jun 2010 11:15:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.jamit.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ "
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j5"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi aim alsa amd64 apache2 aspell audiofile bash-completion bcmath bluetooth bonjour branding bzip2 cairo calendar cdda cddb cdparanoia cdr cli clucene consolekit cracklib crypt cscope css ctype cups curl cxx daap dbus derby djvu dri dts dv dvb dvd dvdr dvdread encode enscript exif expat facebook fam ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp glib glut gmp gnuplot gnutls gpg gphoto2 gpm gps graphviz gsl gtk gzip hal hddtemp htmlhandbook iconv icq icu idn imagemagick imap imlib innodb ipod jabber java java6 javascript jbig jingle jpeg jpeg2k kde kontact kpathsea lame lash latex lcms ldap libcaca libnotify libsamplerate libwww lm_sensors lua lzo mad maildir mailwrapper matroska mhash mime mmap mmx mng modplug modules mp2 mp3 mp4 mpeg mpi mplayer msn mudflap multilib musepack musicbrainz mysql mysqli ncurses netcdf nls nntp nptl nptlonly nsplugin nvram offensive ofx ogg openal openexr opengl openmp oscar otr pam pcntl pcre pda pdf perl php plasma png policykit posix postgres ppds pppd python qt3 qt3support qt4 quicktime raw rdesktop readline recode reflection rss samba sasl sdl secure-delete semantic-desktop session sharedext sharedmem shorten skype slang slp smp sndfile snmp soap sockets sox speex spell spl sql sse sse2 ssl startup-notification subversion suid svg sysfs syslog sysvipc szip taglib tcpd theora threads tidy tiff timidity tokenizer truetype unicode usb v4l2 vcd vdr videos vim-syntax vnc vorbis wavpack webdav webkit winpopup wlm wmf x264 xattr xface xft xine xml xmp xorg xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo yaz zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Miroslav Šulc gentoo-dev 2010-06-26 12:34:05 UTC
can you provide little bit longer ebuild output? from this is not even obvious in which module the problem occured.

to bypass the issue, you can try to disable 'doc' use flag for netbeans.
Comment 2 Mark Nowiasz 2010-06-27 12:18:28 UTC
(In reply to comment #1)
> can you provide little bit longer ebuild output? from this is not even obvious
> in which module the problem occured.

Fair enough - I'm uploading the complete build.log.

The last lines where:

-verify-apichanges:

netbeans:
  [genlist] Generating information for Auto Update...
  [nbmerge] /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans
  [nbmerge] builtmodules=[jellytools.ruby, libs.jrubyparser, libs.yydebug, o.jruby, o.kxml2, o.rubyforge.debugcommons, ruby, ruby.codecoverage, ruby.debugger, ruby.extrahints, ruby.help, ruby.hints, ruby.javaint, ruby.kit, ruby.platform, ruby.project, ruby.railsprojects, ruby.rakeproject, ruby.refactoring, ruby.rhtml, ruby.samples.depot, ruby.testrunner, spellchecker.bindings.ruby]
  [nbmerge] builttargets=[-jdk-pre-preinit, -jdk-preinit, -jdk-warn, -jdk-presetdef-basic, -jdk-default, -jdk-init, -load-build-properties, bootstrap, init-tasks, init-module-list, -do-set-buildnumber, set-buildnumber, init, all-jellytools.ruby, all-libs.yydebug, all-libs.jrubyparser, all-o.jruby, all-o.kxml2, all-o.rubyforge.debugcommons, all-ruby.rakeproject, all-ruby.platform, all-ruby, all-ruby.codecoverage, all-ruby.project, all-ruby.debugger, all-ruby.hints, all-ruby.extrahints, all-ruby.help, all-ruby.javaint, all-ruby.kit, all-ruby.rhtml, all-ruby.railsprojects, all-ruby.refactoring, all-ruby.samples.depot, all-ruby.testrunner, all-spellchecker.bindings.ruby]
    [touch] Creating /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans/nb.cluster.ruby.built

build-one-cluster-check:

-external-cluster-check:

-external-cluster-sources-check:

-external-no-sources:

-build-external-cluster:

build-one-cluster:

create-netbeans-import:
    [mkdir] Created dir: /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans/etc
[optionsimport] /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans/etc/netbeans.import: NetBeans import written

finish-build:
    [mkdir] Created dir: /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans/bin
     [copy] Copying 1 file to /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans/bin
     [copy] Copying 1 file to /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans/bin
     [copy] Copying 1 file to /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans/etc
     [copy] Copying 1 file to /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans/etc
     [echo] /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans/platform/lib/nbexec
     [hgid] No dirstate found starting from /var/tmp/portage/dev-util/netbeans-6.9/work
     [copy] Copying 1 file to /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans/nb

build-nozip:

build-javadoc:
     [echo] Deprecated, use nbbuild/javadoctools/build.xml directly

-jdk-pre-preinit:

-jdk-preinit:

-jdk-warn:

-jdk-presetdef-basic:

-jdk-default:

-jdk-init:

-load-build-properties:

init-tasks:

-do-set-buildnumber:

set-buildnumber:

build-javadoc:
    [mkdir] Created dir: /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/build/ModulesExportedInterfaces
    [mkdir] Created dir: /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/build/APIChanges
[subant-junit] Entering: /var/tmp/portage/dev-util/netbeans-6.9/work/o.apache.xml.resolver

init-tasks:

-define-cluster-path:

default.init:
[propertyfile] Updating property file: /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/netbeans/moduleCluster.properties

common-init:

-jdk-pre-preinit:

-jdk-preinit:

-jdk-warn:

-jdk-presetdef-basic:

-jdk-default:

-jdk-init:

basic-init:

jdk-6-check:

-do-set-buildnumber:

set-buildnumber:

build-init:
Warning: module.javadoc.packages cannot be set as <subpackages> does not work for Javadoc (see <subpackages>org.apache.xml.resolver</subpackages> tag in /var/tmp/portage/dev-util/netbeans-6.9/work/o.apache.xml.resolver/nbproject/project.xml). Set the property in project.properties if you want to build Javadoc.

-release.dir:

projectized-common.-release.files:

-release.files:

files-init:

-javac-init-bootclasspath-prepend:

-javac-init-no-bootclasspath-prepend:

-javac-init:

-init-proxy:

init:

-javadoc-init:

javadoc:

javadoc-init:
    [mkdir] Created dir: /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/build/tmp/overview
    [mkdir] Created dir: /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/build/tmp/javadoc-colors
     [arch] Replacing entity -//W3C//DTD XHTML 1.0 Strict//EN at http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd with file:/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/external/xhtml1-dtds/xhtml1-strict.dtd
     [arch] /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/arch-empty.xml: answers were created for questions version "1.23" but current version of questions is "1.29"
     [arch] /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/arch-empty.xml: some questions have not been answered: [arch-where, compat-deprecation, exec-ant-tasks, resources-preferences, security-grant, security-policy]
     [arch] Run with -Darch.generate=true to add missing questions into the end of question file
     [arch] Using /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/export2color.xsl as the XSL stylesheet
     [arch] Transforming /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/arch-empty.xml into /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/build/tmp/javadoc-colors/org-apache-xml-resolver.txt
    [mkdir] Created dir: /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/build/javadoc/org-apache-xml-resolver

javadoc-check-timestamps:

javadoc-generate-references:

javadoc-generate-overview:
     [arch] Replacing entity -//W3C//DTD XHTML 1.0 Strict//EN at http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd with file:/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/external/xhtml1-dtds/xhtml1-strict.dtd
     [arch] /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/arch-empty.xml: answers were created for questions version "1.23" but current version of questions is "1.29"
     [arch] /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/arch-empty.xml: some questions have not been answered: [arch-where, compat-deprecation, exec-ant-tasks, resources-preferences, security-grant, security-policy]
     [arch] Run with -Darch.generate=true to add missing questions into the end of question file
     [arch] Reading apichanges from /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/apichanges-empty.xml
     [arch] Replacing entity -//W3C//DTD XHTML 1.0 Strict//EN at file:/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/external/xhtml1-dtds/xhtml1-strict.dtd with file:/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/external/xhtml1-dtds/xhtml1-strict.dtd
     [arch] Reading project from /var/tmp/portage/dev-util/netbeans-6.9/work/o.apache.xml.resolver/nbproject/project.xml
     [arch] Using /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/exportOverview.xsl as the XSL stylesheet
     [arch] Transforming /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/arch-empty.xml into /var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/build/tmp/overview/org-apache-xml-resolver-overview-generic.html

javadoc-exec-condition:

javadoc-make-plain-title:

javadoc-make-hyperlinked-title:

javadoc-exec-files:

-javadoc-set-footer:

javadoc-exec-packages:

BUILD FAILED
/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/build.xml:240: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/build.xml:73: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/templates/projectized.xml:229: The following error occurred while executing this line:
/var/tmp/portage/dev-util/netbeans-6.9/work/nbbuild/javadoctools/template.xml:303: No source files and no packages have been specified.

Comment 3 Mark Nowiasz 2010-06-27 12:21:35 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > can you provide little bit longer ebuild output? from this is not even obvious
> > in which module the problem occured.
> 
> Fair enough - I'm uploading the complete build.log.

Eh, no, I don't - 4.7 MB is far too much :-)
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2010-06-27 18:18:30 UTC
(In reply to comment #3)

> 
> Eh, no, I don't - 4.7 MB is far too much :-)
> 

Please compress. For example using bzip2.
Comment 5 Mark Nowiasz 2010-06-27 19:22:57 UTC
Created attachment 236741 [details]
Build log (compressed)

Build log - compressed
Comment 6 Mark Nowiasz 2010-06-27 19:23:26 UTC
(In reply to comment #4)

> Please compress. For example using bzip2.

Fair enough -> done :-)

Comment 7 Richard 2010-07-03 22:42:01 UTC
I can reproduce this issue on x86.

# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34 i686)
=================================================================
System uname: Linux-2.6.34-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 03 Jul 2010 15:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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="-O2 -march=prescott --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=prescott --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.netnitco.net http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
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="/var/lib/layman/sunrise /var/lib/layman/vmware /var/lib/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apm berkdb bzip2 cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dvd dvdr fftw fortran gd gdbm gif gnutls gpm hal iconv java java6 jpeg kde lzma midi mmap mmx mng modules mp3 mudflap ncurses networkmanager nls nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python qt3 qt3support qt4 readline reflection samba session spl sqlite sse sse2 sse3 ssl svg sysfs tcpd threads tiff truetype type1 unicode vorbis x264 x86 xml xorg xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" NETBEANS_MODULES="*" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Richard 2010-07-03 22:47:37 UTC
If it is of any relevance, I have an x86_64 machine on which I cannot reproduce this. The main difference between them that I can see is the system profile. The system on which netbeans-6.9 will not build is using default/linux/x86/10.0 while the systemon which netbeans-6.9 will build is using default/linux/amd64/10.0/desktop/kde. It seems that the bug reporter is using default/linux/amd64/10.0 on his system. The lack of desktop specific USE flags might be at fault. I am switching the affected system that I have to use the default/linux/x86/10.0/desktop/kde profile and recompiling.
Comment 9 Richard 2010-07-05 21:29:32 UTC
(In reply to comment #1)
> can you provide little bit longer ebuild output? from this is not even obvious
> in which module the problem occured.
> 
> to bypass the issue, you can try to disable 'doc' use flag for netbeans.
> 

Okay, here is some data from my two systems:

profile: default/linux/amd64/10.0/desktop/kde
NETBEANS_MODULES="apisupport harness ide java nb websvccommon -cnd -dlight -enterprise -ergonomics -groovy -identity -mobility -php -profiler -ruby"
USE="-debug doc"
Build works

profile: default/linux/x86/10.0
NETBEANS_MODULES="*"
USE="-debug doc"
Build failure

profile: default/linux/x86/10.0/desktop/kde
NETBEANS_MODULES="*"
USE="-debug doc"
Build failure

profile: default/linux/x86/10.0/desktop/kde
NETBEANS_MODULES="*"
USE="-debug -doc"
Build works

profile: default/linux/x86/10.0/desktop/kde
NETBEANS_MODULES="apisupport cnd harness ide java nb php profiler websvccommon -dlight -enterprise -ergonomics -groovy -identity -mobility -ruby"
USE="-debug doc"
Build failure - doc requires all modules be compiled with it.

It seems that I had special settings in /etc/portage/package.use that were affecting the default choices for netbeans. If it had not been for them, I would never have had a problem. They are:

dev-util/netbeans doc netbeans_modules_cnd netbeans_modules_php netbeans_modules_profiler

I have been meaning to clean up my use flags, although having failed to do that before netbeans 6.9 entered portage appears to have exposed a regression in netbeans 6.9 with the doc USE flag. Anyone that needs the doc use flag will likely run into the same issue.
Comment 10 Miroslav Šulc gentoo-dev 2010-07-05 21:51:29 UTC
i will try to have a look at it when i find some time, atm overloaded with my own work, so will take some time.
Comment 11 Miroslav Šulc gentoo-dev 2010-07-08 16:59:09 UTC
i filed ticket about this at upstream: http://netbeans.org/bugzilla/show_bug.cgi?id=188501
Comment 12 Miroslav Šulc gentoo-dev 2010-07-08 20:46:27 UTC
should be fixed in netbeans-6.9-r1