make packages misses METALOG in kernelstage (worldstage, really)
Henry Vogt
henry.vogt at gmail.com
Sat Apr 30 15:25:01 UTC 2016
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 at gmail.com>
More information about the freebsd-pkgbase
mailing list