From owner-freebsd-ports@FreeBSD.ORG Thu Sep 10 13:10:19 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A9381065679 for ; Thu, 10 Sep 2009 13:10:19 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out1.uni-muenster.de (ZIVM-OUT1.UNI-MUENSTER.DE [128.176.192.8]) by mx1.freebsd.org (Postfix) with ESMTP id 1E4D08FC16 for ; Thu, 10 Sep 2009 13:10:18 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,364,1249250400"; d="scan'208";a="282263443" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER04.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay1.uni-muenster.de with ESMTP; 10 Sep 2009 15:10:17 +0200 Received: by ZIVMAILUSER04.UNI-MUENSTER.DE (Postfix, from userid 149459) id D7BD41B0096; Thu, 10 Sep 2009 15:10:17 +0200 (CEST) Date: Thu, 10 Sep 2009 15:10:17 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Maciej Suszko , "Carlos A. M. dos Santos" Message-ID: In-Reply-To: <20090910145407.6ae8d5ba@suszko.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: /lib/libz.so version bump prevents java/jdk1* from upgrading X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 13:10:19 -0000 thanks for the hint. i was actually aware of this thread and the way of fixing the problem described in it. however from a users perspective i think installing a port to fix this problem is much more easy and convenient than to hack in any changes to /etc/libmap.conf. don't you agree? cheers. alex Maciej Suszko schrieb am 2009-09-10: > Alexander Best wrote: > > hi there, > > it would be nice to have a note in UPDATING on how to rebuild an > > installed java/jdk1* under >= 8. since java/jdk1* requires an > > installed java environment in order to build it fails due to the > > version bump of /lib/libz.so.4 to /lib/libz.so.5 > > to be able to rebuild any installed java/jdk1* one needs to install > > misc/compat7x. after installation of java/jdk1* finishes > > misc/compat7x can safely be deleted (if it's not required by any > > other port). > > i haven't checked what the situation is like when no java > > environment > > is installed, but i believe this doesn't cause a problem since > > java/diablo-jdk* is used for bootrapping then. > Add those lines in /etc/libmap.conf (this is for jdk16): > [/usr/local/jdk1.6.0/] > libz.so.4 libz.so.5 > Than you can rebuild your jdk.