build world broken on r311461

2017-01-12 Thread Nilton Jose Rizzo

  Broken on camcontrol


clang  -O2 -pipe   -DRESCUE -MD  -MF.depend.camcontrol.o -MTcamcontrol.o -std=gn
u99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -
Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -W
return-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wc
ast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-st
yle-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety
 -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  -Qunused-argum
ents  -c /usr/src/sbin/camcontrol/camcontrol.c -o camcontrol.o
/usr/src/sbin/camcontrol/camcontrol.c:4000:2: error: implicit declaration of
  function 'scsi_mode_sense_subpage' is invalid in C99
  [-Werror,-Wimplicit-function-declaration]
scsi_mode_sense_subpage(>csio,
^
/usr/src/sbin/camcontrol/camcontrol.c:4000:2: note: did you mean
  'scsi_mode_sense_len'?
/usr/include/cam/scsi/scsi_all.h:3987:7: note: 'scsi_mode_sense_len' declared
  here
voidscsi_mode_sense_len(struct ccb_scsiio *csio, u_int32_t retries,
^
1 error generated.
*** Error code 1

Stop.
make[6]: stopped in /usr/src/sbin/camcontrol


root@valfenda:/usr # uname -a
FreeBSD valfenda 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r311461: Thu Jan  5
22:46:38 UTC 2017
r...@releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
root@valfenda:/usr # 

root@valfenda:/usr # cat /etc/make.conf 
NO_USE_GCC="YES"
CC=clang
CXX=clang++
CPP=clang-cpp




---
/*
**Nilton José RizzoUFRRJ
**http://www.rizzo.eng.br  http://www.ufrrj.br
**http://lattes.cnpq.br/0079460703536198
**/

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

Re: build world broken amd64 current at ifconfig if WITHOUT_DYNAMICROOT=yes is set in src.conf

2015-12-01 Thread Bryan Drewery
On 12/1/2015 8:08 AM, Manfred Antar wrote:
> make build world is broken at /usr/src/sbin/ifconfig if you have 
> WITHOUT_DYNAMICROOT=yes in src.conf:
> 
> cc -O2 -pipe -DINET6 -DINET -DJAIL -Wall -Wmissing-prototypes -Wcast-qual 
> -Wwrite-strings -Wnested-externs -std=gnu99 -fstack-protector-strong 
> -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign 
> -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
> -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef 
> -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments  
> -static -o ifconfig ifconfig.o af_link.o af_inet.o af_inet6.o af_nd6.o 
> ifclone.o ifmac.o ifmedia.o iffib.o ifvlan.o ifvxlan.o ifgre.o ifgif.o sfp.o 
> ifieee80211.o carp.o ifgroup.o ifpfsync.o ifbridge.o iflagg.o   -lm  -lbsdxml 
>  -lsbuf  -l80211  -ljail
> /usr/lib/lib80211.a(lib80211_regdomain.o): In function 
> `lib80211_regdomain_readconfig':
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x4d): undefined reference 
> to `XML_ParserCreate'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x5b): undefined reference 
> to `XML_SetUserData'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x6d): undefined reference 
> to `XML_SetElementHandler'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x7a): undefined reference 
> to `XML_SetCharacterDataHandler'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x8c): undefined reference 
> to `XML_Parse'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x9d): undefined reference 
> to `XML_ParserFree'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x497): undefined reference 
> to `XML_GetErrorCode'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x49e): undefined reference 
> to `XML_ErrorString'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x4a9): undefined reference 
> to `XML_GetCurrentLineNumber'
> /usr/lib/lib80211.a(lib80211_regdomain.o): In function `start_element':
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x5ac): undefined reference 
> to `sbuf_new'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x779): undefined reference 
> to `XML_GetCurrentLineNumber'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x7ec): undefined reference 
> to `XML_GetCurrentLineNumber'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x99b): undefined reference 
> to `XML_GetCurrentLineNumber'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x9ae): undefined reference 
> to `XML_GetCurrentLineNumber'
> /usr/lib/lib80211.a(lib80211_regdomain.o): In function `end_element':
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa4e): undefined reference 
> to `sbuf_finish'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa5c): undefined reference 
> to `sbuf_data'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa6d): undefined reference 
> to `sbuf_len'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xbfb): undefined reference 
> to `XML_GetCurrentLineNumber'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xd1b): undefined reference 
> to `XML_GetCurrentLineNumber'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xdee): undefined reference 
> to `XML_GetCurrentLineNumber'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xe31): undefined reference 
> to `XML_GetCurrentLineNumber'
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xe9a): undefined reference 
> to `XML_GetCurrentLineNumber'
> /usr/lib/lib80211.a(lib80211_regdomain.o):/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xebf):
>  more undefined references to `XML_GetCurrentLineNumber' follow
> /usr/lib/lib80211.a(lib80211_regdomain.o): In function `end_element':
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xfcc): undefined reference 
> to `sbuf_delete'
> /usr/lib/lib80211.a(lib80211_regdomain.o): In function `char_data':
> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x1155): undefined 
> reference to `sbuf_bcat'
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src/sbin/ifconfig
> 
> The order of the library linking needs to be changed from:
> LIBADD+=  bsdxml sbuf 80211
> to
> LIBADD+=  80211 bsdxml sbuf
> 

The fix is worse than that, it is an obscure thing in src.libnames.mk.
Dependencies are supposed to be duplicated there for this exact case.
I'll fix it there.

Curious, why do you use WITHOUT_DYNAMICROOT?


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: build world broken amd64 current at ifconfig if WITHOUT_DYNAMICROOT=yes is set in src.conf

2015-12-01 Thread Bryan Drewery
On 12/1/2015 9:27 AM, Bryan Drewery wrote:
> On 12/1/2015 8:08 AM, Manfred Antar wrote:
>> make build world is broken at /usr/src/sbin/ifconfig if you have 
>> WITHOUT_DYNAMICROOT=yes in src.conf:
>>
>> cc -O2 -pipe -DINET6 -DINET -DJAIL -Wall -Wmissing-prototypes -Wcast-qual 
>> -Wwrite-strings -Wnested-externs -std=gnu99 -fstack-protector-strong 
>> -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign 
>> -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
>> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
>> -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef 
>> -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments  
>> -static -o ifconfig ifconfig.o af_link.o af_inet.o af_inet6.o af_nd6.o 
>> ifclone.o ifmac.o ifmedia.o iffib.o ifvlan.o ifvxlan.o ifgre.o ifgif.o sfp.o 
>> ifieee80211.o carp.o ifgroup.o ifpfsync.o ifbridge.o iflagg.o   -lm  
>> -lbsdxml  -lsbuf  -l80211  -ljail
>> /usr/lib/lib80211.a(lib80211_regdomain.o): In function 
>> `lib80211_regdomain_readconfig':
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x4d): undefined reference 
>> to `XML_ParserCreate'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x5b): undefined reference 
>> to `XML_SetUserData'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x6d): undefined reference 
>> to `XML_SetElementHandler'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x7a): undefined reference 
>> to `XML_SetCharacterDataHandler'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x8c): undefined reference 
>> to `XML_Parse'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x9d): undefined reference 
>> to `XML_ParserFree'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x497): undefined 
>> reference to `XML_GetErrorCode'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x49e): undefined 
>> reference to `XML_ErrorString'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x4a9): undefined 
>> reference to `XML_GetCurrentLineNumber'
>> /usr/lib/lib80211.a(lib80211_regdomain.o): In function `start_element':
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x5ac): undefined 
>> reference to `sbuf_new'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x779): undefined 
>> reference to `XML_GetCurrentLineNumber'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x7ec): undefined 
>> reference to `XML_GetCurrentLineNumber'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x99b): undefined 
>> reference to `XML_GetCurrentLineNumber'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x9ae): undefined 
>> reference to `XML_GetCurrentLineNumber'
>> /usr/lib/lib80211.a(lib80211_regdomain.o): In function `end_element':
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa4e): undefined 
>> reference to `sbuf_finish'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa5c): undefined 
>> reference to `sbuf_data'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa6d): undefined 
>> reference to `sbuf_len'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xbfb): undefined 
>> reference to `XML_GetCurrentLineNumber'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xd1b): undefined 
>> reference to `XML_GetCurrentLineNumber'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xdee): undefined 
>> reference to `XML_GetCurrentLineNumber'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xe31): undefined 
>> reference to `XML_GetCurrentLineNumber'
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xe9a): undefined 
>> reference to `XML_GetCurrentLineNumber'
>> /usr/lib/lib80211.a(lib80211_regdomain.o):/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xebf):
>>  more undefined references to `XML_GetCurrentLineNumber' follow
>> /usr/lib/lib80211.a(lib80211_regdomain.o): In function `end_element':
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xfcc): undefined 
>> reference to `sbuf_delete'
>> /usr/lib/lib80211.a(lib80211_regdomain.o): In function `char_data':
>> /usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x1155): undefined 
>> reference to `sbuf_bcat'
>> cc: error: linker command failed with exit code 1 (use -v to see invocation)
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/src/sbin/ifconfig
>>
>> The order of the library linking needs to be changed from:
>> LIBADD+= bsdxml sbuf 80211
>> to
>> LIBADD+= 80211 bsdxml sbuf
>>
> 
> The fix is worse than that, it is an obscure thing in src.libnames.mk.
> Dependencies are supposed to be duplicated there for this exact case.
> I'll fix it there.
> 

lib80211 was also underlinked.

Fixed in r291600.


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


build world broken amd64 current at ifconfig if WITHOUT_DYNAMICROOT=yes is set in src.conf

2015-12-01 Thread Manfred Antar
make build world is broken at /usr/src/sbin/ifconfig if you have 
WITHOUT_DYNAMICROOT=yes in src.conf:

cc -O2 -pipe -DINET6 -DINET -DJAIL -Wall -Wmissing-prototypes -Wcast-qual 
-Wwrite-strings -Wnested-externs -std=gnu99 -fstack-protector-strong 
-Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign 
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch 
-Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments  -static -o 
ifconfig ifconfig.o af_link.o af_inet.o af_inet6.o af_nd6.o ifclone.o ifmac.o 
ifmedia.o iffib.o ifvlan.o ifvxlan.o ifgre.o ifgif.o sfp.o ifieee80211.o carp.o 
ifgroup.o ifpfsync.o ifbridge.o iflagg.o   -lm  -lbsdxml  -lsbuf  -l80211  
-ljail
/usr/lib/lib80211.a(lib80211_regdomain.o): In function 
`lib80211_regdomain_readconfig':
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x4d): undefined reference to 
`XML_ParserCreate'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x5b): undefined reference to 
`XML_SetUserData'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x6d): undefined reference to 
`XML_SetElementHandler'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x7a): undefined reference to 
`XML_SetCharacterDataHandler'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x8c): undefined reference to 
`XML_Parse'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x9d): undefined reference to 
`XML_ParserFree'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x497): undefined reference 
to `XML_GetErrorCode'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x49e): undefined reference 
to `XML_ErrorString'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x4a9): undefined reference 
to `XML_GetCurrentLineNumber'
/usr/lib/lib80211.a(lib80211_regdomain.o): In function `start_element':
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x5ac): undefined reference 
to `sbuf_new'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x779): undefined reference 
to `XML_GetCurrentLineNumber'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x7ec): undefined reference 
to `XML_GetCurrentLineNumber'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x99b): undefined reference 
to `XML_GetCurrentLineNumber'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x9ae): undefined reference 
to `XML_GetCurrentLineNumber'
/usr/lib/lib80211.a(lib80211_regdomain.o): In function `end_element':
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa4e): undefined reference 
to `sbuf_finish'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa5c): undefined reference 
to `sbuf_data'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xa6d): undefined reference 
to `sbuf_len'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xbfb): undefined reference 
to `XML_GetCurrentLineNumber'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xd1b): undefined reference 
to `XML_GetCurrentLineNumber'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xdee): undefined reference 
to `XML_GetCurrentLineNumber'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xe31): undefined reference 
to `XML_GetCurrentLineNumber'
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xe9a): undefined reference 
to `XML_GetCurrentLineNumber'
/usr/lib/lib80211.a(lib80211_regdomain.o):/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xebf):
 more undefined references to `XML_GetCurrentLineNumber' follow
/usr/lib/lib80211.a(lib80211_regdomain.o): In function `end_element':
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0xfcc): undefined reference 
to `sbuf_delete'
/usr/lib/lib80211.a(lib80211_regdomain.o): In function `char_data':
/usr/src/lib/lib80211/lib80211_regdomain.c:(.text+0x1155): undefined reference 
to `sbuf_bcat'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /usr/src/sbin/ifconfig

The order of the library linking needs to be changed from:
LIBADD+=bsdxml sbuf 80211
to
LIBADD+=80211 bsdxml sbuf

Then it works:
(ifconfig)5076}make
cc -O2 -pipe -DINET6 -DINET -DJAIL -Wall -Wmissing-prototypes -Wcast-qual 
-Wwrite-strings -Wnested-externs -std=gnu99 -fstack-protector-strong 
-Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign 
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable 
-Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality 
-Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-switch 
-Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments  -static -o 
ifconfig ifconfig.o af_link.o af_inet.o af_inet6.o af_nd6.o ifclone.o ifmac.o 
ifmedia.o iffib.o ifvlan.o ifvxlan.o ifgre.o ifgif.o sfp.o ifieee80211.o carp.o 
ifgroup.o ifpfsync.o ifbridge.o iflagg.o   -lm  -l80211  -lbsdxml  -lsbuf  
-ljail
gzip -cn /usr/src/sbin/ifconfig/ifconfig.8 > ifconfig.8.gz


bge phy read timeout possibly solved / now make world broken (Re: bge0 driver PHY read timeout and pccardd not finding PCMCIA card, DELL Latitude D600, with current of yesterday)

2003-10-26 Thread Andreas Klemm

Luckily I had some old -current SNAP CDs.

1. Tried a snap from Aug 31:
   No problems with bge0 interface with -curremnt

2. Updated sources to -current of today.
   Compiled and installed only new actual kernel.
   No problems with bge0 interface.

Currently am trying to do make world but it
fails in stage 4.2 - building libraries:

lib/libypclnt/ypclnt_connect.c

Best regards

Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.1-CURRENT
Need a magic printfilter today ? - http://www.apsfilter.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: world broken with a gcc 3.2 world? (resolution)

2003-08-02 Thread Alexander Leidinger
On Thu, 31 Jul 2003 11:27:56 +0200
Alexander Leidinger [EMAIL PROTECTED] wrote:

 with a Jul 10 world, a clean /usr/obj and the sources as of yesterday I
 get
 ---snip---
 /big/usr/src/contrib/gcc/dwarf2out.c:11739:75: missing terminating ' character
 /big/usr/src/contrib/gcc/dwarf2out.c:11741:71: warning: multi-line string litera
 ls are deprecated
 /big/usr/src/contrib/gcc/dwarf2out.c:11743:26: missing terminating ' character
 /big/usr/src/contrib/gcc/dwarf2out.c:12095:28: missing terminating ' character
 /big/usr/src/contrib/gcc/dwarf2out.c:12190:7: missing terminating ' character
 /big/usr/src/contrib/gcc/dwarf2out.c:12475:58: macro ASM_OUTPUT_INTERNAL_LABEL
  passed 5 arguments, but takes just 3
 /big/usr/src/contrib/gcc/dwarf2out.c:12756:2: #else without #if
 /big/usr/src/contrib/gcc/dwarf2out.c:12761:2: #endif without #if
 /big/usr/src/contrib/gcc/dwarf2out.c:12764:2: #endif without #if
 mkdep: compile failed
 *** Error code 1
 ---snip---

