[FUG-BR] Problemas com portupgrade freebsd 9

Edinilson - ATINET edinilson em atinet.com.br
Quinta Maio 15 11:36:29 BRT 2014


> On Thursday, May 15, 2014 11:04:03 AM Renato Sousa wrote:
> Bom dia amigos da lista,
>
> Estou enfrentando um problema na utilização do portupgrade.
> Qualquer atualização que tento fazer via portupgrade obtenho o mesmo erro.
> Já tentei remover a arvore do ports e recria-la novamente com portsnap, 
> mas
> o erro continua.
>
> # uname -na
> FreeBSD host1.mydomain 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 
> 12
> 02:52:29 UTC 2012
> root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>  amd6
>
> [root at xxxx /usr]# portupgrade freetype2
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> "/usr/ports/Mk/bsd.port.mk", line 1775: Malformed conditional
> (defined(USE_LDCONFIG) && ${USE_LDCONFIG:tl} == "yes")
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> Unknown modifier 't'
>
> "/usr/ports/Mk/bsd.sites.mk", line 957: Malformed conditional
> (!empty(_PERL_CPAN_ID) && ${_PERL_CPAN_FLAG:tl} == "cpan")
> Unknown modifier 't'
>
> Variable MASTER_SITES_SUBDIRS is recursive.
> ** Makefile possibly broken: print/freetype2:
> /usr/local/sbin/portupgrade:1481:in `get_pkgname': Makefile broken
> (MakefileBrokenError)
> from /usr/local/sbin/portupgrade:616:in `main'
> from /usr/local/sbin/portupgrade:607:in `each'
> from /usr/local/sbin/portupgrade:607:in `main'
> from /usr/local/sbin/portupgrade:581:in `catch'
> from /usr/local/sbin/portupgrade:581:in `main'
> from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call'
> from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order'
> from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch'
> from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order'
> from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
> from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
> from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
> from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order'
> from /usr/local/sbin/portupgrade:558:in `main'
> from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
> from /usr/local/sbin/portupgrade:230:in `new'
> from /usr/local/sbin/portupgrade:230:in `main'
> from /usr/local/sbin/portupgrade:2234

Nunca gostei muito do portupgrade pois ele eh baseado em Ruby e sempre da 
uns paus.
Experimente utilizar o portsnap e depois o portmaster, conforme indicado 
aqui:
http://www.freebsd.org/doc/handbook/ports-using.html

obs: CASO queira, atualize tambem o FreeBSD para o 9.2, conforme este 
how-to:
http://www.bsdnow.tv/tutorials/stable-current



Edinilson
------------------------------------------
ATINET
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br



Mais detalhes sobre a lista de discussão freebsd