Re: buildworld has been broken for me since Sunday 20110815 at atrun

From: Edwin L. Culp W. <edwinlculp_at_gmail.com>
Date: Tue, 16 Aug 2011 12:29:47 -0500
On Tue, Aug 16, 2011 at 10:18 AM, Niclas Zeising
<niclas.zeising_at_gmail.com> wrote:
> On 2011-08-16 15:47, eculp wrote:
>> Is anyone else seeing this?  This is current AMD64.  I'm running the
>> compile from Saturday 20110814 that I have been hammering and it has
>> been rock solid.
>>
>> # uname -a
>> FreeBSD home.encontacto.net 9.0-BETA1 FreeBSD 9.0-BETA1 #16: Sat Aug 13
>> 05:09:17 CDT 2011
>> root_at_Home.EnContacto.net:/usr/obj/usr/src/sys/ENCONTACTO  amd64
>>
>> This morning I started with a make clean to be sure and recompile all
>> just in case and the same.
>>
>> ===> lib/clang/include (all)
>> ===> libexec (all)
>> ===> libexec/atrun (all)
>> cc -O2 -pipe  -DATJOB_DIR=\"/var/at/jobs/\"
>> -DLFILE=\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=1.5
>> -DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\" -DDAEMON_UID=1
>> -DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'  -DDEFAULT_AT_QUEUE=\'c\'
>> -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
>> -I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99 -fstack-protector
>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized
>> -Wno-pointer-sign -c /usr/src/libexec/atrun/atrun.c
>> cc -O2 -pipe  -DATJOB_DIR=\"/var/at/jobs/\"
>> -DLFILE=\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=1.5
>> -DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\" -DDAEMON_UID=1
>> -DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'  -DDEFAULT_AT_QUEUE=\'c\'
>> -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
>> -I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99 -fstack-protector
>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized
>> -Wno-pointer-sign -c /usr/src/libexec/atrun/gloadavg.c
>> cc -O2 -pipe  -DATJOB_DIR=\"/var/at/jobs/\"
>> -DLFILE=\"/var/at/jobs/.lockfile\"  -DLOADAVG_MX=1.5
>> -DATSPOOL_DIR=\"/var/at/spool\"  -DVERSION=\"2.9\" -DDAEMON_UID=1
>> -DDAEMON_GID=1  -DDEFAULT_BATCH_QUEUE=\'E\'  -DDEFAULT_AT_QUEUE=\'c\'
>> -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at
>> -I/usr/src/libexec/atrun -DLOGIN_CAP -DPAM -std=gnu99 -fstack-protector
>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized
>> -Wno-pointer-sign  -o atrun atrun.o gloadavg.o -lpam -lutil
>> /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylex'
>> /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyin'
>> /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyytext'
>> /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyyerror'
>> /usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_nsyylineno'
>> *** Error code 1
>>
>> Stop in /usr/src/libexec/atrun.
>> *** Error code 1
>>
>> Stop in /usr/src/libexec.
>> *** Error code 1
>>
>> Stop in /usr/src.
>> *** Error code 1
>>
>> Stop in /usr/src.
>> *** Error code 1
>>
>> Stop in /usr/src.
>> (END)
>>
>> Thanks,
>>
>> ed
>>
>
> As per a recent entry in UPDATING, there was a window when a bug in
> /dev/std{in,out,err} caused the kernel to be unable to buildworld. The
> fix is to update to latest sources, rebuild kernel, and then do the
> complete buildworld cycle.
> HTH!
>
> --
> Niclas Z
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>

Worked perfectly.  Maybe it would be a good idea to put the step by
step solution for other folks like me who  haven't put enough effort
to understand the 20110815: entry.  Something like.

a. csup
b. make buildkernel KERNCONF=your_config
c. make installkernel
d. make buildworld
e. make installworld
f. Reboot to see if it worked.

hmmmm f. maybe not.

Thanks again guys.

ed
Received on Tue Aug 16 2011 - 15:29:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC