From owner-freebsd-pkgbase@freebsd.org Sat Apr 30 15:25:01 2016 Return-Path: Delivered-To: freebsd-pkgbase@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9DD17B0F350 for ; Sat, 30 Apr 2016 15:25:01 +0000 (UTC) (envelope-from henry.vogt@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 361C81BDB; Sat, 30 Apr 2016 15:25:01 +0000 (UTC) (envelope-from henry.vogt@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id g17so79119793wme.1; Sat, 30 Apr 2016 08:25:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=mGFGks95DX+vdtcYoGpL7aOAHy3qACHZAhzO3c17h1E=; b=UIL61CvW8claVjhu8t2uhuGqqhL8e4KFrMnP42Innp85Xo5fmwhuEylEA8T4Q6E/lm lquAgMqQQnPCdHgmRtlp6+GXTWQrJcbVJJ5guh6EbBJuIwhm08Xz4Gzk/jueIEGryA1C Xr7zH50kmk+CI3/eG8dOtQIjuWfUPzKUkC/k06PuSYbXHIpqIjWLL7hu4RnHU2H5RCMK YNY4vBzyZvu7S988h0s3mPFnYED+/3QFClFhq64REYGvIHyOyoGVkpYXq58JInJKPHrc yeNgroKZ9GApkXDKtBHXOpheLu+XEPRbZYlngxopzMj9J7jwLl6IcsJPyZEsfOiJUKMB 648w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=mGFGks95DX+vdtcYoGpL7aOAHy3qACHZAhzO3c17h1E=; b=CU3x7Rle81sviMY+1X+gfTvCMg7oaCKG4UHySUV6VRyJEamC3qQ/+FYCVOPJwrxiIP CqQjzRHI98FDEr85mlzxhrHH6smHs0fjQ2aDLsunDCHn6cYop38pmIuC4qritRvPV6H6 cCaeOAuIM1AIm6hqdMpudL6DGXIsqMHfKa9iIQslWun3WYmx5sNNiZwyyuYkuh3hZfuf RUT+bQd954x+bVXEXMJU1XWXW+sSdA8kJ2st5Gk8Uhq/DGdm/5J0eT6U3H5RIj1LmrrV IdZzCgRVyTMkzWHhhxvgecgqwZnv+t4U12GacXqEwTvOulHrrbx2jeKhthS+ImkVHIvD uK9Q== X-Gm-Message-State: AOPr4FVnt47YHsiauOs0un0r7wE2OG7y4cBK2K/e5oU2Gak+5NeegFgIlHnpiR5y67Y5Kw== X-Received: by 10.195.11.197 with SMTP id ek5mr27731165wjd.58.1462029899048; Sat, 30 Apr 2016 08:24:59 -0700 (PDT) Received: from woody.local (p4FFA081C.dip0.t-ipconnect.de. [79.250.8.28]) by smtp.googlemail.com with ESMTPSA id ry15sm20323320wjb.19.2016.04.30.08.24.57 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 30 Apr 2016 08:24:58 -0700 (PDT) Subject: Re: make packages misses METALOG in kernelstage (worldstage, really) To: Glen Barber References: <20160429063745.GM1804@FreeBSD.org> <20160429191209.GO1804@FreeBSD.org> Cc: freebsd-pkgbase@freebsd.org From: Henry Vogt Message-ID: <18716d98-9f78-129c-d06c-ba1f2b3afe1b@gmail.com> Date: Sat, 30 Apr 2016 17:24:56 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <20160429191209.GO1804@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkgbase@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Packaging the FreeBSD base system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Apr 2016 15:25:01 -0000 Am 29.04.16 um 21:12 schrieb Glen Barber: > On Fri, Apr 29, 2016 at 06:37:45AM +0000, Glen Barber wrote: >> On Fri, Apr 29, 2016 at 03:55:51PM +0200, Henry Vogt wrote: >>> Hi, >>> attempting to test pkgbase according to the new wiki page >>> https://wiki.freebsd.org/PkgBase >>> >>> As of FreeBSD 11.0-r298768 the third step ('make packages') fails - the >>> only variation to the wiki described method i have is having sources in >>> '/usr/src/11' - is this not supported anymore or what i'm missing ? >>> >>> [...] >>> >>> /usr/obj/usr/src/11/amd64.amd64/kernelstage/tmp/kernel/usr/lib/debug/boot/kernel/ >>> kldxref /usr/obj/usr/src/11/amd64.amd64/kernelstage/tmp/kernel/boot/kernel >>> awk: can't open file /usr/obj/usr/src/11/amd64.amd64/worldstage/METALOG >>> source line number 81 >>> *** Error code 2 >>> >> This should work. I'll take a look. >> > This works for me. I'll need more information from you if you are > seeing failures (src.conf, make.conf, etc.). > > Glen > as follow up to my last mail, after looking in the Makefile.inc1 what make packages does, it seems that # make stage-packages - succeeded, but then # make create-packages immediately triggers the failure. --- C U T --- awk: can't open file /usr/obj/usr/src/11/amd64.amd64/worldstage/METALOG source line number 81 *** Error code 2 Stop. ... --- C U T --- And the file isn't really there, it's under /usr/obj/usr/src/11/amd64.amd64/worldstage//var/tmp/METALOG after linking METALOG from there: ln -s /usr/obj/usr/src/11/amd64.amd64/worldstage/var/tmp/METALOG /usr/obj/usr/src/11/amd64.amd64/worldstage/ and redoing # make create-packages it runs for a few seconds, then stops with --- C U T --- ===> Creating FreeBSD-acct-debug-11.0.s20160430151909 pkg: Unable to access file /usr/obj/usr/src/11/amd64.amd64/worldstage/usr/obj/usr/src/11/amd64.amd64/worldstage/usr/lib/debug/usr/bin/lastcomm.debug: No such file or directory pkg: Unable to access file /usr/obj/usr/src/11/amd64.amd64/worldstage/usr/obj/usr/src/11/amd64.amd64/worldstage/usr/lib/debug/usr/sbin/accton.debug: No such file or directory pkg: Unable to access file /usr/obj/usr/src/11/amd64.amd64/worldstage/usr/obj/usr/src/11/amd64.amd64/worldstage/usr/lib/debug/usr/sbin/sa.debug: No such file or directory *** Error code 70 Stop. make[3]: stopped in /usr/src/11 *** Error code 1 Stop. make[2]: stopped in /usr/src/11 *** Error code 1 Stop. make[1]: stopped in /usr/src/11 *** Error code 1 Stop. make: stopped in /usr/src/11 --- C U T --- Is this helpful in any way ? Henry -- Henry Vogt