My local CVS repository was broken.

Bye,
Alexander.

-- 
   One world, one web, one program  -- Microsoft promotional ad
 Ein Volk, ein Reich, ein Fuehrer  -- Adolf Hitler

http://www.Leidinger.net   Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


world broken with a gcc 3.2 world?

2003-07-31 Thread Alexander Leidinger
Hi,

with a Jul 10 world, a clean /usr/obj and the sources as of yesterday I
get
---snip---
/big/usr/src/contrib/gcc/dwarf2out.c:11739:75: missing terminating ' character
/big/usr/src/contrib/gcc/dwarf2out.c:11741:71: warning: multi-line string litera
ls are deprecated
/big/usr/src/contrib/gcc/dwarf2out.c:11743:26: missing terminating ' character
/big/usr/src/contrib/gcc/dwarf2out.c:12095:28: missing terminating ' character
/big/usr/src/contrib/gcc/dwarf2out.c:12190:7: missing terminating ' character
/big/usr/src/contrib/gcc/dwarf2out.c:12475:58: macro ASM_OUTPUT_INTERNAL_LABEL
 passed 5 arguments, but takes just 3
/big/usr/src/contrib/gcc/dwarf2out.c:12756:2: #else without #if
/big/usr/src/contrib/gcc/dwarf2out.c:12761:2: #endif without #if
/big/usr/src/contrib/gcc/dwarf2out.c:12764:2: #endif without #if
mkdep: compile failed
*** Error code 1
---snip---

It complains about:
---snip---
  else
{
 body block of an inline function, we must *NOT* output any DIE for
 this block because we have already output a DIE to represent the whole
 inlined function scope and the body block of any function doesn't
 really represent a different scope according to ANSI C rules.  So we
 check here to make sure that this block does not represent a body
 block inlining before trying to set the MUST_OUTPUT_DIE flag.  */
 `must_output_die' flag.  */
---snip---
which is obviously correct to complain about. cvs stat tells me:
---snip---
File: dwarf2out.c   Status: Up-to-date

   Working revision:1.1.1.9 Wed Jul 30 15:24:40 2003
   Repository revision: 1.1.1.9 /big/FreeBSD-CVS/src/contrib/gcc/dwarf2out.c,v
   Sticky Tag:  (none)
   Sticky Date: (none)
   Sticky Options:  (none)
---snip---

Any hints?

Bye,
Alexander.

-- 
Where do you think you're going today?

http://www.Leidinger.net   Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: world broken at libkvm

2003-01-13 Thread Giorgos Keramidas
On 2003-01-12 20:14, [EMAIL PROTECTED] (Joe Laughlin) wrote:
 walt wrote:
 cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm  -c
 /usr/src/lib/libkvm/kvm_proc.c -o kvm_proc.o
 /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
 /usr/src/lib/libkvm/kvm_proc.c:376: structure has no member named
 `ke_pctcpu'

 Myself and two others have seen this as well.

I'm building world trying to track the commit that broke things now.
It looks like the following commit could be the one that broke things:

src/sys/kern/sched_4bsd.c,v
revision 1.8
date: 2003/01/12 19:04:49;  author: jeff;  state: Exp;  lines: +30 -15
 - Move ke_pctcpu and ke_cpticks into the scheduler specific datastructure.
   This will prevent access through mechanisms other than the published
   interfaces.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken at libkvm

2003-01-13 Thread Sheldon Hearn

Make sure you have rev 1.289 of sys/sys/proc.h, which is expected to fix
the problem you're reporting.

Ciao,
Sheldon.

- Original Message -

Date:  Sun, 12 Jan 2003 18:14:51 -0800
From:  walt [EMAIL PROTECTED]
To:  [EMAIL PROTECTED]
Subject:  world broken at libkvm


 cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
 /usr/src/lib/libkvm/kvm_proc.c -o kvm_proc.o
 /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
 /usr/src/lib/libkvm/kvm_proc.c:376: structure has no member named `ke_pctcpu'
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken at libkvm

2003-01-12 Thread walt
cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
/usr/src/lib/libkvm/kvm_proc.c -o kvm_proc.o
/usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
/usr/src/lib/libkvm/kvm_proc.c:376: structure has no member named `ke_pctcpu'


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: world broken at libkvm

2003-01-12 Thread Joe Laughlin


walt wrote:

cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
/usr/src/lib/libkvm/kvm_proc.c -o kvm_proc.o
/usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
/usr/src/lib/libkvm/kvm_proc.c:376: structure has no member named 
`ke_pctcpu'


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Myself and two others have seen this as well.

Joe


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: World broken at libkvm

2002-10-01 Thread Don Lewis

On 30 Sep, Juli Mallett wrote:
 * De: Don Lewis [EMAIL PROTECTED] [ Data: 2002-09-30 ]

 I suggest looking especially closely at the sigio stuff.  Even the old
 code has a lock order reversal problem when I/O to a pipe wants to
 signal the process at the other end of the pipe.  I thought a lot about
 that problem and never found a clean fix.
 
 The sigio stuff could be even nastier if you need to allocate memory in
 the signal code because the sigio can be invoked by the reception of a
 packet from the network, which is not handled in a process context ...
 
 No locks except for the lock of the process being signalled should be
 held when sending signals, IMHO, though I am mostly ignorant of the SIGIO
 locking.

As I recall, the sigio code needs to hold a lock to prevent the sigio
structure from being ripped out from underneath it while it is sending a
signal to the target process or process group by any of:

An explicit fcntl(fd, F_SETOWN, ...) by the recpient process or a
member of its process group, or some other process that shares the
associated descriptor.

An implicit fcntl(fd, F_SETOWN, 0) caused by the descriptor being
closed.

The target process exiting.

The target process group disappearing because its last member is
exiting.

The pipe I/O code can call pgsigio() in various places while holding the
pipe lock.  It looks to me like dropping the pipe lock could introduce
some race condition problems in the SMP case.  In particular if we
dropped the lock to send the signal before calling msleep() to wait for
the process at the other end of the pipe to do some I/O, the I/O could
happen after we dropped the lock but before we went to sleep and we'd
never get woken up.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



World broken at libkvm

2002-09-30 Thread walt

cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
/usr/src/lib/libkvm/kvm_proc.c -o kvm_proc.o
/usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
/usr/src/lib/libkvm/kvm_proc.c:201: structure has no member named `p_siglist'


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: World broken at libkvm

2002-09-30 Thread M. Warner Losh

In message: [EMAIL PROTECTED]
walt [EMAIL PROTECTED] writes:
: cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
: /usr/src/lib/libkvm/kvm_proc.c -o kvm_proc.o
: /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
: /usr/src/lib/libkvm/kvm_proc.c:201: structure has no member named `p_siglist'

This has been fixed.  But there's other breakages in the kernel that
are being worked on.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: World broken at libkvm

2002-09-30 Thread Juli Mallett

* De: M. Warner Losh [EMAIL PROTECTED] [ Data: 2002-09-30 ]
[ Subjecte: Re: World broken at libkvm ]
 In message: [EMAIL PROTECTED]
 walt [EMAIL PROTECTED] writes:
 : cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
 : /usr/src/lib/libkvm/kvm_proc.c -o kvm_proc.o
 : /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
 : /usr/src/lib/libkvm/kvm_proc.c:201: structure has no member named `p_siglist'
 
 This has been fixed.  But there's other breakages in the kernel that
 are being worked on.

And now fixed.  All we have to look out for now is someone doing something
that exposes some sort of functional difference, but I don't anticipate it.

Thanks for the patience.

juli.
-- 
Juli Mallett [EMAIL PROTECTED]   | FreeBSD: The Power To Serve
Will break world for fulltime employment. | finger [EMAIL PROTECTED]
http://people.FreeBSD.org/~jmallett/  | Support my FreeBSD hacking!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: World broken at libkvm

2002-09-30 Thread Peter Wemm

Juli Mallett wrote:
 * De: M. Warner Losh [EMAIL PROTECTED] [ Data: 2002-09-30 ]
   [ Subjecte: Re: World broken at libkvm ]
  In message: [EMAIL PROTECTED]
  walt [EMAIL PROTECTED] writes:
  : cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
  : /usr/src/lib/libkvm/kvm_proc.c -o kvm_proc.o
  : /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
  : /usr/src/lib/libkvm/kvm_proc.c:201: structure has no member named `p_sigl
ist'
  
  This has been fixed.  But there's other breakages in the kernel that
  are being worked on.
 
 And now fixed.  All we have to look out for now is someone doing something
 that exposes some sort of functional difference, but I don't anticipate it.

Have you dealt with the 'could sleep' stuff with witness turned on? These
are *guaranteed* panics if the system is low on memory at that given
instant.  (Witness doesn't cause the problems, it reports fundamental
problems that are already there.  The system will panic regardless of
whether witness is there or not.)

I suggest you turn WITNESS on, and stress the system.  If you get *new*
'could sleep' stuff or other lock order problems, then there are still
significant regressions to be fixed.  The last thing we need during the
'please stabilize 5.0' drive is newly added problems.  If other folks are
seeing new ones, please report them here (not to me, I already get too much
email :-]).

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: World broken at libkvm

2002-09-30 Thread walt

Juli Mallett wrote:
 * De: M. Warner Losh [EMAIL PROTECTED] [ Data: 2002-09-30 ]
   [ Subjecte: Re: World broken at libkvm ]


This has been fixed.  But there's other breakages in the kernel that
are being worked on.


 And now fixed.  All we have to look out for now is someone doing something
 that exposes some sort of functional difference, but I don't anticipate it.

World and kernel now compile fine for me.  No crashes yet (5 min uptime :-)

-- 
Does this mean you've found full-time employment?  ;-)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: World broken at libkvm

2002-09-30 Thread Juli Mallett

* De: Peter Wemm [EMAIL PROTECTED] [ Data: 2002-09-30 ]
[ Subjecte: Re: World broken at libkvm ]
 Juli Mallett wrote:
  * De: M. Warner Losh [EMAIL PROTECTED] [ Data: 2002-09-30 ]
  [ Subjecte: Re: World broken at libkvm ]
   In message: [EMAIL PROTECTED]
   walt [EMAIL PROTECTED] writes:
   : cc -O -pipe -mcpu=pentiumpro -DLIBC_SCCS -I/usr/src/lib/libkvm  -c 
   : /usr/src/lib/libkvm/kvm_proc.c -o kvm_proc.o
   : /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist':
   : /usr/src/lib/libkvm/kvm_proc.c:201: structure has no member named `p_sigl
 ist'
   
   This has been fixed.  But there's other breakages in the kernel that
   are being worked on.
  
  And now fixed.  All we have to look out for now is someone doing something
  that exposes some sort of functional difference, but I don't anticipate it.
 
 Have you dealt with the 'could sleep' stuff with witness turned on? These
 are *guaranteed* panics if the system is low on memory at that given
 instant.  (Witness doesn't cause the problems, it reports fundamental
 problems that are already there.  The system will panic regardless of
 whether witness is there or not.)
 
 I suggest you turn WITNESS on, and stress the system.  If you get *new*
 'could sleep' stuff or other lock order problems, then there are still
 significant regressions to be fixed.  The last thing we need during the
 'please stabilize 5.0' drive is newly added problems.  If other folks are
 seeing new ones, please report them here (not to me, I already get too much
 email :-]).

It looks like I'll probably be forced to look at backing this out tomorrow,
if only for the lock issues.  The problem is that sending signals is done
with lots of locks held at the time.  I'm going to try to clean that up
independent of this, once it's sorted, I'll give -arch a holler about this,
but for now it should be safe for anyone who wants to to run these patches
locally, if they get anything out of it other than a perverse kick.

juli.
-- 
Juli Mallett [EMAIL PROTECTED]   | FreeBSD: The Power To Serve
Will break world for fulltime employment. | finger [EMAIL PROTECTED]
http://people.FreeBSD.org/~jmallett/  | Support my FreeBSD hacking!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: World broken at libkvm

2002-09-30 Thread Juli Mallett

* De: Don Lewis [EMAIL PROTECTED] [ Data: 2002-09-30 ]
[ Subjecte: Re: World broken at libkvm ]
 On 30 Sep, Peter Wemm wrote:
  Juli Mallett wrote:
 
  And now fixed.  All we have to look out for now is someone doing something
  that exposes some sort of functional difference, but I don't anticipate it.
 
  I suggest you turn WITNESS on, and stress the system.  If you get *new*
  'could sleep' stuff or other lock order problems, then there are still
  significant regressions to be fixed.  The last thing we need during the
  'please stabilize 5.0' drive is newly added problems.  If other folks are
  seeing new ones, please report them here (not to me, I already get too much
  email :-]).
 
 I suggest looking especially closely at the sigio stuff.  Even the old
 code has a lock order reversal problem when I/O to a pipe wants to
 signal the process at the other end of the pipe.  I thought a lot about
 that problem and never found a clean fix.
 
 The sigio stuff could be even nastier if you need to allocate memory in
 the signal code because the sigio can be invoked by the reception of a
 packet from the network, which is not handled in a process context ...

No locks except for the lock of the process being signalled should be
held when sending signals, IMHO, though I am mostly ignorant of the SIGIO
locking.
-- 
Juli Mallett [EMAIL PROTECTED]   | FreeBSD: The Power To Serve
Will break world for fulltime employment. | finger [EMAIL PROTECTED]
http://people.FreeBSD.org/~jmallett/  | Support my FreeBSD hacking!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



World broken in ncurses ?!

2002-09-22 Thread Marc Recht

With -current sources as of today:

cc -O -pipe -march=athlon-xp -I. -I/usr/src/lib/libncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses 
-I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE 
-DNDEBUG -DHAVE_CONFIG_H -DTERMIOS  -c lib_keyname.c -o lib_keyname.o

