Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
build distribution fails after successfull make build
Hi folks! Probably I'm just doing something wrong here, but thats what I've got:
I'm trying to build current on current system(upgraded from 9.1 using
binary snapshot before it), its amd64. First I ran ./build.sh build,
which was finished successfully, then I ran ./build.sh -u distribution
and it fails. I've attached a piece of build log(if you want I
can send full log with MAKEVERBOSE=4, it weights about 0.5mb .gz...)
Also. one question that I'd like to know...(To be clear: I've used
netbsd for some time before, but wasn't using it last 2-3 years at
all...but it was enough for me to already forget some things...))
SO, How can I build system with build.sh and ro source tree?
Sounds simple, but I think I've read everything and still not able to
make it work... What I need to set in the mk.conf / command line /
environment variables, exactly... to tell build.sh that it shouldn't write
_anything_ to source tree?
thats what I'm doing at this moment: I've set MAKEOBJDIRPREFIX as
env.variable.
I've set TOOLDIR and everything else in mk.conf... but it still writes
something in the source tree.(I've ran ./build.sh build with ro access
to /usr/src and it failed because it couldn't create params file in
/usr/src.... So I've allowed write access, and as
I said before ./build.sh build was completed ok. But besides "params"
file it also wrote about 300mb of "unknown" files...):
$ du -h /usr/src | tail -1
3.1G /usr/src
(thats before building - clean sources
+ ~64mb of temp.files after building kernel)
$ du -h /usr/src | tail -1
3.4G /usr/src
..Whats going on here?) I've attached "params" file also, hope it will
help.
--- dependall ---
cd "/usr/src/lib/libc"; /usr/obj/amd/tools/bin/nbmake realall
+ cd /usr/src/lib/libc
+ /usr/obj/amd/tools/bin/nbmake realall
--- __sigtramp2.o ---
--- __sigtramp2.pico ---
--- __sigtramp2.o ---
echo '# ' "compile " libc/__sigtramp2.o
+ echo '# ' 'compile ' libc/__sigtramp2.o
# compile libc/__sigtramp2.o
+ echo '/usr/obj/amd/tools/bin/x86_64--netbsd-gcc -I/usr/src/lib/libc/arch/x86_64 -fPIE -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/usr/obj/amd/TARGET -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DHESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include -I/usr/src/lib/libc -I. -I/usr/src/sys -I/usr/src/lib/libc/compat/../locale -I/usr/src/lib/libc/compat/stdlib -I/usr/src/lib/libc/compat/../stdlib -D__BUILD_LEGACY -I/usr/src/lib/libc/../../common/lib/libc/quad -I/usr/src/lib/libc/../../common/lib/libc/string -I/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/string -I/usr/src/lib/libc/../../common/lib/libc/hash/sha3 -D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -I/usr/src/lib/libc/gdtoa -I/usr/src/lib/libc/locale -DHonor_FLT_ROUNDS -I/usr/src/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE -I/usr/src/lib/libc -D_ACL_PRIVATE -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -x assembler-with-cpp -c /usr/src/lib/libc/arch/i386/sys/__sigtramp2.S -o __sigtramp2.o.o'
--- __sigtramp2.pico ---
echo '# ' "compile " libc/__sigtramp2.pico
+ echo '# ' 'compile ' libc/__sigtramp2.pico
# compile libc/__sigtramp2.pico
--- __sigtramp2.o ---
/usr/obj/amd/tools/bin/x86_64--netbsd-gcc -I/usr/src/lib/libc/arch/x86_64 -fPIE -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/usr/obj/amd/TARGET -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DHESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include -I/usr/src/lib/libc -I. -I/usr/src/sys -I/usr/src/lib/libc/compat/../locale -I/usr/src/lib/libc/compat/stdlib -I/usr/src/lib/libc/compat/../stdlib -D__BUILD_LEGACY -I/usr/src/lib/libc/../../common/lib/libc/quad -I/usr/src/lib/libc/../../common/lib/libc/string -I/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/string -I/usr/src/lib/libc/../../common/lib/libc/hash/sha3 -D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -I/usr/src/lib/libc/gdtoa -I/usr/src/lib/libc/locale -DHonor_FLT_ROUNDS -I/usr/src/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE -I/usr/src/lib/libc -D_ACL_PRIVATE -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -x assembler-with-c--- __sigtramp2.pico ---
+ echo '/usr/obj/amd/tools/bin/x86_64--netbsd-gcc -I/usr/src/lib/libc/arch/x86_64 -fPIE -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/usr/obj/amd/TARGET -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DHESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include -I/usr/src/lib/libc -I. -I/usr/src/sys -I/usr/src/lib/libc/compat/../locale -I/usr/src/lib/libc/compat/stdlib -I/usr/src/lib/libc/compat/../stdlib -D__BUILD_LEGACY -I/usr/src/lib/libc/../../common/lib/libc/quad -I/usr/src/lib/libc/../../common/lib/libc/string -I/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/string -I/usr/src/lib/libc/../../common/lib/libc/hash/sha3 -D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -I/usr/src/lib/libc/gdtoa -I/usr/src/lib/libc/locale -DHonor_FLT_ROUNDS -I/usr/src/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE -I/usr/src/lib/libc -D_ACL_PRIVATE -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -x assemble--- __sigtramp2.o ---
pp -c /usr/src/lib/libc/arch/i386/sys/__sigtramp2.S -o __sigtramp2.o.o
--- __sigtramp2.pico ---
r-with-cpp -c -fPIC /usr/src/lib/libc/arch/i386/sys/__sigtramp2.S -o __sigtramp2.pico'
--- __sigtramp2.o ---
+ /usr/obj/amd/tools/bin/x86_64--netbsd-gcc -I/usr/src/lib/libc/arch/x86_64 -fPIE -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/usr/obj/amd/TARGET -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DHESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include -I/usr/src/lib/libc -I. -I/usr/src/sys -I/usr/src/lib/libc/compat/../locale -I/usr/src/lib/libc/compat/stdlib -I/usr/src/lib/libc/compat/../stdlib -D__BUILD_LEGACY -I/usr/src/lib/libc/../../common/lib/libc/quad -I/usr/src/lib/libc/../../common/lib/libc/string -I/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/string -I/usr/src/lib/libc/../../common/lib/libc/hash/sha3 -D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -I/usr/src/lib/libc/gdtoa -I/usr/src/lib/libc/locale -DHonor_FLT_ROUNDS -I/usr/src/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE -I/usr/src/lib/libc -D_ACL_PRIVATE -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -x assembler-with-cpp -c --- __sigtramp2.pico ---
/usr/obj/amd/tools/bin/x86_64--netbsd-gcc -I/usr/src/lib/libc/arch/x86_64 -fPIE -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/usr/obj/amd/TARGET -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DHESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include -I/usr/src/lib/libc -I. -I/usr/src/sys -I/usr/src/lib/libc/compat/../locale -I/usr/src/lib/libc/compat/stdlib -I/usr/src/lib/libc/compat/../stdlib -D__BUILD_LEGACY -I/usr/src/lib/libc/../../common/lib/libc/quad -I/usr/src/lib/libc/../../common/lib/libc/string -I/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/string -I/usr/src/lib/libc/../../common/lib/libc/hash/sha3 -D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -I/usr/src/lib/libc/gdtoa -I/usr/src/lib/libc/locale -DHonor_FLT_ROUNDS -I/usr/src/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE -I/usr/src/lib/libc -D_ACL_PRIVATE -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -x assembler-with-c--- __sigtramp2.o ---
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S -o __sigtramp2.o.o
--- __sigtramp2.pico ---
pp -c -fPIC /usr/src/lib/libc/arch/i386/sys/__sigtramp2.S -o __sigtramp2.pico
+ /usr/obj/amd/tools/bin/x86_64--netbsd-gcc -I/usr/src/lib/libc/arch/x86_64 -fPIE -fstack-protector -Wstack-protector --param ssp-buffer-size=1 --sysroot=/usr/obj/amd/TARGET -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DHESIOD -DINET6 -DNLS -DYP -I/usr/src/lib/libc/include -I/usr/src/lib/libc -I. -I/usr/src/sys -I/usr/src/lib/libc/compat/../locale -I/usr/src/lib/libc/compat/stdlib -I/usr/src/lib/libc/compat/../stdlib -D__BUILD_LEGACY -I/usr/src/lib/libc/../../common/lib/libc/quad -I/usr/src/lib/libc/../../common/lib/libc/string -I/usr/src/lib/libc/../../common/lib/libc/arch/x86_64/string -I/usr/src/lib/libc/../../common/lib/libc/hash/sha3 -D__DBINTERFACE_PRIVATE -I/usr/src/libexec/ld.elf_so -I/usr/src/lib/libc/dlfcn -I/usr/src/lib/libc/gdtoa -I/usr/src/lib/libc/locale -DHonor_FLT_ROUNDS -I/usr/src/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE -I/usr/src/lib/libc -D_ACL_PRIVATE -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 -x assembler-with-cpp -c -fPIC /usr/src/lib/libc/arch/i386/sys/__sigtramp2.S -o __sigtramp2.pico
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S: Assembler messages:
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:55: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:56: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:57: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:57: Error: register save offset not a multiple of 8
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:58: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:59: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:59: Error: register save offset not a multiple of 8
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:60: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:61: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:61: Error: register save offset not a multiple of 8
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:62: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:63: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:63: Error: register save offset not a multiple of 8
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:64: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:64: Error: register save offset not a multiple of 8
+ exit 1
*** [__sigtramp2.pico] Error code 1
nbmake[6]: stopped in /usr/src/lib/libc
--- __sigtramp2.o ---
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S: Assembler messages:
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:55: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:56: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:57: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:57: Error: register save offset not a multiple of 8
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:58: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:59: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:59: Error: register save offset not a multiple of 8
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:60: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:61: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:61: Error: register save offset not a multiple of 8
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:62: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:63: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:63: Error: register save offset not a multiple of 8
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:64: Error: bad register expression
/usr/src/lib/libc/arch/i386/sys/__sigtramp2.S:64: Error: register save offset not a multiple of 8
+ exit 1
*** [__sigtramp2.o] Error code 1
nbmake[6]: stopped in /usr/src/lib/libc
2 errors
nbmake[6]: stopped in /usr/src/lib/libc
+ exit 2
nbmake[5]: stopped in /usr/src/lib/libc
*** Failed target: dependall-libc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/"; real="/usr/src/lib" ;; *) this="lib/${dir}/"; real="/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/obj/amd/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libc dependall
*** Error code 2
Stop.
nbmake[4]: stopped in /usr/src/lib
+ exit 1
*** [build_install] Error code 1
nbmake[3]: stopped in /usr/src/lib
1 error
nbmake[3]: stopped in /usr/src/lib
+ exit 2
nbmake[2]: stopped in /usr/src
+ exit 2
nbmake[1]: stopped in /usr/src
+ exit 2
nbmake: stopped in /usr/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
BSDOBJDIR = '/usr/obj'
BSDSRCDIR = '/usr/src'
BUILDID = 'generic'
BUILDINFO = (undefined)
BUILDSEED = 'NetBSD-10'
DESTDIR = '/usr/obj/amd/TARGET'
DISTRIBVER = '9.99.77'
EXTERNAL_TOOLCHAIN = (undefined)
HAVE_GCC = '9'
HAVE_GDB = '1100'
HAVE_LLVM = (undefined)
HAVE_PCC = (undefined)
INSTALLWORLDDIR = (undefined)
KERNARCHDIR = (undefined)
KERNCONFDIR = (undefined)
KERNOBJDIR = (undefined)
KERNSRCDIR = (undefined)
MACHINE = 'amd64'
MACHINE_ARCH = 'x86_64'
MAKE = '/usr/obj/amd/tools/bin/nbmake'
MAKECONF = '/etc/mk.conf'
MAKEFLAGS = ' -d e -m /usr/src/share/mk -j 2 -d l -d x -d l -d x -d l -d x -d l -d x HOST_OSTYPE=NetBSD-9.99.77-amd64 MKOBJDIRS=yes NOPOSTINSTALL=1 _SRC_TOP_=/usr/src _SRC_TOP_OBJ_=/usr/obj/amd/prefix/usr/src _THISDIR_='
MAKEOBJDIR = '/usr/obj/amd'
MAKEOBJDIRPREFIX = '/usr/obj/amd/prefix'
MAKEVERBOSE = '4'
MKARGON2 = 'no'
MKARZERO = 'yes'
MKATF = 'yes'
MKBINUTILS = 'yes'
MKBSDGREP = 'no'
MKBSDTAR = 'yes'
MKCATPAGES = 'no'
MKCOMPATTESTS = 'no'
MKCOMPATX11 = 'no'
MKCOMPLEX = 'yes'
MKCTF = 'yes'
MKCVS = 'yes'
MKCXX = 'yes'
MKDEBUG = 'no'
MKDEBUGLIB = 'no'
MKDOC = 'yes'
MKDTB = 'no'
MKDTC = 'yes'
MKDTRACE = 'yes'
MKDYNAMICROOT = 'yes'
MKEXTSRC = 'no'
MKFIRMWARE = 'yes'
MKGCC = 'yes'
MKGCCCMDS = 'yes'
MKGDB = 'yes'
MKGROFF = 'yes'
MKGROFFHTMLDOC = 'no'
MKHESIOD = 'yes'
MKHTML = 'yes'
MKIEEEFP = 'yes'
MKINET6 = 'yes'
MKINFO = 'yes'
MKIPFILTER = 'no'
MKISCSI = 'yes'
MKKERBEROS = 'yes'
MKKMOD = 'no'
MKKYUA = 'no'
MKLDAP = 'yes'
MKLIBCXX = 'no'
MKLIBSTDCXX = 'yes'
MKLINKLIB = 'yes'
MKLINT = 'no'
MKLLD = 'no'
MKLLDB = 'no'
MKLLVM = 'no'
MKLLVMRT = 'no'
MKLVM = 'yes'
MKMAKEMANDB = 'yes'
MKMAN = 'yes'
MKMANDOC = 'yes'
MKMANZ = 'no'
MKMCLINKER = 'no'
MKMDNS = 'yes'
MKNLS = 'yes'
MKNOUVEAUFIRMWARE = 'yes'
MKNPF = 'yes'
MKNSD = 'no'
MKOBJ = 'yes'
MKOBJDIRS = 'yes'
MKPAM = 'yes'
MKPCC = 'yes'
MKPERFUSE = 'yes'
MKPF = 'no'
MKPIC = 'yes'
MKPICINSTALL = 'no'
MKPICLIB = 'yes'
MKPIGZGZIP = 'no'
MKPOSTFIX = 'yes'
MKPROFILE = 'no'
MKRADEONFIRMWARE = 'yes'
MKREPRO = 'no'
MKRUMP = 'yes'
MKSHARE = 'yes'
MKSKEY = 'yes'
MKSLJIT = 'yes'
MKSOFTFLOAT = 'no'
MKSTATICLIB = 'yes'
MKSTRIPIDENT = 'no'
MKTEGRAFIRMWARE = 'no'
MKTPM = 'no'
MKUNBOUND = 'yes'
MKUNPRIVED = 'yes'
MKUPDATE = 'yes'
MKX11 = 'no'
MKX11FONTS = 'yes'
MKX11MOTIF = 'no'
MKXORG_SERVER = 'yes'
MKYP = 'yes'
MKZFS = 'yes'
NBUILDJOBS = (undefined)
NETBSDSRCDIR = '/usr/src'
NETBSD_OFFICIAL_RELEASE = (undefined)
NOCLEANDIR = 'yes'
NODISTRIBDIRS = (undefined)
NOINCLUDES = (undefined)
OBJMACHINE = (undefined)
OBJMACHINE_ARCH = (undefined)
RELEASEDIR = '/usr/obj/amd/RELEASE'
RELEASEMACHINEDIR = 'amd64'
TOOLCHAIN_MISSING = 'no'
TOOLDIR = '/usr/obj/amd/tools'
USETOOLS = 'yes'
USE_HESIOD = 'yes'
USE_INET6 = 'yes'
USE_JEMALLOC = 'yes'
USE_KERBEROS = 'yes'
USE_LDAP = 'yes'
USE_PAM = 'yes'
USE_SKEY = 'no'
USE_YP = 'yes'
USR_OBJMACHINE = (undefined)
X11SRCDIR = '/usr/xsrc'
Home |
Main Index |
Thread Index |
Old Index