Re: 8.2-PRE: hastd: Compile Error

2011-01-18 Thread Eugene Grosbein
On 18.01.2011 13:31, Larry Rosenman wrote:

 Someone have to fix hastd's Makefile and change WARNS level there.
 This problem breaks source upgrade.

 Eugene Grosbein
 
 Is anyone working on it?  I'm trying to get a source upgrade from 8.0 to 8.2 
 done. 

It seems, no. Also, there is PR for that:
http://www.freebsd.org/cgi/query-pr.cgi?pr=153947

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


Re: 8.2-PRE: hastd: Compile Error

2011-01-18 Thread Eugene Grosbein
On 18.01.2011 13:34, Lystopad Aleksandr wrote:

 There are solution from Vsevolod Lobko:

   : just do:
   : 
   : cd /usr/src/usr.bin/lex
   : make obj
   : make
   : make install
   : 
   : and buildworld works properly
 
 in http://www.freebsd.org/cgi/query-pr.cgi?pr=153947
 
 I make buildworld without problems after that yesturday.

That's not a solution for 7-8 upgrade as new lex won't run under 7.x kernel.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8.2-PRE: hastd: Compile Error

2011-01-18 Thread Olivier Certner
 I make buildworld without problems after that yesturday.

Same here. Perhaps someone could add a small entry about that in 
UPDATING? It 
seems that this problem is likely to be reported over and over without such a 
notice.

Thanks,

Olivier Certner
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8.2-PRE: hastd: Compile Error

2011-01-18 Thread Eugene Grosbein

On 18.01.2011 14:18, Olivier Certner wrote:
 I make buildworld without problems after that yesturday.
 
   Same here. Perhaps someone could add a small entry about that in 
 UPDATING? It 
 seems that this problem is likely to be reported over and over without such a 
 notice.

IMO the problem should be fixed, not documented :-)
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8.2-PRE: hastd: Compile Error

2011-01-18 Thread Olivier Certner
 That's not a solution for 7-8 upgrade as new lex won't run under 7.x
 kernel.

I can confirm that compiling and installing 'lex' in advance produces a 
working 'lex' on 7.x. 

My current understanding is that the procedure mentioned in a previous 
mail 
uses the 8.x source but the 7.x tools and headers, so 'lex' then runs 
correctly, since it also doesn't depend on exotic kernel features found only 
in 8.x.

Olivier Certner
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8.2-PRE: hastd: Compile Error

2011-01-18 Thread Eugene Grosbein
On 18.01.2011 14:47, Olivier Certner wrote:
 That's not a solution for 7-8 upgrade as new lex won't run under 7.x
 kernel.
 
   I can confirm that compiling and installing 'lex' in advance produces a 
 working 'lex' on 7.x. 
 
   My current understanding is that the procedure mentioned in a previous 
 mail 
 uses the 8.x source but the 7.x tools and headers, so 'lex' then runs 
 correctly, since it also doesn't depend on exotic kernel features found only 
 in 8.x.

Got it, thanks. This is still workaround until real fix made, not solution.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8.2-PRE: hastd: Compile Error

2011-01-18 Thread Duane H. Hesser
On Mon, 17 Jan 2011 16:38:57 -0600 (CST)
Larry Rosenman l...@lerctr.org wrote:

 What can I do to fix this?
 
 csup'd around 2pm Central (US) time from cvsup5.
 
 cc -O2 -pipe  -I/usr/src/sbin/hastd -DINET -DINET6 -DYY_NO_UNPUT 
 -DYY_NO_INPUT -DHAVE_CRYPTO -std=gnu99 -fstack-protector -Wsystem-headers 
 -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
 -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual 
 -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter 
 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
 -Wno-pointer-sign -c token.c
 cc1: warnings being treated as errors
 /usr/src/sbin/hastd/token.l:456: warning: function declaration isn't a 
 prototype
 *** Error code 1
 
 Stop in /usr/src/sbin/hastd.
 *** Error code 1
 
 Stop in /usr/src/sbin.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 # $

make -i will get you past it, provided you do not need 'hastd',
and provided you watch carefully for other possible errors (there
appear to be no others at this time).


-- 
Duane H. Hesser dhes...@accima.com
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8.2-PRE: hastd: Compile Error

2011-01-18 Thread Max Khon
Eugene,

On Tue, Jan 18, 2011 at 4:11 PM, Eugene Grosbein egrosb...@rdtc.ru wrote:

On 18.01.2011 14:47, Olivier Certner wrote:
  That's not a solution for 7-8 upgrade as new lex won't run under 7.x
  kernel.
 
I can confirm that compiling and installing 'lex' in advance
 produces a
  working 'lex' on 7.x.
 
My current understanding is that the procedure mentioned in a
 previous mail
  uses the 8.x source but the 7.x tools and headers, so 'lex' then runs
  correctly, since it also doesn't depend on exotic kernel features found
 only
  in 8.x.

 Got it, thanks. This is still workaround until real fix made, not solution.


