NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Compiling 6.0_RC1 fails
* David (david%chromiq.org@localhost) wrote:
> $ ./build.sh -r -x -O ../obj -T ../tools -U distribution | tee
> /var/tmp/buildlog.txt
>
> or even plain old
>
> $ ./build.sh -r -x -O ../obj -T ../tools -U distribution >
> /var/tmp/buildlog.txt
> $ tail -f /var/tmp/buildlog.txt
>
> to watch what's going on... proably "cleaner", too...
I used tee(1). But unfortunately error messages to stderr are not piped.
I should have redirected both stdout and stderr to the log file.
To reproduce the error, it takes at least 2 hours.
(And this is the third time.)
But hoping that the log file given below should be some useful.
* Pongthep Kulkrisada (ptkrisada%gmail.com@localhost) wrote:
> What I did are as followings.
> 1. fetching 6.0_RC1
> 2. building a new userland (this step fails)
> 3. building a new kernel (this step also fails)
> 4. installing a new kernel
> 5. installing a new userland
> 6. updating the system configuration files
Step 2 (building a new userland) still fails.
But this time step 3 (building the new kernel) works pretty fine.
I just cannot reproduce the problem of compiling the new kernel.
There might be something missing in my previous kernel compilation.
I did copy GENERIC to CUSTOM when I made 5.1_STABLE from 5.1.2.
After cvs to 6.0_RC1 done, GENERIC was changed but my CUSTOM remains unchanged.
I might probably forget to replace it.
This might be a cause of failure of the previous kernel compilation.
Here's a log of partial userland compilation.
# compile amd/info_hesiod.o
/usr/src/../tools/bin/i486--netbsdelf-gcc -O2 -fstack-protector
-Wstack-protector --param ssp-buffer-size=1 -std=gnu99 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wno-traditional -Wa,--fatal-warnings -Werror
--sysroot=/usr/src/../obj/destdir.i386 -DHAVE_CONFIG_H
-I/usr/src/external/bsd/am-utils/bin/amd/../../include
-I/usr/src/external/bsd/am-utils/dist/libamu
-I/usr/src/external/bsd/am-utils/dist/include
-I/usr/src/../obj/external/bsd/am-utils/lib/libamu -DHAVE_MAP_HESIOD=1
-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1
-DLDAP_DEPRECATED=1 -DHAVE_MAP_NIS=1 -I/usr/src/external/bsd/am-utils/dist/amd
-I/usr/src/../obj/external/bsd/am-utils/bin/amd -DHAVE_CONFIG_H
-I/usr/src/external/bsd/am-utils/bin/amd/../../include
-I/usr/src/external/bsd/am-utils/dist/libamu
-I/usr/src/external/bsd/am-utils/dist/include
-I/usr/src/../obj/external/bsd/am-utils/lib/libamu -DHAVE_MAP_HESIOD=1
-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1
-DLDAP_DEPRECATED=1 -DHAVE_MAP_NIS=1 -D_FORTIFY_SOURCE=2 -c
/usr/src/external/bsd/am-utils/dist/amd/info_hesiod.c
# compile amd/info_ldap.o
/usr/src/../tools/bin/i486--netbsdelf-gcc -O2 -fstack-protector
-Wstack-protector --param ssp-buffer-size=1 -std=gnu99 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wno-traditional -Wa,--fatal-warnings -Werror
--sysroot=/usr/src/../obj/destdir.i386 -DHAVE_CONFIG_H
-I/usr/src/external/bsd/am-utils/bin/amd/../../include
-I/usr/src/external/bsd/am-utils/dist/libamu
-I/usr/src/external/bsd/am-utils/dist/include
-I/usr/src/../obj/external/bsd/am-utils/lib/libamu -DHAVE_MAP_HESIOD=1
-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1
-DLDAP_DEPRECATED=1 -DHAVE_MAP_NIS=1 -I/usr/src/external/bsd/am-utils/dist/amd
-I/usr/src/../obj/external/bsd/am-utils/bin/amd -DHAVE_CONFIG_H
-I/usr/src/external/bsd/am-utils/bin/amd/../../include
-I/usr/src/external/bsd/am-utils/dist/libamu
-I/usr/src/external/bsd/am-utils/dist/include
-I/usr/src/../obj/external/bsd/am-utils/lib/libamu -DHAVE_MAP_HESIOD=1
-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1
-DLDAP_DEPRECATED=1 -DHAVE_MAP_NIS=1 -D_FORTIFY_SOURCE=2 -c
/usr/src/external/bsd/am-utils/dist/amd/info_ldap.c
# compile amd/info_nis.o
/usr/src/../tools/bin/i486--netbsdelf-gcc -O2 -fstack-protector
-Wstack-protector --param ssp-buffer-size=1 -std=gnu99 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wno-traditional -Wa,--fatal-warnings -Werror
--sysroot=/usr/src/../obj/destdir.i386 -DHAVE_CONFIG_H
-I/usr/src/external/bsd/am-utils/bin/amd/../../include
-I/usr/src/external/bsd/am-utils/dist/libamu
-I/usr/src/external/bsd/am-utils/dist/include
-I/usr/src/../obj/external/bsd/am-utils/lib/libamu -DHAVE_MAP_HESIOD=1
-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1
-DLDAP_DEPRECATED=1 -DHAVE_MAP_NIS=1 -I/usr/src/external/bsd/am-utils/dist/amd
-I/usr/src/../obj/external/bsd/am-utils/bin/amd -DHAVE_CONFIG_H
-I/usr/src/external/bsd/am-utils/bin/amd/../../include
-I/usr/src/external/bsd/am-utils/dist/libamu
-I/usr/src/external/bsd/am-utils/dist/include
-I/usr/src/../obj/external/bsd/am-utils/lib/libamu -DHAVE_MAP_HESIOD=1
-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1
-DLDAP_DEPRECATED=1 -DHAVE_MAP_NIS=1 -D_FORTIFY_SOURCE=2 -c
/usr/src/external/bsd/am-utils/dist/amd/info_nis.c
# link amd/amd
/usr/src/../tools/bin/i486--netbsdelf-gcc
--sysroot=/usr/src/../obj/destdir.i386 -o amd am_ops.o amd.o amfs_auto.o
amfs_generic.o amfs_direct.o amfs_error.o amfs_host.o amfs_link.o amfs_linkx.o
amfs_nfsl.o amfs_nfsx.o amfs_program.o amfs_root.o amfs_toplvl.o amfs_union.o
amq_subr.o amq_svc.o autil.o clock.o conf.o get_args.o info_exec.o info_file.o
info_ndbm.o info_passwd.o info_sun.o info_union.o map.o mapc.o mntfs.o
nfs_prot_svc.o nfs_start.o nfs_subr.o ops_cdfs.o ops_efs.o ops_mfs.o ops_nfs.o
ops_nfs3.o ops_nullfs.o ops_pcfs.o ops_tfs.o ops_tmpfs.o ops_udf.o ops_ufs.o
ops_umapfs.o ops_unionfs.o opts.o readdir.o restart.o rpc_fwd.o sched.o
srvr_amfs_auto.o srvr_nfs.o sun_map.o sun_map_parse.o sun_map_tok.o
conf_parse.o conf_tok.o info_hesiod.o info_ldap.o info_nis.o
-L/usr/src/../obj/external/bsd/am-utils/lib/libamu -lamu -lldap -lrpcsvc
-L/usr/src/../obj/external/bsd/am-utils/lib/libamu -lamu
-Wl,-rpath-link,/usr/src/../obj/destdir.i386/lib -L=/lib
*** Error code 1
Stop.
nbmake: stopped in /usr/src/external/bsd/am-utils/bin/amd
*** Error code 1
Stop.
nbmake: stopped in /usr/src/external/bsd/am-utils/bin/amd
*** Error code 1
Stop.
nbmake: stopped in /usr/src/external/bsd/am-utils/bin
*** Error code 1
Stop.
nbmake: stopped in /usr/src/external/bsd/am-utils
*** Error code 1
Stop.
nbmake: stopped in /usr/src/external/bsd
*** Error code 1
Stop.
nbmake: stopped in /usr/src/external
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Error code 1
Stop.
nbmake: stopped in /usr/src
--
Pongthep Kulkrisada
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie
Home |
Main Index |
Thread Index |
Old Index