lib_keyname.c:7: `KEY_A1' undeclared here (not in a function)
lib_keyname.c:7: initializer element is not constant
lib_keyname.c:7: (near initialization for `_nc_key_names[0].code')
lib_keyname.c:7: initializer element is not constant
lib_keyname.c:7: (near initialization for `_nc_key_names[0]')
lib_keyname.c:8: `KEY_A3' undeclared here (not in a function)
lib_keyname.c:8: initializer element is not constant
lib_keyname.c:8: (near initialization for `_nc_key_names[1].code')
lib_keyname.c:8: initializer element is not constant
lib_keyname.c:8: (near initialization for `_nc_key_names[1]')
lib_keyname.c:9: `KEY_B2' undeclared here (not in a function)
[...] And so on for every key..
lib_keyname.c:160: (near initialization for `_nc_key_names[153].code')
lib_keyname.c:160: initializer element is not constant
lib_keyname.c:160: (near initialization for `_nc_key_names[153]')
lib_keyname.c:161: initializer element is not constant
lib_keyname.c:161: (near initialization for `_nc_key_names[154]')
*** Error code 1

Marc



msg43179/pgp0.pgp
Description: PGP signature


World broken at uudecode [Sep 10]

2002-09-10 Thread walt

cc -O -pipe -mcpu=pentiumpro   -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch 
-Wshadow -Wcast-align -Wno-uninitialized  -c /usr/src/usr.bin/uudecode/uudecode.c
cc1: warnings being treated as errors
/usr/src/usr.bin/uudecode/uudecode.c: In function `decode2':
/usr/src/usr.bin/uudecode/uudecode.c:225: warning: comparison between signed and 
unsigned
/usr/src/usr.bin/uudecode/uudecode.c:275: syntax error before ch
/usr/src/usr.bin/uudecode/uudecode.c:286: syntax error before ch
/usr/src/usr.bin/uudecode/uudecode.c:294: syntax error before ch
/usr/src/usr.bin/uudecode/uudecode.c:301: syntax error before ch
*** Error code 1



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: World broken at uudecode [Sep 10]

2002-09-10 Thread Craig Rodrigues

On Tue, Sep 10, 2002 at 05:09:55PM -0700, walt wrote:
 cc -O -pipe -mcpu=pentiumpro   -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes 
 -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings 
-Wswitch 
 -Wshadow -Wcast-align -Wno-uninitialized  -c /usr/src/usr.bin/uudecode/uudecode.c
 cc1: warnings being treated as errors
 /usr/src/usr.bin/uudecode/uudecode.c: In function `decode2':
 /usr/src/usr.bin/uudecode/uudecode.c:225: warning: comparison between signed and 
unsigned
 /usr/src/usr.bin/uudecode/uudecode.c:275: syntax error before ch
 /usr/src/usr.bin/uudecode/uudecode.c:286: syntax error before ch
 /usr/src/usr.bin/uudecode/uudecode.c:294: syntax error before ch
 /usr/src/usr.bin/uudecode/uudecode.c:301: syntax error before ch
 *** Error code 1


Try this patch:


--- uudecode.c.orig Tue Sep 10 20:26:48 2002
+++ uudecode.c  Tue Sep 10 20:29:44 2002
@@ -153,7 +153,7 @@
 decode2(void)
 {
int base64;
-   int n;
+   size_t n;
char ch, *p, *q;
void *mode;
struct passwd *pw;
@@ -258,7 +258,7 @@
warnx(%s: %s: character out of range: [%d-%d],\
filename, buffn, 1 + ' ', 077 + ' ' + 1);   \
 return (1);\
-} while (0)
+} while (0);
 
/*
 * `n' is used to avoid writing out all the characters










-- 
Craig Rodrigues
http://www.gis.net/~craigr
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken

2002-08-16 Thread Tim Robbins

On Thu, Aug 15, 2002 at 03:18:59PM -0700, Alfred Perlstein wrote:

 /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: useless keyword o
 r type name in empty declaration
 /usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: empty declaration

 I get those a lot now... please fix.

This happens because GCC 3 doesn't define __STDC_VERSION__ unless
you specify -std=something, whereas 2.95 defines it to 199409L if no
-std option is given. I'm not quite sure how to check for this. Perhaps this
would work:

#if __STDC_VERSION__  199901L  __GNUC__  3
typedef int _Bool;
#endif

GCC 3 appears to declare _Bool regardless of any -std option.


Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken

2002-08-15 Thread Alfred Perlstein

cc -pg -O -pipe  -I. -I/vol/share/src/lib/libncurses -I/vol/share/src/lib/libncu
rses/../../contrib/ncurses/ncurses -I/vol/share/src/lib/libncurses/../../contrib
/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS  -c u
nctrl.c -o unctrl.po
In file included from curses.h:112,
 from /vol/share/src/contrib/ncurses/ncurses/curses.priv.h:250,
 from expanded.c:2:
/usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: useless keyword o
r type name in empty declaration
/usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: empty declaration
In file included from curses.h:112,
 from /vol/share/src/contrib/ncurses/ncurses/curses.priv.h:250,
 from fallback.c:5:
/usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: useless keyword o
r type name in empty declaration
/usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: empty declaration
In file included from curses.h:112,
 from /vol/share/src/contrib/ncurses/ncurses/curses.priv.h:250,
 from expanded.c:2:
/usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: useless keyword o
r type name in empty declaration
/usr/obj/vol/share/src/i386/usr/include/stdbool.h:41: warning: empty declaration
cc -fpic -DPIC -O -pipe  -I. -I/vol/share/src/lib/libncurses -I/vol/share/src/li
b/libncurses/../../contrib/ncurses/ncurses -I/vol/share/src/lib/libncurses/../..
/contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMI

I get those a lot now... please fix.

-Alfred


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken in yppasswd_svc.c

2002-05-09 Thread Troy

yppasswd_svc.c: In function 'yppasswdprog_1':
yppasswd_svc.c:100: warning passing arg 1 of '_msgout' discards qualifiers
from pointer target types

***Error code 1
1 error
***Error code 2
1 error
***Error code 2
1 error
***Error code 2
1 error
***Error code 2


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



This mornings world broken in libpam modules.

2002-04-15 Thread Edwin Culp

This could already be fixed but if not, mine broke at:

/lib/libpam/modules/pam_unix/../../../../contrib/openpam/include
-I/usr/src/lib/libpam/modules/pam_unix/../../libpam -Werror -Wall -W
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized 
-c /usr/src/lib/libpam/modules/pam_unix/../../../../usr.sbin/vipw/pw_util.c -o
pw_util.So
make: don't know how to make /usr/obj/usr/src/i386/usr/lib/libypclnt.a. Stop
*** Error code 2

Stop in /usr/src/lib/libpam/modules.
*** Error code 1

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

ed


-
 http://insourcery.com - Mergence of Business and Technology  
  a Griffin Plaza Partners, LLC Company

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: This mornings world broken in libpam modules.

2002-04-15 Thread Thomas Quinot

Le 2002-04-15, Edwin Culp écrivait :

 This could already be fixed but if not, mine broke at:

It is fixed in Makefile.inc1 rev. 1.256.

-- 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



World broken?

2002-04-12 Thread John Baldwin

I've seen this twice now on both alpha and sparc64.  It looks to be related to
the ENDIAN macro changes:

=== usr.bin/ldd
/arch/sparc64/hosted/bin/gcc -O -pipe  -Wall-c
/home/john/work/p4/sparc64/usr.bin/ldd/ldd.c
In file included from /home/john/work/p4/sparc64/usr.bin/ldd/ldd.c:36:
/usr/include/sys/wait.h:114: duplicate member `w_Filler'
/usr/include/sys/wait.h:115: duplicate member `w_Retcode'
/usr/include/sys/wait.h:116: duplicate member `w_Coredump'
/usr/include/sys/wait.h:117: duplicate member `w_Termsig'
/usr/include/sys/wait.h:132: duplicate member `w_Filler'
/usr/include/sys/wait.h:133: duplicate member `w_Stopsig'
/usr/include/sys/wait.h:134: duplicate member `w_Stopval'
/home/john/work/p4/sparc64/usr.bin/ldd/ldd.c: In function `main':
/home/john/work/p4/sparc64/usr.bin/ldd/ldd.c:141: warning: implicit declaration
of function `ntohl'
*** Error code 1

Stop in /home/john/work/p4/sparc64/usr.bin/ldd.
*** Error code 1

Stop in /home/john/work/p4/sparc64/usr.bin.
*** Error code 1

Stop in /home/john/work/p4/sparc64.
*** Error code 1

In sys/wait.h:

union wait {
int w_status;   /* used in syscall */
/*
 * Terminated process status.
 */
struct {
#if BYTE_ORDER == LITTLE_ENDIAN
unsigned intw_Termsig:7,/* termination signal */
w_Coredump:1,   /* core dump indicator */
w_Retcode:8,/* exit code if w_termsig==0 */
w_Filler:16;/* upper bits filler */
#endif
#if BYTE_ORDER == BIG_ENDIAN
unsigned intw_Filler:16,/* upper bits filler */
w_Retcode:8,/* exit code if w_termsig==0 */
w_Coredump:1,   /* core dump indicator */
w_Termsig:7;/* termination signal */
#endif
} w_T;

I guess all of those symbols are not defined or something and so have values of
0 and 0 == 0?

sys/wait.h includes machine/endian.h right before it defines this union, so
something must be broke in there.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: World broken?

2002-04-12 Thread Ruslan Ermilov

Do we already have the in-tree toolchain capable of cross-building sparc64?

On Fri, Apr 12, 2002 at 10:24:31AM -0400, John Baldwin wrote:
 I've seen this twice now on both alpha and sparc64.  It looks to be related to
 the ENDIAN macro changes:
 
 === usr.bin/ldd
 /arch/sparc64/hosted/bin/gcc -O -pipe  -Wall-c
 /home/john/work/p4/sparc64/usr.bin/ldd/ldd.c
 In file included from /home/john/work/p4/sparc64/usr.bin/ldd/ldd.c:36:
 /usr/include/sys/wait.h:114: duplicate member `w_Filler'
 /usr/include/sys/wait.h:115: duplicate member `w_Retcode'
 /usr/include/sys/wait.h:116: duplicate member `w_Coredump'
 /usr/include/sys/wait.h:117: duplicate member `w_Termsig'
 /usr/include/sys/wait.h:132: duplicate member `w_Filler'
 /usr/include/sys/wait.h:133: duplicate member `w_Stopsig'
 /usr/include/sys/wait.h:134: duplicate member `w_Stopval'
 /home/john/work/p4/sparc64/usr.bin/ldd/ldd.c: In function `main':
 /home/john/work/p4/sparc64/usr.bin/ldd/ldd.c:141: warning: implicit declaration
 of function `ntohl'
 *** Error code 1
 
 Stop in /home/john/work/p4/sparc64/usr.bin/ldd.
 *** Error code 1
 
 Stop in /home/john/work/p4/sparc64/usr.bin.
 *** Error code 1
 
 Stop in /home/john/work/p4/sparc64.
 *** Error code 1
 
 In sys/wait.h:
 
 union wait {
 int w_status;   /* used in syscall */
 /*
  * Terminated process status.
  */
 struct {
 #if BYTE_ORDER == LITTLE_ENDIAN
 unsigned intw_Termsig:7,/* termination signal */
 w_Coredump:1,   /* core dump indicator */
 w_Retcode:8,/* exit code if w_termsig==0 */
 w_Filler:16;/* upper bits filler */
 #endif
 #if BYTE_ORDER == BIG_ENDIAN
 unsigned intw_Filler:16,/* upper bits filler */
 w_Retcode:8,/* exit code if w_termsig==0 */
 w_Coredump:1,   /* core dump indicator */
 w_Termsig:7;/* termination signal */
 #endif
 } w_T;
 
 I guess all of those symbols are not defined or something and so have values of
 0 and 0 == 0?
 
 sys/wait.h includes machine/endian.h right before it defines this union, so
 something must be broke in there.

-- 
Ruslan Ermilov  Sysadmin and DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age



msg37182/pgp0.pgp
Description: PGP signature


Re: World broken?

2002-04-12 Thread Mike Barcroft

John Baldwin [EMAIL PROTECTED] writes:
 I've seen this twice now on both alpha and sparc64.  It looks to be related to
 the ENDIAN macro changes:

[...]

 I guess all of those symbols are not defined or something and so have values of
 0 and 0 == 0?
 
 sys/wait.h includes machine/endian.h right before it defines this union, so
 something must be broke in there.

Yes, sys/cdefs.h wasn't being included on some archs.  It should be
fixed now.  Sorry about the breakage.

Best regards,
Mike Barcroft

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: World broken?

2002-04-12 Thread John Baldwin


On 12-Apr-2002 Ruslan Ermilov wrote:
 Do we already have the in-tree toolchain capable of cross-building sparc64?

No, we need gcc3.1 in the tree for that.

-- 

John Baldwin [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



World broken again?

2002-01-15 Thread Emiel Kollof

Hi guys,

Yet again, building the world is broken again for me. I am using freshly
cvsupped sources as of yesterday evening (CET that is)

For good measure, output from uname:

FreeBSD azazel.ipv6.hackerheaven.org 5.0-CURRENT FreeBSD 5.0-CURRENT #17: Mon Jan  7 
16:28:34 CET 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/AZAZEL  
i386

I am also having other problems rebooting the machine. Somehow my /usr
filesystem has a bad superblock, drops to single user, where I do a fsck
-y and when I reboot the same thing happens again. I would like to
capture it to the serial port, can anyone point me to some docs on how
to do that?

Furthermore, I made a script(1) of a 'make buildworld', which is
attached to this mail.

Cheers,
Emiel
-- 
I'd love to go out with you, but I'm attending the opening of my
garage door.



typescript.gz
Description: application/gunzip


Re: World broken again?

2002-01-15 Thread Ruslan Ermilov

On Tue, Jan 15, 2002 at 02:10:45PM +0100, Emiel Kollof wrote:
[share/man/man3/Makefile breakage]

Already fixed in src/share/man/man3/Makefile,v 1.21.


Cheers,
-- 
Ruslan Ermilov  Oracle Developer/DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken in share/colldef ?

2001-11-28 Thread Andrey A. Chernov

On Wed, Nov 28, 2001 at 11:00:10 +0100, Poul-Henning Kamp wrote:
 
 Any clues ?

Rebuild colldef from very latest sources.

BTW, colldef is already in bootstrap-tools

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken in src/lib/libedit

2001-10-01 Thread Bernd Walter

[...]
cd /var/d10/FreeBSD-2001-10-01/src/lib/libc;make beforeinstall
cd /var/d10/FreeBSD-2001-10-01/src/lib/libcalendar; make beforeinstall
cd /var/d10/FreeBSD-2001-10-01/src/lib/libcalendar   sh 
/var/d10/FreeBSD-2001-10-01/src/tools/install.sh -C -o root -g wheel -m 444  
calendar.h /usr/obj/var/d10/FreeBSD-2001-10-01/src/i386/usr/include
cd /var/d10/FreeBSD-2001-10-01/src/lib/libcam;  make beforeinstall
cd /var/d10/FreeBSD-2001-10-01/src/lib/libcam   sh 
/var/d10/FreeBSD-2001-10-01/src/tools/install.sh -C -o root -g wheel -m 444  camlib.h 
/usr/obj/var/d10/FreeBSD-2001-10-01/src/i386/usr/include
cd /var/d10/FreeBSD-2001-10-01/src/lib/libdisk; make beforeinstall
cd /var/d10/FreeBSD-2001-10-01/src/lib/libdisk   sh 
/var/d10/FreeBSD-2001-10-01/src/tools/install.sh -C -o root -g wheel -m 444  libdisk.h 
/usr/obj/var/d10/FreeBSD-2001-10-01/src/i386/usr/include
cd /var/d10/FreeBSD-2001-10-01/src/lib/libedit; make beforeinstall
cd /var/d10/FreeBSD-2001-10-01/src/lib/libedit   sh 
/var/d10/FreeBSD-2001-10-01/src/tools/install.sh -C -o root -g wheel -m 444  
histedit.h /usr/obj/var/d10/FreeBSD-2001-10-01/src/i386/usr/include
install: histedit.h: No such file or directory
*** Error code 71

Stop in /var/d10/FreeBSD-2001-10-01/src/lib/libedit.
*** Error code 1

Stop in /var/d10/FreeBSD-2001-10-01/src.
*** Error code 1

Stop in /var/d10/FreeBSD-2001-10-01/src.
*** Error code 1

Stop in /var/d10/FreeBSD-2001-10-01/src.
1345.645u 386.311s 44:38.58 64.6%   1315+1849k 6670+1085io 2417pf+0w
Exit 1
ticso@cicely5# 

-- 
B.Walter  COSMO-Project http://www.cosmo-project.de
[EMAIL PROTECTED] Usergroup   [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken in src/lib/libedit

2001-10-01 Thread David O'Brien

On Mon, Oct 01, 2001 at 04:29:08PM +0200, Bernd Walter wrote:
 cd /var/d10/FreeBSD-2001-10-01/src/lib/libedit   sh 
/var/d10/FreeBSD-2001-10-01/src/tools/install.sh -C -o root -g wheel -m 444  
histedit.h /usr/obj/var/d10/FreeBSD-2001-10-01/src/i386/usr/include
 install: histedit.h: No such file or directory
 *** Error code 71

Known problem -- working on it.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: make world broken in -current

2001-08-28 Thread Jim Pirzyk

On Monday 27 August 2001 05:58 pm, David O'Brien wrote:
 On Mon, Aug 27, 2001 at 11:10:55AM -0700, [EMAIL PROTECTED] wrote:
  Compiling sources cvs'ed this morning (Aug 27th), I get this error:
 
  cd /auto/roy/dist/pub/FreeBSD/CURRENT/src/usr.bin/file; make build-tools
  make: don't know how to make build-tools. Stop
  *** Error code 2

 Are you sure your src/usr.bin/file/Makefile is up to date?

 # $FreeBSD: src/usr.bin/file/Makefile,v 1.22 2001/08/17 17:21:38 obrien Exp
 $

Ding!  I have version 1.21.  So this leads me to my next question and that
is there anything wrong with anoncvs.FreeBSD.org?  I am getting these
messages when I try to get a new cvs version:

cvs [checkout aborted]: reading from server: Connection reset by peer
cvs [checkout aborted]: end of file from server (consult above messages if 
any)

But there are no messages above.

- JimP

-- 
--- @(#) $Id: dot.signature,v 1.10 2001/05/17 23:38:49 Jim.Pirzyk Exp $
__o   [EMAIL PROTECTED] - [EMAIL PROTECTED]
 _'\,_   Senior Systems Engineer, Walt Disney Feature Animation 
(*)/ (*)  

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



make world broken in -current

2001-08-27 Thread Jim . Pirzyk


Compiling sources cvs'ed this morning (Aug 27th), I get this error:

cd /auto/roy/dist/pub/FreeBSD/CURRENT/src/usr.bin/file; make build-tools
make: don't know how to make build-tools. Stop
*** Error code 2

Stop in /auto/roy/dist/pub/FreeBSD/CURRENT/src.
*** Error code 1

- JimP

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



make world broken by STDIN_ changes

2001-07-26 Thread Steve Kargl

=== usr.sbin/pcvt/vttest
cc -O -pipe -march=k6 -traditional -DUSEMYSTTY   -I/usr/obj/usr/src/i386/usr/include  
-c /usr/src/usr.sbin/pcvt/vttest/main.c
/usr/src/usr.sbin/pcvt/vttest/main.c: In function `readnl':
/usr/src/usr.sbin/pcvt/vttest/main.c:1942: `STDIN_FILENO' undeclared (first use in 
this function)
/usr/src/usr.sbin/pcvt/vttest/main.c:1942: (Each undeclared identifier is reported 
only once
/usr/src/usr.sbin/pcvt/vttest/main.c:1942: for each function it appears in.)
*** Error code 1

-- 
Steve

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken

2001-07-19 Thread Dag-Erling Smorgrav

Bruce Evans [EMAIL PROTECTED] writes:
 I saw this too.  It is caused by garbage in the source tree (crtbegin.s
 in this case) and bug(s) in in the rule to create crtbegin.o).  I'm
 not sure what created the garbage.  For me, I think it was caused by
 playing with cross-compiles (I tried MACHINE_ARCH=alpha and
 MACHINE_ARCH=pc98 last week).

Yep, me too, but I nuked /usr/obj and ran 'make cleandir' before
trying to build...

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken

2001-07-19 Thread Dag-Erling Smorgrav

Top of tree:

--
 stage 4: building libraries
--
cd /usr/src; MAKEOBJDIRPREFIX=/sec/obj  
COMPILER_PATH=/sec/obj/usr/src/i386/usr/libexec:/sec/obj/usr/src/i386/usr/bin  
LIBRARY_PATH=/sec/obj/usr/src/i386/usr/lib:/sec/obj/usr/src/i386/usr/lib  
OBJFORMAT_PATH=/sec/obj/usr/src/i386/usr/libexec  CFLAGS=-nostdinc -O -pipe 
-march=k6  PERL5LIB=/sec/obj/usr/src/i386/usr/libdata/perl/5.6.0  
GROFF_BIN_PATH=/sec/obj/usr/src/i386/usr/bin  
GROFF_FONT_PATH=/sec/obj/usr/src/i386/usr/share/groff_font  
GROFF_TMAC_PATH=/sec/obj/usr/src/i386/usr/share/tmac  DESTDIR=/sec/obj/usr/src/i386  
INSTALL=sh /usr/src/tools/install.sh  
PATH=/sec/obj/usr/src/i386/usr/sbin:/sec/obj/usr/src/i386/usr/bin:/sec/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 make -f Makefile.inc1 -DNOHTML -DNOINFO -DNOMAN -DNOFSCHG libraries
cd /usr/src/lib/csu/i386-elf;  make depend;  make all;  make install
rm -f .depend
mkdep -f .depend -a-I/usr/src/lib/csu/i386-elf/../common 
-I/sec/obj/usr/src/i386/usr/include/usr/src/lib/csu/i386-elf/crti.S 
/usr/src/lib/csu/i386-elf/crtn.S
mkdep -f .depend -a-I/usr/src/lib/csu/i386-elf/../common 
-I/sec/obj/usr/src/i386/usr/include  /usr/src/lib/csu/i386-elf/crt1.c
cd /usr/src/lib/csu/i386-elf; make _EXTRADEPEND
cc -O -pipe -march=k6 -elf -Wall -fkeep-inline-functions  
-I/usr/src/lib/csu/i386-elf/../common -I/sec/obj/usr/src/i386/usr/include  -c 
/usr/src/lib/csu/i386-elf/crt1.c -o crt1.o
cc -I/usr/src/lib/csu/i386-elf/../common -I/sec/obj/usr/src/i386/usr/include  -c 
/usr/src/lib/csu/i386-elf/crti.S -o crti.o
cc -I/usr/src/lib/csu/i386-elf/../common -I/sec/obj/usr/src/i386/usr/include  -c 
/usr/src/lib/csu/i386-elf/crtn.S -o crtn.o
cc -O -pipe -march=k6 -elf -Wall -fkeep-inline-functions  
-I/usr/src/lib/csu/i386-elf/../common -I/sec/obj/usr/src/i386/usr/include  -DGCRT -c 
-o gcrt1.o /usr/src/lib/csu/i386-elf/crt1.c
install -C -c -o root -g wheel -m 444  crt1.o /sec/obj/usr/src/i386/usr/lib/crt1.o
install -C -c -o root -g wheel -m 444  crti.o /sec/obj/usr/src/i386/usr/lib/crti.o
install -C -c -o root -g wheel -m 444  crtn.o /sec/obj/usr/src/i386/usr/lib/crtn.o
install -C -c -o root -g wheel -m 444  gcrt1.o /sec/obj/usr/src/i386/usr/lib/gcrt1.o
cd /usr/src/gnu/lib/csu;  make depend;  make all;  make install
echo '#include i386/i386.h'tm.h
echo '#include i386/att.h' tm.h
echo '#include freebsd.h'  tm.h
echo '#include i386/freebsd.h' tm.h
echo '#include i386/perform.h' tm.h
rm -f .depend
mkdep -f .depend -a-I/usr/src/gnu/lib/csu/../../../contrib/gcc.295/config -I. 
-DIN_GCC -I/sec/obj/usr/src/i386/usr/include  
/usr/src/gnu/lib/csu/../../../contrib/gcc.295/crtstuff.c
cd /usr/src/gnu/lib/csu; make _EXTRADEPEND
cc -O -pipe -march=k6 -I/usr/src/gnu/lib/csu/../../../contrib/gcc.295/config -I. 
-DIN_GCC  -finhibit-size-directive -fno-inline-functions  -fno-exceptions 
-fno-omit-frame-pointer -I/sec/obj/usr/src/i386/usr/include  -g0 -DCRT_BEGIN  -c -o 
crtbegin.o  /usr/src/gnu/lib/csu/../../../contrib/gcc.295/crtstuff.c 
/usr/src/gnu/lib/csu/crtbegin.s
cc: cannot specify -o with -c or -S and multiple compilations
*** Error code 1

Stop in /usr/src/gnu/lib/csu.
*** Error code 1

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

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

Stop in /usr/src.

I'd also like to know why it took *six hours* to get there on a 350
MHz K6-2 with 512 MB RAM.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken

2001-07-19 Thread Bruce Evans

On 19 Jul 2001, Dag-Erling Smorgrav wrote:

 Top of tree:
 
 --
  stage 4: building libraries
 --
 ...
 cd /usr/src/gnu/lib/csu; make _EXTRADEPEND
 cc -O -pipe -march=k6 -I/usr/src/gnu/lib/csu/../../../contrib/gcc.295/config -I. 
-DIN_GCC  -finhibit-size-directive -fno-inline-functions  -fno-exceptions 
-fno-omit-frame-pointer -I/sec/obj/usr/src/i386/usr/include  -g0 -DCRT_BEGIN  -c -o 
crtbegin.o  /usr/src/gnu/lib/csu/../../../contrib/gcc.295/crtstuff.c 
/usr/src/gnu/lib/csu/crtbegin.s
 cc: cannot specify -o with -c or -S and multiple compilations
 *** Error code 1

I saw this too.  It is caused by garbage in the source tree (crtbegin.s
in this case) and bug(s) in in the rule to create crtbegin.o).  I'm
not sure what created the garbage.  For me, I think it was caused by
playing with cross-compiles (I tried MACHINE_ARCH=alpha and
MACHINE_ARCH=pc98 last week).

 I'd also like to know why it took *six hours* to get there on a 350
 MHz K6-2 with 512 MB RAM.

Maybe just creeping features, but I think they only account for half of
the slowdown since 3.x.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken by ipfilter move

2001-06-10 Thread Osamu MIHARA

At Sun, 10 Jun 2001 09:06:08 +1000 (EST),
Bruce Evans wrote:
 Everything thet uses the ipfilter headers is similarly broken.
 
 This is because I use SHARED=symlinks, and src/include/Makefile doesn't
 install the ipfilter headers in this case.  Nor could it, since installing
 them would spam the source tree.

Is this problem fixed?  The related problem seem to be caused in
stable branch.

-- Osamu

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken by ipfilter move

2001-06-09 Thread Bruce Evans

 Script started on Sun Jun 10 08:55:08 2001
 ttyp0:bde@gamplex:/usr/src/usr.bin/kdump make depend
 sh /usr/src/usr.bin/kdump/mkioctls /usr/include  ioctl.c
 In file included from :66:
 /usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' redefined
 /usr/include/pccard/cardinfo.h:81: warning: this is the location of the previous 
definition
 rm -f .depend
 mkdep -f .depend -a-I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump/../..  /usr/src/usr.bin/kdump/kdump.c ioctl.c 
/usr/src/usr.bin/kdump/../ktrace/subr.c
 ioctl.c:18: netinet/ip_compat.h: No such file or directory
 ioctl.c:19: netinet/ip_fil.h: No such file or directory
 ioctl.c:20: netinet/ip_auth.h: No such file or directory
 ioctl.c:21: netinet/ip_nat.h: No such file or directory
 ioctl.c:22: netinet/ip_frag.h: No such file or directory
 ioctl.c:23: netinet/ip_state.h: No such file or directory
 In file included from ioctl.c:96:
 /usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE' redefined
 /usr/include/pccard/cardinfo.h:81: warning: this is the location of the previous 
definition
 mkdep: compile failed
 *** Error code 1
 
 Stop in /usr/src/usr.bin/kdump.
 ttyp0:bde@gamplex:/usr/src/usr.bin/kdump exit
 
 Script done on Sun Jun 10 08:55:13 2001

Everything thet uses the ipfilter headers is similarly broken.

This is because I use SHARED=symlinks, and src/include/Makefile doesn't
install the ipfilter headers in this case.  Nor could it, since installing
them would spam the source tree.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken at acpi

2001-05-29 Thread walt

=== usr.sbin/acpi
=== usr.sbin/acpi/acpiconf
rm -f .depend
mkdep -f .depend -a-I/usr/src/usr.sbin/acpi/acpiconf/../../../sys 
-I/usr/obj/usr/src/i386/usr/include  /usr/src/usr.sbin/acpi/acpiconf/acpiconf.c
/usr/src/usr.sbin/acpi/acpiconf/acpiconf.c:40: 
contrib/dev/acpica/Subsystem/Include/acgcc.h: No such file or directory
/usr/src/usr.sbin/acpi/acpiconf/acpiconf.c:41: 
contrib/dev/acpica/Subsystem/Include/actypes.h: No such file or directory
mkdep: compile failed

cvsup'd about 16.30 on 29 May 2001


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken

2001-05-22 Thread Storms of Perfection

Latest CVS (about 30 minutes ago)

In file included from /usr/src/sbin/vinum/v.c:57:
/usr/src/sbin/vinum/vext.h:77: dev/vinum/vinumutil.h: No such file or directory
In file included from /usr/src/sbin/vinum/list.c:59:
/usr/src/sbin/vinum/vext.h:77: dev/vinum/vinumutil.h: No such file or directory
In file included from /usr/src/sbin/vinum/../../sys/dev/vinum/vinumutil.c:44:
/usr/src/sbin/vinum/../../sys/dev/vinum/vinumhdr.h:78: 
dev/vinum/vinumutil.h: No such file or directory
In file included from /usr/src/sbin/vinum/commands.c:56:
/usr/src/sbin/vinum/vext.h:77: dev/vinum/vinumutil.h: No such file or directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sbin/vinum.
*** 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


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken

2001-05-22 Thread Greg Lehey

On Tuesday, 22 May 2001 at  3:42:08 -0500, Storms of Perfection wrote:
 Latest CVS (about 30 minutes ago)

 In file included from /usr/src/sbin/vinum/commands.c:56:
 /usr/src/sbin/vinum/vext.h:77: dev/vinum/vinumutil.h: No such file or directory
 mkdep: compile failed
 *** Error code 1

Did you update that part of the tree?  I haven't changed that file,
and the repo on freefall shows that it's there.  What happens if you
try building in sys/modules/vinum?

Greg
--
Finger [EMAIL PROTECTED] for PGP public key
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken (vinum)

2001-05-22 Thread Szilveszter Adam

Hello Greg and others,

Well I cannot find that file (/usr/src/sys/dev/vinum/vinumutil.h) there, it
is not there in the cvsweb interface either. However, I can confirm that 

/usr/src/sys/dev/vinum/vinumhdr.h

contains a reference to it.

So? 

--
regards:

Szilveszter ADAM
Szeged University
Szeged Hungary

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken (vinum)

2001-05-22 Thread David Wolfskill

Date: Tue, 22 May 2001 17:22:12 +0200
From: Szilveszter Adam [EMAIL PROTECTED]

Well I cannot find that file (/usr/src/sys/dev/vinum/vinumutil.h) there, it
is not there in the cvsweb interface either. However, I can confirm that 

/usr/src/sys/dev/vinum/vinumhdr.h

contains a reference to it.

Confirmed over here, as well.  Recent CVSup history:

CVSup begin from cvsup14.freebsd.org at Sun May 20 03:47:00 PDT 2001
CVSup ended from cvsup14.freebsd.org at Sun May 20 03:53:25 PDT 2001
CVSup begin from cvsup14.freebsd.org at Mon May 21 03:47:01 PDT 2001
CVSup ended from cvsup14.freebsd.org at Mon May 21 03:52:21 PDT 2001
CVSup begin from cvsup14.freebsd.org at Tue May 22 03:47:01 PDT 2001
CVSup ended from cvsup14.freebsd.org at Tue May 22 03:52:32 PDT 2001

Thanks,
david
-- 
David H. Wolfskill  [EMAIL PROTECTED]
As a computing professional, I believe it would be unethical for me to
advise, recommend, or support the use (save possibly for personal
amusement) of any product that is or depends on any Microsoft product.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken (vinum)

2001-05-22 Thread Szilveszter Adam

On Tue, May 22, 2001 at 05:22:12PM +0200, Szilveszter Adam wrote:
 Hello Greg and others,
 
 Well I cannot find that file (/usr/src/sys/dev/vinum/vinumutil.h) there, it
 is not there in the cvsweb interface either. However, I can confirm that 
 
 /usr/src/sys/dev/vinum/vinumhdr.h
 
 contains a reference to it.
 
 So? 

More than that, according to cvsweb annotate, that particular line

#include dev/vinum/vinumutil.h

was only added in the latest revision. Maybe a private tree mixup?

-- 
Regards:

Szilveszter ADAM
Szeged University
Szeged Hungary

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken

2001-05-22 Thread David Wolfskill

In answer to Greg's query What happens if you try building in
sys/modules/vinum?:

dhcp-133[3] pushd sys/modules/vinum/
/usr/src/sys/modules/vinum /usr/src
dhcp-133[4] make
Warning: Object directory not changed from original /usr/src/sys/modules/vinum
@ - /usr/src/sys
machine - /usr/src/sys/i386/include
touch opt_vinum.h
perl @/kern/vnode_if.pl -h @/kern/vnode_if.src
cc -O -pipe  -DVINUMDEBUG -g -O  -D_KERNEL -Wall -Wredundant-decls -Wnested-exte
rns -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qu
al  -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/dev -I@/.
./include -I/usr/include  -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -
Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winli
ne -Wcast-qual  -fformat-extensions -ansi -c /usr/src/sys/modules/vinum/../../de
v/vinum/vinum.c
In file included from /usr/src/sys/modules/vinum/../../dev/vinum/vinum.c:44:
@/dev/vinum/vinumhdr.h:78: dev/vinum/vinumutil.h: No such file or directory
*** Error code 1

Stop in /usr/src/sys/modules/vinum.
dhcp-133[5]


[The good news is that, although I wasn't yet willing to try building
-CURRENT under X, I was able to get through the buildworld in multi-
user mode OK.]

Cheers,
david
-- 
David H. Wolfskill  [EMAIL PROTECTED]
As a computing professional, I believe it would be unethical for me to
advise, recommend, or support the use (save possibly for personal
amusement) of any product that is or depends on any Microsoft product.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken yet again

2001-05-17 Thread Sheldon Hearn



On 16 May 2001 20:47:05 EST, Michael Harnois wrote:

 cc -O2 -fno-strength-reduce -pipe -march=pentiumpro -DHAS_CGETENT -DENCRYPTION 
-DDES_ENCRYPTION -DAUTHENTICATION  -DSRA 
-I/usr/src/secure/lib/libtelnet/../../../crypto/telnet 
-I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c -o pk.o

You're not supposed to report errors with world and kernel if you're
using non-standard optimizations.  See /etc/defaults/make.conf:

# CFLAGS controls the compiler settings used when compiling C code.
# Note that optimization settings above -O (-O2, ...) are not recommended
# or supported for compiling the world or the kernel - please revert any
# nonstandard optimization settings to -O before submitting bug reports
# to the developers.

Ciao,
Sheldon.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken yet again

2001-05-17 Thread Michael Harnois

On Thu, 17 May 2001 11:17:10 +0200, Sheldon Hearn [EMAIL PROTECTED] said:

 You're not supposed to report errors with world and kernel if
 you're using non-standard optimizations.

Are you telling me this error had something to do with optimizations?

-- 
Michael D. Harnois[EMAIL PROTECTED]
Redeemer Lutheran Church  Washburn, Iowa 
 Everyone thinks of changing the world, 
  but no one thinks of changing himself. -- Leo Nikolaevich Tolstoy

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken yet again

2001-05-17 Thread Will Andrews

On Thu, May 17, 2001 at 06:36:01AM -0500, Michael Harnois wrote:
 Are you telling me this error had something to do with optimizations?

No.  But they can affect compiles in bizarre ways (believe me, in the
four years that I've compiled world, I've seen several).

If you compile with optimizations, you need to be wary of any failed
buildworlds your machine gives.  If you are compiling a world that you
KNOW works, and optimizations give a problem, then you have a bona fide
optimization problem.  Sometimes it's correctable, sometimes not.

However, in this case, you ran into a bona fide breakage.  It was fixed
awhile ago, so re-cvsup and re-make world.  :)

-- 
wca

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken yet again

2001-05-17 Thread Michael Harnois

On Thu, 17 May 2001 07:11:16 -0500, Will Andrews [EMAIL PROTECTED] said:

 On Thu, May 17, 2001 at 06:36:01AM -0500, Michael Harnois wrote:
 Are you telling me this error had something to do with
 optimizations?

 No. 

My point is that I knew that.

 However, in this case, you ran into a bona fide breakage. It was
 fixed awhile ago, so re-cvsup and re-make world. :)

I knew that too. However, it had not been fixed at the time I reported
the problem.

-- 
Michael D. Harnois[EMAIL PROTECTED]
Redeemer Lutheran Church  Washburn, Iowa 
 Everyone thinks of changing the world, 
  but no one thinks of changing himself. -- Leo Nikolaevich Tolstoy

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken yet again

2001-05-16 Thread Michael Harnois

cc -O2 -fno-strength-reduce -pipe -march=pentiumpro -DHAS_CGETENT -DENCRYPTION 
-DDES_ENCRYPTION -DAUTHENTICATION  -DSRA 
-I/usr/src/secure/lib/libtelnet/../../../crypto/telnet 
-I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c -o pk.o
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c: In function 
`getseed':
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:146: `i' 
undeclared (first use in this function)
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:146: (Each 
undeclared identifier is reported only once
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:146: for each 
function it appears in.)
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c: In function 
`pk_encode':
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:235: warning: 
passing arg 1 of `des_cbc_encrypt' from incompatible pointer type
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:235: warning: 
passing arg 2 of `des_cbc_encrypt' from incompatible pointer type
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c: In function 
`pk_decode':
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:272: warning: 
passing arg 1 of `des_cbc_encrypt' from incompatible pointer type
/usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:272: warning: 
passing arg 2 of `des_cbc_encrypt' from incompatible pointer type
*** Error code 1

Stop in /usr/src/secure/lib/libtelnet.
*** Error code 1


-- 
Michael D. Harnois[EMAIL PROTECTED]
Redeemer Lutheran Church  Washburn, Iowa 
 Believe those who are seeking the truth. 
  Doubt those who find it.  -- Andre Gide

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken yet again

2001-05-16 Thread nnd

In article [EMAIL PROTECTED]
Michael Harnois [EMAIL PROTECTED] wrote:
 /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c: In function 
`getseed':
 /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:146: `i' 
undeclared (first use in this function)
 /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:146: (Each 
undeclared identifier is reported only once
 /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:146: for each 
function it appears in.)
 /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c: In function 
`pk_encode':
 /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:235: warning: 
passing arg 1 of `des_cbc_encrypt' from incompatible pointer type
 /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:235: warning: 
passing arg 2 of `des_cbc_encrypt' from incompatible pointer type
 /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c: In function 
`pk_decode':
 /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:272: warning: 
passing arg 1 of `des_cbc_encrypt' from incompatible pointer type
 /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/pk.c:272: warning: 
passing arg 2 of `des_cbc_encrypt' from incompatible pointer type
 *** Error code 1
 
 Stop in /usr/src/secure/lib/libtelnet.
 *** Error code 1
 

At least the 'i undeclared' error can be corrected by the next patch:

Index: src/crypto/telnet/libtelnet/pk.c
===
RCS file: /scratch/CVS/src/crypto/telnet/libtelnet/pk.c,v
retrieving revision 1.4
diff -b -u -r1.4 pk.c
--- src/crypto/telnet/libtelnet/pk.c2001/05/16 18:32:46 1.4
+++ src/crypto/telnet/libtelnet/pk.c2001/05/17 03:10:50
@@ -142,6 +142,7 @@
 seed[i] = (lrand48()  0xff);
 }
 #else
+   int i;
srandomdev();
for (i = 0; i  seedsize; i++) {
seed[i] = random()  0xff;

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



FW: Snapshot Log - world broken in telnetd

2001-05-10 Thread John Baldwin

It looks like the recent changes wrt to libpam in telnetd may have broken world.

-FW: [EMAIL PROTECTED]-

Date: Thu, 10 May 2001 09:11:57 -0700 (PDT)
From: Deimos Root [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Snapshot Log

=== libexec/telnetd
cc -O -pipe  -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK
-DAUTHENTICATION -DENCRYPTION  -I/usr/src/kerberos
IV/libexec/telnetd/../../../crypto/telnet -DINET6
-I/usr/src/kerberosIV/libexec/telnetd/../../include -Wall -DHAVE_CONFIG_H  -I
/usr/obj/usr/src/kerberosIV/libexec/telnetd/../../include 
-DBINDIR=\/usr/bin\ -DSBINDIR=\/usr/sbin\  -DLIBEXECDIR=\/usr/l
ibexec\   -c
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/global.c
cc -O -pipe  -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK
-DAUTHENTICATION -DENCRYPTION  -I/usr/src/kerberos
IV/libexec/telnetd/../../../crypto/telnet -DINET6
-I/usr/src/kerberosIV/libexec/telnetd/../../include -Wall -DHAVE_CONFIG_H  -I
/usr/obj/usr/src/kerberosIV/libexec/telnetd/../../include 
-DBINDIR=\/usr/bin\ -DSBINDIR=\/usr/sbin\  -DLIBEXECDIR=\/usr/l
ibexec\   -c
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/slc.c
cc -O -pipe  -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK
-DAUTHENTICATION -DENCRYPTION  -I/usr/src/kerberos
IV/libexec/telnetd/../../../crypto/telnet -DINET6
-I/usr/src/kerberosIV/libexec/telnetd/../../include -Wall -DHAVE_CONFIG_H  -I
/usr/obj/usr/src/kerberosIV/libexec/telnetd/../../include 
-DBINDIR=\/usr/bin\ -DSBINDIR=\/usr/sbin\  -DLIBEXECDIR=\/usr/l
ibexec\   -c
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/state.c
In file included from
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/state.c:44:
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/libtelnet/auth.h:86:
warning: type defaults to `int' in declaration 
of `auth_debug_mode'
cc -O -pipe  -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK
-DAUTHENTICATION -DENCRYPTION  -I/usr/src/kerberos
IV/libexec/telnetd/../../../crypto/telnet -DINET6
-I/usr/src/kerberosIV/libexec/telnetd/../../include -Wall -DHAVE_CONFIG_H  -I
/usr/obj/usr/src/kerberosIV/libexec/telnetd/../../include 
-DBINDIR=\/usr/bin\ -DSBINDIR=\/usr/sbin\  -DLIBEXECDIR=\/usr/l
ibexec\   -c
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/sys_term.c
In file included from
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/sys_term.c:46
:
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/libtelnet/auth.h:86:
warning: type defaults to `int' in declaration 
of `auth_debug_mode'
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/sys_term.c:
In function `start_login':
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/sys_term.c:15
69: warning: unused variable `user'
cc -O -pipe  -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK
-DAUTHENTICATION -DENCRYPTION  -I/usr/src/kerberos
IV/libexec/telnetd/../../../crypto/telnet -DINET6
-I/usr/src/kerberosIV/libexec/telnetd/../../include -Wall -DHAVE_CONFIG_H  -I
/usr/obj/usr/src/kerberosIV/libexec/telnetd/../../include 
-DBINDIR=\/usr/bin\ -DSBINDIR=\/usr/sbin\  -DLIBEXECDIR=\/usr/l
ibexec\   -c
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/telnetd.c
In file included from
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/telnetd.c:91:
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/libtelnet/auth.h:86:
warning: type defaults to `int' in declaration 
of `auth_debug_mode'
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/telnetd.c:
In function `telnet':
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/telnetd.c:115
3: warning: implicit declaration of function `g
etent'
cc -O -pipe  -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK
-DAUTHENTICATION -DENCRYPTION  -I/usr/src/kerberos
IV/libexec/telnetd/../../../crypto/telnet -DINET6
-I/usr/src/kerberosIV/libexec/telnetd/../../include -Wall -DHAVE_CONFIG_H  -I
/usr/obj/usr/src/kerberosIV/libexec/telnetd/../../include 
-DBINDIR=\/usr/bin\ -DSBINDIR=\/usr/sbin\  -DLIBEXECDIR=\/usr/l
ibexec\   -c
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/termstat.c
cc -O -pipe  -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK
-DAUTHENTICATION -DENCRYPTION  -I/usr/src/kerberos
IV/libexec/telnetd/../../../crypto/telnet -DINET6
-I/usr/src/kerberosIV/libexec/telnetd/../../include -Wall -DHAVE_CONFIG_H  -I
/usr/obj/usr/src/kerberosIV/libexec/telnetd/../../include 
-DBINDIR=\/usr/bin\ -DSBINDIR=\/usr/sbin\  -DLIBEXECDIR=\/usr/l
ibexec\   -c
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/utility.c
In file included from
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/telnetd/utility.c:50:
/usr/src/kerberosIV/libexec/telnetd/../../../crypto/telnet/libtelnet/auth.h:86:
warning: type defaults to `int' in 

RE: FW: Snapshot Log - world broken in telnetd

2001-05-10 Thread John Baldwin


On 10-May-01 John Baldwin wrote:
 It looks like the recent changes wrt to libpam in telnetd may have broken
 world.

Correction, world appears to be ok, just release is broken.

-- 

John Baldwin [EMAIL PROTECTED] -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FW: Snapshot Log - world broken in telnetd

2001-05-10 Thread Bruce Evans

On Thu, 10 May 2001, John Baldwin wrote:

 It looks like the recent changes wrt to libpam in telnetd may have broken world.
 ...
 cc -O -pipe  -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON  -DENV_HACK
 -DAUTHENTICATION -DENCRYPTION  -I/usr/src/kerberos
 IV/libexec/telnetd/../../../crypto/telnet -DINET6
 -I/usr/src/kerberosIV/libexec/telnetd/../../include -Wall -DHAVE_CONFIG_H  -I
 /usr/obj/usr/src/kerberosIV/libexec/telnetd/../../include 
 -DBINDIR=\/usr/bin\ -DSBINDIR=\/usr/sbin\  -DLIBEXECDIR=\/usr/l
 ibexec\-o telnetd global.o slc.o state.o sys_term.o telnetd.o termstat.o
 utility.o authenc.o  -lutil -ltermcap /usr/obj/us
 r/src/kerberosIV/libexec/telnetd/../../lib/libtelnet/libtelnet.a -lcrypto 
 -L/usr/obj/usr/src/kerberosIV/libexec/telnetd/../../
 lib/libkrb -lkrb -lcrypt -lcom_err -lmp
 /usr/obj/usr/src/kerberosIV/libexec/telnetd/../../lib/libtelnet/libtelnet.a(sra.
 o): In function `check_user':
 sra.o(.text+0xb8f): undefined reference to `pam_start'
 sra.o(.text+0xba7): undefined reference to `pam_strerror'
 sra.o(.text+0xbc9): undefined reference to `pam_authenticate'
 sra.o(.text+0xbf9): undefined reference to `pam_get_item'
 sra.o(.text+0xc27): undefined reference to `pam_strerror'
 sra.o(.text+0xc53): undefined reference to `pam_strerror'
 sra.o(.text+0xc71): undefined reference to `pam_end'
 sra.o(.text+0xc89): undefined reference to `pam_strerror'
 *** Error code 1

The kerberosIV telnetd is missing linkage to libpam, perhaps more.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: FW: Snapshot Log - world broken in telnetd

2001-05-10 Thread Michael Harnois

On Fri, 11 May 2001 03:16:35 +1000 (EST), Bruce Evans [EMAIL PROTECTED] said:

 The kerberosIV telnetd is missing linkage to libpam, perhaps
 more.

The kerberosIV telnet and telnetd are missing linkage to libpam, for
about three days. Just adding that lib makes it work ...

-- 
Michael D. Harnois[EMAIL PROTECTED]
Redeemer Lutheran Church  Washburn, Iowa 
 Creative thought means that you forgot where you read it.
  --Stanley Hauerwas

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken, pstat wants IN_SHLOCK, IN_EXLOCK

2001-05-08 Thread Michael Harnois

cc -O2 -fno-strength-reduce -pipe -march=pentiumpro 
-I/usr/src/usr.sbin/pstat/../../sys   -c /usr/src/usr.sbin/pstat/pstat.c
/usr/src/usr.sbin/pstat/pstat.c: In function `ufs_print':
/usr/src/usr.sbin/pstat/pstat.c:494: `IN_SHLOCK' undeclared (first use in this 
function)
/usr/src/usr.sbin/pstat/pstat.c:494: (Each undeclared identifier is reported only once
/usr/src/usr.sbin/pstat/pstat.c:494: for each function it appears in.)
/usr/src/usr.sbin/pstat/pstat.c:496: `IN_EXLOCK' undeclared (first use in this 
function)
*** Error code 1


-- 
Michael D. Harnois[EMAIL PROTECTED]
Redeemer Lutheran Church  Washburn, Iowa 
 Physics is like sex: sure, it may give some practical results,
 but that's not why we do it. -- Richard Feynman

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken in sshd

2001-05-08 Thread Michael Harnois

cc -O2 -fno-strength-reduce -pipe -march=pentiumpro -DLIBWRAP -DHAVE_LOGIN_CAP 
-DLOGIN_ACCESS -I/usr/src/secure/usr.sbin/sshd/../../../usr.bin/login -DUSE_PAM 
-DHAVE_PAM_GETENVLIST -DKRB4 -DSKEY -DXAUTH_PATH=\/usr/X11R6/bin/xauth\   
-I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/auth1.c
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/auth1.c: In function 
`do_authloop':
/usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/auth1.c:121: structure has no 
member named `kerberos_or_local_passwd'
*** Error code 1

Stop in /usr/src/secure/usr.sbin/sshd.

-- 
Michael D. Harnois[EMAIL PROTECTED]
Redeemer Lutheran Church  Washburn, Iowa 
 Physics is like sex: sure, it may give some practical results,
 but that's not why we do it. -- Richard Feynman

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken

2001-05-08 Thread Daniel

world broken at /usr/src/usr.sbin/pstat/pstat.c because IN_SHLOCK is
undeclared, is this something new added to sys/ufs/ufs/inode.h ?
d.-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken...

2001-05-08 Thread Sergey A. Osokin


Hello.
After resup my sources (a 2 hours ago) i tried make buildworld and
it failed:

Extracting myconfig (with variable substitutions)
Missing right curly or square bracket at lib/SelfLoader.pm line 69, at end of line
syntax error at lib/SelfLoader.pm line 69, at EOF
Compilation failed in require at /usr/libdata/perl/BSDPAN/BSDPAN/Override.pm line 17.
Compilation failed in require at /usr/libdata/perl/BSDPAN/Config.pm line 37.
BEGIN failed--compilation aborted at /usr/libdata/perl/BSDPAN/Config.pm line 37.
Compilation failed in require at 
/usr/src/gnu/usr.bin/perl/perl/../../../../contrib/perl5/configpm line 430.
*** Error code 255

Stop in /usr/src/gnu/usr.bin/perl/perl.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/perl.
*** Error code 1

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

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

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

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

Stop in /usr/src.

Any idea?

-- 

Rgdz,/\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken at pstat

2001-05-08 Thread David Wolfskill

From: walt [EMAIL PROTECTED]
Date: 08 May 2001 19:58:05 -0700

cvsup'd CURRENT 5-8-2001 around 1900 PST
make buildworld stopped here:

=== usr.sbin/pstat
cc -O -pipe  -I/usr/src/usr.sbin/pstat/../../sys   
-I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.sbin/pstat/pstat.c
/usr/src/usr.sbin/pstat/pstat.c: In function `ufs_print':
/usr/src/usr.sbin/pstat/pstat.c:494: `IN_SHLOCK' undeclared (first use in this 
function)
/usr/src/usr.sbin/pstat/pstat.c:494: (Each undeclared identifier is reported only once
/usr/src/usr.sbin/pstat/pstat.c:494: for each function it appears in.)
/usr/src/usr.sbin/pstat/pstat.c:496: `IN_EXLOCK' undeclared (first use in this 
function)
*** Error code 1

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

Right; appears to be a side-effect of the change to
src/sys/ufs/ffs/inode.h in
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=254086+0+current/cvs-all,
which removed the symbols in question.

I commented out the affected part of usr.sbin/pstat.c, thus:

Index: pstat.c
===
RCS file: /cvs/freebsd/src/usr.sbin/pstat/pstat.c,v
retrieving revision 1.54
diff -u -u -r1.54 pstat.c
--- pstat.c 2001/04/29 02:45:39 1.54
+++ pstat.c 2001/05/08 23:15:24
@@ -491,10 +491,12 @@
*flags++ = 'M';
if (flag  IN_RENAME)
*flags++ = 'R';
+/*
if (flag  IN_SHLOCK)
*flags++ = 'S';
if (flag  IN_EXLOCK)
*flags++ = 'E';
+*/
if (flag  IN_HASHED)
*flags++ = 'H';
if (flag  IN_LAZYMOD)


and was able to complete the buildworld, kernel, install, mergemaster, 
was able to boot the resulting system.  (Still had some annoyances with
ssh, but I think those have been well-reported already.)

If that section of pstat.c is now obsolete, I'd expect it should be
excised, vs. merely commented out -- and pstat.8 ought to be similarly
altered.

Cheers,
david
-- 
David H. Wolfskill  [EMAIL PROTECTED]
As a computing professional, I believe it would be unethical for me to
advise, recommend, or support the use (save possibly for personal
amusement) of any product that is or depends on any Microsoft product.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



FW: Snapshot Log - world broken

2001-05-04 Thread John Baldwin

=== libpam/modules/pam_tacplus
cc -O -pipe  -Wall
-I/usr/src/lib/libpam/modules/pam_tacplus/../../../../contrib/libpam/libpam/incl
ude -I/usr/src/lib/libpam/mo
dules/pam_tacplus/../../libpam -I/usr/obj/usr/src/i386/usr/include -c
/usr/src/lib/libpam/modules/pam_tacplus/pam_tacplus.c -o 
pam_tacplus.o
cc -fpic -DPIC -O -pipe  -Wall
-I/usr/src/lib/libpam/modules/pam_tacplus/../../../../contrib/libpam/libpam/incl
ude -I/usr/src/l
ib/libpam/modules/pam_tacplus/../../libpam -I/usr/obj/usr/src/i386/usr/include
-c /usr/src/lib/libpam/modules/pam_tacplus/pam_t
acplus.c -o pam_tacplus.So
building static pam_tacplus library
building shared library pam_tacplus.so
ranlib libpam_tacplus.a
=== libpam/modules/pam_unix
cc -O -pipe  -Wall
-I/usr/src/lib/libpam/modules/pam_unix/../../../../contrib/libpam/libpam/include
 -I/usr/src/lib/libpam/modul
es/pam_unix/../../libpam -I/usr/obj/usr/src/i386/usr/include -c
/usr/src/lib/libpam/modules/pam_unix/pam_unix.c -o pam_unix.o
cc -fpic -DPIC -O -pipe  -Wall
-I/usr/src/lib/libpam/modules/pam_unix/../../../../contrib/libpam/libpam/include
 -I/usr/src/lib/
libpam/modules/pam_unix/../../libpam -I/usr/obj/usr/src/i386/usr/include -c
/usr/src/lib/libpam/modules/pam_unix/pam_unix.c -o 
pam_unix.So
building static pam_unix library
building shared library pam_unix.so
ranlib libpam_unix.a
=== libpam/libpam
make: don't know how to make ../modules/pam_ssh/libpam_ssh.a. Stop
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
1 error*** Error code 2

*** Error code 2

Stop in /usr/src/release.

release started at 06:00:00 on 05/04/01
release died at 08:21:12 on 05/04/01


--End of forwarded message-

-- 

John Baldwin [EMAIL PROTECTED] -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken (sshd)

2001-05-04 Thread Thomas Quinot

It looks like world does not currently compile: some files
have been removed from src/crypto/openssh/ a few hours ago,
but are still listed in SRCS in secure/usr.sbin/sshd/Makefile.

Possible workaround:

--- secure/usr.sbin/sshd/Makefile.dist  Fri May  4 17:10:19 2001
+++ secure/usr.sbin/sshd/Makefile   Fri May  4 18:14:35 2001
@@ -5,8 +5,8 @@
 
 PROG=  sshd
 SRCS=  sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
-   pty.c log-server.c login.c servconf.c serverloop.c \
-   auth.c auth1.c auth2.c auth-options.c session.c login_access.c dh.c \
+   log-server.c servconf.c serverloop.c \
+   auth.c auth1.c auth2.c auth-options.c session.c dh.c \
auth-pam.c
 MAN=   sshd.8
 

-- 
Thomas Quinot ** Département Informatique  Réseaux ** [EMAIL PROTECTED]
  ENST   //   46 rue Barrault   //   75634 PARIS CEDEX 13 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: world broken at vnode.h

2001-04-25 Thread Neal Rigney

On Sun, Apr 22, 2001 at 11:24:42AM -0500, Michael Harnois wrote:
 In file included from ../../dev/bktr/bktr_audio.c:52:
 ../../sys/vnode.h:571: conflicting types for `vaccess_acl_posix1e'
 ../../sys/vnode.h:568: previous declaration of `vaccess_acl_posix1e'
 ../../sys/vnode.h:571: warning: redundant redeclaration of `vaccess_acl_posix1e' in 
