Date: Sat, 12 Dec 2015 20:01:17 +0100 From: Matthias Apitz <guru@unixarea.de> To: freebsd-ports@freebsd.org, freebsd-java@freebsd.org Cc: ljboiler@gmail.com Subject: java/eclipse (eclipse-4.5.1) does not build on 11-CURRENT amd64 Message-ID: <20151212190117.GA2023@c720-r285885-amd64>
next in thread | raw e-mail | index | archive | help
Hello, The port java/eclipse (from head in ports) does not build on amd64; it fails with the message of the VM: ===> Building for eclipse-4.5.1 Error occurred during initialization of VM Could not allocate metaspace: 1073741824 bytes The full log is attached (I deleted only the depency messages). Any idea how to build it within poudriere? What triggers the above message. The machine in question has 4 GByte RAM and some 8 GByte swap space. See esp. the line about JAVA_OPTS JAVA_OPTS=-J-XX:+UseCompressedClassPointers -Xms512m -Xmx1024m Thanks matthias ====>> Building java/eclipse build started at Sat Dec 12 15:24:11 CET 2015 port directory: /usr/ports/java/eclipse building for: FreeBSD freebsd-head-ports-20151208-job-01 11.0-CURRENT FreeBSD 11.0-CURRENT r276659 amd64 maintained by: ljboiler@gmail.com Makefile ident: $FreeBSD: head/java/eclipse/Makefile 402850 2015-12-02 19:57:29Z pi $ Poudriere version: 3.1.1 Host OSVERSION: 1100052 Jail OSVERSION: 1100052 ---Begin Environment--- OSVERSION=1100052 UNAME_v=FreeBSD 11.0-CURRENT r276659 UNAME_r=11.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM=xterm MASTERMNT=/usr/local/poudriere/data/.m/freebsd-head-ports-20151208/ref FORCE_PACKAGE=yes PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNAME=eclipse-4.5.1 JAVA_OPTS=-J-XX:+UseCompressedClassPointers -Xms512m -Xmx1024m OLDPWD=/ PWD=/usr/local/poudriere/data/.m/freebsd-head-ports-20151208/ref/.p/pool MASTERNAME=freebsd-head-ports-20151208 USER=root HOME=/root POUDRIERE_VERSION=3.1.1 LOCALBASE=/usr/local PACKAGE_BUILDING=yes MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for eclipse-4.5.1: SWT_GTK3_SUPPORT=off: Enable GTK3 support in SWT (GUI) ====> Options available for the single INSTALLPKG: you have to select exactly one of them FULL_SDK=on: Full SDK (JDT, PDE, source, API docs) PLATFORM_SDK=off: Platform with source, API Docs (no Java tools) PLATFORM=off: Platform only (no Java tools, no source or docs) ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/java/eclipse/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/java/eclipse/work HOME=/wrkdirs/usr/ports/java/eclipse/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh ESD_CONFIG="/usr/local/bin/esd-config" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/java/eclipse/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/java/eclipse/work HOME=/wrkdirs/usr/ports/java/eclipse/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES ESD_CONFIG="/usr/local/bin/esd-config" PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="clang" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="clang-cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="clang++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- JAVASHAREDIR="share/java" JAVAJARDIR="share/java/classes" OSREL=11.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" DOCSDIR="share/doc/eclipse" EXAMPLESDIR="share/examples/eclipse" DATADIR="share/eclipse" WWWDIR="www/eclipse" ETCDIR="etc/eclipse" --End PLIST_SUB-- --SUB_LIST-- JAVASHAREDIR="/usr/local/share/java" JAVAJARDIR="/usr/local/share/java/classes" JAVALIBDIR="/usr/local/share/java/classes" JAVA_VERSION="1.8" JAVA_VENDOR="openjdk" JAVA_OS="native" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/eclipse DOCSDIR=/usr/local/share/doc/eclipse EXAMPLESDIR=/usr/local/share/examples/eclipse WWWDIR=/usr/local/www/eclipse ETCDIR=/usr/local/etc/eclipse --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/freebsd-head-make.conf #### WITH_PKGNG=yes # Only required for versions before 10.0 CC=clang # Highly recommended over GCC, CXX=clang++ # but only needed for 8.X and 9.X CPP=clang-cpp # since it's the default in 10.0 MASTER_SITE_BACKUP?= \ http://ftp2.us.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR/} # # from aurora: # # WITHOUT_PKGNG=yes # WITH_NEW_XORG=yes WITHOUT_HAL=yes # CFLAGS="" # # NO_IGNORE=yes # From: Chris Rees <crees@bayofrum.net> # CC: freebsd-ports@freebsd.org # Date: Sat, 23 Aug 2014 14:19:24 +0100 # better is: DISABLE_LICENSES=yes # # # added 20130612 guru # CPUTYPE?=pentium3 SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # # not used until now: # FETCH_BEFORE_ARGS=-p4 -T 10 # OPTIONS_UNSET= DEBUG HELP STATIC GNUTLS DOCS EXAMPLES IPV6 \ # MANPAGES PTH IDN LIBIDN NLS DBUS SOUND ALSA PULSEAUDIO \ # DOCBOOK CUPS TESTS HTMLDOCS BONJOUR GSSAPI APIDOCS # ### MAVEN_OPTS='-Xmx1024m -XX:MaxPermSize=512m' ### JAVA_OPTS='-Xms512m -Xmx1024m' # # muttprint # print_muttprint_SET=CUPS # how to set PAPERSIZE=a4 ??? DISABLE_MAKE_JOBS=poudriere ---End make.conf--- =======================<phase: check-sanity >============================ =========================================================================== =======================<phase: pkg-depends >============================ ===> eclipse-4.5.1 depends on file: /usr/local/sbin/pkg - not found .... =======================<phase: configure >============================ ===> Configuring for eclipse-4.5.1 =========================================================================== =======================<phase: build >============================ ===> Building for eclipse-4.5.1 Error occurred during initialization of VM Could not allocate metaspace: 1073741824 bytes *** Error code 1 Stop. make: stopped in /usr/ports/java/eclipse ====>> Cleaning up wrkdir ===> Cleaning for eclipse-4.5.1 build of java/eclipse ended at Sat Dec 12 15:27:18 CET 2015 build time: 00:03:07 !!! build failure encountered !!! -- Matthias Apitz, ✉ guru@unixarea.de, 🌐 http://www.unixarea.de/ ☎ +49-176-38902045
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151212190117.GA2023>