From owner-freebsd-java@FreeBSD.ORG Sun Jan 18 13:55:19 2015 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E581C636 for ; Sun, 18 Jan 2015 13:55:19 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A3EEFE4 for ; Sun, 18 Jan 2015 13:55:19 +0000 (UTC) Received: from MacBook-Pro.local ([217.255.52.54]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Me8RK-1YORA21utq-00Pt2r for ; Sun, 18 Jan 2015 14:55:16 +0100 Message-ID: <54BBBB44.6050804@GMX.net> Date: Sun, 18 Jan 2015 14:55:16 +0100 From: =?UTF-8?B?TGVhbmRlciBTY2jDpGZlcg==?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: java@FreeBSD.org Subject: java/openjdk8 on FreeBSD 10.1-RELEASE (amd64) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:S+YTStcjCddJ2BMpdWnliLVd5haRxEgZN63Vq4XeAcP9uNuY7GF 6wzYenWsXSqnNeQ0hSTXIB6Plns97P4vjKy30aD1p6i26nI6N9GFnqG2+8lXNOj0GW4PEPO dE+PV6LWHhrmSun3UMtP2/f+pWac9m5kCGZFHot6SLSJ1tUo6xgT0iSBR9H8P9NHNLqXQW2 uz6VCOHaTfzOWOyENbWmQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2015 13:55:20 -0000 Hi I thought I should let you know, that the port is broken. It doesn't want to complie Best regards Leander [...] gmake[3]: *** [/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/docs/jre/api/management/extension/index.html] Killed Javadoc.gmk:808: recipe for target '/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/docs/jre/api/security/smartcardio/spec/index.html' failed gmake[3]: *** [/usr/ports/java/openjdk8/work/openjdk/build/bsd-x86_64-normal-server-release/docs/jre/api/security/smartcardio/spec/index.html] Killed gmake[3]: Leaving directory '/usr/ports/java/openjdk8/work/openjdk/make' /usr/ports/java/openjdk8/work/openjdk//make/Main.gmk:168: recipe for target 'docs-only' failed gmake[2]: *** [docs-only] Error 2 gmake[2]: Leaving directory '/usr/ports/java/openjdk8/work/openjdk' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/java/openjdk8 *** Error code 1 Stop. make: stopped in /usr/ports/java/openjdk8 ===>>> make build failed for java/openjdk8 ===>>> Aborting update ===>>> Update for openjdk8-8.25.17_3 failed ===>>> Aborting update From owner-freebsd-java@FreeBSD.ORG Mon Jan 19 20:31:40 2015 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DFDE4EBC for ; Mon, 19 Jan 2015 20:31:40 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C7B515EE for ; Mon, 19 Jan 2015 20:31:40 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0JKVeFG044785 for ; Mon, 19 Jan 2015 20:31:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 193009] java/openjdk8 does not build with OPTIONS_FILE_SET+=DEBUG Date: Mon, 19 Jan 2015 20:31:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mailto.kamils@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2015 20:31:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193009 --- Comment #5 from Kamil Szczesny --- patch makes to port build with option DEBUG. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-java@FreeBSD.ORG Wed Jan 21 20:27:11 2015 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 14BEC6C6 for ; Wed, 21 Jan 2015 20:27:11 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F09E99D1 for ; Wed, 21 Jan 2015 20:27:10 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0LKRA7Y023474 for ; Wed, 21 Jan 2015 20:27:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-java@FreeBSD.org Subject: [Bug 160553] Jaikoz java based audio tagger core dumps Date: Wed, 21 Jan 2015 20:27:10 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: java X-Bugzilla-Version: 8.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ronald-lists@klop.ws X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-java@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2015 20:27:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=160553 Ronald Klop changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ronald-lists@klop.ws --- Comment #2 from Ronald Klop --- I just read the attachment of this ticket. It looks to me like the issue is about jdk1.6.0_3 which was deleted from ports in 2012. (http://www.freshports.org/java/jdk16) So a better status might be: Closed: - Overcome By Events - Not Enough Information - Feedback Timeout -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. From owner-freebsd-java@FreeBSD.ORG Wed Jan 21 20:39:25 2015 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 530B6B9C for ; Wed, 21 Jan 2015 20:39:25 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3AD9EB17 for ; Wed, 21 Jan 2015 20:39:25 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0LKdPHM062889 for ; Wed, 21 Jan 2015 20:39:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-java@FreeBSD.org Subject: [Bug 147512] Crash of RXTX-2.1-7 on AMD64 system Date: Wed, 21 Jan 2015 20:39:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: java X-Bugzilla-Version: 8.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ronald-lists@klop.ws X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-java@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2015 20:39:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=147512 Ronald Klop changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ronald-lists@klop.ws --- Comment #3 from Ronald Klop --- This is waiting for feedback on confirmation if the update of the port really fixes the issue for two years already. Why wouldn't we close it? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-java@FreeBSD.ORG Thu Jan 22 04:35:09 2015 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 117F51E1; Thu, 22 Jan 2015 04:35:09 +0000 (UTC) Received: from beefy2.isc.freebsd.org (beefy2.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:4072:0:16:39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1B31301; Thu, 22 Jan 2015 04:35:08 +0000 (UTC) Received: from beefy2.isc.freebsd.org (localhost [127.0.0.1]) by beefy2.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t0M4Z8k1044679; Thu, 22 Jan 2015 04:35:08 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy2.isc.freebsd.org (8.14.9/8.14.9/Submit) id t0M4Z8ow044678; Thu, 22 Jan 2015 04:35:08 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Thu, 22 Jan 2015 04:35:08 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201501220435.t0M4Z8ow044678@beefy2.isc.freebsd.org> To: java@FreeBSD.org Subject: [package - 93amd64-default][java/sablevm] Failed for sablevm-1.13_11 in stage Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2015 04:35:09 -0000 You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: java@FreeBSD.org Last committer: tijl@FreeBSD.org Ident: $FreeBSD: head/java/sablevm/Makefile 368356 2014-09-17 07:38:15Z tijl $ Log URL: http://beefy2.isc.freebsd.org/data/93amd64-default/2015-01-21_19h35m35s/logs/sablevm-1.13_11.log Build URL: http://beefy2.isc.freebsd.org/build.html?mastername=93amd64-default&build=2015-01-21_19h35m35s Log: ====>> Building java/sablevm build started at Thu Jan 22 04:34:20 UTC 2015 port directory: /usr/ports/java/sablevm building for: FreeBSD 93amd64-default-job-18 9.3-RELEASE-p7 FreeBSD 9.3-RELEASE-p7 amd64 maintained by: java@FreeBSD.org Makefile ident: $FreeBSD: head/java/sablevm/Makefile 368356 2014-09-17 07:38:15Z tijl $ Poudriere version: 3.1.1 Host OSVERSION: 1100050 Jail OSVERSION: 903000 ---Begin Environment--- OSVERSION=903000 UNAME_v=FreeBSD 9.3-RELEASE-p7 UNAME_r=9.3-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/93amd64-default/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNAME=sablevm-1.13_11 OLDPWD=/ PWD=/usr/local/poudriere/data/.m/93amd64-default/ref/.p/pool MASTERNAME=93amd64-default USER=root HOME=/root POUDRIERE_VERSION=3.1.1 LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for sablevm-1.13_11: SVMCP=on: Install SableVM classpath ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --includedir=/usr/local/include/sablevm --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/java/sablevm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/java/sablevm/work HOME=/wrkdirs/usr/ports/java/sablevm/work TMPDIR="/tmp" MAKE=gmake PKG_CONFIG=pkgconf SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/java/sablevm/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/java/sablevm/work HOME=/wrkdirs/usr/ports/java/sablevm/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -fstack-protector" LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 0644" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=9.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/sablevm" EXAMPLESDIR="share/examples/sablevm" DATADIR="share/sablevm" WWWDIR="www/sablevm" ETCDIR="etc/sablevm" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/sablevm DOCSDIR=/usr/local/share/doc/sablevm EXAMPLESDIR=/usr/local/share/examples/sablevm WWWDIR=/usr/local/www/sablevm ETCDIR=/usr/local/etc/sablevm --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/make.conf #### WITH_PKGNG=yes #WITH_PKGNG=devel # clean-restricted ran via poudriere.conf NO_RESTRICTED #NO_RESTRICTED=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- =================================================== ===> License LGPL21 accepted by the user =========================================================================== =================================================== ===> sablevm-1.13_11 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.4.6.txz [93amd64-default-job-18] Installing pkg-1.4.6... [93amd64-default-job-18] Extracting pkg-1.4.6... done Message for pkg-1.4.6: If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of sablevm-1.13_11 =========================================================================== =================================================== =========================================================================== =================================================== ===> License LGPL21 accepted by the user ===> Fetching all distfiles required by sablevm-1.13_11 for building =========================================================================== =================================================== ===> License LGPL21 accepted by the user ===> Fetching all distfiles required by sablevm-1.13_11 for building => SHA256 Checksum OK for sablevm-1.13.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License LGPL21 accepted by the user ===> Fetching all distfiles required by sablevm-1.13_11 for building ===> Extracting for sablevm-1.13_11 => SHA256 Checksum OK for sablevm-1.13.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for sablevm-1.13_11 =========================================================================== =================================================== ===> sablevm-1.13_11 depends on executable: msgfmt - not found ===> Verifying install for msgfmt in /usr/ports/devel/gettext-tools ===> Installing existing package /packages/All/gettext-tools-0.19.3.txz [93amd64-default-job-18] Installing gettext-tools-0.19.3... [93amd64-default-job-18] `-- Installing expat-2.1.0_2... [93amd64-default-job-18] `-- Extracting expat-2.1.0_2... done [93amd64-default-job-18] `-- Installing gettext-runtime-0.19.3... [93amd64-default-job-18] | `-- Installing indexinfo-0.2.2... [93amd64-default-job-18] | `-- Extracting indexinfo-0.2.2... done [93amd64-default-job-18] | `-- Installing libiconv-1.14_6... [93amd64-default-job-18] | `-- Extracting libiconv-1.14_6... done [93amd64-default-job-18] `-- Extracting gettext-runtime-0.19.3... done [93amd64-default-job-18] Extracting gettext-tools-0.19.3... done ===> Returning to build of sablevm-1.13_11 ===> sablevm-1.13_11 depends on executable: gmake - not found ===> Verifying install for gmake in /usr/ports/devel/gmake ===> Installing existing package /packages/All/gmake-4.1_1.txz [93amd64-default-job-18] Installing gmake-4.1_1... [93amd64-default-job-18] Extracting gmake-4.1_1... done ===> Returning to build of sablevm-1.13_11 ===> sablevm-1.13_11 depends on executable: pkgconf - not found ===> Verifying install for pkgconf in /usr/ports/devel/pkgconf ===> Installing existing package /packages/All/pkgconf-0.9.7.txz [93amd64-default-job-18] Installing pkgconf-0.9.7... [93amd64-default-job-18] Extracting pkgconf-0.9.7... done ===> Returning to build of sablevm-1.13_11 =========================================================================== =================================================== ===> sablevm-1.13_11 depends on shared library: libpopt.so - not found ===> Verifying for libpopt.so in /usr/ports/devel/popt ===> Installing existing package /packages/All/popt-1.16_1.txz [93amd64-default-job-18] Installing popt-1.16_1... [93amd64-default-job-18] Extracting popt-1.16_1... done ===> Returning to build of sablevm-1.13_11 ===> sablevm-1.13_11 depends on shared library: libffi.so - not found ===> Verifying for libffi.so in /usr/ports/devel/libffi ===> Installing existing package /packages/All/libffi-3.2.1.txz [93amd64-default-job-18] Installing libffi-3.2.1... [93amd64-default-job-18] Extracting libffi-3.2.1... done ===> Returning to build of sablevm-1.13_11 ===> sablevm-1.13_11 depends on shared library: libltdl.so - not found ===> Verifying for libltdl.so in /usr/ports/devel/libltdl ===> Installing existing package /packages/All/libltdl-2.4.2.418.txz [93amd64-default-job-18] Installing libltdl-2.4.2.418... [93amd64-default-job-18] Extracting libltdl-2.4.2.418... done ===> Returning to build of sablevm-1.13_11 ===> sablevm-1.13_11 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so.8.1.2) ===> sablevm-1.13_11 depends on shared library: libiconv.so.3 - found (/usr/local/lib/libiconv.so.2.5.1) =========================================================================== =================================================== ===> Configuring for sablevm-1.13_11 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking build system type... amd64-portbld-freebsd9.3 checking host system type... amd64-portbld-freebsd9.3 checking for jikes... checking for jikes... no checking for fastjar... checking for fastjar... no checking for gawk... (cached) /usr/bin/awk checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed /root/.cache/fontconfig: not cleaning non-existent cache directory /root/.fontconfig: not cleaning non-existent cache directory fc-cache: succeeded [93amd64-default-job-18] | | | `-- Installing pixman-0.32.6... [93amd64-default-job-18] | | | `-- Extracting pixman-0.32.6... done [93amd64-default-job-18] | | | `-- Installing xcb-util-renderutil-0.3.9... [93amd64-default-job-18] | | | `-- Installing xcb-util-0.4.0,1... [93amd64-default-job-18] | | | `-- Extracting xcb-util-0.4.0,1... done [93amd64-default-job-18] | | | `-- Extracting xcb-util-renderutil-0.3.9... done [93amd64-default-job-18] | | `-- Extracting cairo-1.12.18_1,2... done [93amd64-default-job-18] | | `-- Installing encodings-1.0.4_1,1... [93amd64-default-job-18] | | | `-- Installing font-util-1.3.0_1... [93amd64-default-job-18] | | | `-- Extracting font-util-1.3.0_1... done [93amd64-default-job-18] | | `-- Extracting encodings-1.0.4_1,1... done [93amd64-default-job-18] | | `-- Installing harfbuzz-0.9.36... [93amd64-default-job-18] | | | `-- Installing graphite2-1.2.4... [93amd64-default-job-18] | | | `-- Extracting graphite2-1.2.4... done [93amd64-default-job-18] | | | `-- Installing icu-53.1... [93amd64-default-job-18] | | | `-- Extracting icu-53.1... done [93amd64-default-job-18] | | `-- Extracting harfbuzz-0.9.36... done [93amd64-default-job-18] | | `-- Installing libXft-2.3.2... [93amd64-default-job-18] | | `-- Extracting libXft-2.3.2... done [93amd64-default-job-18] | | `-- Installing xorg-fonts-truetype-7.7_1... [93amd64-default-job-18] | | | `-- Installing dejavu-2.34_4... [93amd64-default-job-18] | | | `-- Extracting dejavu-2.34_4... done [93amd64-default-job-18] | | | `-- Installing font-bh-ttf-1.0.3_1... [93amd64-default-job-18] | | | `-- Installing mkfontdir-1.0.7... [93amd64-default-job-18] | | | | `-- Installing mkfontscale-1.1.1_1... [93amd64-default-job-18] | | | | `-- Installing libfontenc-1.1.2_2... [93amd64-default-job-18] | | | | `-- Extracting libfontenc-1.1.2_2... done [93amd64-default-job-18] | | | | `-- Extracting mkfontscale-1.1.1_1... done [93amd64-default-job-18] | | | `-- Extracting mkfontdir-1.0.7... done [93amd64-default-job-18] | | | `-- Extracting font-bh-ttf-1.0.3_1... done [93amd64-default-job-18] | | | `-- Installing font-misc-ethiopic-1.0.3_1... [93amd64-default-job-18] | | | `-- Extracting font-misc-ethiopic-1.0.3_1... done [93amd64-default-job-18] | | | `-- Installing font-misc-meltho-1.0.3_1... [93amd64-default-job-18] | | | `-- Extracting font-misc-meltho-1.0.3_1... done [93amd64-default-job-18] | | `-- Extracting pango-1.36.8... done [93amd64-default-job-18] | | `-- Installing shared-mime-info-1.1_1... [93amd64-default-job-18] | | `-- Extracting shared-mime-info-1.1_1... done [93amd64-default-job-18] | `-- Extracting gtk-update-icon-cache-2.24.25... done [93amd64-default-job-18] | `-- Installing python-2.7_2,2... [93amd64-default-job-18] | | `-- Installing python2-2_3... [93amd64-default-job-18] | | `-- Extracting python2-2_3... done [93amd64-default-job-18] | `-- Extracting python-2.7_2,2... done [93amd64-default-job-18] `-- Extracting gtk2-2.24.25_1... done [93amd64-default-job-18] `-- Installing libXtst-1.2.2_2... [93amd64-default-job-18] | `-- Installing recordproto-1.14.2... [93amd64-default-job-18] | `-- Extracting recordproto-1.14.2... done [93amd64-default-job-18] `-- Extracting libXtst-1.2.2_2... done [93amd64-default-job-18] Extracting sablevm-classpath-1.13_11... done Message for python27-2.7.9: ===================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter ===================================================================== Message for dejavu-2.34_4: Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/lib/X11/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===> Returning to build of sablevm-1.13_11 =========================================================================== =================================================== ===> Staging for sablevm-1.13_11 ===> Generating temporary packing list gmake INSTALL_PROGRAM="/bin/sh /wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/install-sh -c -s" \ install_sh_PROGRAM="/bin/sh /wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ `test -z 'strip' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='strip'"` install gmake[1]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13' gmake install-recursive gmake[2]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13' Making install in doc gmake[3]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/doc' gmake[4]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/doc' gmake[4]: Nothing to be done for 'install-exec-am'. test -z "/usr/local/man/man1" || /wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/install-sh -d "/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/man/man1" install -o root -g wheel -m 0644 './sablevm.1' '/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/man/man1/sablevm.1' install -o root -g wheel -m 0644 './java-sablevm.1' '/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/man/man1/java-sablevm.1' gmake[4]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/doc' gmake[3]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/doc' Making install in src gmake[3]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src' Making install in include gmake[4]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/include' gmake[5]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/include' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/include' gmake[4]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/include' Making install in libsablevm gmake[4]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm' gmake install-recursive gmake[5]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm' Making install in include gmake[6]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm/include' gmake[7]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm/include' gmake[7]: Nothing to be done for 'install-exec-am'. test -z "/usr/local/include/sablevm" || /wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/install-sh -d "/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/include/sablevm" install -o root -g wheel -m 0644 'jni.h' '/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/include/sablevm/jni.h' install -o root -g wheel -m 0644 'jni_system_specific.h' '/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/include/sablevm/jni_system_specific.h' gmake install-data-hook gmake[8]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm/include' mkdir -p /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm/include for f in jni.h jni_system_specific.h ; do \ rm -f /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm/include/$f ; \ ln -s /usr/local/include/sablevm/$f /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm/include/$f ; \ done gmake[8]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm/include' gmake[7]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm/include' gmake[6]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm/include' Making install in inlinability gmake[6]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm/inlinability' gmake[7]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm/inlinability' gmake[7]: Nothing to be done for 'install-exec-am'. gmake[7]: Nothing to be done for 'install-data-am'. gmake[7]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm/inlinability' gmake[6]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm/inlinability' gmake[6]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm' gmake[7]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm' test -z "/usr/local/lib" || /wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/install-sh -d "/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib" /bin/sh ../../libtool --mode=install /usr/bin/install -c -o root -g wheel -s 'libsablevm.la' '/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/libsablevm.la' /usr/bin/install -c -o root -g wheel .libs/libsablevm-1.13.so /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/libsablevm-1.13.so strip --strip-unneeded /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/libsablevm-1.13.so (cd /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib && { ln -s -f libsablevm-1.13.so libsablevm.so || { rm -f libsablevm.so && ln -s libsablevm-1.13.so libsablevm.so; }; }) /usr/bin/install -c -o root -g wheel .libs/libsablevm.lai /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/libsablevm.la libtool: install: warning: remember to run `libtool --finish /usr/local/lib' gmake[7]: Nothing to be done for 'install-data-am'. gmake[7]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm' gmake[6]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm' gmake[5]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm' gmake[4]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/libsablevm' Making install in sablevm gmake[4]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/sablevm' gmake[5]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/sablevm' test -z "/usr/local/bin" || /wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/install-sh -d "/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/bin" STRIPPROG='strip' /bin/sh ../../libtool --mode=install /bin/sh /wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/install-sh -c -s 'sablevm' '/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/bin/sablevm' libtool: install: warning: `../libsablevm/libsablevm.la' has not been installed in `/usr/local/lib' /bin/sh /wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/install-sh -c -s .libs/sablevm /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/bin/sablevm gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/sablevm' gmake[4]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src/sablevm' gmake[4]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src' gmake[5]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src' gmake[4]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src' gmake[3]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/src' gmake[3]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13' gmake[4]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13' test -z "/usr/local/bin" || /wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13/install-sh -d "/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/bin" install -o root -g wheel -m 555 'java-sablevm' '/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/bin/java-sablevm' install -o root -g wheel -m 555 'javac-sablevm' '/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/bin/javac-sablevm' install -o root -g wheel -m 555 'jar-sablevm' '/wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/bin/jar-sablevm' gmake install-exec-hook gmake[5]: Entering directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13' mkdir -p /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm cd /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm && mkdir bin jre &>/dev/null cd /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm && rm -f bin/java bin/javac bin/jar unlink /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm/jre/bin &>/dev/null if test ! -L /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm/jre/bin; then rm -rf /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm/jre/bin; fi unlink: /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm/jre/bin: No such file or directory ln -s ../../../bin/`echo "java-sablevm" | sed 's|^.*/||;s,x,x,'` /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm/bin/java ln: /wrkdirs/usr/ports/java/sablevm/work/stage/usr/local/lib/sablevm/bin/java: No such file or directory Makefile:730: recipe for target 'install-exec-hook' failed gmake[5]: *** [install-exec-hook] Error 1 gmake[5]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13' Makefile:635: recipe for target 'install-exec-am' failed gmake[4]: *** [install-exec-am] Error 2 gmake[4]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13' Makefile:592: recipe for target 'install-am' failed gmake[3]: *** [install-am] Error 2 gmake[3]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13' Makefile:308: recipe for target 'install-recursive' failed gmake[2]: *** [install-recursive] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13' Makefile:586: recipe for target 'install' failed gmake[1]: *** [install] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/java/sablevm/work/sablevm-1.13' Makefile:596: recipe for target 'install-strip' failed gmake: *** [install-strip] Error 2 *** [do-install] Error code 2 Stop in /usr/ports/java/sablevm. From owner-freebsd-java@FreeBSD.ORG Thu Jan 22 10:26:26 2015 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 424E8D0A for ; Thu, 22 Jan 2015 10:26:26 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 066ACBE9 for ; Thu, 22 Jan 2015 10:26:25 +0000 (UTC) Received: from [89.204.154.120] (helo=c720-r276659) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1YEExs-00027L-Ko; Thu, 22 Jan 2015 11:26:17 +0100 Date: Thu, 22 Jan 2015 11:26:14 +0100 From: Matthias Apitz To: freebsd-java@freebsd.org Subject: executing Java written code from C pgm Message-ID: <20150122102614.GA2046@c720-r276659> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.154.120 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2015 10:26:26 -0000 Hello, I have some C/C++ written servers and want to use code (classes) written in Java. I figured out how the load the JVM and to reference into the class as C function calls. I can post the details if someone is interested it this. The problem is that the a.out must be linked against the JVM (libjvm.so) and the resulting process is around 300 MByte (text, data and bss), which makes it unusable in production (where some 200-300 processes of this are running). Is there some way to compile the Java code to machine code with needing a JVM to execute this? Thanks in advance matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen. From owner-freebsd-java@FreeBSD.ORG Thu Jan 22 10:49:34 2015 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5898E59F for ; Thu, 22 Jan 2015 10:49:34 +0000 (UTC) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D6E5E06 for ; Thu, 22 Jan 2015 10:49:34 +0000 (UTC) Received: by mail-ob0-f171.google.com with SMTP id va2so743342obc.2 for ; Thu, 22 Jan 2015 02:49:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Q9pO8eQh7llQ62EHigZ/qp+tmJ85mRLBispxgZd567U=; b=awwG+xX+IXwPSm3kmQQyvnepoGc/mnPzAnbgy7X62DFwR3KJ5+ThoijHrgk14CaLsQ Ys81U8QNkFyNNq0ORyQ5qGGIbxksYYfWXg+12Q/2b7YB2kLu02mngIkfqzsLTgjfV+Bt eOCwa+3aXEcBAHbWdtP9SuqtrBMPFhoaezXkpBN/QOQBbOezKhGdnTXT4K+Fhz2ohNXL KZupCjIDGOfpfwvOrbKclvFGHdpgiEnCw0EiNhdndEyKO8HqPo6yuWskpJ3e077YVYYJ my163Plylj09hI6hGQsh6YO+MJFqLLeTrpjRmKMNfmhCiUaYLK+GGuSzOARBIZLDGLMx EcbQ== MIME-Version: 1.0 X-Received: by 10.202.7.142 with SMTP id 136mr364533oih.51.1421923773363; Thu, 22 Jan 2015 02:49:33 -0800 (PST) Received: by 10.202.105.7 with HTTP; Thu, 22 Jan 2015 02:49:33 -0800 (PST) In-Reply-To: <20150122102614.GA2046@c720-r276659> References: <20150122102614.GA2046@c720-r276659> Date: Thu, 22 Jan 2015 11:49:33 +0100 Message-ID: Subject: Re: executing Java written code from C pgm From: Johannes Dieterich To: Matthias Apitz , freebsd-java@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2015 10:49:34 -0000 Dear Matthias, On Thu, Jan 22, 2015 at 11:26 AM, Matthias Apitz wrote: > > Hello, > > I have some C/C++ written servers and want to use code (classes) written > in Java. I figured out how the load the JVM and to reference into the > class as C function calls. I can post the details if someone is > interested it this. > > The problem is that the a.out must be linked against the JVM (libjvm.so) > and the resulting process is around 300 MByte (text, data and bss), > which makes it unusable in production (where some 200-300 processes of > this are running). > > Is there some way to compile the Java code to machine code with needing > a JVM to execute this? You can try gcj from the GNU compilers. It can compile some Java code to binary. That being said: last I tried, it failed for me for any non-trivial code. Additionally, I believe it is stuck at around Java5 which (fortunately, from my perspective) becomes rarer to use in the Java world so odds are your classes will not compile. I recall also seeing something llvm based lately, but I unfortunately cannot remember the details anymore. Your best bet, in my opinion, is either into looking what exactly is consuming so much memory, potentially optimizing it and coming up with a different linking scheme (we all probably need more information on your current setup to make an educated guess) or you could look into porting your Java classes to C. You could look into having a standalone Java-server that communicated with all the C servers via some interface. Again, this would require some more details on your use case if this is a feasible way of dealing with things. Personally, I would favor this route though. Sorry to not be able to be of more help, Johannes From owner-freebsd-java@FreeBSD.ORG Thu Jan 22 11:17:22 2015 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DFA42D31 for ; Thu, 22 Jan 2015 11:17:22 +0000 (UTC) Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E47B1D4 for ; Thu, 22 Jan 2015 11:17:22 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id ge10so956384lab.10 for ; Thu, 22 Jan 2015 03:17:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=gOKoPh3DGKvN+ux+9H9GqBWdzsm5KMN/PSL7/Tc6EOE=; b=E/YRP4/kZLlZTc1PzA1bPDA1v/KeCgU2n5tZu1OBGr3v+y3+LIbFpwIWwZZ8ySArEs 06ffbO+SEEeiQ2anWQaNUb37eAQ6lIX4uJoUHwuT5nqvVqGCelA9pTVeBslRUABEVNu3 5zzciGFdR4u6hYR1aVR0lTzIa5yxUxtwNbNp6BDeamixbJb4RkRase21RpuhqKu3yJgx JBfxOSp5dHTR4tOzyGmTesGJnN5Hzx8moYbKfma8CK7oVNnt0oVbOD/4iU94Evy8M0Cc 71OknnYhUn+Oh442Ly1DtMk48rR+a/2XB8+uzMzBmn91vtmSKw3B7HM8nZFx2QazpNv1 +GZg== X-Received: by 10.152.28.37 with SMTP id y5mr830377lag.55.1421925440368; Thu, 22 Jan 2015 03:17:20 -0800 (PST) Received: from [192.168.0.77] (mircat.net. [81.9.105.50]) by mx.google.com with ESMTPSA id f4sm923636lam.30.2015.01.22.03.17.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 03:17:19 -0800 (PST) Message-ID: <54C0DC3F.3010802@gmail.com> Date: Thu, 22 Jan 2015 14:17:19 +0300 From: Dmitry Samersoff User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Matthias Apitz , freebsd-java@freebsd.org Subject: Re: executing Java written code from C pgm References: <20150122102614.GA2046@c720-r276659> In-Reply-To: <20150122102614.GA2046@c720-r276659> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2015 11:17:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthias, 1. Regardless to number of running processes they all share the same DSO so process size is not an issue. But each java process require a Java and C heap, so if you plan to run many processes in low-resource environment you should tune JVM options to achieve better result. 2. You might consider to rewrite you business logic to spawn a new java thread instead of new process. - -Dmitry On 2015-01-22 13:26, Matthias Apitz wrote: > > Hello, > > I have some C/C++ written servers and want to use code (classes) > written in Java. I figured out how the load the JVM and to > reference into the class as C function calls. I can post the > details if someone is interested it this. > > The problem is that the a.out must be linked against the JVM > (libjvm.so) and the resulting process is around 300 MByte (text, > data and bss), which makes it unusable in production (where some > 200-300 processes of this are running). > > Is there some way to compile the Java code to machine code with > needing a JVM to execute this? > > Thanks in advance > > matthias > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUwNw/AAoJEHEy08c4gIABkt4H/iYhVQQzmIWnA4g6K5NEvubw +BNYnaoNzRz2GHFT6q4H+EO3vamyDYxHSNKIsIkZoXbkcp8mAslujQtp+7Zo9vB7 rKU5/VlMqF1hPZW8q0KeTRZnm/WnYkuNIniDcc5ee5V6qvsDRK8i15QPG3zwB1BS 7J1wLf1Cr8v427dxzJYQ0az2T08nhufTjyfhHJ071RIW34qysWdpuKVS41GvBfS7 XDAVQIYaKHr3qLtA0finZ4MvAhy8gvRrYAxj9CRjBEgSw97JXM6csAFsN74rKj5d kjgT60fAwdDUe6pFza6tK8MI/qHGR4k5Dfi5zQtZqGZbTZUw8QBFXL9ic60toB4= =aNj6 -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Thu Jan 22 11:25:14 2015 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0508525C for ; Thu, 22 Jan 2015 11:25:14 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8A9E31B for ; Thu, 22 Jan 2015 11:25:13 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1YEFe5-0007fB-33; Thu, 22 Jan 2015 12:09:58 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Matthias Apitz" , freebsd-java@freebsd.org, "Johannes Dieterich" Subject: Re: executing Java written code from C pgm References: <20150122102614.GA2046@c720-r276659> Date: Thu, 22 Jan 2015 12:09:51 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.3.2 X-Scan-Signature: 1f72ff50073f138f9668c095d6f579a1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2015 11:25:14 -0000 On Thu, 22 Jan 2015 11:49:33 +0100, Johannes Dieterich wrote: > Dear Matthias, > > On Thu, Jan 22, 2015 at 11:26 AM, Matthias Apitz > wrote: >> >> Hello, >> >> I have some C/C++ written servers and want to use code (classes) written >> in Java. I figured out how the load the JVM and to reference into the >> class as C function calls. I can post the details if someone is >> interested it this. >> >> The problem is that the a.out must be linked against the JVM (libjvm.so) >> and the resulting process is around 300 MByte (text, data and bss), >> which makes it unusable in production (where some 200-300 processes of >> this are running). >> >> Is there some way to compile the Java code to machine code with needing >> a JVM to execute this? > You can try gcj from the GNU compilers. It can compile some Java code > to binary. That being said: last I tried, it failed for me for any > non-trivial code. Additionally, I believe it is stuck at around Java5 > which (fortunately, from my perspective) becomes rarer to use in the > Java world so odds are your classes will not compile. I recall also > seeing something llvm based lately, but I unfortunately cannot > remember the details anymore. > > Your best bet, in my opinion, is either into looking what exactly is > consuming so much memory, potentially optimizing it and coming up with > a different linking scheme (we all probably need more information on > your current setup to make an educated guess) or you could look into > porting your Java classes to C. > > You could look into having a standalone Java-server that communicated > with all the C servers via some interface. Again, this would require > some more details on your use case if this is a feasible way of > dealing with things. Personally, I would favor this route though. > > Sorry to not be able to be of more help, > > Johannes This would be my advise also. Ronald. From owner-freebsd-java@FreeBSD.ORG Fri Jan 23 00:50:42 2015 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A348D671 for ; Fri, 23 Jan 2015 00:50:42 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8A766F6C for ; Fri, 23 Jan 2015 00:50:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0N0ogvq080908 for ; Fri, 23 Jan 2015 00:50:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-java@FreeBSD.org Subject: [Bug 160553] Jaikoz java based audio tagger core dumps Date: Fri, 23 Jan 2015 00:50:42 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: java X-Bugzilla-Version: 8.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-java@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2015 00:50:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=160553 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Feedback Timeout Status|In Progress |Closed --- Comment #3 from Mark Linimon --- Feedback timeout (> 1 year). -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. From owner-freebsd-java@FreeBSD.ORG Fri Jan 23 00:52:05 2015 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6A886AB for ; Fri, 23 Jan 2015 00:52:05 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ADC9EF84 for ; Fri, 23 Jan 2015 00:52:05 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0N0q5IJ095643 for ; Fri, 23 Jan 2015 00:52:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-java@FreeBSD.org Subject: [Bug 147512] Crash of RXTX-2.1-7 on AMD64 system Date: Fri, 23 Jan 2015 00:52:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: java X-Bugzilla-Version: 8.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-java@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2015 00:52:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=147512 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Feedback Timeout Status|In Progress |Closed --- Comment #4 from Mark Linimon --- Feedback timeout (> 1 year). -- You are receiving this mail because: You are the assignee for the bug.