Issue with building base system packages: No such file or dir

Glen Barber gjb at FreeBSD.org
Mon Mar 21 19:38:37 UTC 2016


On Mon, Mar 21, 2016 at 06:35:25PM +0100, Marko Turk wrote:
> Hi,
> 
> I'm trying to build base packages on code from git
> 086e6f562ffbb6de24f1e51c7df40f403dd1522b (I'm not sure which svn
> revision this is, last commit is on Mon Mar 14 18:54:29 2016 +0000).
> 
> I'm runinig the following (on 10-STABLE):
> 
> setenv MAKEOBJDIRPREFIX /media/exports/freebsd-dev/obj/
> [normal make buildworld and buildkernel]
> make TARGET_ARCH=i386 KERNCONF=VIMAGE packages
> 
> But, make packages fails with the error at the end of the mail. It
> complains about some missing file which doesn't exists but file with
> simmilar path exists:
> /media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/worldstage//usr/lib/debug/usr/bin/lastcomm.debug
> 
> Am I doing something wrong or is this a bug?
> 
> BR,
> Marko
> 
> 
> [...]
> ===> Creating FreeBSD-acct-debug-11.0.s20160321163201
> pkg: Warning: Major OS version upgrade detected.  Running "pkg-static
> install -f pkg" recommended
> pkg: Warning: Major OS version upgrade detected.  Running "pkg-static
> install -f pkg" recommended
> pkg: Unable to access file
> /media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/worldstage/media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/world
> stage/usr/lib/debug/usr/bin/lastcomm.debug: No such file or directory
> pkg: Unable to access file
> /media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/worldstage/media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/world
> stage/usr/lib/debug/usr/sbin/accton.debug: No such file or directory
> pkg: Unable to access file
> /media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/worldstage/media/exports/freebsd-dev/obj//media/exports/freebsd-dev/src/i386.i386/world
> stage/usr/lib/debug/usr/sbin/sa.debug: No such file or directory
> *** Error code 70
> 

Did you run 'buildworld' and 'buildkernel' and have WITHOUT_DEBUG_FILES
set, and did not specify that when running the 'packages' target?

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/attachments/20160321/efdea821/attachment.sig>


More information about the freebsd-pkgbase mailing list