Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: building userland with a netbooted system



I have also failed to build userland recently.  Long ago, I built
kernels, but I don't remember building the user side.

My build failed on a fresh 6.0.1 system. I unpacked all but gnusrc and
xsrc into a directory (/big/usr/src) and did the "build.sh -U build"

Mine failed, too.  (I tacked my output to the end below)
My system is disk-ful.

I'm interested in what you find.

-dgl-

>Hello,
>
>On Thu, 14 Feb 2013, Mouse wrote:
>>> I just setup a diskless system.  I wanted to compile NetBSD 5.1.2
>>> source tree (userland) on it.  It always fails after maybe 12 hours
>>> of compiling.
>>
>> It'd probably help if you showed us exactly where it fails.  Also, it's
>> important to know, does it always fail at exactly the same point?
>
>I am pretty sure that it always fails at the same point. Unlimited did nothing 
>to help. I first tried downloading the binaries for 5.1.2 and then with 5.1. I 
>also used different sources each time. It still looks like it stops in the 
>same place.
>
>> If you're not sure how to tell, even just making your logfile
>> (logfiles, if it fails at different points) available for us to fetch
>> would help.
>
>Does build.sh log somewhere? I can not find it.
>
>I can do:
>./build.sh -O ../obj -T ../tools >& ~/build.log &
>
>and then make those logs available.
>
>>> Just wondering if it is possible to compile userland with a netbooted
>>> machine?
>>
>> I can't see any reason it would be any less possible than on a diskful
>> machine.  But then, I don't think I've tried to run anything more
>> recent than 4.x diskless....
>
>I can't see one either, but I haven't tried this since 1.6 or 2.0.
>
>Best Regards,
>Al

cc -c  -O -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings 
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute 
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings 
-Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. 
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc 
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/. 
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../include 
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libcpp/include 
-I/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/include 
-I/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/include 
-I/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/include  
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libdecnumber 
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libdecnumber/dpd 
-I../libdecnumber   -I/usr/include/libelf -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=0 
 -DTARGET_SYSTEM_ROOT_RELOCATABLE /big/usr/s
 rc/tools/gcc/../../external/gpl3/gcc/dist/gcc/c-common.c -o c-common.o
cc -c  -O -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings 
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute 
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings 
-Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. 
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc 
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/. 
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../include 
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libcpp/include 
-I/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/include 
-I/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/include 
-I/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/include  
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libdecnumber 
-I/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/../libdecnumber/dpd 
-I../libdecnumber   -I/usr/include/libelf -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=0 
 -DTARGET_SYSTEM_ROOT_RELOCATABLE \
        /big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/c-opts.c -o 
c-opts.o 
/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/c-opts.c: In function 
'c_common_handle_option':
/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/c-opts.c:729:10: error: 
'OPT_fms_extensions' undeclared (first use in this function)
/big/usr/src/tools/gcc/../../external/gpl3/gcc/dist/gcc/c-opts.c:729:10: note: 
each undeclared identifier is reported only once for each function it appears in
nbgmake[1]: *** [c-opts.o] Error 1
nbgmake[1]: Leaving directory `/big/usr/src/tools/gcc/obj/build/gcc'
nbgmake: *** [all-gcc] Error 2

*** Failed target:  .build_done
*** Failed command: (cd build && /usr/bin/env -i gcc_cv_libc_provides_ssp=yes 
gcc_cv_as_sparc_gotdata_op=no AR=ar 
AWK=/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nbawk CC=cc CFLAGS=-O 
CPPFLAGS= CXX=c++ CXXFLAGS=-O 
INSTALL=/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/powerpc--netbsd-install\
 -c\ \ -r LDFLAGS= LEX=/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nblex 
M4=/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nbm4 
MAKE=/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nbgmake 
PATH="/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin:$PATH" RANLIB=ranlib 
YACC=/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nbyacc MACHINE= 
MAKEINFO=/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nbmakeinfo LIBGCC= 
LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= 
CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ 
-DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR= 
INSTALL=/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/powerpc--netbsd-install\
 -c\
  \ -r /big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nbgmake -e MACHINE= 
MAKEINFO=/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nbmakeinfo LIBGCC= 
LIBGCC1= LIBGCC1_TEST= LIBGCC2= INSTALL_LIBGCC= EXTRA_PARTS= 
CPPFLAGS=-DNETBSD_TOOLS\ -DTARGET_SYSTEM_ROOT=0\ \ 
-DTARGET_SYSTEM_ROOT_RELOCATABLE AR=ar RANLIB=ranlib BISON=true DESTDIR= 
INSTALL=/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/powerpc--netbsd-install\
 -c\ \ -r all-gcc)
*** Error code 2

Stop.
nbmake: stopped in /big/usr/src/tools/gcc

*** Failed target:  dependall
*** Failed command: cd "/big/usr/src/tools/gcc"; 
/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /big/usr/src/tools/gcc

*** Failed target:  dependall-gcc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; 
real="/big/usr/src/tools" ;; *) this="tools/${dir}/"; 
real="/big/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> 
${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nbmake _THISDIR_="${this}" 
"$@" ${target}; }; _makedirtarget gcc dependall
*** Error code 1

Stop.
nbmake: stopped in /big/usr/src/tools

*** Failed target:  do-tools
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/big/usr/src" ;; *) this="${dir}/"; real="/big/usr/src/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" 
&& /big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nbmake _THISDIR_="${this}" 
"$@" ${target}; }; _makedirtarget tools dependall
*** Error code 1

Stop.
nbmake: stopped in /big/usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/big/usr/src" ;; *) this="${dir}/"; real="/big/usr/src/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" 
&& /big/usr/src/obj/tooldir.NetBSD-6.0.1-macppc/bin/nbmake _THISDIR_="${this}" 
"$@" ${target}; }; _makedirtarget . do-tools
*** Error code 1

Stop.
nbmake: stopped in /big/usr/src

ERROR: Failed to make build
*** BUILD ABORTED ***


Home | Main Index | Thread Index | Old Index