[FUG-BR] Atualização maciça: Dicas
Leonardo Augusto
lalinden em gmail.com
Segunda Agosto 18 20:44:33 BRT 2008
Entao...
Pela sei la que vez ja, perdi a conta.. .estou tentando atualizar um
7.0 para o current do mesmo (7.0)..
Aí faço o cvsup, vai ate o final blz, sem erro, aí vou no /usr/src e
dou make buildworld...
O resultado apos um tempo esta abaixo.... (trava tudo)
=================================================================================
...
mkdep -f .depend -a -DBSDTAR_VERSION_STRING=\"2.5.5\"
-DPLATFORM_CONFIG_H=\"config_freebsd.h\" -I/usr/src/usr.bin/tar
-DRESCUE /usr/src/usr.bin/tar/bsdtar.c getdate.c
/usr/src/usr.bin/tar/matching.c /usr/src/usr.bin/tar/read.c
/usr/src/usr.bin/tar/siginfo.c /usr/src/usr.bin/tar/subst.c
/usr/src/usr.bin/tar/tree.c /usr/src/usr.bin/tar/util.c
/usr/src/usr.bin/tar/write.c
echo bsdtar: /usr/obj/usr/src/tmp/usr/lib/libc.a
/usr/obj/usr/src/tmp/usr/lib/libarchive.a
/usr/obj/usr/src/tmp/usr/lib/libbz2.a
/usr/obj/usr/src/tmp/usr/lib/libz.a >> .depend
cc -O2 -pipe -funroll-loops -ffast-math -march=pentiumpro
-DBSDTAR_VERSION_STRING=\"2.5.5\"
-DPLATFORM_CONFIG_H=\"config_freebsd.h\" -I/usr/src/usr.bin/tar
-DRESCUE -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter
-Wno-pointer-sign -c /usr/src/usr.bin/tar/bsdtar.c
cc -O2 -pipe -funroll-loops -ffast-math -march=pentiumpro
-DBSDTAR_VERSION_STRING=\"2.5.5\"
-DPLATFORM_CONFIG_H=\"config_freebsd.h\" -I/usr/src/usr.bin/tar
-DRESCUE -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter
-Wno-pointer-sign -c getdate.c
cc -O2 -pipe -funroll-loops -ffast-math -march=pentiumpro
-DBSDTAR_VERSION_STRING=\"2.5.5\"
-DPLATFORM_CONFIG_H=\"config_freebsd.h\" -I/usr/src/usr.bin/tar
-DRESCUE -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter
-Wno-pointer-sign -c /usr/src/usr.bin/tar/matching.c
/usr/src/usr.bin/tar/matching.c: In function 'pathmatch':
/usr/src/usr.bin/tar/matching.c:316: error: 'FNM_LEADING_DIR'
undeclared (first use in this function)
/usr/src/usr.bin/tar/matching.c:316: error: (Each undeclared
identifier is reported only once
/usr/src/usr.bin/tar/matching.c:316: error: for each function it appears in.)
/usr/src/usr.bin/tar/matching.c:316: error: too many arguments to
function 'bsdtar_fnmatch'
*** Error code 1
Stop in /usr/src/usr.bin/tar.
*** Error code 1
Stop in /usr/obj/usr/src/rescue/rescue.
*** Error code 1
Stop in /usr/src/rescue/rescue.
*** Error code 1
Stop in /usr/src/rescue.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
=================================================================================
Bom, as configuracoes relevantes estou colocando abaixo...
/etc/make.conf
CPUTYPE= i686
CFLAGS= -O2 -pipe -funroll-loops -ffast-math
COPTFLAGS= -O2 -pipe -funroll-loops -ffast-math
WITHOUT_X11=yes
NO_X=yes
# added by use.perl 2008-08-11 20:53:15
PERL_VER=5.8.8
PERL_VERSION=5.8.8
o cvsup foi assim, cvsup -g -L 2 supfile, que esta como segue
*default host=cvsup5.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
*default compress
*default tag=.
src-all
uname -a
FreeBSD localhost.localdomain 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed
Aug 13 16:16:39 UTC 2008
root em localhost.localdomain:/usr/obj/usr/src/sys/KERNEL1 i386
Sera que pode ser o kernel que recompilei ?
nao fiz nada de mais no kernel alem de capar uns drivers que nao sao
utilizados...
E agora ? eheh reinstalo tudo denovo ? :(
Mais detalhes sobre a lista de discussão freebsd