same scope
 ../../sys/vnode.h:568: warning: previous declaration of `vaccess_acl_posix1e'
 *** Error code 1
 
 the offending lines in vnode.h are 
 
 int   vaccess_acl_posix1e __P((enum vtype type, struct acl *acl,
   mode_t acc_mode, struct ucred *cred, int *privused));
 int   vaccess_acl_posix1e __P((enum vtype type, uid_t file_uid,
   gid_t file_gid, struct acl *acl, mode_t acc_mode,
   struct ucred *cred, int *privused));
 
 One suspects only one of those can be correct ...
 

It appears so.  I removed the first line and everything compiled fine.   I'm
not testing huge amounts of code, so YMMV:


*** vnode.h Sun Apr 22 10:42:29 2001
--- vnode.h.old Sun Apr 22 10:39:18 2001
***
*** 564,569 
--- 564,571 
char **retfreebuf));
  int   vaccess __P((enum vtype type, mode_t file_mode, uid_t uid, gid_t gid,
mode_t acc_mode, struct ucred *cred, int *privused));
+ int   vaccess_acl_posix1e __P((enum vtype type, struct acl *acl,
+   mode_t acc_mode, struct ucred *cred, int *privused));
  int   vaccess_acl_posix1e __P((enum vtype type, uid_t file_uid,
gid_t file_gid, struct acl *acl, mode_t acc_mode,
struct ucred *cred, int *privused));


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



world broken at vnode.h

2001-04-22 Thread Michael Harnois

In file included from ../../dev/bktr/bktr_audio.c:52:
../../sys/vnode.h:571: conflicting types for `vaccess_acl_posix1e'
../../sys/vnode.h:568: previous declaration of `vaccess_acl_posix1e'
../../sys/vnode.h:571: warning: redundant redeclaration of `vaccess_acl_posix1e' in 
same scope
../../sys/vnode.h:568: warning: previous declaration of `vaccess_acl_posix1e'
*** Error code 1

the offending lines in vnode.h are 

int vaccess_acl_posix1e __P((enum vtype type, struct acl *acl,
mode_t acc_mode, struct ucred *cred, int *privused));
int vaccess_acl_posix1e __P((enum vtype type, uid_t file_uid,
gid_t file_gid, struct acl *acl, mode_t acc_mode,
struct ucred *cred, int *privused));

One suspects only one of those can be correct ...

-- 
Michael D. Harnois[EMAIL PROTECTED]
Redeemer Lutheran Church  Washburn, Iowa 
 Hanlon's Razor: Never attribute to malice 
 that which is adequately explained by stupidity.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



usr.bin/kdump - 'make world' broken?

2001-03-27 Thread Eckhard Kantz

What could be the reason for the following problem?

=== usr.bin/kdump
cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../
..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
In file included from ioctl.c:96:
/usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE'
redefined
/usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the
location of the previous definition
In file included from ioctl.c:52:
/usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX'
undeclared here (not in a function)
*** Error code 1

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

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

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

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

Stop in /usr/src.


Thanks for any advice.

Eckhard



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: usr.bin/kdump - 'make world' broken?

2001-03-27 Thread Sergey A. Osokin

On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote:
 What could be the reason for the following problem?
 
 === usr.bin/kdump
 cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../
 ..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
 In file included from ioctl.c:96:
 /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE'
 redefined
 /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the
 location of the previous definition
 In file included from ioctl.c:52:
 /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX'
 undeclared here (not in a function)
 *** Error code 1
 
 Stop in /usr/src/usr.bin/kdump.
 *** Error code 1

I reported about this problem more then 3 months ago.
(http://www.freebsd.org/cgi/getmsg.cgi?fetch=434185+436356+/usr/local/www/db/text/2001/freebsd-current/20010128.freebsd-current)

I think this problem may resolve with following steps:
1) rm -rf /usr/src
2) re-sup
3) try to make buildworld
But i haven't -current @ fast channel for this...

Also, you may do following:
1) vi /usr/src/usr.bin/kdump/Makefile and remove ${DESTDIR} at line 11
2) vi /usr/src/usr.bin/truss/Makefile remove ${DESTDIR} at line 32
3) try to make buildworld

I recommend first way.
It looks like mkioctls do something wrong at ${DESTDIR} at
buildworld time.
-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: usr.bin/kdump - 'make world' broken?

2001-03-27 Thread Ruslan Ermilov

On Tue, Mar 27, 2001 at 07:34:49PM +0400, Sergey A. Osokin wrote:
 On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote:
  What could be the reason for the following problem?
  
  === usr.bin/kdump
  cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../
  ..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
  In file included from ioctl.c:96:
  /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE'
  redefined
  /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the
  location of the previous definition
  In file included from ioctl.c:52:
  /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX'
  undeclared here (not in a function)
  *** Error code 1
  
  Stop in /usr/src/usr.bin/kdump.
  *** Error code 1
 
 I reported about this problem more then 3 months ago.
 
(http://www.freebsd.org/cgi/getmsg.cgi?fetch=434185+436356+/usr/local/www/db/text/2001/freebsd-current/20010128.freebsd-current)
 
 I think this problem may resolve with following steps:
 1) rm -rf /usr/src
 2) re-sup
 3) try to make buildworld
 But i haven't -current @ fast channel for this...
 
 Also, you may do following:
 1) vi /usr/src/usr.bin/kdump/Makefile and remove ${DESTDIR} at line 11
 2) vi /usr/src/usr.bin/truss/Makefile remove ${DESTDIR} at line 32
 3) try to make buildworld
 
 I recommend first way.
 It looks like mkioctls do something wrong at ${DESTDIR} at
 buildworld time.
 
Should be fixed in usr.bin/kdump/mkioctls,v 1.20.


Cheers,
-- 
Ruslan Ermilov  Oracle Developer/DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: usr.bin/kdump - 'make world' broken?

2001-03-27 Thread Sergey A. Osokin

On Tue, Mar 27, 2001 at 07:17:48PM +0300, Ruslan Ermilov wrote:
 On Tue, Mar 27, 2001 at 07:34:49PM +0400, Sergey A. Osokin wrote:
  On Tue, Mar 27, 2001 at 01:22:51PM +0200, Eckhard Kantz wrote:
   What could be the reason for the following problem?
   
   === usr.bin/kdump
   cc -O -pipe  -I/usr/src/usr.bin/kdump/../ktrace -I/usr/src/usr.bin/kdump/../
   ..   -I/usr/obj/usr/src/i386/usr/include -c ioctl.c
   In file included from ioctl.c:96:
   /usr/obj/usr/src/i386/usr/include/sys/memrange.h:18: warning: `MDF_ACTIVE'
   redefined
   /usr/obj/usr/src/i386/usr/include/pccard/cardinfo.h:81: warning: this is the
   location of the previous definition
   In file included from ioctl.c:52:
   /usr/obj/usr/src/i386/usr/include/machine/i4b_rbch_ioctl.h:45: `TELNO_MAX'
   undeclared here (not in a function)
   *** Error code 1
   
   Stop in /usr/src/usr.bin/kdump.
   *** Error code 1
  
 Should be fixed in usr.bin/kdump/mkioctls,v 1.20.

OK. I try buildworld now.

-- 

Rgdz,/"\ 
Sergey Osokin aka oZZ,   \ /  ASCII RIBBON CAMPAIGN
[EMAIL PROTECTED]X AGAINST HTML MAIL
http://freebsd.org.ru/~osa/  / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



World broken in fsdb by fsck_ffs changes.

2001-03-21 Thread Ollivier Robert

=== sbin/fsdb
cc -O -pipe -march=pentiumpro -I/src/src/sbin/fsdb/../fsck_ffs   
-I/usr/obj/src/src/i386/usr/include -c /src/src/sbin/fsdb/fsdb.c
cc -O -pipe -march=pentiumpro -I/src/src/sbin/fsdb/../fsck_ffs   
-I/usr/obj/src/src/i386/usr/include -c /src/src/sbin/fsdb/fsdbutil.c
/src/src/sbin/fsdb/../fsck_ffs/fsck.h:201: storage size of `cmd' isn't known
*** Error code 1

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