Please try attached patch.

Max


Makefile.inc1.diff
Description: Binary data
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

8.2-PRE: hastd: Compile Error

2011-01-17 Thread Larry Rosenman

What can I do to fix this?

csup'd around 2pm Central (US) time from cvsup5.

cc -O2 -pipe  -I/usr/src/sbin/hastd -DINET -DINET6 -DYY_NO_UNPUT -DYY_NO_INPUT 
-DHAVE_CRYPTO -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall 
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline 
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c token.c
cc1: warnings being treated as errors
/usr/src/sbin/hastd/token.l:456: warning: function declaration isn't a prototype
*** Error code 1

Stop in /usr/src/sbin/hastd.
*** Error code 1

Stop in /usr/src/sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
# $


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 512-248-2683 E-Mail: l...@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8.2-PRE: hastd: Compile Error

2011-01-17 Thread Eugene Grosbein
On 18.01.2011 04:38, Larry Rosenman wrote:
 What can I do to fix this?
 
 csup'd around 2pm Central (US) time from cvsup5.
 
 cc -O2 -pipe  -I/usr/src/sbin/hastd -DINET -DINET6 -DYY_NO_UNPUT 
 -DYY_NO_INPUT -DHAVE_CRYPTO -std=gnu99 -fstack-protector -Wsystem-headers 
 -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
 -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual 
 -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter 
 -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
 -Wno-pointer-sign -c token.c
 cc1: warnings being treated as errors
 /usr/src/sbin/hastd/token.l:456: warning: function declaration isn't a 
 prototype
 *** Error code 1
 
 Stop in /usr/src/sbin/hastd.
 *** Error code 1
 
 Stop in /usr/src/sbin.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 # $

Someone have to fix hastd's Makefile and change WARNS level there.
This problem breaks source upgrade.

Eugene Grosbein



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


Re: 8.2-PRE: hastd: Compile Error

2011-01-17 Thread Larry Rosenman
Eugene Grosbein egrosb...@rdtc.ru wrote:

On 18.01.2011 04:38, Larry Rosenman wrote:
 What can I do to fix this?

 csup'd around 2pm Central (US) time from cvsup5.

 cc -O2 -pipe  -I/usr/src/sbin/hastd -DINET -DINET6 -DYY_NO_UNPUT
-DYY_NO_INPUT -DHAVE_CRYPTO -std=gnu99 -fstack-protector
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wno-pointer-sign -c token.c
 cc1: warnings being treated as errors
 /usr/src/sbin/hastd/token.l:456: warning: function declaration isn't
a prototype
 *** Error code 1

 Stop in /usr/src/sbin/hastd.
 *** Error code 1

 Stop in /usr/src/sbin.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 # $

Someone have to fix hastd's Makefile and change WARNS level there.
This problem breaks source upgrade.

Eugene Grosbein

Is anyone working on it?  I'm trying to get a source upgrade from 8.0 to 8.2 
done.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: 8.2-PRE: hastd: Compile Error

2011-01-17 Thread Lystopad Aleksandr
 Hello, Eugene Grosbein!

On Tue, Jan 18, 2011 at 01:28:26PM +0600
egrosb...@rdtc.ru wrote about Re: 8.2-PRE: hastd: Compile Error:
 On 18.01.2011 04:38, Larry Rosenman wrote:
  What can I do to fix this?
  
  csup'd around 2pm Central (US) time from cvsup5.
  
  cc -O2 -pipe  -I/usr/src/sbin/hastd -DINET -DINET6 -DYY_NO_UNPUT 
  -DYY_NO_INPUT -DHAVE_CRYPTO -std=gnu99 -fstack-protector -Wsystem-headers 
  -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes 
  -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual 
  -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter 
  -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
  -Wno-pointer-sign -c token.c
  cc1: warnings being treated as errors
  /usr/src/sbin/hastd/token.l:456: warning: function declaration isn't a 
  prototype
  *** Error code 1
  
  Stop in /usr/src/sbin/hastd.
  *** Error code 1
  
  Stop in /usr/src/sbin.
  *** Error code 1
  
  Stop in /usr/src.
  *** Error code 1
  
  Stop in /usr/src.
  *** Error code 1
  
  Stop in /usr/src.
  # $
 
 Someone have to fix hastd's Makefile and change WARNS level there.
 This problem breaks source upgrade.


There are solution from Vsevolod Lobko:
   
  : just do:
  : 
  : cd /usr/src/usr.bin/lex
  : make obj
  : make
  : make install
  : 
  : and buildworld works properly

in http://www.freebsd.org/cgi/query-pr.cgi?pr=153947

I make buildworld without problems after that yesturday.

-- 
 Lystopad Olexandr 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org