Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Apr 2016 17:24:56 +0200
From:      Henry Vogt <henry.vogt@gmail.com>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        freebsd-pkgbase@freebsd.org
Subject:   Re: make packages misses METALOG in kernelstage (worldstage, really)
Message-ID:  <18716d98-9f78-129c-d06c-ba1f2b3afe1b@gmail.com>
In-Reply-To: <20160429191209.GO1804@FreeBSD.org>
References:  <a934cc8f-4cf8-9bc9-d8ba-fecc5dc0a3cb@gmail.com> <20160429063745.GM1804@FreeBSD.org> <20160429191209.GO1804@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <henry.vogt@gmail.com>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18716d98-9f78-129c-d06c-ba1f2b3afe1b>