-- 
Ollivier ROBERT  -=-  Eurocontrol EEC/ITM  -=-  [EMAIL PROTECTED]
FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Jan  3 15:52:00 CET 2001

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-18 Thread Farid Hajji

Hi,

I just updated -CURRENT 2001-01-25 to 2001-02-18.0100 CET and the system
runs fine for me. Built and installed kernel too. All old binaries that
linked to libc.so.5 (including X11) not recompiled; they still run fine.
No problems with as(1) either.

The only glitch during installworld was:

install: /usr/share/examples/BSD_daemon/FreeBSD.pfa: No such file or directory
  Error Code 71
and other errors in /usr/share/examples/BSD_daemon about missing files.

make -k buileworld did the trick just fine. Other errors (besides BSD_daemon)
didn't occur during buildworld.

   FreeBSD machine.whacky.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Feb 16 
14:33:37 CET 2001 
stephanb@machine.whacky.net:/mnt/archive/CVS/CURRENT/src/sys/compile/machine  i386

Here too:

FreeBSD bsdevil.meta.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Feb 18 22:04:15 CET 
2001 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYTWR  i386

  If you want to discover and reproduce the problem (:-)
  it is sufficient to go to ports/devel/gettext and 'make' this port.
  When make start to make in the 'po' directory it SIGFAULTs in
  __ungetc.
 
 *sighs* True.. it fails here as well. Damn
