[FUG-BR] erro no buildworld

Adiel de Lima Ribeiro adiel.netadmin em gmail.com
Quinta Junho 27 10:10:29 BRT 2013


On Thu, 2013-06-27 at 01:21 -0300, Nilton Jose Rizzo wrote:
> alguem pode me dar uma luz?  já atualizei hoje de novo a árvore 
>   src (stable) mas continua a dar esse erro aqui:
> 
> 
> /usr/bin/clang  -O2 -pipe  -DPTHREAD_KERNEL -
> I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread  -
> I/usr/src/lib/libthr/../../include -I/usr/src/lib/libthr/arch/amd64/include -
> I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -
> I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64 -
> I/usr/src/lib/libthr/../libthread_db -Winline -fexceptions -
> D_PTHREAD_FORCED_UNWIND -D_PTHREADS_INVARIANTS -DSYSCALL_COMPAT -std=gnu99 -
> Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-
> unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -
> Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-
> tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-
> function -Wno-conversion -c /usr/src/lib/libthr/thread/thr_setschedparam.c -o 
> thr_setschedparam.o
> /usr/bin/clang  -O2 -pipe  -DPTHREAD_KERNEL -
> I/usr/src/lib/libthr/../libc/include -I/usr/src/lib/libthr/thread  -
> I/usr/src/lib/libthr/../../include -I/usr/src/lib/libthr/arch/amd64/include -
> I/usr/src/lib/libthr/sys -I/usr/src/lib/libthr/../../libexec/rtld-elf -
> I/usr/src/lib/libthr/../../libexec/rtld-elf/amd64 -
> I/usr/src/lib/libthr/../libthread_db -Winline -fexceptions -
> D_PTHREAD_FORCED_UNWIND -D_PTHREADS_INVARIANTS -DSYSCALL_COMPAT -std=gnu99 -
> Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-
> unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -
> Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-
> tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-
> function -Wno-conversion -c /usr/src/lib/libthr/thread/thr_sig.c -o thr_sig.o
> /usr/src/lib/libthr/thread/thr_sig.c:331:2: error: implicit declaration of
>       function '__fillcontextx2' is invalid in C99
>       [-Werror,-Wimplicit-function-declaration]
>         __fillcontextx2((char *)uc);
>         ^
> /usr/src/lib/libthr/thread/thr_sig.c:331:2: note: did you mean 
> '__fillcontextx'?
>         __fillcontextx2((char *)uc);
>         ^~~~~~~~~~~~~~~
>         __fillcontextx
> /usr/include/ucontext.h:83:5: note: '__fillcontextx' declared here
> int __fillcontextx(char *ctx);
>     ^
> 1 error generated.
> *** [thr_sig.o] Error code 1
> 
> Stop in /usr/src/lib/libthr.
> *** [lib/libthr__L] Error code 1
> 
> Stop in /usr/src.
> *** [libraries] Error code 1
> 
> Stop in /usr/src.
> *** [_libraries] Error code 1
> 
> Stop in /usr/src.
> *** [buildworld] Error code 1
> 
> Stop in /usr/src.
> valfenda#
> 
> 
> Se alguem puder agradeço
> 
> 
> Rizzo
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

Eu particularmente nunca consegui atualizar pra stable, sempre tive
muitos erros na compilação.
Consigo recompilar o kernel e fazer o buildworld rodando um
freebsd-update e depois atualizando os fontes com svn checkout. 
Imagino que assim eu evite problemas com versões de arquivos, que deve
ser o que gera erros. Aproveitando, alguém tem alguma dica pra atualizar
pra stable?
-- 
att,
Adiel de Lima Ribeiro
facebook.com/sembr.dyndns.info




Mais detalhes sobre a lista de discussão freebsd