[FUG-BR] CVSUP do 7.4-STABLE para série 8

Renata Dias renatchinha em gmail.com
Sexta Maio 13 10:49:54 BRT 2011


Renato,

Eu havia enviado a mensagem de erro em um TXT em anexo.
Segue:

--------------------------------------------------------------
>>> stage 2.3: build tools
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/DELTA;  MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm
make SSP_CFLAGS= -DNO_CPU_CFLAGS -DNO_CTF  -f
/usr/src/sys/dev/aic7xxx/aicasm/Makefile
Warning: Object directory not changed from original
/usr/obj/usr/src/sys/DELTA
yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y
cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm
-std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
-Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wno-pointer-sign -c
/usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm
-std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
-Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wno-pointer-sign -c
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm
-std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
-Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wno-pointer-sign -c aicasm_gram.c
cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm
-std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
-Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wno-pointer-sign -c aicasm_macro_gram.c
cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aicasm
-std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
-Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wno-pointer-sign -c aicasm_scan.c
cc1: warnings being treated as errors
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:232: warning: no previous
prototype for 'yylex'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l: In function 'yylex':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:378: warning: suggest
parentheses around assignment used as truth value
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:406: warning: implicit
declaration of function 'mm_switch_to_buffer'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:406: warning: nested extern
declaration of 'mm_switch_to_buffer'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:407: warning: implicit
declaration of function 'mmparse'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:407: warning: nested extern
declaration of 'mmparse'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:410: warning: implicit
declaration of function 'mm_delete_buffer'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:410: warning: nested extern
declaration of 'mm_delete_buffer'
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l: In function 'yy_scan_bytes':
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:1138: warning: declaration of
'buf' shadows a global declaration
/usr/src/sys/dev/aic7xxx/aicasm/aicasm_scan.l:70: warning: shadowed
declaration is here
*** Error code 1
Stop in /usr/obj/usr/src/sys/DELTA.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.

Meu arquivo de kernel chamado KERNEL é uma cópia do GENERIC (depois de feito
o cvsup), porém customizada.
Fiz agora o builkernel do GENERIC e concluiu sem erros. Vou eliminar minha
customização por etapas até descobrir onde está a falha.

Obrigada pela dica.






Em 13 de maio de 2011 09:39, Renato Botelho <rbgarga em gmail.com> escreveu:

> 2011/5/13 Renata Dias <renatchinha em gmail.com>:
> > Bom dia !!
> >
> > Recentemente fiz a atualização do FreeBSD passando de 7.2-STABLE para
> > 7.4-STABLE, no supfile coloquei tag=RELENG_7. Deu tudo certo, mas agora
> > quero passar para a série 8 e não consigo.
> >
> > No supfile eu havia colocado RELENG_8, mas recebi o erro que está em
> enexo
> > na hora de compilar o arquivo de kernel. Sendo assim coloquei no supfile
> > RELENG_8_0, mas aconteceu a mesma coisa.
> >
> > # cvsup -g -L2 /etc/supfile
> > OK
> >
> > # cd /usr/src
> >
> > OK
> >
> > # make buildworld
> >
> > OK
> > # make buildkernel KERNCONF=KERNEL
> > ERRO
>
> Duas coisas:
>
> 1. Esse kernel chamado KERNEL, é um kernel customizado. Você
> "converteu" ele pra série 8.x?
> O primeiro passo é compilar o kernel GENERIC e ver se o erro ainda
> ocorre, com isso você pode comprovar minha teoria.
>
> 2. Quando der um erro, manda a mensagem de erro no email, assim
> podemos ler e te ajudar de uma maneira mais precisa.
>
> []s
> --
> Renato Botelho
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>



-- 
Renata Dias


Mais detalhes sobre a lista de discussão freebsd