I emerged wildfire 3.1.0 just fine, but 3.1.1 fails with kvasir ~ # ACCEPT_KEYWORDS="~x86" emerge wildfire -va These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-im/wildfire-3.1.1 [3.1.0] USE="-doc" 0 kB Total size of downloads: 0 kB Would you like to merge these packages? [Yes/No] y >>> Emerging (1 of 1) net-im/wildfire-3.1.1 to / * wildfire_src_3_1_1.tar.gz MD5 ;-) ... [ ok ] * wildfire_src_3_1_1.tar.gz RMD160 ;-) ... [ ok ] * wildfire_src_3_1_1.tar.gz SHA1 ;-) ... [ ok ] * wildfire_src_3_1_1.tar.gz SHA256 ;-) ... [ ok ] * wildfire_src_3_1_1.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking wildfire_src_3_1_1.tar.gz ;-) ... [ ok ] * This is an upgrade * Using: sun-jdk-1.5 >>> Unpacking source... >>> Unpacking wildfire_src_3_1_1.tar.gz to /var/tmp/portage/wildfire-3.1.1/work >>> Source unpacked. Rewriting ./build/build.xml >>> Compiling source in /var/tmp/portage/wildfire-3.1.1/work/wildfire_src ... Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed Buildfile: build/build.xml init: [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work [unjar] Expanding: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/build/lib/merge/whack.jar into /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/whack compile: [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/classes [javac] Compiling 435 source files to /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. jspc: [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc/java [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc/classes [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/webapp -jspc-impl: [java] Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed [java] Java Result: 137 BUILD FAILED /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/build/build.xml:408: The following error occurred while executing this line: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/build/build.xml:434: Unable to load file: java.io.FileNotFoundException: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc/web.partial.xml (No such file or directory) Total time: 10 seconds !!! ERROR: net-im/wildfire-3.1.1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile wildfire-3.1.1.ebuild, line 55: Called eant '-f' 'build/build.xml' 'wildfire' 'plugins' 'plugins-dev' java-utils-2.eclass, line 1345: Called die !!! eant failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac" and of course, the output of emerge --info kvasir ~ # emerge --info Portage 2.1.1-r2 (hardened/x86/2.6, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-hardened-r15 i686) ================================================================= System uname: 2.6.11-hardened-r15 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.6 Last Sync: Wed, 22 Nov 2006 15:00:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/gcc-config: 1.3.8-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fstack-protector-all" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/wildfire/resources/security/ /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe -fstack-protector-all" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage//packages/x86/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apache2 berkdb bzip2 cli crypt curl dba elibc_glibc fastcgi gd gdbm gencertdaily geoip gif gnutls gpgme hardened imagemagick imap innodb input_devices_keyboard input_devices_mouse jpeg kernel_linux ldap maildir mailwrapper memlimit mmx mod_muc mpm-peruser mysql ncurses no-suexec noauthcram nptl pam pcre perl php pic pie png posix postgres python qmail qmail-spp readline session sftplogging simplexml smtp snmp soap spamassassin spell sse sse2 ssl tcpd tools truetype unzip userland_GNU vhost vhosts vpopmail xinetd xml xml2 xmlreader xmlrpc xmlwriter xsl zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
If you google for the error: http://www.google.pt/search?q=Java+HotSpot(TM)+Client+VM+warning%3A+Can't+detect+initial+thread%0Astack+location+-+find_vma+failed&ie=utf-8&oe=utf-8&rls=org.mozilla:pt-PT:official&client=firefox-a You will find many messages and they are of two kinds: 1- Lack of permissions to access the /proc filesystem 2- Net/FreeBSD user running linux emulation witought having /proc from linux You are running the hardened profile so I guess the problem is there. But you say that 3.1.0 worked, so lets try one thing. Open the ebuild and find the line: eant -f build/build.xml wildfire plugins plugins-dev $(use_doc) from here remove plugins-dev so that the line looks like: eant -f build/build.xml wildfire plugins $(use_doc) then run: ebuild wildfire-3.1.1.ebuild digest and try to re-emerge. If that fixes please report back.
That unfortunately did not fix it: >>> Emerging (1 of 1) net-im/wildfire-3.1.1 to / * wildfire_src_3_1_1.tar.gz MD5 ;-) ... [ ok ] * wildfire_src_3_1_1.tar.gz RMD160 ;-) ... [ ok ] * wildfire_src_3_1_1.tar.gz SHA1 ;-) ... [ ok ] * wildfire_src_3_1_1.tar.gz SHA256 ;-) ... [ ok ] * wildfire_src_3_1_1.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking wildfire_src_3_1_1.tar.gz ;-) ... [ ok ] * This is an upgrade * Using: sun-jdk-1.5 >>> Unpacking source... >>> Unpacking wildfire_src_3_1_1.tar.gz to /var/tmp/portage/wildfire-3.1.1/work >>> Source unpacked. Rewriting ./build/build.xml >>> Compiling source in /var/tmp/portage/wildfire-3.1.1/work/wildfire_src ... Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed Buildfile: build/build.xml init: [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work [unjar] Expanding: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/build/lib/merge/whack.jar into /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/whack compile: [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/classes [javac] Compiling 435 source files to /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. jspc: [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc/java [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc/classes [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/webapp -jspc-impl: [java] Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location - find_vma failed [java] Java Result: 137 BUILD FAILED /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/build/build.xml:408: The following error occurred while executing this line: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/build/build.xml:434: Unable to load file: java.io.FileNotFoundException: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc/web.partial.xml (No such file or directory) Total time: 13 seconds !!! ERROR: net-im/wildfire-3.1.1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile wildfire-3.1.1.ebuild, line 55: Called eant '-f' 'build/build.xml' 'wildfire' 'plugins' java-utils-2.eclass, line 1345: Called die !!! eant failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac" and of course, the output of emerge --info I'm not running BSD and I do have /proc so does that mean that portage/java are unable to access the information in /proc they need?
To the hardened & java herds: This error seems to me a bit out of my league. Please advice on the correct way to fix this.
Try a more recent kernel. GRsecurity used to forbid reading of all /proc/<pid>/maps and related data, to avoid an information leak that would make randomisation of process maps useless for making it harder to exploit buffer overruns. Recent GRsecurity patches permit a process to read its own data (since that information is available anyway), just forbids reading the data about other other processes. Went into 2.6.16 some time - 2.6.17-r1 is latest stable and that definitely has it.
He... That was an adventure (http://www.mindstab.net/wordpress/archives/169) And unfortunately didn't work. Still the same problem >>> Source unpacked. Rewriting ./build/build.xml >>> Compiling source in /var/tmp/portage/wildfire-3.1.1/work/wildfire_src ... Buildfile: build/build.xml init: [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work [unjar] Expanding: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/build/lib/merge/whack.jar into /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/whack compile: [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/classes [javac] Compiling 435 source files to /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. jspc: [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc/java [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc/classes [mkdir] Created dir: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/webapp -jspc-impl: [java] Java Result: 137 BUILD FAILED /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/build/build.xml:408: The following error occurred while executing this line: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/build/build.xml:434: Unable to load file: java.io.FileNotFoundException: /var/tmp/portage/wildfire-3.1.1/work/wildfire_src/work/jspc/web.partial.xml (No such file or directory) Total time: 13 seconds !!! ERROR: net-im/wildfire-3.1.1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile wildfire-3.1.1.ebuild, line 55: Called eant '-f' 'build/build.xml' 'wildfire' 'plugins' java-utils-2.eclass, line 1345: Called die !!! eant failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac" and of course, the output of emerge --info
Just wanted to chime in that while I never saw the "Client VM Warning", I initially did get the same "file not found" error. My output looked just like that in comment #5. I quickly remembered the sun-jdk had just been updated, as well. I did "/etc/init.d/chpax restart" and the problem disappeared.
Assuming fixed as no info has been given in half an year.