Date: Mon, 11 Feb 2008 06:21:40 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: Kostik Belousov <kostikbel@gmail.com> Cc: ports@freebsd.org, Sergey Matveychuk <sem@freebsd.org> Subject: Re: portupgrade errors Message-ID: <C65E6696-3BA1-4CDF-9EA4-A5E6370E7C5B@u.washington.edu> In-Reply-To: <20080211113400.GQ57756@deviant.kiev.zoral.com.ua> References: <20080211113400.GQ57756@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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\"" > WANT_OPENLDAP_VER=23 WANT_OPENLDAP_SASL=yes WITH_BDB_VER=44 > "WITH_GECKO=\"firefox\"" WITH_UNIXODBC=yes GNUSTEP_WITH_GCC42=yes > EMACS_PORT_NAME=emacs22 PYTHON_DEFAULT_VERSION=python2.5 > DISABLE_VULNERABILITIES=yes NO_IGNORE=yes > 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 manually)? > 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... -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C65E6696-3BA1-4CDF-9EA4-A5E6370E7C5B>