From owner-freebsd-questions@freebsd.org Wed Jan 31 14:25:03 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CBDDECE38E for ; Wed, 31 Jan 2018 14:25:03 +0000 (UTC) (envelope-from johannes-maria@t-online.de) Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C12CA85FA4 for ; Wed, 31 Jan 2018 14:25:02 +0000 (UTC) (envelope-from johannes-maria@t-online.de) Received: from fwd39.aul.t-online.de (fwd39.aul.t-online.de [172.20.27.138]) by mailout01.t-online.de (Postfix) with SMTP id 495A1433FFEE for ; Wed, 31 Jan 2018 15:24:55 +0100 (CET) Received: from t-online.de (rP1y-QZbYhn6oI-385WEvHGCJ43vtrTPZX7ZU6FJA5RXYCDJnKxrBBTMC193ThXwQ4@[84.145.230.15]) by fwd39.t-online.de with (TLSv1:DHE-RSA-AES256-SHA encrypted) esmtp id 1egtJj-1pJnaC0; Wed, 31 Jan 2018 15:24:51 +0100 Received: by t-online.de (nbSMTP-1.00) for uid 1001 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) johannes-maria@t-online.de; Wed, 31 Jan 2018 15:24:51 +0100 (CET) Date: Wed, 31 Jan 2018 15:24:50 +0100 From: johannes-maria@t-online.de To: freebsd-questions@freebsd.org Subject: Re: problem with upgrade and unable to build openjdk8 in poudriere Message-ID: <20180131142450.GA30798@localhost.org> References: <20180115151549.GA9923@localhost.org> <20180128130433.GA2196@localhost.org> <20180129202145.GA2773@localhost.org> <9043f574-25d7-12f7-e219-e37bbefbde8c@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9043f574-25d7-12f7-e219-e37bbefbde8c@FreeBSD.org> User-Agent: Mutt/1.4.2.3i X-ID: rP1y-QZbYhn6oI-385WEvHGCJ43vtrTPZX7ZU6FJA5RXYCDJnKxrBBTMC193ThXwQ4 X-TOI-MSGID: 8a84bd78-eadd-4381-949a-700bff69f306 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2018 14:25:03 -0000 On Tue, Jan 30, 2018 at 12:04:08AM +0000, Matthew Seaman wrote: 1. > >> I can't really give you much help with this: openjdk8 is building just > >> fine for me on 11.1-RELEASE. This is probably some small configuration > >> mistake that will have you face-palming once you find it... > > > > did you built it in the ports or with poudriere? > > I'm building it with poudriere thanks for the info. I've not yet found the cause; configuration in ports and poudriere are both the default ones and whereas the 'make' in the ports runs without an error with poudriere it stops reproducible with | =>> Failed ports: java/openjdk8:build | [excerpt from the log-file: | gmake[2]: *** No rule to make target '1'. Stop. | gmake[2]: Leaving directory | '/wrkdirs/usr/ports/java/openjdk8/work/openjdk/langtools/make 2. > Yes, that looks about right. The '11amd64-default' part is the > combination of the poudriere jail name and the ports tree used to build > those packages. pkg(8) should work fine with a file:// URL, but > obviously that only works to install packages on the same machine where > you run poudriere. that's OK with me, I'm only upgrading on this one machine. > Well, try updating your ports tree (poudriere ports -u) and then running > a poudriere bulk to update any outdated packages. Then try 'pkg > upgrade' again. Chances are something will have an update available. thanks for the hints. I updated the ports tree and started poudriere with my list of ports to install (115; already installed is only the base system 11.1 from the boot CD + poudriere). Due to dependencies the first poudriere run (some weeks ago) tried to build approximately 1000 ports (all but 1 failed, 4 skipped). After the ports tree update: Queued: 584. It is not yet finished (Built: 369, Failed: 1, Skipped: 4, Ignored: 0, Tobuild: 210), but after more than 26 hours (degree of parallelism: 4, old computer) I didn't want to wait until tomorrow and give you at least a provisional result: with pkg upgrade I still see | Updating FreeBSD repository catalogue... | FreeBSD repository is up to date. | All repositories are up to date. | Checking for upgrades (123 candidates): .......... done | Processing candidates (123 candidates): . done | Checking integrity... done (0 conflicting) | Your packages are up to date. I don't know the origin of the '123 candidates'; my list of ports to install has 115 entries and the actual list poudriere is handling is much longer due to dependencies. Do I have so specify the repository created by poudriere explicitly? I thought that the entry | FreeBSD: { | url: "file:///usr/local/poudriere/data/packages/11amd64-default/", | ... in /usr/local/etc/pkg/repos/FreeBSD.conf was enough. Best regards, Johannes-Maria