This works fine here (gettext-0.10.35.tar.gz). No problems whatsoever
recompiling...

Regards,

-Farid.

-- 
Farid Hajji -- Unix Systems and Network Admin | Phone: +49-2131-67-555
Broicherdorfstr. 83, D-41564 Kaarst, Germany  | [EMAIL PROTECTED]
- - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - -
Murphy's Law fails only when you try to demonstrate it, and thus succeeds.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-17 Thread Stephan van Beerschoten

On Fri, 16 Feb 2001, Warner Losh wrote:

 In message [EMAIL PROTECTED] "David O'Brien" writes:
 : Warner committed a fix for this.  But I'm having trouble building world
 : with it.
 : 
 : cc -O -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include 
-D__DBINTERFACE_PRIVATE -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE 
-I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP -DHESIOD 
-I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libc/../libc/stdio/_flock_stub.c 
-o _flock_stub.o
 : /usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `init_lock':
 : /usr/src/lib/libc/../libc/stdio/_flock_stub.c:95: structure has no member named 
`_extra'
 : /usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `_flockfile':
 : /usr/src/lib/libc/../libc/stdio/_flock_stub.c:111: structure has no member named 
`_extra'
 : ..snip..
 
 Did you snag stdio.h as well?  My buildworld on a virgin tree post my
 fix on a 4.2-stable system completed last night.

