portupgrade errors

Garrett Cooper yanegomi at gmail.com
Mon Feb 11 14:45:10 UTC 2008

On Feb 11, 2008, at 3:34 AM, Kostik Belousov wrote:

> Two problems with portupgrade 2.4.1_X:
> 1. I have the following options set for swig in the MAKE_ARGS:
> 	'devel/swig*' => 'SWIG_LANGUAGES="guile perl python ruby tcl"',
> Now,
> deviant% sudo -E portupgrade swig-1.3.31_2
> [Gathering depends for devel/swig13 .................... done]
> --->  Upgrading 'swig-1.3.31_2' to 'swig-1.3.33' (devel/swig13)
> --->  Building '/usr/ports/devel/swig13' with make flags:  
> "SWIG_LANGUAGES=\"guile" perl python ruby "tcl\""  
> make: don't know how to make perl. Stop
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>        ! devel/swig13 (swig-1.3.31_2)  (clean error)
> Please, look at the SWIG_LANGUAGES quotation in the output.

As suggested in the error message, it appears that SWIG_LANGUAGES is  
improperly quoted and is being view as 2 strings and multiple  
barewords. Did you set SWIG_LANGUAGES (either via a make form or  

> 2. Any attempt to portupgrade using already built packages fails:
> deviant% sudo portupgrade -PP portupgrade-2.4.2,2
> [Gathering depends for ports-mgmt/portupgrade ............ done]
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>        ! ports-mgmt/portupgrade (portupgrade-2.4.2,2)  (Argument  
> must be String class object.)

	You might be able to do "portupgrade -PP -vv" to view the full output  
from pkg_add, pkg_delete, and pkg_info, but I forget... manpage will  
say for sure. Push comes to shove you can just download and upgrade  
the package(s) by yourself; it isn't all that hard...

More information about the freebsd-ports mailing list