Date: Wed, 04 Mar 2009 08:03:59 -0800 From: Maxim Sobolev <sobomax@sippysoft.com> To: Sergey Matveychuk <sem@FreeBSD.ORG>, "ports@freebsd.org" <ports@FreeBSD.ORG> Subject: portupgrade is seriously broken Message-ID: <49AEA66F.1040408@sippysoft.com>
next in thread | raw e-mail | index | archive | help
Hi, Looks like portupgrade not longer respects error code returned by make when building or installing package, which results in it uninstalling previous version of the package when the build fails and not being able to install it back ignoring the error code. Please fix ASAP, this is serious problem for anybody who uses portupgrade. This is FreeBSD 6.4, portupgrade-2.4.6,2, ruby-1.8.7.72_1,1 and ruby18-bdb-0.6.4. ---> Upgrading 'p5-Algorithm-Dependency-1.102' to 'p5-Algorithm-Dependency-1.108' (devel/p5-Algorithm-Dependency) ---> Building '/usr/ports/devel/p5-Algorithm-Dependency' ===> Cleaning for p5-Algorithm-Dependency-1.108 ===> Vulnerability check disabled, database not found => Algorithm-Dependency-1.108.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Algorithm/. Algorithm-Dependency-1.108.tar.gz 100% of 37 kB 82 kBps ===> Extracting for p5-Algorithm-Dependency-1.108 => MD5 Checksum OK for Algorithm-Dependency-1.108.tar.gz. => SHA256 Checksum OK for Algorithm-Dependency-1.108.tar.gz. ===> p5-Algorithm-Dependency-1.108 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for p5-Algorithm-Dependency-1.108 ===> p5-Algorithm-Dependency-1.108 depends on file: /usr/local/bin/perl5.8.8 - found ===> p5-Algorithm-Dependency-1.108 depends on package: p5-Params-Util>=0.31 - not found ===> Found p5-Params-Util-0.17, but you need to upgrade to p5-Params-Util>=0.31. *** Error code 1 Stop in /usr/ports/devel/p5-Algorithm-Dependency. ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'p5-Algorithm-Dependency-1.102' pkg_delete: package 'p5-Algorithm-Dependency-1.102' is required by these other packages and may not be deinstalled (but I'll delete it anyway): p5-Class-ReturnValue-0.53 p5-DBIx-SearchBuilder-1.43 p5-Test-Inline-2.103 [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 217 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> p5-Algorithm-Dependency-1.108 depends on package: p5-Params-Util>=0.31 - not found ===> Found p5-Params-Util-0.17, but you need to upgrade to p5-Params-Util>=0.31. *** Error code 1 Stop in /usr/ports/devel/p5-Algorithm-Dependency. *** Error code 1 Stop in /usr/ports/devel/p5-Algorithm-Dependency. ===> Cleaning for p5-Algorithm-Dependency-1.108 ---> Cleaning out obsolete shared libraries Regards, -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts T/F: +1-646-651-1110 Web: http://www.sippysoft.com MSN: sales@sippysoft.com Skype: SippySoft
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49AEA66F.1040408>