-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ari Arantes wrote: > Pessoal, > > Estou tentando atualizar o help2man e tenho o seguinte erro: > > Detalhe: o ports está atualizado. > > # pkg_version -L= -v > help2man-1.36.3 < needs updating (port has 1.36.4_1) > p5-PathTools-3.16 < needs updating (port has 3.18) > > # portupgrade help2man > > rm -f blib/arch/auto/Locale/gettext/gettext.so > LD_RUN_PATH="/usr/local/lib" cc -shared -L/usr/local/lib gettext.o > -o blib/arch/auto/Locale/gettext/gettext.so -L/usr/local/lib > -lintl > chmod 755 blib/arch/auto/Locale/gettext/gettext.so > cp gettext.bs blib/arch/auto/Locale/gettext/gettext.bs > chmod 644 blib/arch/auto/Locale/gettext/gettext.bs > Manifying blib/man3/Locale::gettext.3 > ===> Installing for p5-gettext-1.05_1 > ===> p5-gettext-1.05_1 depends on file: /usr/local/bin/perl5.8.8 - found > ===> Generating temporary packing list > ===> Checking if devel/p5-Locale-gettext already installed > ===> p5-gettext-1.05_1 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of devel/p5-Locale-gettext > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /usr/ports/devel/p5-Locale-gettext. > *** Error code 1 > > Stop in /usr/ports/misc/help2man. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade3818.0 make PORT_UPGRADE=yes > ** Fix the problem and try again. > ---> Upgrade tasks: 1 > ---> Summary: 0 done, 0 ignored, 0 skipped and 1 failed > ** Listing the failed packages (*:skipped / !:failed) > ! misc/help2man (help2man-1.36.3) (unknown build error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed > > > De fato está instalado: > > # pkg_info | grep gettext > gettext-0.14.5_2 GNU gettext package > p5-gettext-1.05_1 Message handling functions > > > Se está mesmo instalado, por que o erro? Por que ele não usa o que já > está instalado?
Não dá pra garantir sem ver a mensagem inteira, mas o que parece estar acontecendo é que o port do help2man está com um problema e não está conseguindo enxergar que o p5-gettext já está instalado. O ports utiliza arquivos instalados pelos ports pra fazer essa checagem, imagina isso, o p5-gettext instala um arquivo chamado gettext.pm dentro do perl, aí o help2man tenta localizar getttext.pm por exemplo, ele não acha e não encontra o port, então tenta instalar novamente, o que não é possível. Uma pergunta que poderia matar a charada é, você atualizou o perl recentemente, uma atualização de versão do perl mesmo, tipo, de 5.8.7 pra 5.8.8? Se você fez isso e não rodou o perl-after-upgrade -f depois, as libs do perl estão instaladas dentro do diretório do 5.8.7 e o port procura atualmente no 5.8.8. []s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEkdBg6CRbiSJE7akRAszTAJ9tEBDWLjTVG5OA9nY+OA/QckW8bQCfbbhb R2ZeqzHXLrejFMUoO0EHv4o= =CWDw -----END PGP SIGNATURE----- ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd