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

2011-08-17 Thread Olivier Smedts
2011/8/16 eculp :
> Quoting Mark Felder :
>
>> On Tue, 16 Aug 2011 12:29:47 -0500, Edwin L. Culp W.
>>  wrote:
>>
>>> 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.
>>
>>
>> These steps are detailed in the handbook and you should be following them
>> every
>> time you rebuild CURRENT.
>
> Sorry, it looks like I have been doing things in the wrong order for years.
>  Thanks a lot for pointing that out.

It's safer to buildworld before buildkernel.

And for the particular case of the recent breakage,
build/installkernel then reboot before buildworld, or use an older
working kernel to buildworld / buildkernel as usual.

> ed
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>



-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: oliv...@gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2011-08-16 Thread Conrad J. Sabatier
On Tue, 16 Aug 2011 12:52:37 -0500
eculp  wrote:

> Quoting Mark Felder :
> >
> > These steps are detailed in the handbook and you should be
> > following them every time you rebuild CURRENT.
> 
> Sorry, it looks like I have been doing things in the wrong order for  
> years.  Thanks a lot for pointing that out.

I always rely on the very concise and simple procedure outlined
in /usr/src/Makefile itself (easy to refer to while in single-user
mode as well), whenever my brain happens to seize up.  :-)

-- 
Conrad J. Sabatier
conr...@cox.net
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2011-08-16 Thread eculp

Quoting Mark Felder :

On Tue, 16 Aug 2011 12:29:47 -0500, Edwin L. Culp W.  
 wrote:



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.



These steps are detailed in the handbook and you should be following  
them every

time you rebuild CURRENT.


Sorry, it looks like I have been doing things in the wrong order for  
years.  Thanks a lot for pointing that out.


ed
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2011-08-16 Thread Mark Felder
On Tue, 16 Aug 2011 12:29:47 -0500, Edwin L. Culp W.  
 wrote:



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.



These steps are detailed in the handbook and you should be following them  
every

time you rebuild CURRENT.


Regards,


Mark
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2011-08-16 Thread Edwin L. Culp W.
On Tue, Aug 16, 2011 at 10:18 AM, Niclas Zeising
 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
>> r...@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@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.

h f. maybe not.

Thanks again guys.

ed
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2011-08-16 Thread Niclas Zeising
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
> r...@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2011-08-16 Thread Edwin L. Culp W.
On Tue, Aug 16, 2011 at 8:58 AM, Johan Hendriks  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
>>r...@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.
>
> 
>
> There was a time laps where the kernel had a little hickup.
> See /usr/src/UPDATING.
>
> To resolve this, csup or svn to the latest source, do a buildkernel and 
> installkernel, reboot , and do the buildworld, it should be ok.
> It worked for me and a lot of other guys, so it should work for you to. :D
>

In process.  Thanks for the quick reply from both you and Florian.

Will confirm later after rebuilding world.

Thanks again,

ed

> regards,
> Johan Hendriks___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2011-08-16 Thread Johan Hendriks
>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
>r...@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.



There was a time laps where the kernel had a little hickup.
See /usr/src/UPDATING.

To resolve this, csup or svn to the latest source, do a buildkernel and 
installkernel, reboot , and do the buildworld, it should be ok.
It worked for me and a lot of other guys, so it should work for you to. :D

regards,
Johan Hendriks___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2011-08-16 Thread Florian Smeets

On 16.08.2011 15:47, eculp wrote:

Is anyone else seeing this? This is current AMD64. I'm running the


Yes, there have been X mails about it on this mailing list and an entry 
in UPDATING ;)



compile from Saturday 20110814 that I have been hammering and it has
been rock solid.




/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


You need to update your kerenl, buildworld will work after that.

Cheers,
Florian
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"