(stephanb@tripwire|ttyp4)/usr/src# ident ./include/stdio.h
./include/stdio.h:
 $FreeBSD: src/include/stdio.h,v 1.30 2001/02/16 06:11:21 imp Exp $

and again, all seems to work and compile perfect for me.

-- 
Stephan van Beerschoten [SVB21-RIPE]   [EMAIL PROTECTED]
  PGP fingerprint:  4557 9761 B212 FB4C  778D 3529 C42A 2D27
 "To err is human, to forgive is Not Company Policy"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-17 Thread Stephan van Beerschoten

On Fri, 16 Feb 2001, [EMAIL PROTECTED] wrote:

 In article [EMAIL PROTECTED] you wrote:
  
Has anybody gotten world to build?
   Mine isn't finished yet, but it is past libc, it is busy in usr.sbin.
 
  Finished buildworld without problems.. CVS as of now (check mailheader).
  I'm about to install.. 
  
  Finished installing, built kernel, and booted it. No problems whatsoever.
  
  FreeBSD machine.whacky.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Feb 16 
14:33:37 CET 2001 
stephanb@machine.whacky.net:/mnt/archive/CVS/CURRENT/src/sys/compile/machine  i386
  
 
   If you want to discover and reproduce the problem (:-)
 it is sufficient to go to ports/devel/gettext and 'make' this port.
 When make start to make in the 'po' directory it SIGFAULTs in
 __ungetc.
 

*sighs* True.. it fails here as well. Damn

-- 
Stephan van Beerschoten [SVB21-RIPE]   [EMAIL PROTECTED]
  PGP fingerprint:  4557 9761 B212 FB4C  778D 3529 C42A 2D27
 "To err is human, to forgive is Not Company Policy"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread Stephan van Beerschoten

On Tue, 13 Feb 2001, Dag-Erling Smorgrav wrote:

 'make world' on -CURRENT has been broken since Feb 10 due to a change
 in the size of struct __sFILE (which changes the address of stdin,
 stdout and stderr). It will remain broken for a few more days while we
 work out the best possible solution to this problem.
 
 DO NOT TRY TO UPGRADE -STABLE OR A PRE-FEB 10 -CURRENT TO A POST-FEB
 10 -CURRENT UNTIL THIS IS RESOLVED. YOU HAVE BEEN WARNED.

Any updates on this yet ?

-- 
Stephan van Beerschoten [SVB21-RIPE]   [EMAIL PROTECTED]
  PGP fingerprint:  4557 9761 B212 FB4C  778D 3529 C42A 2D27
 "To err is human, to forgive is Not Company Policy"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread David O'Brien

On Fri, Feb 16, 2001 at 10:44:10AM +0100, Stephan van Beerschoten wrote:
  DO NOT TRY TO UPGRADE -STABLE OR A PRE-FEB 10 -CURRENT TO A POST-FEB
  10 -CURRENT UNTIL THIS IS RESOLVED. YOU HAVE BEEN WARNED.
 
 Any updates on this yet ?

Warner committed a fix for this.  But I'm having trouble building world
with it.

cc -O -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include 
-D__DBINTERFACE_PRIVATE -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE 
-I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP -DHESIOD 
-I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libc/../libc/stdio/_flock_stub.c 
-o _flock_stub.o
/usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `init_lock':
/usr/src/lib/libc/../libc/stdio/_flock_stub.c:95: structure has no member named 
`_extra'
/usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `_flockfile':
/usr/src/lib/libc/../libc/stdio/_flock_stub.c:111: structure has no member named 
`_extra'
..snip..


Has anybody gotten world to build?

-- 
-- David  ([EMAIL PROTECTED])
  GNU is Not Unix / Linux Is Not UniX


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread John Hay

   DO NOT TRY TO UPGRADE -STABLE OR A PRE-FEB 10 -CURRENT TO A POST-FEB
   10 -CURRENT UNTIL THIS IS RESOLVED. YOU HAVE BEEN WARNED.
  
  Any updates on this yet ?
 
 Warner committed a fix for this.  But I'm having trouble building world
 with it.
 
 cc -O -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include 
-D__DBINTERFACE_PRIVATE -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE 
-I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP -DHESIOD 
-I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libc/../libc/stdio/_flock_stub.c 
-o _flock_stub.o
 /usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `init_lock':
 /usr/src/lib/libc/../libc/stdio/_flock_stub.c:95: structure has no member named 
`_extra'
 /usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `_flockfile':
 /usr/src/lib/libc/../libc/stdio/_flock_stub.c:111: structure has no member named 
`_extra'
 ..snip..
 
 
 Has anybody gotten world to build?

Mine isn't finished yet, but it is past libc, it is busy in usr.sbin.

_flock_stub.c did compile:
beast:~  ls -l /usr/obj/usr/src/lib/libc/_flock_stub.*
-rw-r--r--  1 root  wheel  1797 Feb 16 11:37 /usr/obj/usr/src/lib/libc/_flock_stub.So
-rw-r--r--  1 root  wheel  1631 Feb 16 11:37 /usr/obj/usr/src/lib/libc/_flock_stub.o

John
-- 
John Hay -- [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread Robert Drehmel

In [EMAIL PROTECTED],
David O'Brien wrote:
 cc -O -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include 
-D__DBINTERFACE_PRIVATE -DINET6
 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/../libc/locale 
-DBROKEN_DES -DYP -DHESIOD
 -I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libc/../libc/stdio/_flock_stub.c 
-o _flock_stub.o
 /usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `init_lock':
 /usr/src/lib/libc/../libc/stdio/_flock_stub.c:95: structure has no member named 
`_extra'
 /usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `_flockfile':
 /usr/src/lib/libc/../libc/stdio/_flock_stub.c:111: structure has no member named 
`_extra'
 ..snip..

Are you sure you are building with src/include/stdio.h 1.30?

-- 
Robert S. F. Drehmel  -  [EMAIL PROTECTED]
 currently 47 hours without sleep `,-)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread John Hay

   DO NOT TRY TO UPGRADE -STABLE OR A PRE-FEB 10 -CURRENT TO A POST-FEB
   10 -CURRENT UNTIL THIS IS RESOLVED. YOU HAVE BEEN WARNED.
  
  Any updates on this yet ?
 
 Warner committed a fix for this.  But I'm having trouble building world
 with it.

Well make world finished here, but it looks like all is not well. The
resultant /usr/libexec/elf/as coredump with a signal 11. I did put an
old one back but it only helped for a little while. gdb traceback for
both look the same:

beast:/sys/compile/BEAST # gdb /usr/libexec/elf/as as.core 
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
...
Core was generated by `as'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libc.so.5...(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...
done.
#0  0x28102bab in __ungetc () from /usr/lib/libc.so.5
(gdb) bt
#0  0x28102bab in __ungetc () from /usr/lib/libc.so.5
#1  0x28102ac9 in ungetc () from /usr/lib/libc.so.5
#2  0x804f694 in hash_traverse ()
#3  0x804fa2f in hash_traverse ()
#4  0x8053a7d in hash_traverse ()
#5  0x804b53a in free ()
#6  0x804b22d in free ()
#7  0x8049335 in free ()

John
-- 
John Hay -- [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread Stephan van Beerschoten

On Fri, 16 Feb 2001, John Hay wrote:

DO NOT TRY TO UPGRADE -STABLE OR A PRE-FEB 10 -CURRENT TO A POST-FEB
10 -CURRENT UNTIL THIS IS RESOLVED. YOU HAVE BEEN WARNED.
   
   Any updates on this yet ?
  
  Warner committed a fix for this.  But I'm having trouble building world
  with it.
  
  cc -O -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include 
-D__DBINTERFACE_PRIVATE -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE 
-I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP -DHESIOD 
-I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libc/../libc/stdio/_flock_stub.c 
-o _flock_stub.o
  /usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `init_lock':
  /usr/src/lib/libc/../libc/stdio/_flock_stub.c:95: structure has no member named 
`_extra'
  /usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `_flockfile':
  /usr/src/lib/libc/../libc/stdio/_flock_stub.c:111: structure has no member named 
`_extra'
  ..snip..
  
  
  Has anybody gotten world to build?
 
 Mine isn't finished yet, but it is past libc, it is busy in usr.sbin.

Finished buildworld without problems.. CVS as of now (check mailheader).

I'm about to install.. 

-Stephan

-- 
Stephan van Beerschoten [SVB21-RIPE]   [EMAIL PROTECTED]
  PGP fingerprint:  4557 9761 B212 FB4C  778D 3529 C42A 2D27
 "To err is human, to forgive is Not Company Policy"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread Stephan van Beerschoten

On Fri, 16 Feb 2001, Stephan van Beerschoten wrote:

   Has anybody gotten world to build?
  Mine isn't finished yet, but it is past libc, it is busy in usr.sbin.

 Finished buildworld without problems.. CVS as of now (check mailheader).
 I'm about to install.. 

Finished installing, built kernel, and booted it. No problems whatsoever.

FreeBSD machine.whacky.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Feb 16 14:33:37 
CET 2001 
stephanb@machine.whacky.net:/mnt/archive/CVS/CURRENT/src/sys/compile/machine  i386


-- 
Stephan van Beerschoten [SVB21-RIPE]   [EMAIL PROTECTED]
  PGP fingerprint:  4557 9761 B212 FB4C  778D 3529 C42A 2D27
 "To err is human, to forgive is Not Company Policy"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread nnd

In article [EMAIL PROTECTED] you wrote:
 
   Has anybody gotten world to build?
  Mine isn't finished yet, but it is past libc, it is busy in usr.sbin.

 Finished buildworld without problems.. CVS as of now (check mailheader).
 I'm about to install.. 
 
 Finished installing, built kernel, and booted it. No problems whatsoever.
 
 FreeBSD machine.whacky.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Feb 16 14:33:37 
CET 2001 
stephanb@machine.whacky.net:/mnt/archive/CVS/CURRENT/src/sys/compile/machine  i386
 

If you want to discover and reproduce the problem (:-)
it is sufficient to go to ports/devel/gettext and 'make' this port.
When make start to make in the 'po' directory it SIGFAULTs in
__ungetc.

N.Dudorov


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread Daniel Eischen

On Fri, 16 Feb 2001, John Hay wrote:

DO NOT TRY TO UPGRADE -STABLE OR A PRE-FEB 10 -CURRENT TO A POST-FEB
10 -CURRENT UNTIL THIS IS RESOLVED. YOU HAVE BEEN WARNED.
   
   Any updates on this yet ?
  
  Warner committed a fix for this.  But I'm having trouble building world
  with it.
 
 Well make world finished here, but it looks like all is not well. The
 resultant /usr/libexec/elf/as coredump with a signal 11. I did put an
 old one back but it only helped for a little while. gdb traceback for
 both look the same:

Try this uncompiled and untested patch to lib/libc/stdio/findfp.c.
If it doesn't compile, you should be able to tweak it.

-- 
Dan Eischen

Index: findfp.c
===
RCS file: /opt/b/CVS/src/lib/libc/stdio/findfp.c,v
retrieving revision 1.14
diff -u -r1.14 findfp.c
--- findfp.c2001/02/16 06:11:22 1.14
+++ findfp.c2001/02/16 15:25:20
@@ -66,6 +66,7 @@
   /* _ub _extra */
/* the usual - (stdin + stdout + stderr) */
 static FILE usual[FOPEN_MAX - 3];
+static struct usual_extra[FOPEN_MAX - 3];
 static struct glue uglue = { NULL, FOPEN_MAX - 3, usual };
 
 static struct __sFILEX __sFX[3];
@@ -215,7 +216,17 @@
 void
 __sinit()
 {
-   /* Make sure we clean up on exit. */
-   __cleanup = _cleanup;   /* conservative */
-   __sdidinit = 1;
+   int i;
+
+   THREAD_LOCK();
+   if (__sdidinit == 0) {
+   /* Set _extra for the usual suspects. */
+   for (i = 0; i  FOPENMAX - 3; i++)
+   usual[i]._extra = usual_extra[i];
+
+   /* Make sure we clean up on exit. */
+   __cleanup = _cleanup;   /* conservative */
+   __sdidinit = 1;
+   }
+   THREAD_UNLOCK();
 }


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread nnd


Daniel Eischen [EMAIL PROTECTED] wrote:

Try this uncompiled and untested patch to lib/libc/stdio/findfp.c.
If it doesn't compile, you should be able to tweak it.

After small tweak this patch comiles and works - i.e.
I can now make /usr/ports/devel/gettext.

N.Dudorov

Index: findfp.c
===
RCS file: /opt/b/CVS/src/lib/libc/stdio/findfp.c,v
retrieving revision 1.14
diff -u -r1.14 findfp.c
--- findfp.c2001/02/16 06:11:22 1.14
+++ findfp.c2001/02/16 15:25:20
@@ -66,6 +66,7 @@
   /* _ub _extra */
/* the usual - (stdin + stdout + stderr) */
 static FILE usual[FOPEN_MAX - 3];
+static struct __sFILEX usual_extra[FOPEN_MAX - 3];
 static struct glue uglue = { NULL, FOPEN_MAX - 3, usual };
 
 static struct __sFILEX __sFX[3];
@@ -215,7 +216,17 @@
 void
 __sinit()
 {
-   /* Make sure we clean up on exit. */
-   __cleanup = _cleanup;   /* conservative */
-   __sdidinit = 1;
+   int i;
+
+   THREAD_LOCK();
+   if (__sdidinit == 0) {
+   /* Set _extra for the usual suspects. */
+   for (i = 0; i  FOPEN_MAX - 3; i++)
+   usual[i]._extra = usual_extra[i];
+
+   /* Make sure we clean up on exit. */
+   __cleanup = _cleanup;   /* conservative */
+   __sdidinit = 1;
+   }
+   THREAD_UNLOCK();
 }




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread Warner Losh

In message [EMAIL PROTECTED] "David O'Brien" writes:
: Warner committed a fix for this.  But I'm having trouble building world
: with it.
: 
: cc -O -pipe -DLIBC_RCS -DSYSLIBC_RCS -I/usr/src/lib/libc/include 
:-D__DBINTERFACE_PRIVATE -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE 
:-I/usr/src/lib/libc/../libc/locale -DBROKEN_DES -DYP -DHESIOD 
:-I/usr/obj/usr/src/i386/usr/include -c /usr/src/lib/libc/../libc/stdio/_flock_stub.c 
:-o _flock_stub.o
: /usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `init_lock':
: /usr/src/lib/libc/../libc/stdio/_flock_stub.c:95: structure has no member named 
:`_extra'
: /usr/src/lib/libc/../libc/stdio/_flock_stub.c: In function `_flockfile':
: /usr/src/lib/libc/../libc/stdio/_flock_stub.c:111: structure has no member named 
:`_extra'
: ..snip..

Did you snag stdio.h as well?  My buildworld on a virgin tree post my
fix on a 4.2-stable system completed last night.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread Warner Losh

In message [EMAIL PROTECTED] Stephan van Beerschoten writes:
:  DO NOT TRY TO UPGRADE -STABLE OR A PRE-FEB 10 -CURRENT TO A POST-FEB
:  10 -CURRENT UNTIL THIS IS RESOLVED. YOU HAVE BEEN WARNED.
: 
: Any updates on this yet ?

I claim I've fixed this.  I have 1 report that says I haven't and one
report that says I have, plus my own buildworld.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread Warner Losh

In message [EMAIL PROTECTED] [EMAIL PROTECTED] writes:
: Daniel Eischen [EMAIL PROTECTED] wrote:
: 
: Try this uncompiled and untested patch to lib/libc/stdio/findfp.c.
: If it doesn't compile, you should be able to tweak it.
: 
:   After small tweak this patch comiles and works - i.e.
: I can now make /usr/ports/devel/gettext.

This patch looks good to my eyes.  I'll toss it into my buildworld and
if it succeeds, I'll commit it, or let Daniel commit it if his testing
gets done first.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread Daniel Eischen

On Fri, 16 Feb 2001, Warner Losh wrote:
 In message [EMAIL PROTECTED] [EMAIL PROTECTED] writes:
 : Daniel Eischen [EMAIL PROTECTED] wrote:
 : 
 : Try this uncompiled and untested patch to lib/libc/stdio/findfp.c.
 : If it doesn't compile, you should be able to tweak it.
 : 
 : After small tweak this patch comiles and works - i.e.
 : I can now make /usr/ports/devel/gettext.
 
 This patch looks good to my eyes.  I'll toss it into my buildworld and
 if it succeeds, I'll commit it, or let Daniel commit it if his testing
 gets done first.

I'm away from my -current box until tonight so go ahead and
commit it.

-- 
Dan Eischen



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread Warner Losh

In message [EMAIL PROTECTED] Daniel Eischen 
writes:
: I'm away from my -current box until tonight so go ahead and
: commit it.

Sounds good.

warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread David O'Brien

On Fri, Feb 16, 2001 at 10:03:06AM -0700, Warner Losh wrote:
 Did you snag stdio.h as well?  My buildworld on a virgin tree post my
 fix on a 4.2-stable system completed last night.

My system was probably so hosed nothing was going to fix it.  I backed up
my sources to varisous dates and could not get a world to build. :-(

I'm downloading a snapshot's bin.?? as I type this.

-- 
-- David  ([EMAIL PROTECTED])
  GNU is Not Unix / Linux Is Not UniX


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: HEADS UP: -current world broken since Feb 10

2001-02-16 Thread Warner Losh

In message [EMAIL PROTECTED] [EMAIL PROTECTED] writes:
: 
: Daniel Eischen [EMAIL PROTECTED] wrote:
: 
: Try this uncompiled and untested patch to lib/libc/stdio/findfp.c.
: If it doesn't compile, you should be able to tweak it.
: 
:   After small tweak this patch comiles and works - i.e.
: I can now make /usr/ports/devel/gettext.

Ditto.  I've committed this.

I've also sent a bit of a roadmap to arch explaining the issues with a
bit of code that's the first step towards moving back to Peter's
patches once we have the upgrade path in place.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



HEADS UP: -current world broken since Feb 10

2001-02-12 Thread Dag-Erling Smorgrav

'make world' on -CURRENT has been broken since Feb 10 due to a change
in the size of struct __sFILE (which changes the address of stdin,
stdout and stderr). It will remain broken for a few more days while we
work out the best possible solution to this problem.

DO NOT TRY TO UPGRADE -STABLE OR A PRE-FEB 10 -CURRENT TO A POST-FEB
10 -CURRENT UNTIL THIS IS RESOLVED. YOU HAVE BEEN WARNED.

Thank you for your attention. We now return you to our regularly
scheduled hacking.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: world broken: mbuf.h:120: `MSIZE' undeclared here

2000-11-26 Thread Michael Harnois

On Sat, 25 Nov 2000 18:01:33 -0500 (EST), Bosko Milekic [EMAIL PROTECTED] 
said:

   jlemon, I think you may want to remove the include for
 sys/mbuf.h in if_var.h if it isn't needed (try) -- I think this
 is what may be screwing up netstat.

OK, I think I have it now. Remove sys/mbuf.h and change
machine/mutex.h to sys/mutex.h.

-- 
Michael D. Harnois, Redeemer Lutheran Church, Washburn, IA 
[EMAIL PROTECTED]  [EMAIL PROTECTED] 
 "Times are bad. Children no longer obey their parents, 
  and everyone is writing a book." -- Marcus Tullius Cicero


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: world broken: mbuf.h:120: `MSIZE' undeclared here

2000-11-26 Thread Michael Harnois

On 26 Nov 2000 12:48:48 -0600, Michael Harnois [EMAIL PROTECTED] said:

 OK, I think I have it now. Remove sys/mbuf.h and change
 machine/mutex.h to sys/mutex.h.

Except that the kernel won't build if sys/mbuf.h isn't included. Oh well.

-- 
Michael D. Harnois, Redeemer Lutheran Church, Washburn, IA 
[EMAIL PROTECTED]  [EMAIL PROTECTED] 
 "Times are bad. Children no longer obey their parents, 
  and everyone is writing a book." -- Marcus Tullius Cicero


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: world broken: mbuf.h:120: `MSIZE' undeclared here

2000-11-26 Thread Jonathan Lemon

On Sun, Nov 26, 2000 at 01:06:12PM -0600, Michael Harnois wrote:
 On 26 Nov 2000 12:48:48 -0600, Michael Harnois [EMAIL PROTECTED] said:
 
  OK, I think I have it now. Remove sys/mbuf.h and change
  machine/mutex.h to sys/mutex.h.
 
 Except that the kernel won't build if sys/mbuf.h isn't included. Oh well.

Yes;  I"m testing a fix with:

#ifdef _KERNEL
#include sys/mbuf.h
#endif /* _KERNEL */
#include sys/mutex.h

My machines are churning through a make world right now..
--
Jonathan


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: world broken: mbuf.h:120: `MSIZE' undeclared here

2000-11-26 Thread Alfred Perlstein

* Jonathan Lemon [EMAIL PROTECTED] [001126 11:18] wrote:
 On Sun, Nov 26, 2000 at 01:06:12PM -0600, Michael Harnois wrote:
  On 26 Nov 2000 12:48:48 -0600, Michael Harnois [EMAIL PROTECTED] said:
  
   OK, I think I have it now. Remove sys/mbuf.h and change
   machine/mutex.h to sys/mutex.h.
  
  Except that the kernel won't build if sys/mbuf.h isn't included. Oh well.
 
 Yes;  I"m testing a fix with:
 
   #ifdef _KERNEL
   #include sys/mbuf.h
   #endif /* _KERNEL */
   #include sys/mutex.h
 
 My machines are churning through a make world right now..

Ick, shouldn't it just be required that one include sys/mbuf.h before
this include file?

-- 
-Alfred Perlstein - [[EMAIL PROTECTED]|[EMAIL PROTECTED]]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



  1   2   3   >